次の方法で共有


HorizontalPodAutoscaler.Spec Property

Definition

Gets or sets the specification that defines the desired behavior of the Horizontal Pod Autoscaler.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property holds the configuration details for the autoscaling behavior, including metrics such as CPU usage, target resource references, and the range of permissible replica counts.

Applies to