PodsMetricSourceV2.Metric Property
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 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.