-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations.yml
115 lines (112 loc) · 4.87 KB
/
azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
### YamlMime:PythonClass
uid: azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations
name: SubscriptionDiagnosticSettingsOperations
fullName: azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations
module: azure.mgmt.monitor.v2021_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.v2021_05_01_preview.MonitorManagementClient>'s\n\
>\n> <xref:subscription_diagnostic_settings> attribute.\n>"
constructor:
syntax: SubscriptionDiagnosticSettingsOperations(*args, **kwargs)
methods:
- uid: azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations.create_or_update
name: create_or_update
summary: Creates or updates subscription diagnostic settings for the specified resource.
signature: 'create_or_update(name: str, parameters: _models.SubscriptionDiagnosticSettingsResource,
*, content_type: str = ''application/json'', **kwargs: Any) -> _models.SubscriptionDiagnosticSettingsResource'
parameters:
- name: name
description: The name of the diagnostic setting. Required.
isRequired: true
types:
- <xref:str>
- name: parameters
description: 'Parameters supplied to the operation. Is either a
SubscriptionDiagnosticSettingsResource type or a IO type. Required.'
isRequired: true
types:
- <xref:azure.mgmt.monitor.v2021_05_01_preview.models.SubscriptionDiagnosticSettingsResource>
- <xref:typing.IO>
keywordOnlyParameters:
- name: content_type
description: 'Body Parameter content-type. Known values are: ''application/json''.
Default value is None.'
types:
- <xref:str>
- name: cls
description: A custom type or function that will be passed the direct response
types:
- <xref:callable>
return:
description: SubscriptionDiagnosticSettingsResource or the result of cls(response)
types:
- <xref:azure.mgmt.monitor.v2021_05_01_preview.models.SubscriptionDiagnosticSettingsResource>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations.delete
name: delete
summary: Deletes existing subscription diagnostic settings for the specified resource.
signature: 'delete(name: str, **kwargs: Any) -> None'
parameters:
- name: name
description: The name of the diagnostic setting. 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: None or the result of cls(response)
types:
- <xref:None>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations.get
name: get
summary: Gets the active subscription diagnostic settings for the specified resource.
signature: 'get(name: str, **kwargs: Any) -> SubscriptionDiagnosticSettingsResource'
parameters:
- name: name
description: The name of the diagnostic setting. 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: SubscriptionDiagnosticSettingsResource or the result of cls(response)
types:
- <xref:azure.mgmt.monitor.v2021_05_01_preview.models.SubscriptionDiagnosticSettingsResource>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations.list
name: list
summary: Gets the active subscription diagnostic settings list for the specified
subscriptionId.
signature: 'list(**kwargs: Any) -> Iterable[SubscriptionDiagnosticSettingsResource]'
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 SubscriptionDiagnosticSettingsResource
or the
result of cls(response)'
types:
- <xref:azure.core.paging.ItemPaged>[<xref:azure.mgmt.monitor.v2021_05_01_preview.models.SubscriptionDiagnosticSettingsResource>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.monitor.v2021_05_01_preview.operations.SubscriptionDiagnosticSettingsOperations.models
name: models
signature: models = <module 'azure.mgmt.monitor.v2021_05_01_preview.models' from
'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\monitor\\v2021_05_01_preview\\models\\__init__.py'>