Share via


PodsMetricSourceV2.Metric Property

Definition

Represents the metric associated with a Kubernetes PodsMetricSourceV2 resource.

[YamlDotNet.Serialization.YamlMember(Alias="metric")]
public Aspire.Hosting.Kubernetes.Resources.MetricIdentifierV2 Metric { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="metric")>]
member this.Metric : Aspire.Hosting.Kubernetes.Resources.MetricIdentifierV2 with get, set
Public Property Metric As MetricIdentifierV2

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

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.

Applies to