次の方法で共有


MetricSpecV2.ContainerResource Property

Definition

Represents a container resource metric source for Kubernetes scaling. This property provides the configuration needed to scale workloads based on resource utilization metrics associated with a specific container within a pod.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to