azure_mgmt_automation 0.15.1 → 0.15.2
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-10-31/generated/azure_mgmt_automation/activity_operations.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +1 -3
- data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +1 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +10 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +14 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/content_source.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +15 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +8 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +18 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb +8 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +15 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb +24 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/error_response.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +8 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +18 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/operation.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +25 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +17 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb +6 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/usage.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb +3 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +8 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +14 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb +9 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +4 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +7 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +1 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +2 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/test_jobs.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +1 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +5 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +7 -0
- data/lib/profiles/latest/automation_latest_profile_client.rb +1 -3
- data/lib/version.rb +1 -1
- metadata +10 -8
- data/lib/2015-10-31/generated/azure_mgmt_automation/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
@@ -64,6 +64,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
64
64
|
#
|
65
65
|
def delete_async(resource_group_name, automation_account_name, module_name, 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 - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
67
68
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
68
69
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
69
70
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -149,6 +150,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
149
150
|
#
|
150
151
|
def get_async(resource_group_name, automation_account_name, module_name, custom_headers = nil)
|
151
152
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
153
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
152
154
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
153
155
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
154
156
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -250,6 +252,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
250
252
|
#
|
251
253
|
def create_or_update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil)
|
252
254
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
255
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
253
256
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
254
257
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
255
258
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -368,6 +371,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
368
371
|
#
|
369
372
|
def update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil)
|
370
373
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
374
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
371
375
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
372
376
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
373
377
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -470,6 +474,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
470
474
|
#
|
471
475
|
def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
|
472
476
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
477
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
473
478
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
474
479
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
475
480
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -68,6 +68,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
68
68
|
#
|
69
69
|
def list_by_node_async(resource_group_name, automation_account_name, node_id, filter = nil, 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 - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
71
72
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
72
73
|
fail ArgumentError, 'node_id is nil' if node_id.nil?
|
73
74
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -166,6 +167,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
166
167
|
#
|
167
168
|
def get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil)
|
168
169
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
170
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
169
171
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
170
172
|
fail ArgumentError, 'node_id is nil' if node_id.nil?
|
171
173
|
fail ArgumentError, 'report_id is nil' if report_id.nil?
|
@@ -265,6 +267,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
265
267
|
#
|
266
268
|
def get_content_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil)
|
267
269
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
270
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
268
271
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
269
272
|
fail ArgumentError, 'node_id is nil' if node_id.nil?
|
270
273
|
fail ArgumentError, 'report_id is nil' if report_id.nil?
|
@@ -305,6 +308,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
305
308
|
begin
|
306
309
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
307
310
|
result_mapper = {
|
311
|
+
client_side_validation: true,
|
308
312
|
required: false,
|
309
313
|
serialized_name: 'parsed_response',
|
310
314
|
type: {
|
@@ -68,6 +68,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
68
68
|
#
|
69
69
|
def list_fields_by_module_and_type_async(resource_group_name, automation_account_name, module_name, type_name, 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 - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
71
72
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
72
73
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
73
74
|
fail ArgumentError, 'type_name is nil' if type_name.nil?
|
@@ -164,6 +165,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
164
165
|
#
|
165
166
|
def list_fields_by_type_async(resource_group_name, automation_account_name, type_name, custom_headers = nil)
|
166
167
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
168
|
+
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
169
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
168
170
|
fail ArgumentError, 'type_name is nil' if type_name.nil?
|
169
171
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -65,6 +65,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
65
65
|
#
|
66
66
|
def get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
67
67
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
68
|
+
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
69
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
69
70
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
70
71
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -104,6 +105,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
104
105
|
begin
|
105
106
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
106
107
|
result_mapper = {
|
108
|
+
client_side_validation: true,
|
107
109
|
required: false,
|
108
110
|
serialized_name: 'parsed_response',
|
109
111
|
type: {
|
@@ -208,6 +210,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
208
210
|
#
|
209
211
|
def get_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
210
212
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
213
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
211
214
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
212
215
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
213
216
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -349,6 +352,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
349
352
|
#
|
350
353
|
def undo_edit_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
351
354
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
355
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
352
356
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
353
357
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
354
358
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -446,6 +450,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
446
450
|
#
|
447
451
|
def begin_create_or_update_async(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers = nil)
|
448
452
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
453
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
449
454
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
450
455
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
451
456
|
fail ArgumentError, 'runbook_content is nil' if runbook_content.nil?
|
@@ -463,6 +468,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
463
468
|
|
464
469
|
# Serialize Request
|
465
470
|
request_mapper = {
|
471
|
+
client_side_validation: true,
|
466
472
|
required: true,
|
467
473
|
serialized_name: 'runbookContent',
|
468
474
|
type: {
|
@@ -550,6 +556,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
550
556
|
#
|
551
557
|
def begin_publish_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
552
558
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
559
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
553
560
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
554
561
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
555
562
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -65,6 +65,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
65
65
|
#
|
66
66
|
def get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
67
67
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
68
|
+
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
69
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
69
70
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
70
71
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -104,6 +105,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
104
105
|
begin
|
105
106
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
106
107
|
result_mapper = {
|
108
|
+
client_side_validation: true,
|
107
109
|
required: false,
|
108
110
|
serialized_name: 'parsed_response',
|
109
111
|
type: {
|
@@ -166,6 +168,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
166
168
|
#
|
167
169
|
def get_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
168
170
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
171
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
169
172
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
170
173
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
171
174
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -269,6 +272,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
269
272
|
#
|
270
273
|
def create_or_update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil)
|
271
274
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
275
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
272
276
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
273
277
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
274
278
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -370,6 +374,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
370
374
|
#
|
371
375
|
def update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil)
|
372
376
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
377
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
373
378
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
374
379
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
375
380
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -474,6 +479,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
474
479
|
#
|
475
480
|
def delete_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
476
481
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
482
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
477
483
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
478
484
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
479
485
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -556,6 +562,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
556
562
|
#
|
557
563
|
def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
|
558
564
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
565
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
559
566
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
560
567
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
561
568
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -71,6 +71,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
71
71
|
#
|
72
72
|
def create_or_update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers = nil)
|
73
73
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
74
75
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
75
76
|
fail ArgumentError, 'schedule_name is nil' if schedule_name.nil?
|
76
77
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -182,6 +183,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
182
183
|
#
|
183
184
|
def update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers = nil)
|
184
185
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
186
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
185
187
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
186
188
|
fail ArgumentError, 'schedule_name is nil' if schedule_name.nil?
|
187
189
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -287,6 +289,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
287
289
|
#
|
288
290
|
def get_async(resource_group_name, automation_account_name, schedule_name, custom_headers = nil)
|
289
291
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
292
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
290
293
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
291
294
|
fail ArgumentError, 'schedule_name is nil' if schedule_name.nil?
|
292
295
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -381,6 +384,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
381
384
|
#
|
382
385
|
def delete_async(resource_group_name, automation_account_name, schedule_name, custom_headers = nil)
|
383
386
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
387
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
384
388
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
385
389
|
fail ArgumentError, 'schedule_name is nil' if schedule_name.nil?
|
386
390
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -463,6 +467,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
463
467
|
#
|
464
468
|
def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
|
465
469
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
470
|
+
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
471
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
467
472
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
468
473
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -65,6 +65,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
65
65
|
#
|
66
66
|
def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil)
|
67
67
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
68
|
+
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
69
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
69
70
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
70
71
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -68,6 +68,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
68
68
|
#
|
69
69
|
def get_async(resource_group_name, automation_account_name, runbook_name, 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 - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
71
72
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
72
73
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
73
74
|
fail ArgumentError, 'job_stream_id is nil' if job_stream_id.nil?
|
@@ -167,6 +168,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
167
168
|
#
|
168
169
|
def list_by_test_job_async(resource_group_name, automation_account_name, runbook_name, filter = nil, custom_headers = nil)
|
169
170
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
171
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
170
172
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
171
173
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
172
174
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -74,6 +74,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
74
74
|
#
|
75
75
|
def create_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil)
|
76
76
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
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?
|
77
78
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
78
79
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
79
80
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -179,6 +180,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
179
180
|
#
|
180
181
|
def get_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
181
182
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
183
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
182
184
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
183
185
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
184
186
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -273,6 +275,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
273
275
|
#
|
274
276
|
def resume_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
275
277
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
278
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
276
279
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
277
280
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
278
281
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -357,6 +360,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
357
360
|
#
|
358
361
|
def stop_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
359
362
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
363
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
360
364
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
361
365
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
362
366
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -441,6 +445,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
441
445
|
#
|
442
446
|
def suspend_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
|
443
447
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
448
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
444
449
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
445
450
|
fail ArgumentError, 'runbook_name is nil' if runbook_name.nil?
|
446
451
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -62,6 +62,7 @@ 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 - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
65
66
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
66
67
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
67
68
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -71,6 +71,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
71
71
|
#
|
72
72
|
def create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers = nil)
|
73
73
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
74
75
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
75
76
|
fail ArgumentError, 'variable_name is nil' if variable_name.nil?
|
76
77
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -192,6 +193,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
192
193
|
#
|
193
194
|
def update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers = nil)
|
194
195
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
196
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
195
197
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
196
198
|
fail ArgumentError, 'variable_name is nil' if variable_name.nil?
|
197
199
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -296,6 +298,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
296
298
|
#
|
297
299
|
def delete_async(resource_group_name, automation_account_name, variable_name, custom_headers = nil)
|
298
300
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
301
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
299
302
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
300
303
|
fail ArgumentError, 'variable_name is nil' if variable_name.nil?
|
301
304
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -381,6 +384,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
381
384
|
#
|
382
385
|
def get_async(resource_group_name, automation_account_name, variable_name, custom_headers = nil)
|
383
386
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
387
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
384
388
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
385
389
|
fail ArgumentError, 'variable_name is nil' if variable_name.nil?
|
386
390
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -473,6 +477,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
473
477
|
#
|
474
478
|
def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
|
475
479
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
480
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
476
481
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
477
482
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
478
483
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -62,6 +62,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
62
62
|
#
|
63
63
|
def generate_uri_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 - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
65
66
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
66
67
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
67
68
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -100,6 +101,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
100
101
|
begin
|
101
102
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
102
103
|
result_mapper = {
|
104
|
+
client_side_validation: true,
|
103
105
|
required: false,
|
104
106
|
serialized_name: 'parsed_response',
|
105
107
|
type: {
|
@@ -161,6 +163,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
161
163
|
#
|
162
164
|
def delete_async(resource_group_name, automation_account_name, webhook_name, custom_headers = nil)
|
163
165
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
166
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
164
167
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
165
168
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
166
169
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -246,6 +249,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
246
249
|
#
|
247
250
|
def get_async(resource_group_name, automation_account_name, webhook_name, custom_headers = nil)
|
248
251
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
252
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
249
253
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
250
254
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
251
255
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -347,6 +351,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
347
351
|
#
|
348
352
|
def create_or_update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers = nil)
|
349
353
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
354
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
350
355
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
351
356
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
352
357
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -468,6 +473,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
468
473
|
#
|
469
474
|
def update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers = nil)
|
470
475
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
476
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
471
477
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
472
478
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
473
479
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -573,6 +579,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
573
579
|
#
|
574
580
|
def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil)
|
575
581
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
582
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
576
583
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
577
584
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
578
585
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -4,15 +4,13 @@
|
|
4
4
|
|
5
5
|
require 'profiles/latest/automation_module_definition'
|
6
6
|
require 'profiles/latest/modules/automation_profile_module'
|
7
|
-
require 'profiles/common/configurable'
|
8
|
-
require 'profiles/common/default'
|
9
7
|
|
10
8
|
module Azure::Automation::Profiles::Latest::Mgmt
|
11
9
|
#
|
12
10
|
# Client class for the Latest profile SDK.
|
13
11
|
#
|
14
12
|
class Client < AutomationClass
|
15
|
-
include
|
13
|
+
include MsRestAzure::Common::Configurable
|
16
14
|
|
17
15
|
|
18
16
|
def initialize(options = {})
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.10.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.10.0
|
83
83
|
description: Microsoft Azure Automation Services Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -245,12 +245,9 @@ files:
|
|
245
245
|
- lib/2015-10-31/generated/azure_mgmt_automation/test_jobs.rb
|
246
246
|
- lib/2015-10-31/generated/azure_mgmt_automation/usages.rb
|
247
247
|
- lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb
|
248
|
-
- lib/2015-10-31/generated/azure_mgmt_automation/version.rb
|
249
248
|
- lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb
|
250
249
|
- lib/azure_mgmt_automation.rb
|
251
250
|
- lib/module_definition.rb
|
252
|
-
- lib/profiles/common/configurable.rb
|
253
|
-
- lib/profiles/common/default.rb
|
254
251
|
- lib/profiles/latest/automation_latest_profile_client.rb
|
255
252
|
- lib/profiles/latest/automation_module_definition.rb
|
256
253
|
- lib/profiles/latest/modules/automation_profile_module.rb
|
@@ -258,7 +255,12 @@ files:
|
|
258
255
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
259
256
|
licenses:
|
260
257
|
- MIT
|
261
|
-
metadata:
|
258
|
+
metadata:
|
259
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
260
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
261
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
262
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
263
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_automation
|
262
264
|
post_install_message:
|
263
265
|
rdoc_options: []
|
264
266
|
require_paths:
|