-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.monitor.v2017_05_01_preview.operations.MetricDefinitionsOperations.yml
40 lines (40 loc) · 1.82 KB
/
azure.mgmt.monitor.v2017_05_01_preview.operations.MetricDefinitionsOperations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
### YamlMime:PythonClass
uid: azure.mgmt.monitor.v2017_05_01_preview.operations.MetricDefinitionsOperations
name: MetricDefinitionsOperations
fullName: azure.mgmt.monitor.v2017_05_01_preview.operations.MetricDefinitionsOperations
module: azure.mgmt.monitor.v2017_05_01_preview.operations
inheritances:
- builtins.object
summary: "> [!WARNING]\n> DO NOT instantiate this class directly.\n>\n> \n>\n> Instead,\
\ you should access the following operations through\n>\n> <xref:azure.mgmt.monitor.v2017_05_01_preview.MonitorManagementClient>'s\n\
>\n> <xref:metric_definitions> attribute.\n>"
constructor:
syntax: MetricDefinitionsOperations(*args, **kwargs)
methods:
- uid: azure.mgmt.monitor.v2017_05_01_preview.operations.MetricDefinitionsOperations.list
name: list
summary: Lists the metric definitions for the resource.
signature: 'list(resource_uri: str, **kwargs: Any) -> Iterable[MetricDefinition]'
parameters:
- name: resource_uri
description: The identifier of the resource. Required.
isRequired: true
types:
- <xref:str>
keywordOnlyParameters:
- name: cls
description: A custom type or function that will be passed the direct response
types:
- <xref:callable>
return:
description: An iterator like instance of either MetricDefinition or the result
of cls(response)
types:
- <xref:azure.core.paging.ItemPaged>[<xref:azure.mgmt.monitor.v2017_05_01_preview.models.MetricDefinition>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.monitor.v2017_05_01_preview.operations.MetricDefinitionsOperations.models
name: models
signature: models = <module 'azure.mgmt.monitor.v2017_05_01_preview.models' from
'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\monitor\\v2017_05_01_preview\\models\\__init__.py'>