ObjectMetricSourceV2 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 source for a metric that is associated with a specific Kubernetes object.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class ObjectMetricSourceV2
[<YamlDotNet.Serialization.YamlSerializable>]
type ObjectMetricSourceV2 = class
Public NotInheritable Class ObjectMetricSourceV2
- Inheritance
-
ObjectMetricSourceV2
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
This class is part of the Kubernetes metrics API and defines a metric for a target object. It specifies the metric to be observed, the Kubernetes resource (object) being described, and the target value or configuration for that metric. The ObjectMetricSourceV2 is typically used for workloads or resources where metrics are tied to a specific Kubernetes object.
Constructors
ObjectMetricSourceV2() |
Properties
DescribedObject |
Represents the Kubernetes object being described in the metric source. |
Metric |
Represents the metric details associated with an ObjectMetricSourceV2 instance. |
Target |
Specifies the target value and criteria for a metric in a Kubernetes resource. This property defines the desired goal or threshold for the given metric to be used for monitoring or scaling purposes. It includes attributes such as type, value, average value, and utilization to determine the metric target. |