MetricNamespacesOperations Class

MetricNamespacesOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
MetricNamespacesOperations

Constructor

MetricNamespacesOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

list

Lists the metric namespaces for the resource.

list

Lists the metric namespaces for the resource.

list(resource_uri: str, start_time: Optional[str] = None, **kwargs: Any) -> AsyncIterable[azure.mgmt.monitor.v2017_12_01_preview.models._models_py3.MetricNamespaceCollection]

Parameters

resource_uri
str
Required

The identifier of the resource.

start_time
str
Required

The ISO 8601 conform Date start time from which to query for metric namespaces.

cls
callable

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

Returns

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

Return type

AsyncItemPaged[<xref:$>(<xref:python-base-namespace>)MetricNamespaceCollection]

Exceptions

Attributes

models

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