/
azure.mgmt.automation.aio.operations.RunbookOperations.yml
288 lines (283 loc) · 9.26 KB
/
azure.mgmt.automation.aio.operations.RunbookOperations.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
### YamlMime:PythonClass
uid: azure.mgmt.automation.aio.operations.RunbookOperations
name: RunbookOperations
fullName: azure.mgmt.automation.aio.operations.RunbookOperations
module: azure.mgmt.automation.aio.operations
inheritances:
- builtins.object
summary: 'RunbookOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client
instance that
instantiates it for you and attaches it as an attribute.'
constructor:
syntax: RunbookOperations(client, config, serializer, deserializer)
parameters:
- name: client
description: Client for service requests.
isRequired: true
- name: config
description: Configuration of service client.
isRequired: true
- name: serializer
description: An object model serializer.
isRequired: true
- name: deserializer
description: An object model deserializer.
isRequired: true
variables:
- description: Alias to model classes used in this operation group.
name: models
methods:
- uid: azure.mgmt.automation.aio.operations.RunbookOperations.begin_publish
name: begin_publish
summary: Publish runbook draft.
signature: 'async begin_publish(resource_group_name: str, automation_account_name:
str, runbook_name: str, **kwargs) -> AsyncLROPoller[None]'
parameters:
- name: resource_group_name
description: Name of an Azure Resource group.
isRequired: true
types:
- <xref:str>
- name: automation_account_name
description: The name of the automation account.
isRequired: true
types:
- <xref:str>
- name: runbook_name
description: The parameters supplied to the publish runbook operation.
isRequired: true
types:
- <xref:str>
keywordOnlyParameters:
- name: cls
description: A custom type or function that will be passed the direct response
types:
- <xref:callable>
- name: continuation_token
description: A continuation token to restart a poller from a saved state.
types:
- <xref:str>
- name: polling
description: 'True for ARMPolling, False for no polling, or a
polling object for personal polling strategy'
types:
- <xref:bool>
- <xref:azure.core.polling.AsyncPollingMethod>
- name: polling_interval
description: Default waiting time between two polls for LRO operations if no Retry-After
header is present.
types:
- <xref:int>
return:
description: An instance of AsyncLROPoller that returns either None or the result
of cls(response)
types:
- <xref:azure.core.polling.AsyncLROPoller>[<xref:None>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.automation.aio.operations.RunbookOperations.create_or_update
name: create_or_update
summary: Create the runbook identified by runbook name.
signature: 'async create_or_update(resource_group_name: str, automation_account_name:
str, runbook_name: str, parameters: RunbookCreateOrUpdateParameters, **kwargs)
-> Runbook'
parameters:
- name: resource_group_name
description: Name of an Azure Resource group.
isRequired: true
types:
- <xref:str>
- name: automation_account_name
description: The name of the automation account.
isRequired: true
types:
- <xref:str>
- name: runbook_name
description: The runbook name.
isRequired: true
types:
- <xref:str>
- name: parameters
description: 'The create or update parameters for runbook. Provide either content
link for
a published runbook or draft, not both.'
isRequired: true
types:
- <xref:azure.mgmt.automation.models.RunbookCreateOrUpdateParameters>
keywordOnlyParameters:
- name: cls
description: A custom type or function that will be passed the direct response
types:
- <xref:callable>
return:
description: Runbook, or the result of cls(response)
types:
- <xref:azure.mgmt.automation.models.Runbook>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.automation.aio.operations.RunbookOperations.delete
name: delete
summary: Delete the runbook by name.
signature: 'async delete(resource_group_name: str, automation_account_name: str,
runbook_name: str, **kwargs) -> None'
parameters:
- name: resource_group_name
description: Name of an Azure Resource group.
isRequired: true
types:
- <xref:str>
- name: automation_account_name
description: The name of the automation account.
isRequired: true
types:
- <xref:str>
- name: runbook_name
description: The runbook name.
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.automation.aio.operations.RunbookOperations.get
name: get
summary: Retrieve the runbook identified by runbook name.
signature: 'async get(resource_group_name: str, automation_account_name: str, runbook_name:
str, **kwargs) -> Runbook'
parameters:
- name: resource_group_name
description: Name of an Azure Resource group.
isRequired: true
types:
- <xref:str>
- name: automation_account_name
description: The name of the automation account.
isRequired: true
types:
- <xref:str>
- name: runbook_name
description: The runbook name.
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: Runbook, or the result of cls(response)
types:
- <xref:azure.mgmt.automation.models.Runbook>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.automation.aio.operations.RunbookOperations.get_content
name: get_content
summary: Retrieve the content of runbook identified by runbook name.
signature: 'async get_content(resource_group_name: str, automation_account_name:
str, runbook_name: str, **kwargs) -> IO'
parameters:
- name: resource_group_name
description: Name of an Azure Resource group.
isRequired: true
types:
- <xref:str>
- name: automation_account_name
description: The name of the automation account.
isRequired: true
types:
- <xref:str>
- name: runbook_name
description: The runbook name.
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: IO, or the result of cls(response)
types:
- <xref:typing.IO>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.automation.aio.operations.RunbookOperations.list_by_automation_account
name: list_by_automation_account
summary: Retrieve a list of runbooks.
signature: 'list_by_automation_account(resource_group_name: str, automation_account_name:
str, **kwargs) -> AsyncIterable[RunbookListResult]'
parameters:
- name: resource_group_name
description: Name of an Azure Resource group.
isRequired: true
types:
- <xref:str>
- name: automation_account_name
description: The name of the automation account.
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 RunbookListResult or the result
of cls(response)
types:
- <xref:azure.core.async_paging.AsyncItemPaged>[<xref:azure.mgmt.automation.models.RunbookListResult>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.automation.aio.operations.RunbookOperations.update
name: update
summary: Update the runbook identified by runbook name.
signature: 'async update(resource_group_name: str, automation_account_name: str,
runbook_name: str, parameters: RunbookUpdateParameters, **kwargs) -> Runbook'
parameters:
- name: resource_group_name
description: Name of an Azure Resource group.
isRequired: true
types:
- <xref:str>
- name: automation_account_name
description: The name of the automation account.
isRequired: true
types:
- <xref:str>
- name: runbook_name
description: The runbook name.
isRequired: true
types:
- <xref:str>
- name: parameters
description: The update parameters for runbook.
isRequired: true
types:
- <xref:azure.mgmt.automation.models.RunbookUpdateParameters>
keywordOnlyParameters:
- name: cls
description: A custom type or function that will be passed the direct response
types:
- <xref:callable>
return:
description: Runbook, or the result of cls(response)
types:
- <xref:azure.mgmt.automation.models.Runbook>
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.automation.aio.operations.RunbookOperations.models
name: models
signature: models = <module 'azure.mgmt.automation.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\automation\\models\\__init__.py'>