MetricDefinitionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

MonitorManagementClient's

<xref:metric_definitions> attribute.

Inheritance
builtins.object
MetricDefinitionsOperations

Constructor

MetricDefinitionsOperations(*args, **kwargs)

Methods

list

Lists the metric definitions for the resource.

list

Lists the metric definitions for the resource.

list(resource_uri: str, **kwargs: Any) -> Iterable[MetricDefinition]

Parameters

Name Description
resource_uri
Required
str

The identifier of the resource. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

An iterator like instance of either MetricDefinition or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.monitor.v2017_05_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\monitor\\v2017_05_01_preview\\models\\__init__.py'>