MetricNamespacesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

MonitorManagementClient's

<xref:metric_namespaces> attribute.

Inheritance
builtins.object
MetricNamespacesOperations

Constructor

MetricNamespacesOperations(*args, **kwargs)

Methods

list

Lists the metric namespaces for the resource.

list

Lists the metric namespaces for the resource.

list(resource_uri: str, start_time: str | None = None, **kwargs: Any) -> Iterable[MetricNamespace]

Parameters

Name Description
resource_uri
Required
str

The identifier of the resource. Required.

start_time
Required
str

The ISO 8601 conform Date start time from which to query for metric namespaces. Default value is None.

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 MetricNamespace or the result of cls(response)

Exceptions

Type Description

Attributes

models

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