次の方法で共有


ObjectMetricSourceV2.Metric Property

Definition

Represents the metric details associated with an ObjectMetricSourceV2 instance.

[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 specifies the metric identifier, which includes the metric's name and an optional selector used for filtering or targeting specific metric instances. It provides the necessary data to link and describe metrics in relation to a Kubernetes resource.

Applies to