azure_mgmt_logic 0.15.2 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/logic_management_client.rb +4 -1
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_access_keys.rb +45 -42
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_run_actions.rb +21 -18
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_runs.rb +27 -23
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_trigger_histories.rb +21 -18
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_triggers.rb +27 -23
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_versions.rb +6 -5
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflows.rb +82 -78
- data/lib/2016-06-01/generated/azure_mgmt_logic/agreements.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_logic/certificates.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_logic/integration_accounts.rb +60 -57
- data/lib/2016-06-01/generated/azure_mgmt_logic/logic_management_client.rb +22 -16
- data/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_logic/partners.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_logic/schemas.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_actions.rb +21 -18
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb +27 -23
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_trigger_histories.rb +27 -23
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_triggers.rb +33 -28
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb +27 -25
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflows.rb +90 -86
- data/lib/profiles/latest/logic_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/logic_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/logic_profile_module.rb +445 -426
- data/lib/version.rb +1 -1
- metadata +3 -3
@@ -33,8 +33,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
33
33
|
#
|
34
34
|
# @return [Array<WorkflowRun>] operation results.
|
35
35
|
#
|
36
|
-
def list(resource_group_name, workflow_name, top
|
37
|
-
first_page = list_as_lazy(resource_group_name, workflow_name, top, filter, custom_headers)
|
36
|
+
def list(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
|
37
|
+
first_page = list_as_lazy(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers)
|
38
38
|
first_page.get_all_items
|
39
39
|
end
|
40
40
|
|
@@ -50,8 +50,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
50
50
|
#
|
51
51
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
52
|
#
|
53
|
-
def list_with_http_info(resource_group_name, workflow_name, top
|
54
|
-
list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
|
53
|
+
def list_with_http_info(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
|
54
|
+
list_async(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers).value!
|
55
55
|
end
|
56
56
|
|
57
57
|
#
|
@@ -66,7 +66,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
66
66
|
#
|
67
67
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
68
|
#
|
69
|
-
def list_async(resource_group_name, workflow_name, top
|
69
|
+
def list_async(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
|
70
70
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
71
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
72
72
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -74,6 +74,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
74
74
|
|
75
75
|
|
76
76
|
request_headers = {}
|
77
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
77
78
|
|
78
79
|
# Set Headers
|
79
80
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -129,8 +130,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
129
130
|
#
|
130
131
|
# @return [WorkflowRun] operation results.
|
131
132
|
#
|
132
|
-
def get(resource_group_name, workflow_name, run_name, custom_headers
|
133
|
-
response = get_async(resource_group_name, workflow_name, run_name, custom_headers).value!
|
133
|
+
def get(resource_group_name, workflow_name, run_name, custom_headers:nil)
|
134
|
+
response = get_async(resource_group_name, workflow_name, run_name, custom_headers:custom_headers).value!
|
134
135
|
response.body unless response.nil?
|
135
136
|
end
|
136
137
|
|
@@ -145,8 +146,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
145
146
|
#
|
146
147
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
147
148
|
#
|
148
|
-
def get_with_http_info(resource_group_name, workflow_name, run_name, custom_headers
|
149
|
-
get_async(resource_group_name, workflow_name, run_name, custom_headers).value!
|
149
|
+
def get_with_http_info(resource_group_name, workflow_name, run_name, custom_headers:nil)
|
150
|
+
get_async(resource_group_name, workflow_name, run_name, custom_headers:custom_headers).value!
|
150
151
|
end
|
151
152
|
|
152
153
|
#
|
@@ -160,7 +161,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
160
161
|
#
|
161
162
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
162
163
|
#
|
163
|
-
def get_async(resource_group_name, workflow_name, run_name, custom_headers
|
164
|
+
def get_async(resource_group_name, workflow_name, run_name, custom_headers:nil)
|
164
165
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
165
166
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
166
167
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -169,6 +170,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
169
170
|
|
170
171
|
|
171
172
|
request_headers = {}
|
173
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
172
174
|
|
173
175
|
# Set Headers
|
174
176
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -223,8 +225,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
223
225
|
# will be added to the HTTP request.
|
224
226
|
#
|
225
227
|
#
|
226
|
-
def cancel(resource_group_name, workflow_name, run_name, custom_headers
|
227
|
-
response = cancel_async(resource_group_name, workflow_name, run_name, custom_headers).value!
|
228
|
+
def cancel(resource_group_name, workflow_name, run_name, custom_headers:nil)
|
229
|
+
response = cancel_async(resource_group_name, workflow_name, run_name, custom_headers:custom_headers).value!
|
228
230
|
nil
|
229
231
|
end
|
230
232
|
|
@@ -239,8 +241,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
239
241
|
#
|
240
242
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
241
243
|
#
|
242
|
-
def cancel_with_http_info(resource_group_name, workflow_name, run_name, custom_headers
|
243
|
-
cancel_async(resource_group_name, workflow_name, run_name, custom_headers).value!
|
244
|
+
def cancel_with_http_info(resource_group_name, workflow_name, run_name, custom_headers:nil)
|
245
|
+
cancel_async(resource_group_name, workflow_name, run_name, custom_headers:custom_headers).value!
|
244
246
|
end
|
245
247
|
|
246
248
|
#
|
@@ -254,7 +256,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
254
256
|
#
|
255
257
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
256
258
|
#
|
257
|
-
def cancel_async(resource_group_name, workflow_name, run_name, custom_headers
|
259
|
+
def cancel_async(resource_group_name, workflow_name, run_name, custom_headers:nil)
|
258
260
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
259
261
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
260
262
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -263,6 +265,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
263
265
|
|
264
266
|
|
265
267
|
request_headers = {}
|
268
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
266
269
|
|
267
270
|
# Set Headers
|
268
271
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -307,8 +310,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
307
310
|
#
|
308
311
|
# @return [WorkflowRunListResult] operation results.
|
309
312
|
#
|
310
|
-
def list_next(next_page_link, custom_headers
|
311
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
313
|
+
def list_next(next_page_link, custom_headers:nil)
|
314
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
312
315
|
response.body unless response.nil?
|
313
316
|
end
|
314
317
|
|
@@ -322,8 +325,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
322
325
|
#
|
323
326
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
324
327
|
#
|
325
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
326
|
-
list_next_async(next_page_link, custom_headers).value!
|
328
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
329
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
327
330
|
end
|
328
331
|
|
329
332
|
#
|
@@ -336,11 +339,12 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
336
339
|
#
|
337
340
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
338
341
|
#
|
339
|
-
def list_next_async(next_page_link, custom_headers
|
342
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
340
343
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
341
344
|
|
342
345
|
|
343
346
|
request_headers = {}
|
347
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
344
348
|
|
345
349
|
# Set Headers
|
346
350
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -397,12 +401,12 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
397
401
|
# @return [WorkflowRunListResult] which provide lazy access to pages of the
|
398
402
|
# response.
|
399
403
|
#
|
400
|
-
def list_as_lazy(resource_group_name, workflow_name, top
|
401
|
-
response = list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
|
404
|
+
def list_as_lazy(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
|
405
|
+
response = list_async(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers).value!
|
402
406
|
unless response.nil?
|
403
407
|
page = response.body
|
404
408
|
page.next_method = Proc.new do |next_page_link|
|
405
|
-
list_next_async(next_page_link, custom_headers)
|
409
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
406
410
|
end
|
407
411
|
page
|
408
412
|
end
|
@@ -34,8 +34,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
34
34
|
#
|
35
35
|
# @return [Array<WorkflowTriggerHistory>] operation results.
|
36
36
|
#
|
37
|
-
def list(resource_group_name, workflow_name, trigger_name, top
|
38
|
-
first_page = list_as_lazy(resource_group_name, workflow_name, trigger_name, top, filter, custom_headers)
|
37
|
+
def list(resource_group_name, workflow_name, trigger_name, top:nil, filter:nil, custom_headers:nil)
|
38
|
+
first_page = list_as_lazy(resource_group_name, workflow_name, trigger_name, top:top, filter:filter, custom_headers:custom_headers)
|
39
39
|
first_page.get_all_items
|
40
40
|
end
|
41
41
|
|
@@ -52,8 +52,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
52
52
|
#
|
53
53
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
54
|
#
|
55
|
-
def list_with_http_info(resource_group_name, workflow_name, trigger_name, top
|
56
|
-
list_async(resource_group_name, workflow_name, trigger_name, top, filter, custom_headers).value!
|
55
|
+
def list_with_http_info(resource_group_name, workflow_name, trigger_name, top:nil, filter:nil, custom_headers:nil)
|
56
|
+
list_async(resource_group_name, workflow_name, trigger_name, top:top, filter:filter, custom_headers:custom_headers).value!
|
57
57
|
end
|
58
58
|
|
59
59
|
#
|
@@ -69,7 +69,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
69
69
|
#
|
70
70
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
71
|
#
|
72
|
-
def list_async(resource_group_name, workflow_name, trigger_name, top
|
72
|
+
def list_async(resource_group_name, workflow_name, trigger_name, top:nil, filter:nil, custom_headers:nil)
|
73
73
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
74
74
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
75
75
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -78,6 +78,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
78
78
|
|
79
79
|
|
80
80
|
request_headers = {}
|
81
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
81
82
|
|
82
83
|
# Set Headers
|
83
84
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -135,8 +136,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
135
136
|
#
|
136
137
|
# @return [WorkflowTriggerHistory] operation results.
|
137
138
|
#
|
138
|
-
def get(resource_group_name, workflow_name, trigger_name, history_name, custom_headers
|
139
|
-
response = get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers).value!
|
139
|
+
def get(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
|
140
|
+
response = get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:custom_headers).value!
|
140
141
|
response.body unless response.nil?
|
141
142
|
end
|
142
143
|
|
@@ -153,8 +154,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
153
154
|
#
|
154
155
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
155
156
|
#
|
156
|
-
def get_with_http_info(resource_group_name, workflow_name, trigger_name, history_name, custom_headers
|
157
|
-
get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers).value!
|
157
|
+
def get_with_http_info(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
|
158
|
+
get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:custom_headers).value!
|
158
159
|
end
|
159
160
|
|
160
161
|
#
|
@@ -170,7 +171,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
170
171
|
#
|
171
172
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
172
173
|
#
|
173
|
-
def get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers
|
174
|
+
def get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
|
174
175
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
175
176
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
176
177
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -180,6 +181,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
180
181
|
|
181
182
|
|
182
183
|
request_headers = {}
|
184
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
183
185
|
|
184
186
|
# Set Headers
|
185
187
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -236,8 +238,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
236
238
|
# will be added to the HTTP request.
|
237
239
|
#
|
238
240
|
#
|
239
|
-
def resubmit(resource_group_name, workflow_name, trigger_name, history_name, custom_headers
|
240
|
-
response = resubmit_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers).value!
|
241
|
+
def resubmit(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
|
242
|
+
response = resubmit_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:custom_headers).value!
|
241
243
|
nil
|
242
244
|
end
|
243
245
|
|
@@ -254,8 +256,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
254
256
|
#
|
255
257
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
256
258
|
#
|
257
|
-
def resubmit_with_http_info(resource_group_name, workflow_name, trigger_name, history_name, custom_headers
|
258
|
-
resubmit_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers).value!
|
259
|
+
def resubmit_with_http_info(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
|
260
|
+
resubmit_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:custom_headers).value!
|
259
261
|
end
|
260
262
|
|
261
263
|
#
|
@@ -271,7 +273,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
271
273
|
#
|
272
274
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
273
275
|
#
|
274
|
-
def resubmit_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers
|
276
|
+
def resubmit_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
|
275
277
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
276
278
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
277
279
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -281,6 +283,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
281
283
|
|
282
284
|
|
283
285
|
request_headers = {}
|
286
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
284
287
|
|
285
288
|
# Set Headers
|
286
289
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -325,8 +328,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
325
328
|
#
|
326
329
|
# @return [WorkflowTriggerHistoryListResult] operation results.
|
327
330
|
#
|
328
|
-
def list_next(next_page_link, custom_headers
|
329
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
331
|
+
def list_next(next_page_link, custom_headers:nil)
|
332
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
330
333
|
response.body unless response.nil?
|
331
334
|
end
|
332
335
|
|
@@ -340,8 +343,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
340
343
|
#
|
341
344
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
342
345
|
#
|
343
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
344
|
-
list_next_async(next_page_link, custom_headers).value!
|
346
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
347
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
345
348
|
end
|
346
349
|
|
347
350
|
#
|
@@ -354,11 +357,12 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
354
357
|
#
|
355
358
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
356
359
|
#
|
357
|
-
def list_next_async(next_page_link, custom_headers
|
360
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
358
361
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
359
362
|
|
360
363
|
|
361
364
|
request_headers = {}
|
365
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
362
366
|
|
363
367
|
# Set Headers
|
364
368
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -416,12 +420,12 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
416
420
|
# @return [WorkflowTriggerHistoryListResult] which provide lazy access to pages
|
417
421
|
# of the response.
|
418
422
|
#
|
419
|
-
def list_as_lazy(resource_group_name, workflow_name, trigger_name, top
|
420
|
-
response = list_async(resource_group_name, workflow_name, trigger_name, top, filter, custom_headers).value!
|
423
|
+
def list_as_lazy(resource_group_name, workflow_name, trigger_name, top:nil, filter:nil, custom_headers:nil)
|
424
|
+
response = list_async(resource_group_name, workflow_name, trigger_name, top:top, filter:filter, custom_headers:custom_headers).value!
|
421
425
|
unless response.nil?
|
422
426
|
page = response.body
|
423
427
|
page.next_method = Proc.new do |next_page_link|
|
424
|
-
list_next_async(next_page_link, custom_headers)
|
428
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
425
429
|
end
|
426
430
|
page
|
427
431
|
end
|
@@ -33,8 +33,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
33
33
|
#
|
34
34
|
# @return [Array<WorkflowTrigger>] operation results.
|
35
35
|
#
|
36
|
-
def list(resource_group_name, workflow_name, top
|
37
|
-
first_page = list_as_lazy(resource_group_name, workflow_name, top, filter, custom_headers)
|
36
|
+
def list(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
|
37
|
+
first_page = list_as_lazy(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers)
|
38
38
|
first_page.get_all_items
|
39
39
|
end
|
40
40
|
|
@@ -50,8 +50,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
50
50
|
#
|
51
51
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
52
|
#
|
53
|
-
def list_with_http_info(resource_group_name, workflow_name, top
|
54
|
-
list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
|
53
|
+
def list_with_http_info(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
|
54
|
+
list_async(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers).value!
|
55
55
|
end
|
56
56
|
|
57
57
|
#
|
@@ -66,7 +66,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
66
66
|
#
|
67
67
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
68
|
#
|
69
|
-
def list_async(resource_group_name, workflow_name, top
|
69
|
+
def list_async(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
|
70
70
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
71
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
72
72
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -74,6 +74,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
74
74
|
|
75
75
|
|
76
76
|
request_headers = {}
|
77
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
77
78
|
|
78
79
|
# Set Headers
|
79
80
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -129,8 +130,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
129
130
|
#
|
130
131
|
# @return [WorkflowTrigger] operation results.
|
131
132
|
#
|
132
|
-
def get(resource_group_name, workflow_name, trigger_name, custom_headers
|
133
|
-
response = get_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
|
133
|
+
def get(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
134
|
+
response = get_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
|
134
135
|
response.body unless response.nil?
|
135
136
|
end
|
136
137
|
|
@@ -145,8 +146,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
145
146
|
#
|
146
147
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
147
148
|
#
|
148
|
-
def get_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers
|
149
|
-
get_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
|
149
|
+
def get_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
150
|
+
get_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
|
150
151
|
end
|
151
152
|
|
152
153
|
#
|
@@ -160,7 +161,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
160
161
|
#
|
161
162
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
162
163
|
#
|
163
|
-
def get_async(resource_group_name, workflow_name, trigger_name, custom_headers
|
164
|
+
def get_async(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
164
165
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
165
166
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
166
167
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -169,6 +170,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
169
170
|
|
170
171
|
|
171
172
|
request_headers = {}
|
173
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
172
174
|
|
173
175
|
# Set Headers
|
174
176
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -224,8 +226,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
224
226
|
#
|
225
227
|
# @return [Object] operation results.
|
226
228
|
#
|
227
|
-
def run(resource_group_name, workflow_name, trigger_name, custom_headers
|
228
|
-
response = run_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
|
229
|
+
def run(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
230
|
+
response = run_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
|
229
231
|
response.body unless response.nil?
|
230
232
|
end
|
231
233
|
|
@@ -240,8 +242,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
240
242
|
#
|
241
243
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
242
244
|
#
|
243
|
-
def run_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers
|
244
|
-
run_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
|
245
|
+
def run_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
246
|
+
run_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
|
245
247
|
end
|
246
248
|
|
247
249
|
#
|
@@ -255,7 +257,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
255
257
|
#
|
256
258
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
257
259
|
#
|
258
|
-
def run_async(resource_group_name, workflow_name, trigger_name, custom_headers
|
260
|
+
def run_async(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
259
261
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
260
262
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
261
263
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -264,6 +266,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
264
266
|
|
265
267
|
|
266
268
|
request_headers = {}
|
269
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
267
270
|
|
268
271
|
# Set Headers
|
269
272
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -309,8 +312,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
309
312
|
#
|
310
313
|
# @return [WorkflowTriggerCallbackUrl] operation results.
|
311
314
|
#
|
312
|
-
def list_callback_url(resource_group_name, workflow_name, trigger_name, custom_headers
|
313
|
-
response = list_callback_url_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
|
315
|
+
def list_callback_url(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
316
|
+
response = list_callback_url_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
|
314
317
|
response.body unless response.nil?
|
315
318
|
end
|
316
319
|
|
@@ -325,8 +328,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
325
328
|
#
|
326
329
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
327
330
|
#
|
328
|
-
def list_callback_url_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers
|
329
|
-
list_callback_url_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
|
331
|
+
def list_callback_url_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
332
|
+
list_callback_url_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
|
330
333
|
end
|
331
334
|
|
332
335
|
#
|
@@ -340,7 +343,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
340
343
|
#
|
341
344
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
342
345
|
#
|
343
|
-
def list_callback_url_async(resource_group_name, workflow_name, trigger_name, custom_headers
|
346
|
+
def list_callback_url_async(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
|
344
347
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
345
348
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
346
349
|
fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
|
@@ -349,6 +352,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
349
352
|
|
350
353
|
|
351
354
|
request_headers = {}
|
355
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
352
356
|
|
353
357
|
# Set Headers
|
354
358
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -403,8 +407,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
403
407
|
#
|
404
408
|
# @return [WorkflowTriggerListResult] operation results.
|
405
409
|
#
|
406
|
-
def list_next(next_page_link, custom_headers
|
407
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
410
|
+
def list_next(next_page_link, custom_headers:nil)
|
411
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
408
412
|
response.body unless response.nil?
|
409
413
|
end
|
410
414
|
|
@@ -418,8 +422,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
418
422
|
#
|
419
423
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
420
424
|
#
|
421
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
422
|
-
list_next_async(next_page_link, custom_headers).value!
|
425
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
426
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
423
427
|
end
|
424
428
|
|
425
429
|
#
|
@@ -432,11 +436,12 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
432
436
|
#
|
433
437
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
434
438
|
#
|
435
|
-
def list_next_async(next_page_link, custom_headers
|
439
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
436
440
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
437
441
|
|
438
442
|
|
439
443
|
request_headers = {}
|
444
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
440
445
|
|
441
446
|
# Set Headers
|
442
447
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -493,12 +498,12 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
493
498
|
# @return [WorkflowTriggerListResult] which provide lazy access to pages of the
|
494
499
|
# response.
|
495
500
|
#
|
496
|
-
def list_as_lazy(resource_group_name, workflow_name, top
|
497
|
-
response = list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
|
501
|
+
def list_as_lazy(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
|
502
|
+
response = list_async(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers).value!
|
498
503
|
unless response.nil?
|
499
504
|
page = response.body
|
500
505
|
page.next_method = Proc.new do |next_page_link|
|
501
|
-
list_next_async(next_page_link, custom_headers)
|
506
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
502
507
|
end
|
503
508
|
page
|
504
509
|
end
|