Share via


ObjectMetricSourceV2.DescribedObject Property

Definition

Represents the Kubernetes object being described in the metric source.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The DescribedObject property is a reference to the specific object in the Kubernetes cluster to which the metric source applies. This enables metrics to be collected and applied to custom resources beyond built-in Kubernetes objects.

Applies to