MetricDefinitionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:metric_definitions> attribute.
- Inheritance
-
builtins.objectMetricDefinitionsOperations
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, filter: str | None = None, **kwargs: Any) -> Iterable[MetricDefinition]
Parameters
Name | Description |
---|---|
resource_uri
Required
|
The identifier of the resource. Required. |
filter
Required
|
Reduces the set of data collected by retrieving particular metric definitions
from all the definitions available for the resource.:code: |
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.v2016_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\monitor\\v2016_03_01\\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