Skip to content
Docs Try Aspire

PodsMetricSourceV2 Properties

Class Properties 2 members
Represents a configuration for targeting metrics at the pod level in a Kubernetes environment. Provides specification for a metric associated with pod resources and the target value or criteria for monitoring and scaling purposes.
Represents the metric associated with a Kubernetes PodsMetricSourceV2 resource.
public MetricIdentifierV2 Metric { get; set; }
This property references a MetricIdentifierV2 object, which includes the name of the metric and an optional selector for additional filtering criteria. It is used to define the metric that the Kubernetes resource should monitor or act upon.
Defines the target configuration for a Kubernetes metric in version 2. Specifies the intended target values or utilization for the metric, used for monitoring and scaling purposes.
public MetricTargetV2 Target { get; set; }