MetricIdentifierV2 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a metric identifier in a Kubernetes context, primarily used to identify and specify a metric related to various Kubernetes resources or objects.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class MetricIdentifierV2
[<YamlDotNet.Serialization.YamlSerializable>]
type MetricIdentifierV2 = class
Public NotInheritable Class MetricIdentifierV2
- Inheritance
-
MetricIdentifierV2
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
A metric identifier typically consists of a name that denotes the metric and an optional selector, which is used to specify additional filtering criteria for selecting specific metric instances. This class is designed to be serialized and deserialized in YAML format and is often used in conjunction with other Kubernetes resource configurations.
Constructors
MetricIdentifierV2() |
Properties
Name |
Gets or sets the name of the metric. This property specifies the identifier for the metric being measured or tracked. |
Selector |
Represents a label selector used to filter Kubernetes resources. The selector enables the identification of a subset of objects based on their labels. |