HorizontalPodAutoscalerSpecV1.ScaleTargetRef 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.
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.