MetricDefinition Class

Metadata for a metric.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.web.v2016_09_01.models._models_py3.ProxyOnlyResource
MetricDefinition

Constructor

MetricDefinition(*, kind: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

type
str

Resource type.

name_properties_name
str

Name of the metric.

unit
str

Unit of the metric.

primary_aggregation_type
str

Primary aggregation type.

metric_availabilities

List of time grains supported for the metric together with retention period.

display_name
str

Friendly name shown in the UI.