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.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +2 -0
  3. data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +2 -0
  4. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +5 -0
  5. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +1 -3
  6. data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +5 -0
  7. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +5 -0
  8. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +4 -0
  9. data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +5 -0
  10. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +4 -0
  11. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +6 -0
  12. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +4 -0
  13. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +4 -0
  14. data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +1 -0
  15. data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +4 -0
  16. data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +10 -0
  17. data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +4 -0
  18. data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +2 -0
  19. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity.rb +11 -0
  20. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb +4 -0
  21. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb +3 -0
  22. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +9 -0
  23. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb +4 -0
  24. data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb +7 -0
  25. data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +3 -0
  26. data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb +5 -0
  27. data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb +3 -0
  28. data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +6 -0
  29. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +14 -0
  30. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb +6 -0
  31. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb +4 -0
  32. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb +6 -0
  33. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +9 -0
  34. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb +6 -0
  35. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb +4 -0
  36. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +3 -0
  37. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +9 -0
  38. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb +6 -0
  39. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb +4 -0
  40. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +9 -0
  41. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb +2 -0
  42. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb +5 -0
  43. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb +4 -0
  44. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb +5 -0
  45. data/lib/2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb +3 -0
  46. data/lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb +4 -0
  47. data/lib/2015-10-31/generated/azure_mgmt_automation/models/content_source.rb +5 -0
  48. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +7 -0
  49. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb +5 -0
  50. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb +4 -0
  51. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +5 -0
  52. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +15 -0
  53. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +8 -0
  54. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +4 -0
  55. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +18 -0
  56. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb +2 -0
  57. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb +11 -0
  58. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +4 -0
  59. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb +5 -0
  60. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb +8 -0
  61. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +15 -0
  62. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +6 -0
  63. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb +2 -0
  64. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +4 -0
  65. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +4 -0
  66. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +4 -0
  67. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb +24 -0
  68. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +4 -0
  69. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb +3 -0
  70. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb +7 -0
  71. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb +12 -0
  72. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb +2 -0
  73. data/lib/2015-10-31/generated/azure_mgmt_automation/models/error_response.rb +3 -0
  74. data/lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb +4 -0
  75. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +4 -0
  76. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +6 -0
  77. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb +2 -0
  78. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +4 -0
  79. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +16 -0
  80. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +9 -0
  81. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb +4 -0
  82. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +8 -0
  83. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb +6 -0
  84. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +4 -0
  85. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb +9 -0
  86. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb +4 -0
  87. data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb +6 -0
  88. data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb +3 -0
  89. data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb +4 -0
  90. data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +18 -0
  91. data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb +6 -0
  92. data/lib/2015-10-31/generated/azure_mgmt_automation/models/operation.rb +3 -0
  93. data/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb +4 -0
  94. data/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb +3 -0
  95. data/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +7 -0
  96. data/lib/2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb +2 -0
  97. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +25 -0
  98. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb +2 -0
  99. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb +2 -0
  100. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb +7 -0
  101. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb +12 -0
  102. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +9 -0
  103. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb +3 -0
  104. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb +4 -0
  105. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb +5 -0
  106. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb +9 -0
  107. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +17 -0
  108. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +2 -0
  109. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +9 -0
  110. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb +4 -0
  111. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +4 -0
  112. data/lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb +4 -0
  113. data/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb +6 -0
  114. data/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb +3 -0
  115. data/lib/2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb +2 -0
  116. data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +12 -0
  117. data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +5 -0
  118. data/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb +3 -0
  119. data/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb +3 -0
  120. data/lib/2015-10-31/generated/azure_mgmt_automation/models/usage.rb +7 -0
  121. data/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb +3 -0
  122. data/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb +3 -0
  123. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +8 -0
  124. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb +5 -0
  125. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb +4 -0
  126. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +4 -0
  127. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +14 -0
  128. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb +9 -0
  129. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb +4 -0
  130. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +7 -0
  131. data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +5 -0
  132. data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +4 -0
  133. data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +2 -0
  134. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +7 -0
  135. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +7 -0
  136. data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +5 -0
  137. data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +1 -0
  138. data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +2 -0
  139. data/lib/2015-10-31/generated/azure_mgmt_automation/test_jobs.rb +5 -0
  140. data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +1 -0
  141. data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +5 -0
  142. data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +7 -0
  143. data/lib/profiles/latest/automation_latest_profile_client.rb +1 -3
  144. data/lib/version.rb +1 -1
  145. metadata +10 -8
  146. data/lib/2015-10-31/generated/azure_mgmt_automation/version.rb +0 -8
  147. data/lib/profiles/common/configurable.rb +0 -86
  148. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f131f00be99a96ecd7a5e7a83492953c6f4d5ae4
4
- data.tar.gz: 7ab084009f28d90cfe226a5b8cbb9686e0d4e91f
3
+ metadata.gz: d1769d36a8980d33285c9069282a9cf5e5cb53ef
4
+ data.tar.gz: ea52665b66a61eb14706d12060a289b02cb55e7a
5
5
  SHA512:
6
- metadata.gz: 47b6600ebdeb7a4070d1d2967378d80e46beac0e4080e6214418901851dc427611568a0f4661e912ae3780401fe23bdd5bf16117bcb0f75936c301f91297ae80
7
- data.tar.gz: b424e1c2e379788d512c60d33136104c6d2e7d3721975a951c2446b82bf35ace73e24c3a4d12db7e14da4096962ffa6e614825651f44fd99144e2c7d1c21769f
6
+ metadata.gz: fa7ac249976621905cbd7ebe59acf9c607bf0948953fbfc39477d462537aa6a4c9165f8a979f6ae220e57f01384e6cdef0693c4c2f281a1ab81141cc23eb509f
7
+ data.tar.gz: ef366abedaba6f64c7c3ee141076537cc06536aa98a7119e86181c4746f1225af269dba150a89e4d057aa91f43c365797b0d5b0718bfb559cfbd23ec5df29888
@@ -71,6 +71,7 @@ module Azure::Automation::Mgmt::V2015_10_31
71
71
  #
72
72
  def get_async(resource_group_name, automation_account_name, module_name, activity_name, 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, 'module_name is nil' if module_name.nil?
76
77
  fail ArgumentError, 'activity_name is nil' if activity_name.nil?
@@ -167,6 +168,7 @@ module Azure::Automation::Mgmt::V2015_10_31
167
168
  #
168
169
  def list_by_module_async(resource_group_name, automation_account_name, module_name, 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, 'module_name is nil' if module_name.nil?
172
174
  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 get_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?
@@ -159,6 +160,7 @@ module Azure::Automation::Mgmt::V2015_10_31
159
160
  #
160
161
  def regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers = nil)
161
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?
162
164
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
163
165
  fail ArgumentError, 'parameters is nil' if parameters.nil?
164
166
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -68,6 +68,7 @@ module Azure::Automation::Mgmt::V2015_10_31
68
68
  #
69
69
  def update_async(resource_group_name, automation_account_name, parameters, 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, 'parameters is nil' if parameters.nil?
73
74
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -178,6 +179,7 @@ module Azure::Automation::Mgmt::V2015_10_31
178
179
  #
179
180
  def create_or_update_async(resource_group_name, automation_account_name, parameters, custom_headers = nil)
180
181
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
182
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
181
183
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
182
184
  fail ArgumentError, 'parameters is nil' if parameters.nil?
183
185
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -288,6 +290,7 @@ module Azure::Automation::Mgmt::V2015_10_31
288
290
  #
289
291
  def delete_async(resource_group_name, automation_account_name, custom_headers = nil)
290
292
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
293
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
291
294
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
292
295
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
293
296
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -369,6 +372,7 @@ module Azure::Automation::Mgmt::V2015_10_31
369
372
  #
370
373
  def get_async(resource_group_name, automation_account_name, custom_headers = nil)
371
374
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
375
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
372
376
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
373
377
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
374
378
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -457,6 +461,7 @@ module Azure::Automation::Mgmt::V2015_10_31
457
461
  #
458
462
  def list_by_resource_group_async(resource_group_name, custom_headers = nil)
459
463
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
464
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
460
465
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
461
466
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
462
467
 
@@ -236,9 +236,7 @@ module Azure::Automation::Mgmt::V2015_10_31
236
236
  #
237
237
  def add_telemetry
238
238
  sdk_information = 'azure_mgmt_automation'
239
- if defined? Azure::Automation::Mgmt::V2015_10_31::VERSION
240
- sdk_information = "#{sdk_information}/#{Azure::Automation::Mgmt::V2015_10_31::VERSION}"
241
- end
239
+ sdk_information = "#{sdk_information}/0.15.2"
242
240
  add_user_agent_information(sdk_information)
243
241
  end
244
242
  end
@@ -64,6 +64,7 @@ module Azure::Automation::Mgmt::V2015_10_31
64
64
  #
65
65
  def delete_async(resource_group_name, automation_account_name, certificate_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, 'certificate_name is nil' if certificate_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, certificate_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, 'certificate_name is nil' if certificate_name.nil?
154
156
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -253,6 +255,7 @@ module Azure::Automation::Mgmt::V2015_10_31
253
255
  #
254
256
  def create_or_update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers = nil)
255
257
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
258
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
256
259
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
257
260
  fail ArgumentError, 'certificate_name is nil' if certificate_name.nil?
258
261
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -377,6 +380,7 @@ module Azure::Automation::Mgmt::V2015_10_31
377
380
  #
378
381
  def update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers = nil)
379
382
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
383
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
380
384
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
381
385
  fail ArgumentError, 'certificate_name is nil' if certificate_name.nil?
382
386
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -479,6 +483,7 @@ module Azure::Automation::Mgmt::V2015_10_31
479
483
  #
480
484
  def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
481
485
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
486
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
482
487
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
483
488
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
484
489
  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 delete_async(resource_group_name, automation_account_name, connection_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, 'connection_name is nil' if connection_name.nil?
70
71
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -160,6 +161,7 @@ module Azure::Automation::Mgmt::V2015_10_31
160
161
  #
161
162
  def get_async(resource_group_name, automation_account_name, connection_name, custom_headers = nil)
162
163
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
164
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
163
165
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
164
166
  fail ArgumentError, 'connection_name is nil' if connection_name.nil?
165
167
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -264,6 +266,7 @@ module Azure::Automation::Mgmt::V2015_10_31
264
266
  #
265
267
  def create_or_update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers = nil)
266
268
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
269
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
267
270
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
268
271
  fail ArgumentError, 'connection_name is nil' if connection_name.nil?
269
272
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -388,6 +391,7 @@ module Azure::Automation::Mgmt::V2015_10_31
388
391
  #
389
392
  def update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers = nil)
390
393
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
394
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
391
395
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
392
396
  fail ArgumentError, 'connection_name is nil' if connection_name.nil?
393
397
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -490,6 +494,7 @@ module Azure::Automation::Mgmt::V2015_10_31
490
494
  #
491
495
  def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
492
496
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
497
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
493
498
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
494
499
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
495
500
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -64,6 +64,7 @@ module Azure::Automation::Mgmt::V2015_10_31
64
64
  #
65
65
  def delete_async(resource_group_name, automation_account_name, connection_type_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, 'connection_type_name is nil' if connection_type_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, connection_type_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, 'connection_type_name is nil' if connection_type_name.nil?
154
156
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -253,6 +255,7 @@ module Azure::Automation::Mgmt::V2015_10_31
253
255
  #
254
256
  def create_or_update_async(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers = nil)
255
257
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
258
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
256
259
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
257
260
  fail ArgumentError, 'connection_type_name is nil' if connection_type_name.nil?
258
261
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -365,6 +368,7 @@ module Azure::Automation::Mgmt::V2015_10_31
365
368
  #
366
369
  def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
367
370
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
371
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
368
372
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
369
373
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
370
374
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -64,6 +64,7 @@ module Azure::Automation::Mgmt::V2015_10_31
64
64
  #
65
65
  def delete_async(resource_group_name, automation_account_name, credential_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, 'credential_name is nil' if credential_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, credential_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, 'credential_name is nil' if credential_name.nil?
154
156
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -253,6 +255,7 @@ module Azure::Automation::Mgmt::V2015_10_31
253
255
  #
254
256
  def create_or_update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers = nil)
255
257
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
258
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
256
259
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
257
260
  fail ArgumentError, 'credential_name is nil' if credential_name.nil?
258
261
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -377,6 +380,7 @@ module Azure::Automation::Mgmt::V2015_10_31
377
380
  #
378
381
  def update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers = nil)
379
382
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
383
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
380
384
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
381
385
  fail ArgumentError, 'credential_name is nil' if credential_name.nil?
382
386
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -479,6 +483,7 @@ module Azure::Automation::Mgmt::V2015_10_31
479
483
  #
480
484
  def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
481
485
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
486
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
482
487
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
483
488
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
484
489
  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_async(resource_group_name, automation_account_name, compilation_job_id, 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, 'compilation_job_id is nil' if compilation_job_id.nil?
76
77
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -176,6 +177,7 @@ module Azure::Automation::Mgmt::V2015_10_31
176
177
  #
177
178
  def get_async(resource_group_name, automation_account_name, compilation_job_id, custom_headers = nil)
178
179
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
180
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
179
181
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
180
182
  fail ArgumentError, 'compilation_job_id is nil' if compilation_job_id.nil?
181
183
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -271,6 +273,7 @@ module Azure::Automation::Mgmt::V2015_10_31
271
273
  #
272
274
  def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil)
273
275
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
276
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
274
277
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
275
278
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
276
279
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -368,6 +371,7 @@ module Azure::Automation::Mgmt::V2015_10_31
368
371
  #
369
372
  def get_stream_async(resource_group_name, automation_account_name, job_id, job_stream_id, 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, 'job_id is nil' if job_id.nil?
373
377
  fail ArgumentError, 'job_stream_id is nil' if job_stream_id.nil?
@@ -64,6 +64,7 @@ module Azure::Automation::Mgmt::V2015_10_31
64
64
  #
65
65
  def delete_async(resource_group_name, automation_account_name, configuration_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, 'configuration_name is nil' if configuration_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, configuration_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, 'configuration_name is nil' if configuration_name.nil?
154
156
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -253,6 +255,7 @@ module Azure::Automation::Mgmt::V2015_10_31
253
255
  #
254
256
  def create_or_update_async(resource_group_name, automation_account_name, configuration_name, parameters, custom_headers = nil)
255
257
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
258
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
256
259
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
257
260
  fail ArgumentError, 'configuration_name is nil' if configuration_name.nil?
258
261
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -368,6 +371,7 @@ module Azure::Automation::Mgmt::V2015_10_31
368
371
  #
369
372
  def get_content_async(resource_group_name, automation_account_name, configuration_name, 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, 'configuration_name is nil' if configuration_name.nil?
373
377
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -407,6 +411,7 @@ module Azure::Automation::Mgmt::V2015_10_31
407
411
  begin
408
412
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
409
413
  result_mapper = {
414
+ client_side_validation: true,
410
415
  required: false,
411
416
  serialized_name: 'parsed_response',
412
417
  type: {
@@ -466,6 +471,7 @@ module Azure::Automation::Mgmt::V2015_10_31
466
471
  #
467
472
  def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
468
473
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
474
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
469
475
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
470
476
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
471
477
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -64,6 +64,7 @@ module Azure::Automation::Mgmt::V2015_10_31
64
64
  #
65
65
  def delete_async(resource_group_name, automation_account_name, node_configuration_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, 'node_configuration_name is nil' if node_configuration_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, node_configuration_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, 'node_configuration_name is nil' if node_configuration_name.nil?
154
156
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -253,6 +255,7 @@ module Azure::Automation::Mgmt::V2015_10_31
253
255
  #
254
256
  def create_or_update_async(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers = nil)
255
257
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
258
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
256
259
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
257
260
  fail ArgumentError, 'node_configuration_name is nil' if node_configuration_name.nil?
258
261
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -368,6 +371,7 @@ module Azure::Automation::Mgmt::V2015_10_31
368
371
  #
369
372
  def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, 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, '@client.subscription_id is nil' if @client.subscription_id.nil?
373
377
  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 delete_async(resource_group_name, automation_account_name, node_id, 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, 'node_id is nil' if node_id.nil?
70
71
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -160,6 +161,7 @@ module Azure::Automation::Mgmt::V2015_10_31
160
161
  #
161
162
  def get_async(resource_group_name, automation_account_name, node_id, custom_headers = nil)
162
163
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
164
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
163
165
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
164
166
  fail ArgumentError, 'node_id is nil' if node_id.nil?
165
167
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -261,6 +263,7 @@ module Azure::Automation::Mgmt::V2015_10_31
261
263
  #
262
264
  def update_async(resource_group_name, automation_account_name, node_id, parameters, custom_headers = nil)
263
265
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
266
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
264
267
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
265
268
  fail ArgumentError, 'node_id is nil' if node_id.nil?
266
269
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -366,6 +369,7 @@ module Azure::Automation::Mgmt::V2015_10_31
366
369
  #
367
370
  def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil)
368
371
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
372
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
369
373
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
370
374
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
371
375
  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_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?
@@ -67,6 +67,7 @@ module Azure::Automation::Mgmt::V2015_10_31
67
67
  #
68
68
  def delete_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers = nil)
69
69
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
70
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
70
71
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
71
72
  fail ArgumentError, 'hybrid_runbook_worker_group_name is nil' if hybrid_runbook_worker_group_name.nil?
72
73
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -155,6 +156,7 @@ module Azure::Automation::Mgmt::V2015_10_31
155
156
  #
156
157
  def get_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers = nil)
157
158
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
159
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
158
160
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
159
161
  fail ArgumentError, 'hybrid_runbook_worker_group_name is nil' if hybrid_runbook_worker_group_name.nil?
160
162
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -259,6 +261,7 @@ module Azure::Automation::Mgmt::V2015_10_31
259
261
  #
260
262
  def update_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers = nil)
261
263
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
264
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
262
265
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
263
266
  fail ArgumentError, 'hybrid_runbook_worker_group_name is nil' if hybrid_runbook_worker_group_name.nil?
264
267
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -361,6 +364,7 @@ module Azure::Automation::Mgmt::V2015_10_31
361
364
  #
362
365
  def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
363
366
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
367
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
364
368
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
365
369
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
366
370
  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 get_output_async(resource_group_name, automation_account_name, job_id, 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, 'job_id is nil' if job_id.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_runbook_content_async(resource_group_name, automation_account_name, job_id, 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, 'job_id is nil' if job_id.nil?
171
174
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -205,6 +208,7 @@ module Azure::Automation::Mgmt::V2015_10_31
205
208
  begin
206
209
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
207
210
  result_mapper = {
211
+ client_side_validation: true,
208
212
  required: false,
209
213
  serialized_name: 'parsed_response',
210
214
  type: {
@@ -266,6 +270,7 @@ module Azure::Automation::Mgmt::V2015_10_31
266
270
  #
267
271
  def suspend_async(resource_group_name, automation_account_name, job_id, custom_headers = nil)
268
272
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
273
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
269
274
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
270
275
  fail ArgumentError, 'job_id is nil' if job_id.nil?
271
276
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -350,6 +355,7 @@ module Azure::Automation::Mgmt::V2015_10_31
350
355
  #
351
356
  def stop_async(resource_group_name, automation_account_name, job_id, custom_headers = nil)
352
357
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
358
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
353
359
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
354
360
  fail ArgumentError, 'job_id is nil' if job_id.nil?
355
361
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -435,6 +441,7 @@ module Azure::Automation::Mgmt::V2015_10_31
435
441
  #
436
442
  def get_async(resource_group_name, automation_account_name, job_id, custom_headers = nil)
437
443
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
444
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
438
445
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
439
446
  fail ArgumentError, 'job_id is nil' if job_id.nil?
440
447
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -536,6 +543,7 @@ module Azure::Automation::Mgmt::V2015_10_31
536
543
  #
537
544
  def create_async(resource_group_name, automation_account_name, job_id, parameters, custom_headers = nil)
538
545
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
546
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
539
547
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
540
548
  fail ArgumentError, 'job_id is nil' if job_id.nil?
541
549
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -641,6 +649,7 @@ module Azure::Automation::Mgmt::V2015_10_31
641
649
  #
642
650
  def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil)
643
651
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
652
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
644
653
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
645
654
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
646
655
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -734,6 +743,7 @@ module Azure::Automation::Mgmt::V2015_10_31
734
743
  #
735
744
  def resume_async(resource_group_name, automation_account_name, job_id, custom_headers = nil)
736
745
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
746
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
737
747
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
738
748
  fail ArgumentError, 'job_id is nil' if job_id.nil?
739
749
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?