azure_mgmt_automation 0.14.0 → 0.15.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 +183 -0
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/activity_operations.rb +4 -4
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/agent_registration_information.rb +4 -4
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/automation_account_operations.rb +11 -11
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/automation_client.rb +3 -3
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/certificate_operations.rb +9 -9
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/connection_operations.rb +10 -10
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/connection_type_operations.rb +7 -7
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/credential_operations.rb +9 -9
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/dsc_compilation_job_operations.rb +7 -7
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/dsc_configuration_operations.rb +7 -7
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/dsc_node_configuration_operations.rb +7 -7
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/dsc_node_operations.rb +7 -7
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/fields.rb +2 -2
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +6 -6
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/job_operations.rb +6 -6
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/job_schedule_operations.rb +6 -6
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/job_stream_operations.rb +4 -4
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity_output_type.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity_parameter.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity_parameter_set.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/advanced_schedule.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/agent_registration.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/agent_registration_key_name.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/agent_registration_keys.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account_state.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/certificate.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/certificate_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_type.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_type_association_property.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_type_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/content_hash.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/content_link.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/content_source.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/content_source_type.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/credential.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/credential_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/credential_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_compilation_job.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_association_property.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_parameter.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_provisioning_state.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_state.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_meta_configuration.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_configuration.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_report.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_report_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_report_error.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_report_resource.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_report_resource_navigation.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/error_response.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/field_definition.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/http_status_code.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/hybrid_runbook_worker.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_create_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_schedule.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_schedule_create_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_schedule_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_status.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_stream.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_stream_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_stream_type.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_error_info.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_model.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_provisioning_state.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/operation.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/operation_display.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/operation_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/resource.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/run_as_credential_association_property.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_association_property.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_draft.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_parameter.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_provisioning_state.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_state.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_type_enum.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_association_property.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_day.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_frequency.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/sku.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/sku_name_enum.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/statistics.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/statistics_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/sub_resource.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/test_job.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/test_job_create_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/type_field.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/type_field_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/usage.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/usage_counter_name.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/usage_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/variable.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/variable_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/variable_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/webhook.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/webhook_list_result.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/webhook_update_parameters.rb +1 -1
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/module_definition.rb +3 -2
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/module_model_operations.rb +9 -9
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/node_reports.rb +4 -4
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/object_data_types.rb +3 -3
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/operations.rb +2 -2
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/runbook_draft_operations.rb +5 -5
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/runbook_operations.rb +7 -7
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/schedule_operations.rb +8 -8
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/statistics_operations.rb +2 -2
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/test_job_streams.rb +4 -4
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/test_jobs.rb +4 -4
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/usages.rb +2 -2
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/variable_operations.rb +9 -9
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/version.rb +2 -2
- data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/webhook_operations.rb +9 -9
- data/lib/azure_mgmt_automation.rb +2 -2
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/automation_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/automation_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/automation_profile_module.rb +606 -0
- data/lib/version.rb +7 -0
- metadata +169 -162
- data/lib/generated/azure_mgmt_automation.rb +0 -183
data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/module_model_operations.rb
RENAMED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
#
|
8
8
|
# Automation Client
|
9
9
|
#
|
@@ -187,7 +187,7 @@ module Azure::ARM::Automation
|
|
187
187
|
if status_code == 200
|
188
188
|
begin
|
189
189
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
190
|
-
result_mapper = Azure::
|
190
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel.mapper()
|
191
191
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
192
192
|
rescue Exception => e
|
193
193
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -266,7 +266,7 @@ module Azure::ARM::Automation
|
|
266
266
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
267
267
|
|
268
268
|
# Serialize Request
|
269
|
-
request_mapper = Azure::
|
269
|
+
request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters.mapper()
|
270
270
|
request_content = @client.serialize(request_mapper, parameters)
|
271
271
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
272
272
|
|
@@ -298,7 +298,7 @@ module Azure::ARM::Automation
|
|
298
298
|
if status_code == 201
|
299
299
|
begin
|
300
300
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
301
|
-
result_mapper = Azure::
|
301
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel.mapper()
|
302
302
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
303
303
|
rescue Exception => e
|
304
304
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -308,7 +308,7 @@ module Azure::ARM::Automation
|
|
308
308
|
if status_code == 200
|
309
309
|
begin
|
310
310
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
311
|
-
result_mapper = Azure::
|
311
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel.mapper()
|
312
312
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
313
313
|
rescue Exception => e
|
314
314
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -384,7 +384,7 @@ module Azure::ARM::Automation
|
|
384
384
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
385
385
|
|
386
386
|
# Serialize Request
|
387
|
-
request_mapper = Azure::
|
387
|
+
request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters.mapper()
|
388
388
|
request_content = @client.serialize(request_mapper, parameters)
|
389
389
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
390
390
|
|
@@ -416,7 +416,7 @@ module Azure::ARM::Automation
|
|
416
416
|
if status_code == 200
|
417
417
|
begin
|
418
418
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
419
|
-
result_mapper = Azure::
|
419
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel.mapper()
|
420
420
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
421
421
|
rescue Exception => e
|
422
422
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -507,7 +507,7 @@ module Azure::ARM::Automation
|
|
507
507
|
if status_code == 200
|
508
508
|
begin
|
509
509
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
510
|
-
result_mapper = Azure::
|
510
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult.mapper()
|
511
511
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
512
512
|
rescue Exception => e
|
513
513
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -594,7 +594,7 @@ module Azure::ARM::Automation
|
|
594
594
|
if status_code == 200
|
595
595
|
begin
|
596
596
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
597
|
-
result_mapper = Azure::
|
597
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult.mapper()
|
598
598
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
599
599
|
rescue Exception => e
|
600
600
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
#
|
8
8
|
# Automation Client
|
9
9
|
#
|
@@ -106,7 +106,7 @@ module Azure::ARM::Automation
|
|
106
106
|
if status_code == 200
|
107
107
|
begin
|
108
108
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
109
|
-
result_mapper = Azure::
|
109
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult.mapper()
|
110
110
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
111
111
|
rescue Exception => e
|
112
112
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -205,7 +205,7 @@ module Azure::ARM::Automation
|
|
205
205
|
if status_code == 200
|
206
206
|
begin
|
207
207
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
208
|
-
result_mapper = Azure::
|
208
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport.mapper()
|
209
209
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
210
210
|
rescue Exception => e
|
211
211
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -397,7 +397,7 @@ module Azure::ARM::Automation
|
|
397
397
|
if status_code == 200
|
398
398
|
begin
|
399
399
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
400
|
-
result_mapper = Azure::
|
400
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult.mapper()
|
401
401
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
402
402
|
rescue Exception => e
|
403
403
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
#
|
8
8
|
# Automation Client
|
9
9
|
#
|
@@ -107,7 +107,7 @@ module Azure::ARM::Automation
|
|
107
107
|
if status_code == 200
|
108
108
|
begin
|
109
109
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
110
|
-
result_mapper = Azure::
|
110
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult.mapper()
|
111
111
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
112
112
|
rescue Exception => e
|
113
113
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -202,7 +202,7 @@ module Azure::ARM::Automation
|
|
202
202
|
if status_code == 200
|
203
203
|
begin
|
204
204
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
205
|
-
result_mapper = Azure::
|
205
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult.mapper()
|
206
206
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
207
207
|
rescue Exception => e
|
208
208
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
#
|
8
8
|
# Automation Client
|
9
9
|
#
|
@@ -89,7 +89,7 @@ module Azure::ARM::Automation
|
|
89
89
|
if status_code == 200
|
90
90
|
begin
|
91
91
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
92
|
-
result_mapper = Azure::
|
92
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult.mapper()
|
93
93
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
94
94
|
rescue Exception => e
|
95
95
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/runbook_draft_operations.rb
RENAMED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
#
|
8
8
|
# Automation Client
|
9
9
|
#
|
@@ -246,7 +246,7 @@ module Azure::ARM::Automation
|
|
246
246
|
if status_code == 200
|
247
247
|
begin
|
248
248
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
249
|
-
result_mapper = Azure::
|
249
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft.mapper()
|
250
250
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
251
251
|
rescue Exception => e
|
252
252
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -294,7 +294,7 @@ module Azure::ARM::Automation
|
|
294
294
|
promise = promise.then do |response|
|
295
295
|
# Defining deserialization method.
|
296
296
|
deserialize_method = lambda do |parsed_response|
|
297
|
-
result_mapper = Azure::
|
297
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook.mapper()
|
298
298
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
299
299
|
end
|
300
300
|
|
@@ -387,7 +387,7 @@ module Azure::ARM::Automation
|
|
387
387
|
if status_code == 200
|
388
388
|
begin
|
389
389
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
390
|
-
result_mapper = Azure::
|
390
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult.mapper()
|
391
391
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
392
392
|
rescue Exception => e
|
393
393
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -588,7 +588,7 @@ module Azure::ARM::Automation
|
|
588
588
|
if status_code == 200
|
589
589
|
begin
|
590
590
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
591
|
-
result_mapper = Azure::
|
591
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook.mapper()
|
592
592
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
593
593
|
rescue Exception => e
|
594
594
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
#
|
8
8
|
# Automation Client
|
9
9
|
#
|
@@ -204,7 +204,7 @@ module Azure::ARM::Automation
|
|
204
204
|
if status_code == 200
|
205
205
|
begin
|
206
206
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
207
|
-
result_mapper = Azure::
|
207
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook.mapper()
|
208
208
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
209
209
|
rescue Exception => e
|
210
210
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -285,7 +285,7 @@ module Azure::ARM::Automation
|
|
285
285
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
286
286
|
|
287
287
|
# Serialize Request
|
288
|
-
request_mapper = Azure::
|
288
|
+
request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters.mapper()
|
289
289
|
request_content = @client.serialize(request_mapper, parameters)
|
290
290
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
291
291
|
|
@@ -386,7 +386,7 @@ module Azure::ARM::Automation
|
|
386
386
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
387
387
|
|
388
388
|
# Serialize Request
|
389
|
-
request_mapper = Azure::
|
389
|
+
request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters.mapper()
|
390
390
|
request_content = @client.serialize(request_mapper, parameters)
|
391
391
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
392
392
|
|
@@ -418,7 +418,7 @@ module Azure::ARM::Automation
|
|
418
418
|
if status_code == 200
|
419
419
|
begin
|
420
420
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
421
|
-
result_mapper = Azure::
|
421
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook.mapper()
|
422
422
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
423
423
|
rescue Exception => e
|
424
424
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -593,7 +593,7 @@ module Azure::ARM::Automation
|
|
593
593
|
if status_code == 200
|
594
594
|
begin
|
595
595
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
596
|
-
result_mapper = Azure::
|
596
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult.mapper()
|
597
597
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
598
598
|
rescue Exception => e
|
599
599
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -680,7 +680,7 @@ module Azure::ARM::Automation
|
|
680
680
|
if status_code == 200
|
681
681
|
begin
|
682
682
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
683
|
-
result_mapper = Azure::
|
683
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult.mapper()
|
684
684
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
685
685
|
rescue Exception => e
|
686
686
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
#
|
8
8
|
# Automation Client
|
9
9
|
#
|
@@ -87,7 +87,7 @@ module Azure::ARM::Automation
|
|
87
87
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
88
88
|
|
89
89
|
# Serialize Request
|
90
|
-
request_mapper = Azure::
|
90
|
+
request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters.mapper()
|
91
91
|
request_content = @client.serialize(request_mapper, parameters)
|
92
92
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
93
93
|
|
@@ -119,7 +119,7 @@ module Azure::ARM::Automation
|
|
119
119
|
if status_code == 201
|
120
120
|
begin
|
121
121
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
122
|
-
result_mapper = Azure::
|
122
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule.mapper()
|
123
123
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
124
124
|
rescue Exception => e
|
125
125
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -198,7 +198,7 @@ module Azure::ARM::Automation
|
|
198
198
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
199
199
|
|
200
200
|
# Serialize Request
|
201
|
-
request_mapper = Azure::
|
201
|
+
request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters.mapper()
|
202
202
|
request_content = @client.serialize(request_mapper, parameters)
|
203
203
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
204
204
|
|
@@ -230,7 +230,7 @@ module Azure::ARM::Automation
|
|
230
230
|
if status_code == 200
|
231
231
|
begin
|
232
232
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
233
|
-
result_mapper = Azure::
|
233
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule.mapper()
|
234
234
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
235
235
|
rescue Exception => e
|
236
236
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -325,7 +325,7 @@ module Azure::ARM::Automation
|
|
325
325
|
if status_code == 200
|
326
326
|
begin
|
327
327
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
328
|
-
result_mapper = Azure::
|
328
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule.mapper()
|
329
329
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
330
330
|
rescue Exception => e
|
331
331
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -500,7 +500,7 @@ module Azure::ARM::Automation
|
|
500
500
|
if status_code == 200
|
501
501
|
begin
|
502
502
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
503
|
-
result_mapper = Azure::
|
503
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult.mapper()
|
504
504
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
505
505
|
rescue Exception => e
|
506
506
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -587,7 +587,7 @@ module Azure::ARM::Automation
|
|
587
587
|
if status_code == 200
|
588
588
|
begin
|
589
589
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
590
|
-
result_mapper = Azure::
|
590
|
+
result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult.mapper()
|
591
591
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
592
592
|
rescue Exception => e
|
593
593
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|