ResourceMetricDefinition interface

Metadata for the metrics.

Extends

Properties

metricAvailabilities

List of time grains supported for the metric together with retention period. NOTE: This property will not be serialized. It can only be populated by the server.

primaryAggregationType

Primary aggregation type. NOTE: This property will not be serialized. It can only be populated by the server.

properties

Resource metric definition properties. NOTE: This property will not be serialized. It can only be populated by the server.

resourceUri

Resource URI. NOTE: This property will not be serialized. It can only be populated by the server.

unit

Unit of the metric. NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

Resource Id. NOTE: This property will not be serialized. It can only be populated by the server.

kind

Kind of resource.

name

Resource Name. NOTE: This property will not be serialized. It can only be populated by the server.

type

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

metricAvailabilities

List of time grains supported for the metric together with retention period. NOTE: This property will not be serialized. It can only be populated by the server.

metricAvailabilities?: ResourceMetricAvailability[]

Property Value

primaryAggregationType

Primary aggregation type. NOTE: This property will not be serialized. It can only be populated by the server.

primaryAggregationType?: string

Property Value

string

properties

Resource metric definition properties. NOTE: This property will not be serialized. It can only be populated by the server.

properties?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

resourceUri

Resource URI. NOTE: This property will not be serialized. It can only be populated by the server.

resourceUri?: string

Property Value

string

unit

Unit of the metric. NOTE: This property will not be serialized. It can only be populated by the server.

unit?: string

Property Value

string

Inherited Property Details

id

Resource Id. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyOnlyResource.id

kind

Kind of resource.

kind?: string

Property Value

string

Inherited From ProxyOnlyResource.kind

name

Resource Name. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyOnlyResource.name

type

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyOnlyResource.type