共用方式為


MetricSpecification interface

Metric specification of operation.

Properties

aggregationType

The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'.

availabilities

Retention policies of a resource metric.

dimensions

The dimensions of metric

displayDescription

Display description of metric specification.

displayName

Display name of metric specification.

fillGapWithZero

Property to specify whether to fill gap with zero.

isInternal

Property to specify metric is internal or not.

metricFilterPattern

Pattern to filter based on name

name

Name of metric specification.

supportedTimeGrainTypes

The supported time grain types for the metrics.

unit

The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'.

Property Details

aggregationType

The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'.

aggregationType?: string

Property Value

string

availabilities

Retention policies of a resource metric.

availabilities?: MetricAvailability[]

Property Value

dimensions

The dimensions of metric

dimensions?: DimensionProperties[]

Property Value

displayDescription

Display description of metric specification.

displayDescription?: string

Property Value

string

displayName

Display name of metric specification.

displayName?: string

Property Value

string

fillGapWithZero

Property to specify whether to fill gap with zero.

fillGapWithZero?: boolean

Property Value

boolean

isInternal

Property to specify metric is internal or not.

isInternal?: boolean

Property Value

boolean

metricFilterPattern

Pattern to filter based on name

metricFilterPattern?: string

Property Value

string

name

Name of metric specification.

name?: string

Property Value

string

supportedTimeGrainTypes

The supported time grain types for the metrics.

supportedTimeGrainTypes?: string[]

Property Value

string[]

unit

The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'.

unit?: string

Property Value

string