MetricSpecV2.ContainerResource 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.
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