Share via


MetricSpecV2.Type Property

Definition

Specifies the type of metric source used for scaling in Kubernetes. The value of this property determines the nature of the scaling metric and corresponds to one of the metric sources available in the MetricSpecV2 class (e.g., "ContainerResource", "Resource", "External", "Pods", or "Object").

[YamlDotNet.Serialization.YamlMember(Alias="type")]
public string Type { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="type")>]
member this.Type : string with get, set
Public Property Type As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to