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