azure_mgmt_automation 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-10-31/generated/azure_mgmt_automation.rb +110 -97
- data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +36 -25
- data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +32 -22
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +38 -31
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +22 -12
- data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +68 -47
- data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +68 -47
- 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 +218 -61
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +69 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +68 -47
- data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +16 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +73 -48
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +132 -91
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +73 -48
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +36 -25
- 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_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_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 +1 -10
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +1 -10
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +1 -10
- 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 +3 -3
- 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 +12 -0
- 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 +1 -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 +4 -4
- 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/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_provisioning_state.rb +18 -0
- 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_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 +4 -34
- 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/schedule.rb +1 -10
- 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 +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +1 -1
- 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 +1 -10
- 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_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +53 -54
- data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +32 -22
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +150 -107
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +130 -78
- data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +96 -60
- data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +8 -6
- data/lib/2015-10-31/generated/azure_mgmt_automation/{test_jobs.rb → test_job_operations.rb} +87 -62
- data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +44 -30
- data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +8 -6
- data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +100 -69
- data/lib/profiles/latest/modules/automation_profile_module.rb +364 -318
- data/lib/version.rb +1 -1
- metadata +19 -6
@@ -22,9 +22,11 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
25
|
-
# Retrieve a test job
|
25
|
+
# Retrieve a test job stream of the test job identified by runbook name and
|
26
|
+
# stream id.
|
26
27
|
#
|
27
|
-
# @param
|
28
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
29
|
+
# @param automation_account_name [String] The name of the automation account.
|
28
30
|
# @param runbook_name [String] The runbook name.
|
29
31
|
# @param job_stream_id [String] The job stream id.
|
30
32
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -32,15 +34,17 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
32
34
|
#
|
33
35
|
# @return [JobStream] operation results.
|
34
36
|
#
|
35
|
-
def get(automation_account_name, runbook_name, job_stream_id, custom_headers:nil)
|
36
|
-
response = get_async(automation_account_name, runbook_name, job_stream_id, custom_headers:custom_headers).value!
|
37
|
+
def get(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers:nil)
|
38
|
+
response = get_async(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers:custom_headers).value!
|
37
39
|
response.body unless response.nil?
|
38
40
|
end
|
39
41
|
|
40
42
|
#
|
41
|
-
# Retrieve a test job
|
43
|
+
# Retrieve a test job stream of the test job identified by runbook name and
|
44
|
+
# stream id.
|
42
45
|
#
|
43
|
-
# @param
|
46
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
47
|
+
# @param automation_account_name [String] The name of the automation account.
|
44
48
|
# @param runbook_name [String] The runbook name.
|
45
49
|
# @param job_stream_id [String] The job stream id.
|
46
50
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -48,14 +52,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
48
52
|
#
|
49
53
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
50
54
|
#
|
51
|
-
def get_with_http_info(automation_account_name, runbook_name, job_stream_id, custom_headers:nil)
|
52
|
-
get_async(automation_account_name, runbook_name, job_stream_id, custom_headers:custom_headers).value!
|
55
|
+
def get_with_http_info(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers:nil)
|
56
|
+
get_async(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers:custom_headers).value!
|
53
57
|
end
|
54
58
|
|
55
59
|
#
|
56
|
-
# Retrieve a test job
|
60
|
+
# Retrieve a test job stream of the test job identified by runbook name and
|
61
|
+
# stream id.
|
57
62
|
#
|
58
|
-
# @param
|
63
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
64
|
+
# @param automation_account_name [String] The name of the automation account.
|
59
65
|
# @param runbook_name [String] The runbook name.
|
60
66
|
# @param job_stream_id [String] The job stream id.
|
61
67
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -63,13 +69,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
63
69
|
#
|
64
70
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
65
71
|
#
|
66
|
-
def get_async(automation_account_name, runbook_name, job_stream_id, custom_headers:nil)
|
67
|
-
fail ArgumentError, '@client.
|
68
|
-
fail ArgumentError,
|
72
|
+
def get_async(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers:nil)
|
73
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
74
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
75
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
76
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
77
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
69
78
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
70
79
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
71
80
|
fail ArgumentError, 'job_stream_id is nil' if job_stream_id.nil?
|
72
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
73
81
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
74
82
|
|
75
83
|
|
@@ -85,7 +93,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
85
93
|
|
86
94
|
options = {
|
87
95
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
88
|
-
path_params: {'
|
96
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'jobStreamId' => job_stream_id},
|
89
97
|
query_params: {'api-version' => @client.api_version},
|
90
98
|
headers: request_headers.merge(custom_headers || {}),
|
91
99
|
base_url: request_url
|
@@ -122,7 +130,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
122
130
|
#
|
123
131
|
# Retrieve a list of test job streams identified by runbook name.
|
124
132
|
#
|
125
|
-
# @param
|
133
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
134
|
+
# @param automation_account_name [String] The name of the automation account.
|
126
135
|
# @param runbook_name [String] The runbook name.
|
127
136
|
# @param filter [String] The filter to apply on the operation.
|
128
137
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -130,15 +139,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
130
139
|
#
|
131
140
|
# @return [Array<JobStream>] operation results.
|
132
141
|
#
|
133
|
-
def list_by_test_job(automation_account_name, runbook_name, filter:nil, custom_headers:nil)
|
134
|
-
first_page = list_by_test_job_as_lazy(automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers)
|
142
|
+
def list_by_test_job(resource_group_name, automation_account_name, runbook_name, filter:nil, custom_headers:nil)
|
143
|
+
first_page = list_by_test_job_as_lazy(resource_group_name, automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers)
|
135
144
|
first_page.get_all_items
|
136
145
|
end
|
137
146
|
|
138
147
|
#
|
139
148
|
# Retrieve a list of test job streams identified by runbook name.
|
140
149
|
#
|
141
|
-
# @param
|
150
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
151
|
+
# @param automation_account_name [String] The name of the automation account.
|
142
152
|
# @param runbook_name [String] The runbook name.
|
143
153
|
# @param filter [String] The filter to apply on the operation.
|
144
154
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -146,14 +156,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
146
156
|
#
|
147
157
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
148
158
|
#
|
149
|
-
def list_by_test_job_with_http_info(automation_account_name, runbook_name, filter:nil, custom_headers:nil)
|
150
|
-
list_by_test_job_async(automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers).value!
|
159
|
+
def list_by_test_job_with_http_info(resource_group_name, automation_account_name, runbook_name, filter:nil, custom_headers:nil)
|
160
|
+
list_by_test_job_async(resource_group_name, automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers).value!
|
151
161
|
end
|
152
162
|
|
153
163
|
#
|
154
164
|
# Retrieve a list of test job streams identified by runbook name.
|
155
165
|
#
|
156
|
-
# @param
|
166
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
167
|
+
# @param automation_account_name [String] The name of the automation account.
|
157
168
|
# @param runbook_name [String] The runbook name.
|
158
169
|
# @param filter [String] The filter to apply on the operation.
|
159
170
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -161,12 +172,14 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
161
172
|
#
|
162
173
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
163
174
|
#
|
164
|
-
def list_by_test_job_async(automation_account_name, runbook_name, filter:nil, custom_headers:nil)
|
165
|
-
fail ArgumentError, '@client.
|
166
|
-
fail ArgumentError,
|
175
|
+
def list_by_test_job_async(resource_group_name, automation_account_name, runbook_name, filter:nil, custom_headers:nil)
|
176
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
177
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
178
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
179
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
180
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
167
181
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
168
182
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
169
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
170
183
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
171
184
|
|
172
185
|
|
@@ -182,7 +195,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
182
195
|
|
183
196
|
options = {
|
184
197
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
185
|
-
path_params: {'
|
198
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name},
|
186
199
|
query_params: {'$filter' => filter,'api-version' => @client.api_version},
|
187
200
|
headers: request_headers.merge(custom_headers || {}),
|
188
201
|
base_url: request_url
|
@@ -307,7 +320,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
307
320
|
#
|
308
321
|
# Retrieve a list of test job streams identified by runbook name.
|
309
322
|
#
|
310
|
-
# @param
|
323
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
324
|
+
# @param automation_account_name [String] The name of the automation account.
|
311
325
|
# @param runbook_name [String] The runbook name.
|
312
326
|
# @param filter [String] The filter to apply on the operation.
|
313
327
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -316,8 +330,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
316
330
|
# @return [JobStreamListResult] which provide lazy access to pages of the
|
317
331
|
# response.
|
318
332
|
#
|
319
|
-
def list_by_test_job_as_lazy(automation_account_name, runbook_name, filter:nil, custom_headers:nil)
|
320
|
-
response = list_by_test_job_async(automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers).value!
|
333
|
+
def list_by_test_job_as_lazy(resource_group_name, automation_account_name, runbook_name, filter:nil, custom_headers:nil)
|
334
|
+
response = list_by_test_job_async(resource_group_name, automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers).value!
|
321
335
|
unless response.nil?
|
322
336
|
page = response.body
|
323
337
|
page.next_method = Proc.new do |next_page_link|
|
@@ -24,8 +24,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
24
24
|
#
|
25
25
|
# Retrieve the usage for the account 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 custom_headers [Hash{String => String}] A hash of custom headers that
|
30
30
|
# will be added to the HTTP request.
|
31
31
|
#
|
@@ -39,8 +39,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
39
39
|
#
|
40
40
|
# Retrieve the usage for the account id.
|
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 custom_headers [Hash{String => String}] A hash of custom headers that
|
45
45
|
# will be added to the HTTP request.
|
46
46
|
#
|
@@ -53,8 +53,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
53
53
|
#
|
54
54
|
# Retrieve the usage for the account id.
|
55
55
|
#
|
56
|
-
# @param resource_group_name [String]
|
57
|
-
# @param automation_account_name [String] The automation account
|
56
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
57
|
+
# @param automation_account_name [String] The name of the automation account.
|
58
58
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
59
59
|
# to the HTTP request.
|
60
60
|
#
|
@@ -62,6 +62,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
62
62
|
#
|
63
63
|
def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:nil)
|
64
64
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
65
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
66
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
65
67
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
66
68
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
67
69
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -24,7 +24,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
24
24
|
#
|
25
25
|
# Create a variable.
|
26
26
|
#
|
27
|
-
# @param
|
27
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
28
|
+
# @param automation_account_name [String] The name of the automation account.
|
28
29
|
# @param variable_name [String] The variable name.
|
29
30
|
# @param parameters [VariableCreateOrUpdateParameters] The parameters supplied
|
30
31
|
# to the create or update variable operation.
|
@@ -33,15 +34,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
33
34
|
#
|
34
35
|
# @return [Variable] operation results.
|
35
36
|
#
|
36
|
-
def create_or_update(automation_account_name, variable_name, parameters, custom_headers:nil)
|
37
|
-
response = create_or_update_async(automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
|
37
|
+
def create_or_update(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
|
38
|
+
response = create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
|
38
39
|
response.body unless response.nil?
|
39
40
|
end
|
40
41
|
|
41
42
|
#
|
42
43
|
# Create a variable.
|
43
44
|
#
|
44
|
-
# @param
|
45
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
46
|
+
# @param automation_account_name [String] The name of the automation account.
|
45
47
|
# @param variable_name [String] The variable name.
|
46
48
|
# @param parameters [VariableCreateOrUpdateParameters] The parameters supplied
|
47
49
|
# to the create or update variable operation.
|
@@ -50,14 +52,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
50
52
|
#
|
51
53
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
54
|
#
|
53
|
-
def create_or_update_with_http_info(automation_account_name, variable_name, parameters, custom_headers:nil)
|
54
|
-
create_or_update_async(automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
|
55
|
+
def create_or_update_with_http_info(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
|
56
|
+
create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
|
55
57
|
end
|
56
58
|
|
57
59
|
#
|
58
60
|
# Create a variable.
|
59
61
|
#
|
60
|
-
# @param
|
62
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
63
|
+
# @param automation_account_name [String] The name of the automation account.
|
61
64
|
# @param variable_name [String] The variable name.
|
62
65
|
# @param parameters [VariableCreateOrUpdateParameters] The parameters supplied
|
63
66
|
# to the create or update variable operation.
|
@@ -66,9 +69,11 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
66
69
|
#
|
67
70
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
71
|
#
|
69
|
-
def create_or_update_async(automation_account_name, variable_name, parameters, custom_headers:nil)
|
70
|
-
fail ArgumentError, '
|
71
|
-
fail ArgumentError, "'
|
72
|
+
def create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
|
73
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
75
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
76
|
+
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
77
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
73
78
|
fail ArgumentError, 'variable_name is nil' if variable_name.nil?
|
74
79
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -94,7 +99,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
94
99
|
|
95
100
|
options = {
|
96
101
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
97
|
-
path_params: {'resourceGroupName' =>
|
102
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id},
|
98
103
|
query_params: {'api-version' => @client.api_version},
|
99
104
|
body: request_content,
|
100
105
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -142,7 +147,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
142
147
|
#
|
143
148
|
# Update a variable.
|
144
149
|
#
|
145
|
-
# @param
|
150
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
151
|
+
# @param automation_account_name [String] The name of the automation account.
|
146
152
|
# @param variable_name [String] The variable name.
|
147
153
|
# @param parameters [VariableUpdateParameters] The parameters supplied to the
|
148
154
|
# update variable operation.
|
@@ -151,15 +157,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
151
157
|
#
|
152
158
|
# @return [Variable] operation results.
|
153
159
|
#
|
154
|
-
def update(automation_account_name, variable_name, parameters, custom_headers:nil)
|
155
|
-
response = update_async(automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
|
160
|
+
def update(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
|
161
|
+
response = update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
|
156
162
|
response.body unless response.nil?
|
157
163
|
end
|
158
164
|
|
159
165
|
#
|
160
166
|
# Update a variable.
|
161
167
|
#
|
162
|
-
# @param
|
168
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
169
|
+
# @param automation_account_name [String] The name of the automation account.
|
163
170
|
# @param variable_name [String] The variable name.
|
164
171
|
# @param parameters [VariableUpdateParameters] The parameters supplied to the
|
165
172
|
# update variable operation.
|
@@ -168,14 +175,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
168
175
|
#
|
169
176
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
170
177
|
#
|
171
|
-
def update_with_http_info(automation_account_name, variable_name, parameters, custom_headers:nil)
|
172
|
-
update_async(automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
|
178
|
+
def update_with_http_info(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
|
179
|
+
update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
|
173
180
|
end
|
174
181
|
|
175
182
|
#
|
176
183
|
# Update a variable.
|
177
184
|
#
|
178
|
-
# @param
|
185
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
186
|
+
# @param automation_account_name [String] The name of the automation account.
|
179
187
|
# @param variable_name [String] The variable name.
|
180
188
|
# @param parameters [VariableUpdateParameters] The parameters supplied to the
|
181
189
|
# update variable operation.
|
@@ -184,9 +192,11 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
184
192
|
#
|
185
193
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
186
194
|
#
|
187
|
-
def update_async(automation_account_name, variable_name, parameters, custom_headers:nil)
|
188
|
-
fail ArgumentError, '
|
189
|
-
fail ArgumentError, "'
|
195
|
+
def update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
|
196
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
197
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
198
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
199
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
190
200
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
191
201
|
fail ArgumentError, 'variable_name is nil' if variable_name.nil?
|
192
202
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -212,7 +222,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
212
222
|
|
213
223
|
options = {
|
214
224
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
215
|
-
path_params: {'resourceGroupName' =>
|
225
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id},
|
216
226
|
query_params: {'api-version' => @client.api_version},
|
217
227
|
body: request_content,
|
218
228
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -250,44 +260,49 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
250
260
|
#
|
251
261
|
# Delete the variable.
|
252
262
|
#
|
253
|
-
# @param
|
263
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
264
|
+
# @param automation_account_name [String] The name of the automation account.
|
254
265
|
# @param variable_name [String] The name of variable.
|
255
266
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
256
267
|
# will be added to the HTTP request.
|
257
268
|
#
|
258
269
|
#
|
259
|
-
def delete(automation_account_name, variable_name, custom_headers:nil)
|
260
|
-
response = delete_async(automation_account_name, variable_name, custom_headers:custom_headers).value!
|
270
|
+
def delete(resource_group_name, automation_account_name, variable_name, custom_headers:nil)
|
271
|
+
response = delete_async(resource_group_name, automation_account_name, variable_name, custom_headers:custom_headers).value!
|
261
272
|
nil
|
262
273
|
end
|
263
274
|
|
264
275
|
#
|
265
276
|
# Delete the variable.
|
266
277
|
#
|
267
|
-
# @param
|
278
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
279
|
+
# @param automation_account_name [String] The name of the automation account.
|
268
280
|
# @param variable_name [String] The name of variable.
|
269
281
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
270
282
|
# will be added to the HTTP request.
|
271
283
|
#
|
272
284
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
273
285
|
#
|
274
|
-
def delete_with_http_info(automation_account_name, variable_name, custom_headers:nil)
|
275
|
-
delete_async(automation_account_name, variable_name, custom_headers:custom_headers).value!
|
286
|
+
def delete_with_http_info(resource_group_name, automation_account_name, variable_name, custom_headers:nil)
|
287
|
+
delete_async(resource_group_name, automation_account_name, variable_name, custom_headers:custom_headers).value!
|
276
288
|
end
|
277
289
|
|
278
290
|
#
|
279
291
|
# Delete the variable.
|
280
292
|
#
|
281
|
-
# @param
|
293
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
294
|
+
# @param automation_account_name [String] The name of the automation account.
|
282
295
|
# @param variable_name [String] The name of variable.
|
283
296
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
284
297
|
# to the HTTP request.
|
285
298
|
#
|
286
299
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
287
300
|
#
|
288
|
-
def delete_async(automation_account_name, variable_name, custom_headers:nil)
|
289
|
-
fail ArgumentError, '
|
290
|
-
fail ArgumentError, "'
|
301
|
+
def delete_async(resource_group_name, automation_account_name, variable_name, custom_headers:nil)
|
302
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
303
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
304
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
305
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
291
306
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
292
307
|
fail ArgumentError, 'variable_name is nil' if variable_name.nil?
|
293
308
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -306,7 +321,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
306
321
|
|
307
322
|
options = {
|
308
323
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
309
|
-
path_params: {'resourceGroupName' =>
|
324
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id},
|
310
325
|
query_params: {'api-version' => @client.api_version},
|
311
326
|
headers: request_headers.merge(custom_headers || {}),
|
312
327
|
base_url: request_url
|
@@ -333,45 +348,50 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
333
348
|
#
|
334
349
|
# Retrieve the variable identified by variable name.
|
335
350
|
#
|
336
|
-
# @param
|
351
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
352
|
+
# @param automation_account_name [String] The name of the automation account.
|
337
353
|
# @param variable_name [String] The name of variable.
|
338
354
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
339
355
|
# will be added to the HTTP request.
|
340
356
|
#
|
341
357
|
# @return [Variable] operation results.
|
342
358
|
#
|
343
|
-
def get(automation_account_name, variable_name, custom_headers:nil)
|
344
|
-
response = get_async(automation_account_name, variable_name, custom_headers:custom_headers).value!
|
359
|
+
def get(resource_group_name, automation_account_name, variable_name, custom_headers:nil)
|
360
|
+
response = get_async(resource_group_name, automation_account_name, variable_name, custom_headers:custom_headers).value!
|
345
361
|
response.body unless response.nil?
|
346
362
|
end
|
347
363
|
|
348
364
|
#
|
349
365
|
# Retrieve the variable identified by variable name.
|
350
366
|
#
|
351
|
-
# @param
|
367
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
368
|
+
# @param automation_account_name [String] The name of the automation account.
|
352
369
|
# @param variable_name [String] The name of variable.
|
353
370
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
354
371
|
# will be added to the HTTP request.
|
355
372
|
#
|
356
373
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
357
374
|
#
|
358
|
-
def get_with_http_info(automation_account_name, variable_name, custom_headers:nil)
|
359
|
-
get_async(automation_account_name, variable_name, custom_headers:custom_headers).value!
|
375
|
+
def get_with_http_info(resource_group_name, automation_account_name, variable_name, custom_headers:nil)
|
376
|
+
get_async(resource_group_name, automation_account_name, variable_name, custom_headers:custom_headers).value!
|
360
377
|
end
|
361
378
|
|
362
379
|
#
|
363
380
|
# Retrieve the variable identified by variable name.
|
364
381
|
#
|
365
|
-
# @param
|
382
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
383
|
+
# @param automation_account_name [String] The name of the automation account.
|
366
384
|
# @param variable_name [String] The name of variable.
|
367
385
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
368
386
|
# to the HTTP request.
|
369
387
|
#
|
370
388
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
371
389
|
#
|
372
|
-
def get_async(automation_account_name, variable_name, custom_headers:nil)
|
373
|
-
fail ArgumentError, '
|
374
|
-
fail ArgumentError, "'
|
390
|
+
def get_async(resource_group_name, automation_account_name, variable_name, custom_headers:nil)
|
391
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
392
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
393
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
394
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
375
395
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
376
396
|
fail ArgumentError, 'variable_name is nil' if variable_name.nil?
|
377
397
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -390,7 +410,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
390
410
|
|
391
411
|
options = {
|
392
412
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
393
|
-
path_params: {'resourceGroupName' =>
|
413
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id},
|
394
414
|
query_params: {'api-version' => @client.api_version},
|
395
415
|
headers: request_headers.merge(custom_headers || {}),
|
396
416
|
base_url: request_url
|
@@ -427,42 +447,47 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
427
447
|
#
|
428
448
|
# Retrieve a list of variables.
|
429
449
|
#
|
430
|
-
# @param
|
450
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
451
|
+
# @param automation_account_name [String] The name of the automation account.
|
431
452
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
432
453
|
# will be added to the HTTP request.
|
433
454
|
#
|
434
455
|
# @return [Array<Variable>] operation results.
|
435
456
|
#
|
436
|
-
def list_by_automation_account(automation_account_name, custom_headers:nil)
|
437
|
-
first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers)
|
457
|
+
def list_by_automation_account(resource_group_name, automation_account_name, custom_headers:nil)
|
458
|
+
first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers:custom_headers)
|
438
459
|
first_page.get_all_items
|
439
460
|
end
|
440
461
|
|
441
462
|
#
|
442
463
|
# Retrieve a list of variables.
|
443
464
|
#
|
444
|
-
# @param
|
465
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
466
|
+
# @param automation_account_name [String] The name of the automation account.
|
445
467
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
446
468
|
# will be added to the HTTP request.
|
447
469
|
#
|
448
470
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
449
471
|
#
|
450
|
-
def list_by_automation_account_with_http_info(automation_account_name, custom_headers:nil)
|
451
|
-
list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value!
|
472
|
+
def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers:nil)
|
473
|
+
list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
|
452
474
|
end
|
453
475
|
|
454
476
|
#
|
455
477
|
# Retrieve a list of variables.
|
456
478
|
#
|
457
|
-
# @param
|
479
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
480
|
+
# @param automation_account_name [String] The name of the automation account.
|
458
481
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
459
482
|
# to the HTTP request.
|
460
483
|
#
|
461
484
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
462
485
|
#
|
463
|
-
def list_by_automation_account_async(automation_account_name, custom_headers:nil)
|
464
|
-
fail ArgumentError, '
|
465
|
-
fail ArgumentError, "'
|
486
|
+
def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:nil)
|
487
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
488
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
489
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
490
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
466
491
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
467
492
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
468
493
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -480,7 +505,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
480
505
|
|
481
506
|
options = {
|
482
507
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
483
|
-
path_params: {'resourceGroupName' =>
|
508
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
|
484
509
|
query_params: {'api-version' => @client.api_version},
|
485
510
|
headers: request_headers.merge(custom_headers || {}),
|
486
511
|
base_url: request_url
|
@@ -605,15 +630,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
605
630
|
#
|
606
631
|
# Retrieve a list of variables.
|
607
632
|
#
|
608
|
-
# @param
|
633
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
634
|
+
# @param automation_account_name [String] The name of the automation account.
|
609
635
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
610
636
|
# will be added to the HTTP request.
|
611
637
|
#
|
612
638
|
# @return [VariableListResult] which provide lazy access to pages of the
|
613
639
|
# response.
|
614
640
|
#
|
615
|
-
def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil)
|
616
|
-
response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value!
|
641
|
+
def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers:nil)
|
642
|
+
response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
|
617
643
|
unless response.nil?
|
618
644
|
page = response.body
|
619
645
|
page.next_method = Proc.new do |next_page_link|
|