共用方式為


MetricDefinition.Unit Property

Definition

Gets or sets the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified', 'Cores', 'MilliCores', 'NanoCores', 'BitsPerSecond'

[Newtonsoft.Json.JsonProperty(PropertyName="unit")]
public string Unit { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="unit")>]
member this.Unit : string with get, set
Public Property Unit As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to