MetricNamespacesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:metric_namespaces> attribute.
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) -> ItemPaged[MetricNamespace]
Parameters
| Name | Description |
|---|---|
|
resource_uri
Required
|
The identifier of the resource. Required. |
|
start_time
|
The ISO 8601 conform Date start time from which to query for metric namespaces. Default value is None. Default value: None
|
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.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv181\\Lib\\site-packages\\azure\\mgmt\\monitor\\models\\__init__.py'>