Language

CostControlRule.CounterKey Property

Definition

Gets or sets the single built-in dimension used to partition consumption. Custom dimensions are retained only for legacy reads and metadata-only updates. Legacy singleton arrays are accepted on read; serialization always emits an object. To track another field, create another rule.

public Azure.ResourceManager.CognitiveServices.Models.CostControlDimension CounterKey { get; set; }
member this.CounterKey : Azure.ResourceManager.CognitiveServices.Models.CostControlDimension with get, set
Public Property CounterKey As CostControlDimension

Property Value

Applies to