你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourceMetricDefinition Class

Metadata for the metrics.

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

Inheritance
azure.mgmt.web.v2021_03_01.models._models_py3.ProxyOnlyResource
ResourceMetricDefinition

Constructor

ResourceMetricDefinition(*, 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.

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.

resource_uri
str

Resource URI.

properties

Resource metric definition properties.