次の方法で共有


MetricSpecV2.Resource Property

Definition

Represents a resource-based metric source used for autoscaling in Kubernetes environments. This property defines how the resource metrics should be retrieved and targeted for scaling purposes.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to