共用方式為


MetricSpecificationV1 Class

Definition

Metric specification version 1.

public class MetricSpecificationV1
type MetricSpecificationV1 = class
Public Class MetricSpecificationV1
Inheritance
MetricSpecificationV1

Constructors

MetricSpecificationV1()

Initializes a new instance of the MetricSpecificationV1 class.

MetricSpecificationV1(String, String, String, String, String, IList<MetricDimensionV1>, Nullable<Boolean>, String, String, IList<String>, IList<String>)

Initializes a new instance of the MetricSpecificationV1 class.

Properties

AggregationType

Gets or sets metric aggregation type. Possible values include: 'NotSpecified', 'None', 'Average', 'Minimum', 'Maximum', 'Total', 'Count'

Category

Gets or sets metric category. Possible values include: 'Capacity', 'Transaction'

Dimensions

Gets or sets metric dimensions, other than default dimension which is resource.

DisplayDescription

Gets or sets description of the metric to be displayed.

DisplayName

Gets or sets display name of the metric.

FillGapWithZero

Gets or sets set true to fill the gaps with zero.

Name

Gets or sets name of the metric.

ResourceIdDimensionNameOverride

Gets or sets resource name override.

SupportedAggregationTypes

Gets or sets support metric aggregation type.

SupportedTimeGrainTypes

Gets or sets support granularity of metrics.

Unit

Gets or sets metric units. Possible values include: 'NotSpecified', 'Percent', 'Count', 'Seconds', 'Milliseconds', 'Bytes', 'BytesPerSecond', 'CountPerSecond'

Applies to