Share via


ResourceMetricSourceV2 Class

Definition

Represents a resource metric source used for Kubernetes scaling operations in version 2. Specifies the name of the resource and its corresponding targeting criteria.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class ResourceMetricSourceV2
[<YamlDotNet.Serialization.YamlSerializable>]
type ResourceMetricSourceV2 = class
Public NotInheritable Class ResourceMetricSourceV2
Inheritance
ResourceMetricSourceV2
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

ResourceMetricSourceV2()

Properties

Name

Gets or sets the name of the resource to be monitored for Kubernetes scaling. This property identifies the specific resource type (e.g., CPU, memory, etc.) being targeted for metric evaluation.

Target

Gets or sets the target details for the resource metric. This property defines the specifications for the desired target values or metrics that the resource should aim to maintain, such as average value, utilization, or specific value thresholds.

Applies to