Share via


HorizontalPodAutoscalerSpecV2.ScaleTargetRef Property

Definition

Gets or sets the scale target reference for the HorizontalPodAutoscaler.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The ScaleTargetRef property specifies the target resource to be scaled by the HorizontalPodAutoscaler. This includes details such as the name and API version of the target resource.

Applies to