azure_mgmt_resources 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-02-01/generated/azure_mgmt_resources/deployment_operations.rb +6 -0
  3. data/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb +24 -0
  4. data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +4 -0
  5. data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_type.rb +4 -0
  6. data/lib/2016-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +4 -0
  7. data/lib/2016-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +2 -0
  8. data/lib/2016-02-01/generated/azure_mgmt_resources/models/dependency.rb +6 -0
  9. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment.rb +2 -0
  10. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +2 -0
  11. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +4 -0
  12. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +2 -0
  13. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +4 -0
  14. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +4 -0
  15. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +9 -0
  16. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +4 -0
  17. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +7 -0
  18. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +15 -0
  19. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +3 -0
  20. data/lib/2016-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +4 -0
  21. data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +13 -0
  22. data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +4 -0
  23. data/lib/2016-02-01/generated/azure_mgmt_resources/models/http_message.rb +2 -0
  24. data/lib/2016-02-01/generated/azure_mgmt_resources/models/identity.rb +4 -0
  25. data/lib/2016-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +3 -0
  26. data/lib/2016-02-01/generated/azure_mgmt_resources/models/plan.rb +5 -0
  27. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider.rb +6 -0
  28. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +4 -0
  29. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +10 -0
  30. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource.rb +7 -0
  31. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group.rb +7 -0
  32. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +3 -0
  33. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +3 -0
  34. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +4 -0
  35. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +2 -0
  36. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +4 -0
  37. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +6 -0
  38. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +6 -0
  39. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +4 -0
  40. data/lib/2016-02-01/generated/azure_mgmt_resources/models/sku.rb +7 -0
  41. data/lib/2016-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +2 -0
  42. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_count.rb +3 -0
  43. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_details.rb +6 -0
  44. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_value.rb +4 -0
  45. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +4 -0
  46. data/lib/2016-02-01/generated/azure_mgmt_resources/models/target_resource.rb +4 -0
  47. data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_link.rb +3 -0
  48. data/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb +21 -0
  49. data/lib/2016-02-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -3
  50. data/lib/2016-02-01/generated/azure_mgmt_resources/resources.rb +15 -0
  51. data/lib/2016-07-01/generated/azure_mgmt_resources/deployment_operations.rb +6 -0
  52. data/lib/2016-07-01/generated/azure_mgmt_resources/deployments.rb +24 -0
  53. data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +4 -0
  54. data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_type.rb +4 -0
  55. data/lib/2016-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +4 -0
  56. data/lib/2016-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +2 -0
  57. data/lib/2016-07-01/generated/azure_mgmt_resources/models/dependency.rb +6 -0
  58. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment.rb +2 -0
  59. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +2 -0
  60. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +4 -0
  61. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +2 -0
  62. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +4 -0
  63. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +4 -0
  64. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +9 -0
  65. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +4 -0
  66. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +7 -0
  67. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +15 -0
  68. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +3 -0
  69. data/lib/2016-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +4 -0
  70. data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +13 -0
  71. data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +4 -0
  72. data/lib/2016-07-01/generated/azure_mgmt_resources/models/http_message.rb +2 -0
  73. data/lib/2016-07-01/generated/azure_mgmt_resources/models/identity.rb +4 -0
  74. data/lib/2016-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +3 -0
  75. data/lib/2016-07-01/generated/azure_mgmt_resources/models/plan.rb +5 -0
  76. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider.rb +6 -0
  77. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +4 -0
  78. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +10 -0
  79. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource.rb +7 -0
  80. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group.rb +7 -0
  81. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +3 -0
  82. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +3 -0
  83. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +4 -0
  84. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +2 -0
  85. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +4 -0
  86. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +6 -0
  87. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +6 -0
  88. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +4 -0
  89. data/lib/2016-07-01/generated/azure_mgmt_resources/models/sku.rb +7 -0
  90. data/lib/2016-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +2 -0
  91. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_count.rb +3 -0
  92. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_details.rb +6 -0
  93. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_value.rb +4 -0
  94. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +4 -0
  95. data/lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb +4 -0
  96. data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_link.rb +3 -0
  97. data/lib/2016-07-01/generated/azure_mgmt_resources/resource_groups.rb +21 -0
  98. data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -3
  99. data/lib/2016-07-01/generated/azure_mgmt_resources/resources.rb +15 -0
  100. data/lib/2016-09-01/generated/azure_mgmt_resources/deployment_operations.rb +12 -0
  101. data/lib/2016-09-01/generated/azure_mgmt_resources/deployments.rb +45 -0
  102. data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_path_type.rb +4 -0
  103. data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_type.rb +4 -0
  104. data/lib/2016-09-01/generated/azure_mgmt_resources/models/basic_dependency.rb +4 -0
  105. data/lib/2016-09-01/generated/azure_mgmt_resources/models/debug_setting.rb +2 -0
  106. data/lib/2016-09-01/generated/azure_mgmt_resources/models/dependency.rb +6 -0
  107. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment.rb +2 -0
  108. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +2 -0
  109. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended.rb +4 -0
  110. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +2 -0
  111. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +4 -0
  112. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation.rb +4 -0
  113. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +9 -0
  114. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +4 -0
  115. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties.rb +7 -0
  116. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +15 -0
  117. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +3 -0
  118. data/lib/2016-09-01/generated/azure_mgmt_resources/models/export_template_request.rb +4 -0
  119. data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource.rb +13 -0
  120. data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +4 -0
  121. data/lib/2016-09-01/generated/azure_mgmt_resources/models/http_message.rb +2 -0
  122. data/lib/2016-09-01/generated/azure_mgmt_resources/models/identity.rb +4 -0
  123. data/lib/2016-09-01/generated/azure_mgmt_resources/models/parameters_link.rb +3 -0
  124. data/lib/2016-09-01/generated/azure_mgmt_resources/models/plan.rb +5 -0
  125. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider.rb +6 -0
  126. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_list_result.rb +4 -0
  127. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +10 -0
  128. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource.rb +7 -0
  129. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group.rb +8 -0
  130. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +3 -0
  131. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +3 -0
  132. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +4 -0
  133. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +2 -0
  134. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_list_result.rb +4 -0
  135. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +6 -0
  136. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +6 -0
  137. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resources_move_info.rb +4 -0
  138. data/lib/2016-09-01/generated/azure_mgmt_resources/models/sku.rb +7 -0
  139. data/lib/2016-09-01/generated/azure_mgmt_resources/models/sub_resource.rb +2 -0
  140. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_count.rb +3 -0
  141. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_details.rb +6 -0
  142. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_value.rb +4 -0
  143. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tags_list_result.rb +4 -0
  144. data/lib/2016-09-01/generated/azure_mgmt_resources/models/target_resource.rb +4 -0
  145. data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_link.rb +3 -0
  146. data/lib/2016-09-01/generated/azure_mgmt_resources/resource_groups.rb +21 -0
  147. data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -3
  148. data/lib/2016-09-01/generated/azure_mgmt_resources/resources.rb +15 -0
  149. data/lib/2017-05-10/generated/azure_mgmt_resources/deployment_operations.rb +12 -0
  150. data/lib/2017-05-10/generated/azure_mgmt_resources/deployments.rb +45 -0
  151. data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +4 -0
  152. data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_type.rb +4 -0
  153. data/lib/2017-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +4 -0
  154. data/lib/2017-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +2 -0
  155. data/lib/2017-05-10/generated/azure_mgmt_resources/models/dependency.rb +6 -0
  156. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment.rb +2 -0
  157. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +2 -0
  158. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +4 -0
  159. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +2 -0
  160. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +4 -0
  161. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +4 -0
  162. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +9 -0
  163. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +4 -0
  164. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +7 -0
  165. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +15 -0
  166. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +3 -0
  167. data/lib/2017-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +4 -0
  168. data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +13 -0
  169. data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +4 -0
  170. data/lib/2017-05-10/generated/azure_mgmt_resources/models/http_message.rb +2 -0
  171. data/lib/2017-05-10/generated/azure_mgmt_resources/models/identity.rb +4 -0
  172. data/lib/2017-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +3 -0
  173. data/lib/2017-05-10/generated/azure_mgmt_resources/models/plan.rb +5 -0
  174. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider.rb +6 -0
  175. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +4 -0
  176. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +10 -0
  177. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource.rb +7 -0
  178. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group.rb +8 -0
  179. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +3 -0
  180. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +3 -0
  181. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +4 -0
  182. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +6 -0
  183. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +2 -0
  184. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +4 -0
  185. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +6 -0
  186. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +6 -0
  187. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +4 -0
  188. data/lib/2017-05-10/generated/azure_mgmt_resources/models/sku.rb +7 -0
  189. data/lib/2017-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +2 -0
  190. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_count.rb +3 -0
  191. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_details.rb +6 -0
  192. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_value.rb +4 -0
  193. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +4 -0
  194. data/lib/2017-05-10/generated/azure_mgmt_resources/models/target_resource.rb +4 -0
  195. data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb +3 -0
  196. data/lib/2017-05-10/generated/azure_mgmt_resources/resource_groups.rb +18 -0
  197. data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +1 -3
  198. data/lib/2017-05-10/generated/azure_mgmt_resources/resources.rb +21 -0
  199. data/lib/profiles/latest/resources_latest_profile_client.rb +1 -3
  200. data/lib/profiles/v2017_03_09/resources_v2017_03_09_profile_client.rb +1 -3
  201. data/lib/version.rb +1 -1
  202. metadata +10 -11
  203. data/lib/2016-02-01/generated/azure_mgmt_resources/version.rb +0 -8
  204. data/lib/2016-07-01/generated/azure_mgmt_resources/version.rb +0 -8
  205. data/lib/2016-09-01/generated/azure_mgmt_resources/version.rb +0 -8
  206. data/lib/2017-05-10/generated/azure_mgmt_resources/version.rb +0 -8
  207. data/lib/profiles/common/configurable.rb +0 -86
  208. data/lib/profiles/common/default.rb +0 -57
@@ -68,6 +68,9 @@ module Azure::Resources::Mgmt::V2016_07_01
68
68
  #
69
69
  def get_async(resource_group_name, deployment_name, operation_id, custom_headers = nil)
70
70
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
72
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
73
+ 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
74
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
72
75
  fail ArgumentError, 'operation_id is nil' if operation_id.nil?
73
76
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -166,6 +169,9 @@ module Azure::Resources::Mgmt::V2016_07_01
166
169
  #
167
170
  def list_async(resource_group_name, deployment_name, top = nil, custom_headers = nil)
168
171
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
172
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
173
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
174
+ 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
175
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
170
176
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
171
177
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -105,6 +105,9 @@ module Azure::Resources::Mgmt::V2016_07_01
105
105
  #
106
106
  def check_existence_async(resource_group_name, deployment_name, custom_headers = nil)
107
107
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
108
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
109
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
110
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
108
111
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
109
112
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
110
113
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -238,6 +241,9 @@ module Azure::Resources::Mgmt::V2016_07_01
238
241
  #
239
242
  def get_async(resource_group_name, deployment_name, custom_headers = nil)
240
243
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
244
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
245
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
246
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
241
247
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
242
248
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
243
249
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -331,6 +337,9 @@ module Azure::Resources::Mgmt::V2016_07_01
331
337
  #
332
338
  def cancel_async(resource_group_name, deployment_name, custom_headers = nil)
333
339
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
340
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
341
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
342
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
334
343
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
335
344
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
336
345
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -418,6 +427,9 @@ module Azure::Resources::Mgmt::V2016_07_01
418
427
  #
419
428
  def validate_async(resource_group_name, deployment_name, parameters, custom_headers = nil)
420
429
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
430
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
431
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
432
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
421
433
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
422
434
  fail ArgumentError, 'parameters is nil' if parameters.nil?
423
435
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -532,6 +544,9 @@ module Azure::Resources::Mgmt::V2016_07_01
532
544
  #
533
545
  def export_template_async(resource_group_name, deployment_name, custom_headers = nil)
534
546
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
547
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
548
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
549
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
535
550
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
536
551
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
537
552
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -632,6 +647,9 @@ module Azure::Resources::Mgmt::V2016_07_01
632
647
  #
633
648
  def list_async(resource_group_name, filter = nil, top = nil, custom_headers = nil)
634
649
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
650
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
651
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
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?
635
653
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
636
654
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
637
655
 
@@ -724,6 +742,9 @@ module Azure::Resources::Mgmt::V2016_07_01
724
742
  #
725
743
  def begin_delete_async(resource_group_name, deployment_name, custom_headers = nil)
726
744
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
745
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
746
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
747
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
727
748
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
728
749
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
729
750
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -814,6 +835,9 @@ module Azure::Resources::Mgmt::V2016_07_01
814
835
  #
815
836
  def begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers = nil)
816
837
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
838
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
839
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
840
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
817
841
  fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
818
842
  fail ArgumentError, 'parameters is nil' if parameters.nil?
819
843
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -25,6 +25,7 @@ module Azure::Resources::Mgmt::V2016_07_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'AliasPathType',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::Resources::Mgmt::V2016_07_01
32
33
  class_name: 'AliasPathType',
33
34
  model_properties: {
34
35
  path: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  serialized_name: 'path',
37
39
  type: {
@@ -39,11 +41,13 @@ module Azure::Resources::Mgmt::V2016_07_01
39
41
  }
40
42
  },
41
43
  api_versions: {
44
+ client_side_validation: true,
42
45
  required: false,
43
46
  serialized_name: 'apiVersions',
44
47
  type: {
45
48
  name: 'Sequence',
46
49
  element: {
50
+ client_side_validation: true,
47
51
  required: false,
48
52
  serialized_name: 'StringElementType',
49
53
  type: {
@@ -25,6 +25,7 @@ module Azure::Resources::Mgmt::V2016_07_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'AliasType',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::Resources::Mgmt::V2016_07_01
32
33
  class_name: 'AliasType',
33
34
  model_properties: {
34
35
  name: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  serialized_name: 'name',
37
39
  type: {
@@ -39,11 +41,13 @@ module Azure::Resources::Mgmt::V2016_07_01
39
41
  }
40
42
  },
41
43
  paths: {
44
+ client_side_validation: true,
42
45
  required: false,
43
46
  serialized_name: 'paths',
44
47
  type: {
45
48
  name: 'Sequence',
46
49
  element: {
50
+ client_side_validation: true,
47
51
  required: false,
48
52
  serialized_name: 'AliasPathTypeElementType',
49
53
  type: {
@@ -28,6 +28,7 @@ module Azure::Resources::Mgmt::V2016_07_01
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'BasicDependency',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::Resources::Mgmt::V2016_07_01
35
36
  class_name: 'BasicDependency',
36
37
  model_properties: {
37
38
  id: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  serialized_name: 'id',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::Resources::Mgmt::V2016_07_01
42
44
  }
43
45
  },
44
46
  resource_type: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'resourceType',
47
50
  type: {
@@ -49,6 +52,7 @@ module Azure::Resources::Mgmt::V2016_07_01
49
52
  }
50
53
  },
51
54
  resource_name: {
55
+ client_side_validation: true,
52
56
  required: false,
53
57
  serialized_name: 'resourceName',
54
58
  type: {
@@ -23,6 +23,7 @@ module Azure::Resources::Mgmt::V2016_07_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'DebugSetting',
28
29
  type: {
@@ -30,6 +31,7 @@ module Azure::Resources::Mgmt::V2016_07_01
30
31
  class_name: 'DebugSetting',
31
32
  model_properties: {
32
33
  detail_level: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'detailLevel',
35
37
  type: {
@@ -31,6 +31,7 @@ module Azure::Resources::Mgmt::V2016_07_01
31
31
  #
32
32
  def self.mapper()
33
33
  {
34
+ client_side_validation: true,
34
35
  required: false,
35
36
  serialized_name: 'Dependency',
36
37
  type: {
@@ -38,11 +39,13 @@ module Azure::Resources::Mgmt::V2016_07_01
38
39
  class_name: 'Dependency',
39
40
  model_properties: {
40
41
  depends_on: {
42
+ client_side_validation: true,
41
43
  required: false,
42
44
  serialized_name: 'dependsOn',
43
45
  type: {
44
46
  name: 'Sequence',
45
47
  element: {
48
+ client_side_validation: true,
46
49
  required: false,
47
50
  serialized_name: 'BasicDependencyElementType',
48
51
  type: {
@@ -53,6 +56,7 @@ module Azure::Resources::Mgmt::V2016_07_01
53
56
  }
54
57
  },
55
58
  id: {
59
+ client_side_validation: true,
56
60
  required: false,
57
61
  serialized_name: 'id',
58
62
  type: {
@@ -60,6 +64,7 @@ module Azure::Resources::Mgmt::V2016_07_01
60
64
  }
61
65
  },
62
66
  resource_type: {
67
+ client_side_validation: true,
63
68
  required: false,
64
69
  serialized_name: 'resourceType',
65
70
  type: {
@@ -67,6 +72,7 @@ module Azure::Resources::Mgmt::V2016_07_01
67
72
  }
68
73
  },
69
74
  resource_name: {
75
+ client_side_validation: true,
70
76
  required: false,
71
77
  serialized_name: 'resourceName',
72
78
  type: {
@@ -22,6 +22,7 @@ module Azure::Resources::Mgmt::V2016_07_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'Deployment',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Resources::Mgmt::V2016_07_01
29
30
  class_name: 'Deployment',
30
31
  model_properties: {
31
32
  properties: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'properties',
34
36
  type: {
@@ -22,6 +22,7 @@ module Azure::Resources::Mgmt::V2016_07_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'DeploymentExportResult',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Resources::Mgmt::V2016_07_01
29
30
  class_name: 'DeploymentExportResult',
30
31
  model_properties: {
31
32
  template: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'template',
34
36
  type: {
@@ -28,6 +28,7 @@ module Azure::Resources::Mgmt::V2016_07_01
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'DeploymentExtended',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::Resources::Mgmt::V2016_07_01
35
36
  class_name: 'DeploymentExtended',
36
37
  model_properties: {
37
38
  id: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  serialized_name: 'id',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::Resources::Mgmt::V2016_07_01
42
44
  }
43
45
  },
44
46
  name: {
47
+ client_side_validation: true,
45
48
  required: true,
46
49
  serialized_name: 'name',
47
50
  type: {
@@ -49,6 +52,7 @@ module Azure::Resources::Mgmt::V2016_07_01
49
52
  }
50
53
  },
51
54
  properties: {
55
+ client_side_validation: true,
52
56
  required: false,
53
57
  serialized_name: 'properties',
54
58
  type: {
@@ -22,6 +22,7 @@ module Azure::Resources::Mgmt::V2016_07_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'DeploymentExtendedFilter',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Resources::Mgmt::V2016_07_01
29
30
  class_name: 'DeploymentExtendedFilter',
30
31
  model_properties: {
31
32
  provisioning_state: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'provisioningState',
34
36
  type: {
@@ -57,6 +57,7 @@ module Azure::Resources::Mgmt::V2016_07_01
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'DeploymentListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::Resources::Mgmt::V2016_07_01
64
65
  class_name: 'DeploymentListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'DeploymentExtendedElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::Resources::Mgmt::V2016_07_01
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -28,6 +28,7 @@ module Azure::Resources::Mgmt::V2016_07_01
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'DeploymentOperation',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::Resources::Mgmt::V2016_07_01
35
36
  class_name: 'DeploymentOperation',
36
37
  model_properties: {
37
38
  id: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  serialized_name: 'id',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::Resources::Mgmt::V2016_07_01
42
44
  }
43
45
  },
44
46
  operation_id: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'operationId',
47
50
  type: {
@@ -49,6 +52,7 @@ module Azure::Resources::Mgmt::V2016_07_01
49
52
  }
50
53
  },
51
54
  properties: {
55
+ client_side_validation: true,
52
56
  required: false,
53
57
  serialized_name: 'properties',
54
58
  type: {
@@ -43,6 +43,7 @@ module Azure::Resources::Mgmt::V2016_07_01
43
43
  #
44
44
  def self.mapper()
45
45
  {
46
+ client_side_validation: true,
46
47
  required: false,
47
48
  serialized_name: 'DeploymentOperationProperties',
48
49
  type: {
@@ -50,6 +51,7 @@ module Azure::Resources::Mgmt::V2016_07_01
50
51
  class_name: 'DeploymentOperationProperties',
51
52
  model_properties: {
52
53
  provisioning_state: {
54
+ client_side_validation: true,
53
55
  required: false,
54
56
  serialized_name: 'provisioningState',
55
57
  type: {
@@ -57,6 +59,7 @@ module Azure::Resources::Mgmt::V2016_07_01
57
59
  }
58
60
  },
59
61
  timestamp: {
62
+ client_side_validation: true,
60
63
  required: false,
61
64
  serialized_name: 'timestamp',
62
65
  type: {
@@ -64,6 +67,7 @@ module Azure::Resources::Mgmt::V2016_07_01
64
67
  }
65
68
  },
66
69
  service_request_id: {
70
+ client_side_validation: true,
67
71
  required: false,
68
72
  serialized_name: 'serviceRequestId',
69
73
  type: {
@@ -71,6 +75,7 @@ module Azure::Resources::Mgmt::V2016_07_01
71
75
  }
72
76
  },
73
77
  status_code: {
78
+ client_side_validation: true,
74
79
  required: false,
75
80
  serialized_name: 'statusCode',
76
81
  type: {
@@ -78,6 +83,7 @@ module Azure::Resources::Mgmt::V2016_07_01
78
83
  }
79
84
  },
80
85
  status_message: {
86
+ client_side_validation: true,
81
87
  required: false,
82
88
  serialized_name: 'statusMessage',
83
89
  type: {
@@ -85,6 +91,7 @@ module Azure::Resources::Mgmt::V2016_07_01
85
91
  }
86
92
  },
87
93
  target_resource: {
94
+ client_side_validation: true,
88
95
  required: false,
89
96
  serialized_name: 'targetResource',
90
97
  type: {
@@ -93,6 +100,7 @@ module Azure::Resources::Mgmt::V2016_07_01
93
100
  }
94
101
  },
95
102
  request: {
103
+ client_side_validation: true,
96
104
  required: false,
97
105
  serialized_name: 'request',
98
106
  type: {
@@ -101,6 +109,7 @@ module Azure::Resources::Mgmt::V2016_07_01
101
109
  }
102
110
  },
103
111
  response: {
112
+ client_side_validation: true,
104
113
  required: false,
105
114
  serialized_name: 'response',
106
115
  type: {