MetricNamespacesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:metric_namespaces> attribute.
- Inheritance
-
builtins.objectMetricNamespacesOperations
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
|
The identifier of the resource. Required. |
start_time
Required
|
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'>
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for