azure_mgmt_automation 0.15.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-10-31/generated/azure_mgmt_automation.rb +111 -97
- data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +39 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +28 -24
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +92 -81
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +25 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb +124 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +215 -70
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +68 -67
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +72 -57
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +123 -100
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +72 -57
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +39 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb +120 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb +120 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +35 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_validation_set.rb +47 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +9 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +10 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +10 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +11 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +44 -4
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +20 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +13 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb +132 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +22 -25
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +20 -15
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +13 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +58 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +37 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +0 -42
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb +18 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +26 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb +73 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb +56 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/{sub_resource.rb → linked_workspace.rb} +7 -6
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +20 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb +62 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +11 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +9 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +2 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +12 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +3 -3
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +0 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb +92 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +12 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +23 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +54 -61
- data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +28 -22
- data/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +6 -5
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +144 -118
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +131 -95
- data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +93 -71
- data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/{test_jobs.rb → test_job_operations.rb} +82 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +49 -39
- data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +95 -80
- data/lib/profiles/latest/automation_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/automation_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/automation_profile_module.rb +585 -516
- data/lib/version.rb +1 -1
- metadata +21 -7
@@ -24,46 +24,48 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
24
24
|
#
|
25
25
|
# Delete the job schedule identified by job schedule name.
|
26
26
|
#
|
27
|
-
# @param resource_group_name [String]
|
28
|
-
# @param automation_account_name [String] The automation account
|
27
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
28
|
+
# @param automation_account_name [String] The name of the automation account.
|
29
29
|
# @param job_schedule_id The job schedule name.
|
30
30
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
31
|
# will be added to the HTTP request.
|
32
32
|
#
|
33
33
|
#
|
34
|
-
def delete(resource_group_name, automation_account_name, job_schedule_id, custom_headers
|
35
|
-
response = delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers).value!
|
34
|
+
def delete(resource_group_name, automation_account_name, job_schedule_id, custom_headers:nil)
|
35
|
+
response = delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers:custom_headers).value!
|
36
36
|
nil
|
37
37
|
end
|
38
38
|
|
39
39
|
#
|
40
40
|
# Delete the job schedule identified by job schedule name.
|
41
41
|
#
|
42
|
-
# @param resource_group_name [String]
|
43
|
-
# @param automation_account_name [String] The automation account
|
42
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
43
|
+
# @param automation_account_name [String] The name of the automation account.
|
44
44
|
# @param job_schedule_id The job schedule name.
|
45
45
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
46
46
|
# will be added to the HTTP request.
|
47
47
|
#
|
48
48
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
49
49
|
#
|
50
|
-
def delete_with_http_info(resource_group_name, automation_account_name, job_schedule_id, custom_headers
|
51
|
-
delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers).value!
|
50
|
+
def delete_with_http_info(resource_group_name, automation_account_name, job_schedule_id, custom_headers:nil)
|
51
|
+
delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers:custom_headers).value!
|
52
52
|
end
|
53
53
|
|
54
54
|
#
|
55
55
|
# Delete the job schedule identified by job schedule name.
|
56
56
|
#
|
57
|
-
# @param resource_group_name [String]
|
58
|
-
# @param automation_account_name [String] The automation account
|
57
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
58
|
+
# @param automation_account_name [String] The name of the automation account.
|
59
59
|
# @param job_schedule_id The job schedule name.
|
60
60
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
61
61
|
# to the HTTP request.
|
62
62
|
#
|
63
63
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
64
64
|
#
|
65
|
-
def delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers
|
65
|
+
def delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers:nil)
|
66
66
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
67
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
68
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
67
69
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
68
70
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
69
71
|
fail ArgumentError, 'job_schedule_id is nil' if job_schedule_id.nil?
|
@@ -72,6 +74,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
72
74
|
|
73
75
|
|
74
76
|
request_headers = {}
|
77
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
75
78
|
|
76
79
|
# Set Headers
|
77
80
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -109,47 +112,49 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
109
112
|
#
|
110
113
|
# Retrieve the job schedule identified by job schedule name.
|
111
114
|
#
|
112
|
-
# @param resource_group_name [String]
|
113
|
-
# @param automation_account_name [String] The automation account
|
115
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
116
|
+
# @param automation_account_name [String] The name of the automation account.
|
114
117
|
# @param job_schedule_id The job schedule name.
|
115
118
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
116
119
|
# will be added to the HTTP request.
|
117
120
|
#
|
118
121
|
# @return [JobSchedule] operation results.
|
119
122
|
#
|
120
|
-
def get(resource_group_name, automation_account_name, job_schedule_id, custom_headers
|
121
|
-
response = get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers).value!
|
123
|
+
def get(resource_group_name, automation_account_name, job_schedule_id, custom_headers:nil)
|
124
|
+
response = get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers:custom_headers).value!
|
122
125
|
response.body unless response.nil?
|
123
126
|
end
|
124
127
|
|
125
128
|
#
|
126
129
|
# Retrieve the job schedule identified by job schedule name.
|
127
130
|
#
|
128
|
-
# @param resource_group_name [String]
|
129
|
-
# @param automation_account_name [String] The automation account
|
131
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
132
|
+
# @param automation_account_name [String] The name of the automation account.
|
130
133
|
# @param job_schedule_id The job schedule name.
|
131
134
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
132
135
|
# will be added to the HTTP request.
|
133
136
|
#
|
134
137
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
135
138
|
#
|
136
|
-
def get_with_http_info(resource_group_name, automation_account_name, job_schedule_id, custom_headers
|
137
|
-
get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers).value!
|
139
|
+
def get_with_http_info(resource_group_name, automation_account_name, job_schedule_id, custom_headers:nil)
|
140
|
+
get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers:custom_headers).value!
|
138
141
|
end
|
139
142
|
|
140
143
|
#
|
141
144
|
# Retrieve the job schedule identified by job schedule name.
|
142
145
|
#
|
143
|
-
# @param resource_group_name [String]
|
144
|
-
# @param automation_account_name [String] The automation account
|
146
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
147
|
+
# @param automation_account_name [String] The name of the automation account.
|
145
148
|
# @param job_schedule_id The job schedule name.
|
146
149
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
147
150
|
# to the HTTP request.
|
148
151
|
#
|
149
152
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
150
153
|
#
|
151
|
-
def get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers
|
154
|
+
def get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers:nil)
|
152
155
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
156
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
157
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
153
158
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
154
159
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
155
160
|
fail ArgumentError, 'job_schedule_id is nil' if job_schedule_id.nil?
|
@@ -158,6 +163,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
158
163
|
|
159
164
|
|
160
165
|
request_headers = {}
|
166
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
161
167
|
|
162
168
|
# Set Headers
|
163
169
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -205,8 +211,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
205
211
|
#
|
206
212
|
# Create a job schedule.
|
207
213
|
#
|
208
|
-
# @param resource_group_name [String]
|
209
|
-
# @param automation_account_name [String] The automation account
|
214
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
215
|
+
# @param automation_account_name [String] The name of the automation account.
|
210
216
|
# @param job_schedule_id The job schedule name.
|
211
217
|
# @param parameters [JobScheduleCreateParameters] The parameters supplied to
|
212
218
|
# the create job schedule operation.
|
@@ -215,16 +221,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
215
221
|
#
|
216
222
|
# @return [JobSchedule] operation results.
|
217
223
|
#
|
218
|
-
def create(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers
|
219
|
-
response = create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers).value!
|
224
|
+
def create(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:nil)
|
225
|
+
response = create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:custom_headers).value!
|
220
226
|
response.body unless response.nil?
|
221
227
|
end
|
222
228
|
|
223
229
|
#
|
224
230
|
# Create a job schedule.
|
225
231
|
#
|
226
|
-
# @param resource_group_name [String]
|
227
|
-
# @param automation_account_name [String] The automation account
|
232
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
233
|
+
# @param automation_account_name [String] The name of the automation account.
|
228
234
|
# @param job_schedule_id The job schedule name.
|
229
235
|
# @param parameters [JobScheduleCreateParameters] The parameters supplied to
|
230
236
|
# the create job schedule operation.
|
@@ -233,15 +239,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
233
239
|
#
|
234
240
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
235
241
|
#
|
236
|
-
def create_with_http_info(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers
|
237
|
-
create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers).value!
|
242
|
+
def create_with_http_info(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:nil)
|
243
|
+
create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:custom_headers).value!
|
238
244
|
end
|
239
245
|
|
240
246
|
#
|
241
247
|
# Create a job schedule.
|
242
248
|
#
|
243
|
-
# @param resource_group_name [String]
|
244
|
-
# @param automation_account_name [String] The automation account
|
249
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
250
|
+
# @param automation_account_name [String] The name of the automation account.
|
245
251
|
# @param job_schedule_id The job schedule name.
|
246
252
|
# @param parameters [JobScheduleCreateParameters] The parameters supplied to
|
247
253
|
# the create job schedule operation.
|
@@ -250,8 +256,10 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
250
256
|
#
|
251
257
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
252
258
|
#
|
253
|
-
def create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers
|
259
|
+
def create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:nil)
|
254
260
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
261
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
262
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
255
263
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
256
264
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
257
265
|
fail ArgumentError, 'job_schedule_id is nil' if job_schedule_id.nil?
|
@@ -261,13 +269,12 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
261
269
|
|
262
270
|
|
263
271
|
request_headers = {}
|
272
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
264
273
|
|
265
274
|
# Set Headers
|
266
275
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
267
276
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
268
277
|
|
269
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
270
|
-
|
271
278
|
# Serialize Request
|
272
279
|
request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters.mapper()
|
273
280
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -317,44 +324,49 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
317
324
|
#
|
318
325
|
# Retrieve a list of job schedules.
|
319
326
|
#
|
320
|
-
# @param resource_group_name [String]
|
321
|
-
# @param automation_account_name [String] The automation account
|
327
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
328
|
+
# @param automation_account_name [String] The name of the automation account.
|
329
|
+
# @param filter [String] The filter to apply on the operation.
|
322
330
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
323
331
|
# will be added to the HTTP request.
|
324
332
|
#
|
325
333
|
# @return [Array<JobSchedule>] operation results.
|
326
334
|
#
|
327
|
-
def list_by_automation_account(resource_group_name, automation_account_name, custom_headers
|
328
|
-
first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers)
|
335
|
+
def list_by_automation_account(resource_group_name, automation_account_name, filter:nil, custom_headers:nil)
|
336
|
+
first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter:filter, custom_headers:custom_headers)
|
329
337
|
first_page.get_all_items
|
330
338
|
end
|
331
339
|
|
332
340
|
#
|
333
341
|
# Retrieve a list of job schedules.
|
334
342
|
#
|
335
|
-
# @param resource_group_name [String]
|
336
|
-
# @param automation_account_name [String] The automation account
|
343
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
344
|
+
# @param automation_account_name [String] The name of the automation account.
|
345
|
+
# @param filter [String] The filter to apply on the operation.
|
337
346
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
338
347
|
# will be added to the HTTP request.
|
339
348
|
#
|
340
349
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
341
350
|
#
|
342
|
-
def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers
|
343
|
-
list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value!
|
351
|
+
def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter:nil, custom_headers:nil)
|
352
|
+
list_by_automation_account_async(resource_group_name, automation_account_name, filter:filter, custom_headers:custom_headers).value!
|
344
353
|
end
|
345
354
|
|
346
355
|
#
|
347
356
|
# Retrieve a list of job schedules.
|
348
357
|
#
|
349
|
-
# @param resource_group_name [String]
|
350
|
-
# @param automation_account_name [String] The automation account
|
358
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
359
|
+
# @param automation_account_name [String] The name of the automation account.
|
360
|
+
# @param filter [String] The filter to apply on the operation.
|
351
361
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
352
362
|
# to the HTTP request.
|
353
363
|
#
|
354
364
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
355
365
|
#
|
356
|
-
def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers
|
366
|
+
def list_by_automation_account_async(resource_group_name, automation_account_name, filter:nil, custom_headers:nil)
|
357
367
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
368
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
369
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
358
370
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
359
371
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
360
372
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -362,6 +374,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
362
374
|
|
363
375
|
|
364
376
|
request_headers = {}
|
377
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
365
378
|
|
366
379
|
# Set Headers
|
367
380
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -373,7 +386,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
373
386
|
options = {
|
374
387
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
375
388
|
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
|
376
|
-
query_params: {'api-version' => @client.api_version},
|
389
|
+
query_params: {'$filter' => filter,'api-version' => @client.api_version},
|
377
390
|
headers: request_headers.merge(custom_headers || {}),
|
378
391
|
base_url: request_url
|
379
392
|
}
|
@@ -416,8 +429,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
416
429
|
#
|
417
430
|
# @return [JobScheduleListResult] operation results.
|
418
431
|
#
|
419
|
-
def list_by_automation_account_next(next_page_link, custom_headers
|
420
|
-
response = list_by_automation_account_next_async(next_page_link, custom_headers).value!
|
432
|
+
def list_by_automation_account_next(next_page_link, custom_headers:nil)
|
433
|
+
response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value!
|
421
434
|
response.body unless response.nil?
|
422
435
|
end
|
423
436
|
|
@@ -431,8 +444,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
431
444
|
#
|
432
445
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
433
446
|
#
|
434
|
-
def list_by_automation_account_next_with_http_info(next_page_link, custom_headers
|
435
|
-
list_by_automation_account_next_async(next_page_link, custom_headers).value!
|
447
|
+
def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil)
|
448
|
+
list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value!
|
436
449
|
end
|
437
450
|
|
438
451
|
#
|
@@ -445,11 +458,12 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
445
458
|
#
|
446
459
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
447
460
|
#
|
448
|
-
def list_by_automation_account_next_async(next_page_link, custom_headers
|
461
|
+
def list_by_automation_account_next_async(next_page_link, custom_headers:nil)
|
449
462
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
450
463
|
|
451
464
|
|
452
465
|
request_headers = {}
|
466
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
453
467
|
|
454
468
|
# Set Headers
|
455
469
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -496,20 +510,21 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
496
510
|
#
|
497
511
|
# Retrieve a list of job schedules.
|
498
512
|
#
|
499
|
-
# @param resource_group_name [String]
|
500
|
-
# @param automation_account_name [String] The automation account
|
513
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
514
|
+
# @param automation_account_name [String] The name of the automation account.
|
515
|
+
# @param filter [String] The filter to apply on the operation.
|
501
516
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
502
517
|
# will be added to the HTTP request.
|
503
518
|
#
|
504
519
|
# @return [JobScheduleListResult] which provide lazy access to pages of the
|
505
520
|
# response.
|
506
521
|
#
|
507
|
-
def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers
|
508
|
-
response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value!
|
522
|
+
def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter:nil, custom_headers:nil)
|
523
|
+
response = list_by_automation_account_async(resource_group_name, automation_account_name, filter:filter, custom_headers:custom_headers).value!
|
509
524
|
unless response.nil?
|
510
525
|
page = response.body
|
511
526
|
page.next_method = Proc.new do |next_page_link|
|
512
|
-
list_by_automation_account_next_async(next_page_link, custom_headers)
|
527
|
+
list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers)
|
513
528
|
end
|
514
529
|
page
|
515
530
|
end
|
@@ -24,8 +24,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
24
24
|
#
|
25
25
|
# Retrieve the job stream identified by job stream id.
|
26
26
|
#
|
27
|
-
# @param resource_group_name [String]
|
28
|
-
# @param automation_account_name [String] The automation account
|
27
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
28
|
+
# @param automation_account_name [String] The name of the automation account.
|
29
29
|
# @param job_id [String] The job id.
|
30
30
|
# @param job_stream_id [String] The job stream id.
|
31
31
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -33,16 +33,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
33
33
|
#
|
34
34
|
# @return [JobStream] operation results.
|
35
35
|
#
|
36
|
-
def get(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers
|
37
|
-
response = get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers).value!
|
36
|
+
def get(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers:nil)
|
37
|
+
response = get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers:custom_headers).value!
|
38
38
|
response.body unless response.nil?
|
39
39
|
end
|
40
40
|
|
41
41
|
#
|
42
42
|
# Retrieve the job stream identified by job stream id.
|
43
43
|
#
|
44
|
-
# @param resource_group_name [String]
|
45
|
-
# @param automation_account_name [String] The automation account
|
44
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
45
|
+
# @param automation_account_name [String] The name of the automation account.
|
46
46
|
# @param job_id [String] The job id.
|
47
47
|
# @param job_stream_id [String] The job stream id.
|
48
48
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -50,15 +50,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
50
50
|
#
|
51
51
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
52
|
#
|
53
|
-
def get_with_http_info(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers
|
54
|
-
get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers).value!
|
53
|
+
def get_with_http_info(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers:nil)
|
54
|
+
get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers:custom_headers).value!
|
55
55
|
end
|
56
56
|
|
57
57
|
#
|
58
58
|
# Retrieve the job stream identified by job stream id.
|
59
59
|
#
|
60
|
-
# @param resource_group_name [String]
|
61
|
-
# @param automation_account_name [String] The automation account
|
60
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
61
|
+
# @param automation_account_name [String] The name of the automation account.
|
62
62
|
# @param job_id [String] The job id.
|
63
63
|
# @param job_stream_id [String] The job stream id.
|
64
64
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -66,8 +66,10 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
66
66
|
#
|
67
67
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
68
|
#
|
69
|
-
def get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers
|
69
|
+
def get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers:nil)
|
70
70
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
71
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
72
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
71
73
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
72
74
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
73
75
|
fail ArgumentError, 'job_id is nil' if job_id.nil?
|
@@ -77,6 +79,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
77
79
|
|
78
80
|
|
79
81
|
request_headers = {}
|
82
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
80
83
|
|
81
84
|
# Set Headers
|
82
85
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -124,8 +127,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
124
127
|
#
|
125
128
|
# Retrieve a list of jobs streams identified by job id.
|
126
129
|
#
|
127
|
-
# @param resource_group_name [String]
|
128
|
-
# @param automation_account_name [String] The automation account
|
130
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
131
|
+
# @param automation_account_name [String] The name of the automation account.
|
129
132
|
# @param job_id [String] The job Id.
|
130
133
|
# @param filter [String] The filter to apply on the operation.
|
131
134
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -133,16 +136,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
133
136
|
#
|
134
137
|
# @return [Array<JobStream>] operation results.
|
135
138
|
#
|
136
|
-
def list_by_job(resource_group_name, automation_account_name, job_id, filter
|
137
|
-
first_page = list_by_job_as_lazy(resource_group_name, automation_account_name, job_id, filter, custom_headers)
|
139
|
+
def list_by_job(resource_group_name, automation_account_name, job_id, filter:nil, custom_headers:nil)
|
140
|
+
first_page = list_by_job_as_lazy(resource_group_name, automation_account_name, job_id, filter:filter, custom_headers:custom_headers)
|
138
141
|
first_page.get_all_items
|
139
142
|
end
|
140
143
|
|
141
144
|
#
|
142
145
|
# Retrieve a list of jobs streams identified by job id.
|
143
146
|
#
|
144
|
-
# @param resource_group_name [String]
|
145
|
-
# @param automation_account_name [String] The automation account
|
147
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
148
|
+
# @param automation_account_name [String] The name of the automation account.
|
146
149
|
# @param job_id [String] The job Id.
|
147
150
|
# @param filter [String] The filter to apply on the operation.
|
148
151
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -150,15 +153,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
150
153
|
#
|
151
154
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
152
155
|
#
|
153
|
-
def list_by_job_with_http_info(resource_group_name, automation_account_name, job_id, filter
|
154
|
-
list_by_job_async(resource_group_name, automation_account_name, job_id, filter, custom_headers).value!
|
156
|
+
def list_by_job_with_http_info(resource_group_name, automation_account_name, job_id, filter:nil, custom_headers:nil)
|
157
|
+
list_by_job_async(resource_group_name, automation_account_name, job_id, filter:filter, custom_headers:custom_headers).value!
|
155
158
|
end
|
156
159
|
|
157
160
|
#
|
158
161
|
# Retrieve a list of jobs streams identified by job id.
|
159
162
|
#
|
160
|
-
# @param resource_group_name [String]
|
161
|
-
# @param automation_account_name [String] The automation account
|
163
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
164
|
+
# @param automation_account_name [String] The name of the automation account.
|
162
165
|
# @param job_id [String] The job Id.
|
163
166
|
# @param filter [String] The filter to apply on the operation.
|
164
167
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -166,8 +169,10 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
166
169
|
#
|
167
170
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
168
171
|
#
|
169
|
-
def list_by_job_async(resource_group_name, automation_account_name, job_id, filter
|
172
|
+
def list_by_job_async(resource_group_name, automation_account_name, job_id, filter:nil, custom_headers:nil)
|
170
173
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
174
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
175
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
171
176
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
172
177
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
173
178
|
fail ArgumentError, 'job_id is nil' if job_id.nil?
|
@@ -176,6 +181,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
176
181
|
|
177
182
|
|
178
183
|
request_headers = {}
|
184
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
179
185
|
|
180
186
|
# Set Headers
|
181
187
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -230,8 +236,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
230
236
|
#
|
231
237
|
# @return [JobStreamListResult] operation results.
|
232
238
|
#
|
233
|
-
def list_by_job_next(next_page_link, custom_headers
|
234
|
-
response = list_by_job_next_async(next_page_link, custom_headers).value!
|
239
|
+
def list_by_job_next(next_page_link, custom_headers:nil)
|
240
|
+
response = list_by_job_next_async(next_page_link, custom_headers:custom_headers).value!
|
235
241
|
response.body unless response.nil?
|
236
242
|
end
|
237
243
|
|
@@ -245,8 +251,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
245
251
|
#
|
246
252
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
247
253
|
#
|
248
|
-
def list_by_job_next_with_http_info(next_page_link, custom_headers
|
249
|
-
list_by_job_next_async(next_page_link, custom_headers).value!
|
254
|
+
def list_by_job_next_with_http_info(next_page_link, custom_headers:nil)
|
255
|
+
list_by_job_next_async(next_page_link, custom_headers:custom_headers).value!
|
250
256
|
end
|
251
257
|
|
252
258
|
#
|
@@ -259,11 +265,12 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
259
265
|
#
|
260
266
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
261
267
|
#
|
262
|
-
def list_by_job_next_async(next_page_link, custom_headers
|
268
|
+
def list_by_job_next_async(next_page_link, custom_headers:nil)
|
263
269
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
264
270
|
|
265
271
|
|
266
272
|
request_headers = {}
|
273
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
267
274
|
|
268
275
|
# Set Headers
|
269
276
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -310,8 +317,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
310
317
|
#
|
311
318
|
# Retrieve a list of jobs streams identified by job id.
|
312
319
|
#
|
313
|
-
# @param resource_group_name [String]
|
314
|
-
# @param automation_account_name [String] The automation account
|
320
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
321
|
+
# @param automation_account_name [String] The name of the automation account.
|
315
322
|
# @param job_id [String] The job Id.
|
316
323
|
# @param filter [String] The filter to apply on the operation.
|
317
324
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -320,12 +327,12 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
320
327
|
# @return [JobStreamListResult] which provide lazy access to pages of the
|
321
328
|
# response.
|
322
329
|
#
|
323
|
-
def list_by_job_as_lazy(resource_group_name, automation_account_name, job_id, filter
|
324
|
-
response = list_by_job_async(resource_group_name, automation_account_name, job_id, filter, custom_headers).value!
|
330
|
+
def list_by_job_as_lazy(resource_group_name, automation_account_name, job_id, filter:nil, custom_headers:nil)
|
331
|
+
response = list_by_job_async(resource_group_name, automation_account_name, job_id, filter:filter, custom_headers:custom_headers).value!
|
325
332
|
unless response.nil?
|
326
333
|
page = response.body
|
327
334
|
page.next_method = Proc.new do |next_page_link|
|
328
|
-
list_by_job_next_async(next_page_link, custom_headers)
|
335
|
+
list_by_job_next_async(next_page_link, custom_headers:custom_headers)
|
329
336
|
end
|
330
337
|
page
|
331
338
|
end
|