Share via


HorizontalPodAutoscalerSpecV1.ScaleTargetRef Property

Definition

Specifies the reference to the target object that the HorizontalPodAutoscaler is scaling.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The ScaleTargetRef property is a reference to the Kubernetes resource that the HorizontalPodAutoscaler will monitor and scale. This reference includes essential details about the target resource, such as its name and API version, encapsulated in a CrossVersionObjectReferenceV1 object.

Applies to