Share via


ObjectMetricSourceV2.Target Property

Definition

Specifies the target value and criteria for a metric in a Kubernetes resource. This property defines the desired goal or threshold for the given metric to be used for monitoring or scaling purposes. It includes attributes such as type, value, average value, and utilization to determine the metric target.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to