azure_mgmt_automation 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-31/generated/azure_mgmt_automation.rb +54 -53
  3. data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +27 -31
  4. data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +18 -24
  5. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +54 -50
  6. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +7 -1
  7. data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +54 -68
  8. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +54 -68
  9. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +45 -55
  10. data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +54 -68
  11. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +45 -55
  12. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +54 -66
  13. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +45 -55
  14. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +45 -55
  15. data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +9 -11
  16. data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +45 -55
  17. data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +81 -99
  18. data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +45 -55
  19. data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +27 -31
  20. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +12 -0
  21. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
  22. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +12 -0
  23. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +12 -0
  24. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +13 -0
  25. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
  26. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +12 -0
  27. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +21 -0
  28. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +12 -0
  29. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +58 -0
  30. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +26 -1
  31. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +16 -2
  32. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +2 -2
  33. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +1 -1
  34. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +16 -2
  35. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
  36. data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +54 -68
  37. data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +36 -42
  38. data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +18 -22
  39. data/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +6 -5
  40. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +53 -70
  41. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +63 -79
  42. data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +54 -68
  43. data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +6 -5
  44. data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +27 -31
  45. data/lib/2015-10-31/generated/azure_mgmt_automation/test_jobs.rb +45 -57
  46. data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +6 -5
  47. data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +54 -68
  48. data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +63 -79
  49. data/lib/profiles/latest/automation_latest_profile_client.rb +28 -9
  50. data/lib/profiles/latest/automation_module_definition.rb +0 -1
  51. data/lib/profiles/latest/modules/automation_profile_module.rb +494 -471
  52. data/lib/version.rb +1 -1
  53. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1769d36a8980d33285c9069282a9cf5e5cb53ef
4
- data.tar.gz: ea52665b66a61eb14706d12060a289b02cb55e7a
3
+ metadata.gz: 052b2b2b7e9f491d5383827700d259b3465d0f16
4
+ data.tar.gz: 3ef08f0474e97072b618af40a5709cd6d6c47ae8
5
5
  SHA512:
6
- metadata.gz: fa7ac249976621905cbd7ebe59acf9c607bf0948953fbfc39477d462537aa6a4c9165f8a979f6ae220e57f01384e6cdef0693c4c2f281a1ab81141cc23eb509f
7
- data.tar.gz: ef366abedaba6f64c7c3ee141076537cc06536aa98a7119e86181c4746f1225af269dba150a89e4d057aa91f43c365797b0d5b0718bfb559cfbd23ec5df29888
6
+ metadata.gz: ce4ade7b59ea7332250113912d66ac66a86c92f28f6084feb2d16a2bd17682a0f1a31de64d6fcf82f01fc51bd0586451d54d16fa6ac4fe1a2cd767a565539b1d
7
+ data.tar.gz: 7d77a9b253f52531b62e8fff332f28426f519a3c45f19ed5b409acaff18353defe52e473b98cdd04b105c593f3b66a9971e61986d8eb931675b3421f82982951
@@ -52,112 +52,113 @@ module Azure::Automation::Mgmt::V2015_10_31
52
52
  autoload :AutomationClient, '2015-10-31/generated/azure_mgmt_automation/automation_client.rb'
53
53
 
54
54
  module Models
55
+ autoload :DscCompilationJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb'
55
56
  autoload :DscCompilationJob, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb'
56
- autoload :ErrorResponse, '2015-10-31/generated/azure_mgmt_automation/models/error_response.rb'
57
+ autoload :UsageCounterName, '2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb'
57
58
  autoload :DscCompilationJobListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb'
58
- autoload :Usage, '2015-10-31/generated/azure_mgmt_automation/models/usage.rb'
59
+ autoload :UsageListResult, '2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb'
59
60
  autoload :DscConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb'
60
- autoload :Statistics, '2015-10-31/generated/azure_mgmt_automation/models/statistics.rb'
61
+ autoload :StatisticsListResult, '2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb'
61
62
  autoload :DscConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb'
62
- autoload :RunbookParameter, '2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb'
63
+ autoload :ContentHash, '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb'
63
64
  autoload :DscMetaConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb'
64
- autoload :ContentLink, '2015-10-31/generated/azure_mgmt_automation/models/content_link.rb'
65
+ autoload :RunbookDraft, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb'
65
66
  autoload :DscNodeConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb'
66
- autoload :ContentHash, '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb'
67
67
  autoload :ModuleErrorInfo, '2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb'
68
- autoload :RunbookDraft, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb'
68
+ autoload :DscNodeConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb'
69
+ autoload :DscNodeExtensionHandlerAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb'
70
+ autoload :DscNodeConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb'
69
71
  autoload :DscNodeConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb'
70
- autoload :WebhookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb'
71
72
  autoload :ContentSource, '2015-10-31/generated/azure_mgmt_automation/models/content_source.rb'
72
- autoload :DscNodeConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb'
73
73
  autoload :WebhookListResult, '2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb'
74
- autoload :DscNodeConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb'
75
- autoload :Webhook, '2015-10-31/generated/azure_mgmt_automation/models/webhook.rb'
76
74
  autoload :DscNodeListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb'
77
- autoload :AutomationAccountListResult, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb'
75
+ autoload :Sku, '2015-10-31/generated/azure_mgmt_automation/models/sku.rb'
78
76
  autoload :DscNodeUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb'
79
- autoload :Operation, '2015-10-31/generated/azure_mgmt_automation/models/operation.rb'
77
+ autoload :AutomationAccountListResult, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb'
80
78
  autoload :DscReportError, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb'
81
- autoload :AutomationAccountCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb'
79
+ autoload :Operation, '2015-10-31/generated/azure_mgmt_automation/models/operation.rb'
82
80
  autoload :DscReportResourceNavigation, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb'
83
- autoload :Certificate, '2015-10-31/generated/azure_mgmt_automation/models/certificate.rb'
81
+ autoload :AutomationAccountCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb'
84
82
  autoload :DscReportResource, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb'
85
- autoload :CertificateUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb'
83
+ autoload :Certificate, '2015-10-31/generated/azure_mgmt_automation/models/certificate.rb'
86
84
  autoload :DscNodeReport, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb'
87
- autoload :ConnectionTypeAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb'
85
+ autoload :CertificateUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb'
88
86
  autoload :DscNodeReportListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb'
89
- autoload :ConnectionListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb'
87
+ autoload :ConnectionTypeAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb'
90
88
  autoload :HybridRunbookWorker, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb'
91
- autoload :ConnectionCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb'
89
+ autoload :ConnectionListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb'
92
90
  autoload :RunAsCredentialAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb'
93
- autoload :ConnectionType, '2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb'
91
+ autoload :ConnectionCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb'
94
92
  autoload :HybridRunbookWorkerGroup, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb'
95
- autoload :ConnectionTypeCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb'
93
+ autoload :ConnectionType, '2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb'
96
94
  autoload :HybridRunbookWorkerGroupsListResult, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb'
97
- autoload :CredentialListResult, '2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb'
95
+ autoload :ConnectionTypeCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb'
98
96
  autoload :HybridRunbookWorkerGroupUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb'
99
- autoload :CredentialCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb'
97
+ autoload :CredentialListResult, '2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb'
100
98
  autoload :RunbookAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb'
101
- autoload :ActivityParameterSet, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb'
99
+ autoload :CredentialCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb'
102
100
  autoload :Job, '2015-10-31/generated/azure_mgmt_automation/models/job.rb'
103
- autoload :Activity, '2015-10-31/generated/azure_mgmt_automation/models/activity.rb'
101
+ autoload :ActivityParameterSet, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb'
104
102
  autoload :JobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb'
105
- autoload :AdvancedScheduleMonthlyOccurrence, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb'
103
+ autoload :Activity, '2015-10-31/generated/azure_mgmt_automation/models/activity.rb'
106
104
  autoload :JobListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb'
107
- autoload :AgentRegistrationKeys, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb'
105
+ autoload :AdvancedScheduleMonthlyOccurrence, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb'
108
106
  autoload :ScheduleAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb'
109
- autoload :AgentRegistrationRegenerateKeyParameter, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb'
107
+ autoload :AgentRegistrationKeys, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb'
110
108
  autoload :JobScheduleCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb'
111
- autoload :DscCompilationJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb'
109
+ autoload :AgentRegistrationRegenerateKeyParameter, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb'
112
110
  autoload :JobSchedule, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb'
113
- autoload :UsageListResult, '2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb'
111
+ autoload :ErrorResponse, '2015-10-31/generated/azure_mgmt_automation/models/error_response.rb'
114
112
  autoload :JobScheduleListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb'
113
+ autoload :Statistics, '2015-10-31/generated/azure_mgmt_automation/models/statistics.rb'
115
114
  autoload :JobStream, '2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb'
116
- autoload :DscConfigurationParameter, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb'
115
+ autoload :ContentLink, '2015-10-31/generated/azure_mgmt_automation/models/content_link.rb'
117
116
  autoload :JobStreamListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb'
118
- autoload :Resource, '2015-10-31/generated/azure_mgmt_automation/models/resource.rb'
117
+ autoload :Webhook, '2015-10-31/generated/azure_mgmt_automation/models/webhook.rb'
118
+ autoload :DscConfigurationParameter, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb'
119
119
  autoload :ModuleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb'
120
- autoload :OperationListResult, '2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb'
120
+ autoload :WebhookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb'
121
121
  autoload :ModuleListResult, '2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb'
122
- autoload :CertificateListResult, '2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb'
122
+ autoload :OperationListResult, '2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb'
123
123
  autoload :ModuleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb'
124
- autoload :Connection, '2015-10-31/generated/azure_mgmt_automation/models/connection.rb'
124
+ autoload :CertificateListResult, '2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb'
125
125
  autoload :RunbookDraftUndoEditResult, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb'
126
- autoload :FieldDefinition, '2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb'
126
+ autoload :Connection, '2015-10-31/generated/azure_mgmt_automation/models/connection.rb'
127
127
  autoload :RunbookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb'
128
- autoload :Credential, '2015-10-31/generated/azure_mgmt_automation/models/credential.rb'
128
+ autoload :FieldDefinition, '2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb'
129
129
  autoload :RunbookCreateOrUpdateDraftProperties, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb'
130
- autoload :ActivityParameter, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb'
130
+ autoload :Credential, '2015-10-31/generated/azure_mgmt_automation/models/credential.rb'
131
131
  autoload :RunbookCreateOrUpdateDraftParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb'
132
- autoload :ActivityListResult, '2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb'
132
+ autoload :ActivityParameter, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb'
133
133
  autoload :RunbookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb'
134
- autoload :AgentRegistration, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb'
134
+ autoload :ActivityListResult, '2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb'
135
135
  autoload :RunbookListResult, '2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb'
136
- autoload :UsageCounterName, '2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb'
136
+ autoload :AgentRegistration, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb'
137
137
  autoload :ScheduleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb'
138
- autoload :WebhookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb'
138
+ autoload :Usage, '2015-10-31/generated/azure_mgmt_automation/models/usage.rb'
139
139
  autoload :Schedule, '2015-10-31/generated/azure_mgmt_automation/models/schedule.rb'
140
- autoload :OperationDisplay, '2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb'
140
+ autoload :WebhookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb'
141
+ autoload :Resource, '2015-10-31/generated/azure_mgmt_automation/models/resource.rb'
141
142
  autoload :ScheduleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb'
142
- autoload :CertificateCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb'
143
+ autoload :AutomationAccountUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb'
143
144
  autoload :ScheduleListResult, '2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb'
144
- autoload :ConnectionTypeListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb'
145
+ autoload :ConnectionUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb'
145
146
  autoload :SubResource, '2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb'
146
- autoload :ActivityOutputType, '2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb'
147
+ autoload :CredentialUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb'
147
148
  autoload :TestJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb'
148
- autoload :DscConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb'
149
+ autoload :AdvancedSchedule, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb'
149
150
  autoload :TestJob, '2015-10-31/generated/azure_mgmt_automation/models/test_job.rb'
150
- autoload :Sku, '2015-10-31/generated/azure_mgmt_automation/models/sku.rb'
151
+ autoload :RunbookParameter, '2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb'
151
152
  autoload :TypeField, '2015-10-31/generated/azure_mgmt_automation/models/type_field.rb'
152
- autoload :ConnectionUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb'
153
+ autoload :CertificateCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb'
153
154
  autoload :TypeFieldListResult, '2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb'
154
- autoload :AdvancedSchedule, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb'
155
+ autoload :ActivityOutputType, '2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb'
155
156
  autoload :VariableCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb'
156
- autoload :AutomationAccountUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb'
157
+ autoload :OperationDisplay, '2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb'
157
158
  autoload :Variable, '2015-10-31/generated/azure_mgmt_automation/models/variable.rb'
158
- autoload :StatisticsListResult, '2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb'
159
+ autoload :DscConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb'
159
160
  autoload :VariableListResult, '2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb'
160
- autoload :CredentialUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb'
161
+ autoload :ConnectionTypeListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb'
161
162
  autoload :VariableUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb'
162
163
  autoload :Runbook, '2015-10-31/generated/azure_mgmt_automation/models/runbook.rb'
163
164
  autoload :ModuleModel, '2015-10-31/generated/azure_mgmt_automation/models/module_model.rb'
@@ -25,7 +25,6 @@ module Azure::Automation::Mgmt::V2015_10_31
25
25
  # Retrieve the activity in the module identified by module name and activity
26
26
  # name.
27
27
  #
28
- # @param resource_group_name [String] The resource group name.
29
28
  # @param automation_account_name [String] The automation account name.
30
29
  # @param module_name [String] The name of module.
31
30
  # @param activity_name [String] The name of activity.
@@ -34,8 +33,8 @@ module Azure::Automation::Mgmt::V2015_10_31
34
33
  #
35
34
  # @return [Activity] operation results.
36
35
  #
37
- def get(resource_group_name, automation_account_name, module_name, activity_name, custom_headers = nil)
38
- response = get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers).value!
36
+ def get(automation_account_name, module_name, activity_name, custom_headers:nil)
37
+ response = get_async(automation_account_name, module_name, activity_name, custom_headers:custom_headers).value!
39
38
  response.body unless response.nil?
40
39
  end
41
40
 
@@ -43,7 +42,6 @@ module Azure::Automation::Mgmt::V2015_10_31
43
42
  # Retrieve the activity in the module identified by module name and activity
44
43
  # name.
45
44
  #
46
- # @param resource_group_name [String] The resource group name.
47
45
  # @param automation_account_name [String] The automation account name.
48
46
  # @param module_name [String] The name of module.
49
47
  # @param activity_name [String] The name of activity.
@@ -52,15 +50,14 @@ module Azure::Automation::Mgmt::V2015_10_31
52
50
  #
53
51
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
54
52
  #
55
- def get_with_http_info(resource_group_name, automation_account_name, module_name, activity_name, custom_headers = nil)
56
- get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers).value!
53
+ def get_with_http_info(automation_account_name, module_name, activity_name, custom_headers:nil)
54
+ get_async(automation_account_name, module_name, activity_name, custom_headers:custom_headers).value!
57
55
  end
58
56
 
59
57
  #
60
58
  # Retrieve the activity in the module identified by module name and activity
61
59
  # name.
62
60
  #
63
- # @param resource_group_name [String] The resource group name.
64
61
  # @param automation_account_name [String] The automation account name.
65
62
  # @param module_name [String] The name of module.
66
63
  # @param activity_name [String] The name of activity.
@@ -69,9 +66,9 @@ module Azure::Automation::Mgmt::V2015_10_31
69
66
  #
70
67
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
68
  #
72
- def get_async(resource_group_name, automation_account_name, module_name, activity_name, 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 - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
69
+ def get_async(automation_account_name, module_name, activity_name, custom_headers:nil)
70
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
71
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
75
72
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
76
73
  fail ArgumentError, 'module_name is nil' if module_name.nil?
77
74
  fail ArgumentError, 'activity_name is nil' if activity_name.nil?
@@ -80,6 +77,7 @@ module Azure::Automation::Mgmt::V2015_10_31
80
77
 
81
78
 
82
79
  request_headers = {}
80
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
83
81
 
84
82
  # Set Headers
85
83
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -90,7 +88,7 @@ module Azure::Automation::Mgmt::V2015_10_31
90
88
 
91
89
  options = {
92
90
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
93
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'activityName' => activity_name,'subscriptionId' => @client.subscription_id},
91
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'activityName' => activity_name,'subscriptionId' => @client.subscription_id},
94
92
  query_params: {'api-version' => @client.api_version},
95
93
  headers: request_headers.merge(custom_headers || {}),
96
94
  base_url: request_url
@@ -127,7 +125,6 @@ module Azure::Automation::Mgmt::V2015_10_31
127
125
  #
128
126
  # Retrieve a list of activities in the module identified by module name.
129
127
  #
130
- # @param resource_group_name [String] The resource group name.
131
128
  # @param automation_account_name [String] The automation account name.
132
129
  # @param module_name [String] The name of module.
133
130
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -135,15 +132,14 @@ module Azure::Automation::Mgmt::V2015_10_31
135
132
  #
136
133
  # @return [Array<Activity>] operation results.
137
134
  #
138
- def list_by_module(resource_group_name, automation_account_name, module_name, custom_headers = nil)
139
- first_page = list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers)
135
+ def list_by_module(automation_account_name, module_name, custom_headers:nil)
136
+ first_page = list_by_module_as_lazy(automation_account_name, module_name, custom_headers:custom_headers)
140
137
  first_page.get_all_items
141
138
  end
142
139
 
143
140
  #
144
141
  # Retrieve a list of activities in the module identified by module name.
145
142
  #
146
- # @param resource_group_name [String] The resource group name.
147
143
  # @param automation_account_name [String] The automation account name.
148
144
  # @param module_name [String] The name of module.
149
145
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -151,14 +147,13 @@ module Azure::Automation::Mgmt::V2015_10_31
151
147
  #
152
148
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
153
149
  #
154
- def list_by_module_with_http_info(resource_group_name, automation_account_name, module_name, custom_headers = nil)
155
- list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers).value!
150
+ def list_by_module_with_http_info(automation_account_name, module_name, custom_headers:nil)
151
+ list_by_module_async(automation_account_name, module_name, custom_headers:custom_headers).value!
156
152
  end
157
153
 
158
154
  #
159
155
  # Retrieve a list of activities in the module identified by module name.
160
156
  #
161
- # @param resource_group_name [String] The resource group name.
162
157
  # @param automation_account_name [String] The automation account name.
163
158
  # @param module_name [String] The name of module.
164
159
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -166,9 +161,9 @@ module Azure::Automation::Mgmt::V2015_10_31
166
161
  #
167
162
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
168
163
  #
169
- def list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers = nil)
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?
164
+ def list_by_module_async(automation_account_name, module_name, custom_headers:nil)
165
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
166
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
172
167
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
173
168
  fail ArgumentError, 'module_name is nil' if module_name.nil?
174
169
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -176,6 +171,7 @@ module Azure::Automation::Mgmt::V2015_10_31
176
171
 
177
172
 
178
173
  request_headers = {}
174
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
179
175
 
180
176
  # Set Headers
181
177
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -186,7 +182,7 @@ module Azure::Automation::Mgmt::V2015_10_31
186
182
 
187
183
  options = {
188
184
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
189
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
185
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
190
186
  query_params: {'api-version' => @client.api_version},
191
187
  headers: request_headers.merge(custom_headers || {}),
192
188
  base_url: request_url
@@ -230,8 +226,8 @@ module Azure::Automation::Mgmt::V2015_10_31
230
226
  #
231
227
  # @return [ActivityListResult] operation results.
232
228
  #
233
- def list_by_module_next(next_page_link, custom_headers = nil)
234
- response = list_by_module_next_async(next_page_link, custom_headers).value!
229
+ def list_by_module_next(next_page_link, custom_headers:nil)
230
+ response = list_by_module_next_async(next_page_link, custom_headers:custom_headers).value!
235
231
  response.body unless response.nil?
236
232
  end
237
233
 
@@ -245,8 +241,8 @@ module Azure::Automation::Mgmt::V2015_10_31
245
241
  #
246
242
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
247
243
  #
248
- def list_by_module_next_with_http_info(next_page_link, custom_headers = nil)
249
- list_by_module_next_async(next_page_link, custom_headers).value!
244
+ def list_by_module_next_with_http_info(next_page_link, custom_headers:nil)
245
+ list_by_module_next_async(next_page_link, custom_headers:custom_headers).value!
250
246
  end
251
247
 
252
248
  #
@@ -259,11 +255,12 @@ module Azure::Automation::Mgmt::V2015_10_31
259
255
  #
260
256
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
261
257
  #
262
- def list_by_module_next_async(next_page_link, custom_headers = nil)
258
+ def list_by_module_next_async(next_page_link, custom_headers:nil)
263
259
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
264
260
 
265
261
 
266
262
  request_headers = {}
263
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
267
264
 
268
265
  # Set Headers
269
266
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -310,7 +307,6 @@ module Azure::Automation::Mgmt::V2015_10_31
310
307
  #
311
308
  # Retrieve a list of activities in the module identified by module name.
312
309
  #
313
- # @param resource_group_name [String] The resource group name.
314
310
  # @param automation_account_name [String] The automation account name.
315
311
  # @param module_name [String] The name of module.
316
312
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -319,12 +315,12 @@ module Azure::Automation::Mgmt::V2015_10_31
319
315
  # @return [ActivityListResult] which provide lazy access to pages of the
320
316
  # response.
321
317
  #
322
- def list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers = nil)
323
- response = list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers).value!
318
+ def list_by_module_as_lazy(automation_account_name, module_name, custom_headers:nil)
319
+ response = list_by_module_async(automation_account_name, module_name, custom_headers:custom_headers).value!
324
320
  unless response.nil?
325
321
  page = response.body
326
322
  page.next_method = Proc.new do |next_page_link|
327
- list_by_module_next_async(next_page_link, custom_headers)
323
+ list_by_module_next_async(next_page_link, custom_headers:custom_headers)
328
324
  end
329
325
  page
330
326
  end
@@ -24,51 +24,49 @@ module Azure::Automation::Mgmt::V2015_10_31
24
24
  #
25
25
  # Retrieve the automation agent registration information.
26
26
  #
27
- # @param resource_group_name [String] The resource group name.
28
27
  # @param automation_account_name [String] The automation account name.
29
28
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
29
  # will be added to the HTTP request.
31
30
  #
32
31
  # @return [AgentRegistration] operation results.
33
32
  #
34
- def get(resource_group_name, automation_account_name, custom_headers = nil)
35
- response = get_async(resource_group_name, automation_account_name, custom_headers).value!
33
+ def get(automation_account_name, custom_headers:nil)
34
+ response = get_async(automation_account_name, custom_headers:custom_headers).value!
36
35
  response.body unless response.nil?
37
36
  end
38
37
 
39
38
  #
40
39
  # Retrieve the automation agent registration information.
41
40
  #
42
- # @param resource_group_name [String] The resource group name.
43
41
  # @param automation_account_name [String] The automation account name.
44
42
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
45
43
  # will be added to the HTTP request.
46
44
  #
47
45
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
48
46
  #
49
- def get_with_http_info(resource_group_name, automation_account_name, custom_headers = nil)
50
- get_async(resource_group_name, automation_account_name, custom_headers).value!
47
+ def get_with_http_info(automation_account_name, custom_headers:nil)
48
+ get_async(automation_account_name, custom_headers:custom_headers).value!
51
49
  end
52
50
 
53
51
  #
54
52
  # Retrieve the automation agent registration information.
55
53
  #
56
- # @param resource_group_name [String] The resource group name.
57
54
  # @param automation_account_name [String] The automation account name.
58
55
  # @param [Hash{String => String}] A hash of custom headers that will be added
59
56
  # to the HTTP request.
60
57
  #
61
58
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
59
  #
63
- def get_async(resource_group_name, automation_account_name, custom_headers = nil)
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?
60
+ def get_async(automation_account_name, custom_headers:nil)
61
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
62
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
66
63
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
67
64
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
65
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
69
66
 
70
67
 
71
68
  request_headers = {}
69
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
72
70
 
73
71
  # Set Headers
74
72
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -79,7 +77,7 @@ module Azure::Automation::Mgmt::V2015_10_31
79
77
 
80
78
  options = {
81
79
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
82
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
80
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
83
81
  query_params: {'api-version' => @client.api_version},
84
82
  headers: request_headers.merge(custom_headers || {}),
85
83
  base_url: request_url
@@ -116,7 +114,6 @@ module Azure::Automation::Mgmt::V2015_10_31
116
114
  #
117
115
  # Regenerate a primary or secondary agent registration key
118
116
  #
119
- # @param resource_group_name [String] The resource group name.
120
117
  # @param automation_account_name [String] The automation account name.
121
118
  # @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the
122
119
  # agent registration key to be regenerated
@@ -125,15 +122,14 @@ module Azure::Automation::Mgmt::V2015_10_31
125
122
  #
126
123
  # @return [AgentRegistration] operation results.
127
124
  #
128
- def regenerate_key(resource_group_name, automation_account_name, parameters, custom_headers = nil)
129
- response = regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers).value!
125
+ def regenerate_key(automation_account_name, parameters, custom_headers:nil)
126
+ response = regenerate_key_async(automation_account_name, parameters, custom_headers:custom_headers).value!
130
127
  response.body unless response.nil?
131
128
  end
132
129
 
133
130
  #
134
131
  # Regenerate a primary or secondary agent registration key
135
132
  #
136
- # @param resource_group_name [String] The resource group name.
137
133
  # @param automation_account_name [String] The automation account name.
138
134
  # @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the
139
135
  # agent registration key to be regenerated
@@ -142,14 +138,13 @@ module Azure::Automation::Mgmt::V2015_10_31
142
138
  #
143
139
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
144
140
  #
145
- def regenerate_key_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers = nil)
146
- regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers).value!
141
+ def regenerate_key_with_http_info(automation_account_name, parameters, custom_headers:nil)
142
+ regenerate_key_async(automation_account_name, parameters, custom_headers:custom_headers).value!
147
143
  end
148
144
 
149
145
  #
150
146
  # Regenerate a primary or secondary agent registration key
151
147
  #
152
- # @param resource_group_name [String] The resource group name.
153
148
  # @param automation_account_name [String] The automation account name.
154
149
  # @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the
155
150
  # agent registration key to be regenerated
@@ -158,9 +153,9 @@ module Azure::Automation::Mgmt::V2015_10_31
158
153
  #
159
154
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
160
155
  #
161
- def regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers = nil)
162
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
163
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
156
+ def regenerate_key_async(automation_account_name, parameters, custom_headers:nil)
157
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
158
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
164
159
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
165
160
  fail ArgumentError, 'parameters is nil' if parameters.nil?
166
161
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -168,13 +163,12 @@ module Azure::Automation::Mgmt::V2015_10_31
168
163
 
169
164
 
170
165
  request_headers = {}
166
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
171
167
 
172
168
  # Set Headers
173
169
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
174
170
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
175
171
 
176
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
177
-
178
172
  # Serialize Request
179
173
  request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter.mapper()
180
174
  request_content = @client.serialize(request_mapper, parameters)
@@ -186,7 +180,7 @@ module Azure::Automation::Mgmt::V2015_10_31
186
180
 
187
181
  options = {
188
182
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
189
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
183
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
190
184
  query_params: {'api-version' => @client.api_version},
191
185
  body: request_content,
192
186
  headers: request_headers.merge(custom_headers || {}),