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.v2018_02_01.models._models_py3.ProxyOnlyResource
MetricDefinition

Constructor

MetricDefinition(*, kind: Optional[str] = None, **kwargs)

Parameters

kind
str
Required

Kind of resource.

Variables

id
str

Resource Id.

name
str

Resource Name.

type
str

Resource type.

unit
str

Unit of the metric.

primary_aggregation_type
str

Primary aggregation type.

metric_availabilities
list[MetricAvailabilily]

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

display_name
str

Friendly name shown in the UI.