ExternalMetricSourceV2 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 an external metric source in Kubernetes for configuring autoscaling behavior based on metrics from external components or monitoring systems.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class ExternalMetricSourceV2
[<YamlDotNet.Serialization.YamlSerializable>]
type ExternalMetricSourceV2 = class
Public NotInheritable Class ExternalMetricSourceV2
- Inheritance
-
ExternalMetricSourceV2
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
This class defines the external metric to be monitored and the specific target value associated with it. The `metric` property identifies the external metric by name and optional label selectors. The `target` property provides the desired value, average value, or utilization percentage for the metric, as part of the autoscaling configuration.
Constructors
ExternalMetricSourceV2() |
Properties
Metric |
Represents the metric property utilized in the ExternalMetricSourceV2 class. This property is of type MetricIdentifierV2 and is used to identify and define a specific metric in the context of Kubernetes resource configurations. |
Target |
Defines the target configuration for a metric in a Kubernetes-based context. |