azure_mgmt_resources2 0.19.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1741) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -11
  3. data/lib/2016-02-01/generated/azure_mgmt_resources2/deployment_operations.rb +346 -0
  4. data/lib/2016-02-01/generated/azure_mgmt_resources2/deployments.rb +1149 -0
  5. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +66 -0
  6. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/alias_type.rb +67 -0
  7. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  8. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/debug_setting.rb +47 -0
  9. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  10. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
  11. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +47 -0
  12. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
  13. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  14. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +98 -0
  15. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  16. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +69 -0
  17. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +126 -0
  18. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +98 -0
  19. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +110 -0
  20. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +194 -0
  21. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  22. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  23. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  24. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  25. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/generic_resource.rb +155 -0
  26. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  27. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/http_message.rb +47 -0
  28. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/identity.rb +72 -0
  29. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  30. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/plan.rb +79 -0
  31. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/provider.rb +89 -0
  32. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +98 -0
  33. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
  34. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource.rb +111 -0
  35. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group.rb +104 -0
  36. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +59 -0
  37. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  38. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +98 -0
  39. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  40. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
  41. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +98 -0
  42. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +89 -0
  43. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  44. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  45. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  46. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/sub_resource.rb +47 -0
  47. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  48. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/tag_details.rb +90 -0
  49. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  50. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +98 -0
  51. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  52. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  53. data/lib/2016-02-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  54. data/lib/2016-02-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  55. data/lib/2016-02-01/generated/azure_mgmt_resources2/providers.rb +522 -0
  56. data/lib/2016-02-01/generated/azure_mgmt_resources2/resource_groups.rb +1112 -0
  57. data/lib/2016-02-01/generated/azure_mgmt_resources2/resource_management_client.rb +151 -0
  58. data/lib/2016-02-01/generated/azure_mgmt_resources2/resources.rb +1023 -0
  59. data/lib/2016-02-01/generated/azure_mgmt_resources2/tags.rb +586 -0
  60. data/lib/2016-02-01/generated/azure_mgmt_resources2.rb +82 -0
  61. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/location.rb +108 -0
  62. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/location_list_result.rb +55 -0
  63. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
  64. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
  65. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
  66. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/spending_limit.rb +17 -0
  67. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/subscription.rb +112 -0
  68. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/subscription_list_result.rb +98 -0
  69. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/subscription_policies.rb +76 -0
  70. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/subscription_state.rb +19 -0
  71. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/tenant_id_description.rb +61 -0
  72. data/lib/2016-06-01/generated/azure_mgmt_resources2/models/tenant_list_result.rb +98 -0
  73. data/lib/2016-06-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  74. data/lib/2016-06-01/generated/azure_mgmt_resources2/operations.rb +222 -0
  75. data/lib/2016-06-01/generated/azure_mgmt_resources2/subscription_client.rb +136 -0
  76. data/lib/2016-06-01/generated/azure_mgmt_resources2/subscriptions.rb +409 -0
  77. data/lib/2016-06-01/generated/azure_mgmt_resources2/tenants.rb +222 -0
  78. data/lib/2016-06-01/generated/azure_mgmt_resources2.rb +42 -0
  79. data/lib/2016-07-01/generated/azure_mgmt_resources2/deployment_operations.rb +346 -0
  80. data/lib/2016-07-01/generated/azure_mgmt_resources2/deployments.rb +1149 -0
  81. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  82. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  83. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  84. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/debug_setting.rb +47 -0
  85. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  86. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
  87. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  88. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
  89. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  90. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +98 -0
  91. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  92. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +69 -0
  93. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +126 -0
  94. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +98 -0
  95. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +110 -0
  96. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +194 -0
  97. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  98. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  99. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  100. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  101. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/generic_resource.rb +155 -0
  102. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  103. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/http_message.rb +47 -0
  104. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/identity.rb +72 -0
  105. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  106. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/plan.rb +79 -0
  107. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/provider.rb +89 -0
  108. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +98 -0
  109. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
  110. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource.rb +111 -0
  111. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group.rb +104 -0
  112. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +59 -0
  113. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  114. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +98 -0
  115. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  116. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
  117. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +98 -0
  118. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +89 -0
  119. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  120. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  121. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  122. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/sub_resource.rb +47 -0
  123. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  124. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/tag_details.rb +90 -0
  125. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  126. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +98 -0
  127. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  128. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  129. data/lib/2016-07-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  130. data/lib/2016-07-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  131. data/lib/2016-07-01/generated/azure_mgmt_resources2/providers.rb +522 -0
  132. data/lib/2016-07-01/generated/azure_mgmt_resources2/resource_groups.rb +1112 -0
  133. data/lib/2016-07-01/generated/azure_mgmt_resources2/resource_management_client.rb +153 -0
  134. data/lib/2016-07-01/generated/azure_mgmt_resources2/resources.rb +1023 -0
  135. data/lib/2016-07-01/generated/azure_mgmt_resources2/tags.rb +586 -0
  136. data/lib/2016-07-01/generated/azure_mgmt_resources2.rb +82 -0
  137. data/lib/2016-09-01/generated/azure_mgmt_resources2/deployment_operations.rb +356 -0
  138. data/lib/2016-09-01/generated/azure_mgmt_resources2/deployments.rb +1256 -0
  139. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  140. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  141. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  142. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
  143. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  144. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
  145. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  146. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
  147. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  148. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  149. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  150. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  151. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
  152. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  153. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +124 -0
  154. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +198 -0
  155. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  156. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  157. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  158. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  159. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  160. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  161. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/http_message.rb +47 -0
  162. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/identity.rb +72 -0
  163. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  164. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/plan.rb +79 -0
  165. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/provider.rb +92 -0
  166. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  167. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
  168. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource.rb +111 -0
  169. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group.rb +115 -0
  170. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +59 -0
  171. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  172. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  173. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  174. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
  175. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  176. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +93 -0
  177. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  178. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  179. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  180. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/sub_resource.rb +47 -0
  181. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  182. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  183. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  184. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  185. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  186. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  187. data/lib/2016-09-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  188. data/lib/2016-09-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  189. data/lib/2016-09-01/generated/azure_mgmt_resources2/providers.rb +530 -0
  190. data/lib/2016-09-01/generated/azure_mgmt_resources2/resource_groups.rb +1131 -0
  191. data/lib/2016-09-01/generated/azure_mgmt_resources2/resource_management_client.rb +151 -0
  192. data/lib/2016-09-01/generated/azure_mgmt_resources2/resources.rb +1814 -0
  193. data/lib/2016-09-01/generated/azure_mgmt_resources2/tags.rb +611 -0
  194. data/lib/2016-09-01/generated/azure_mgmt_resources2.rb +82 -0
  195. data/lib/2017-05-10/generated/azure_mgmt_resources2/deployment_operations.rb +356 -0
  196. data/lib/2017-05-10/generated/azure_mgmt_resources2/deployments.rb +1256 -0
  197. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  198. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  199. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  200. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
  201. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  202. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
  203. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  204. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
  205. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  206. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  207. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  208. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  209. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
  210. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  211. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_properties.rb +124 -0
  212. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +198 -0
  213. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  214. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  215. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  216. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  217. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  218. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  219. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  220. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/identity.rb +72 -0
  221. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  222. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  223. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/provider.rb +92 -0
  224. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  225. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
  226. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  227. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group.rb +115 -0
  228. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  229. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  230. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  231. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  232. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  233. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
  234. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  235. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
  236. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  237. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  238. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  239. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  240. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  241. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  242. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  243. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  244. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  245. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  246. data/lib/2017-05-10/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  247. data/lib/2017-05-10/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  248. data/lib/2017-05-10/generated/azure_mgmt_resources2/providers.rb +530 -0
  249. data/lib/2017-05-10/generated/azure_mgmt_resources2/resource_groups.rb +907 -0
  250. data/lib/2017-05-10/generated/azure_mgmt_resources2/resource_management_client.rb +151 -0
  251. data/lib/2017-05-10/generated/azure_mgmt_resources2/resources.rb +2210 -0
  252. data/lib/2017-05-10/generated/azure_mgmt_resources2/tags.rb +611 -0
  253. data/lib/2017-05-10/generated/azure_mgmt_resources2.rb +83 -0
  254. data/lib/2018-02-01/generated/azure_mgmt_resources2/deployment_operations.rb +356 -0
  255. data/lib/2018-02-01/generated/azure_mgmt_resources2/deployments.rb +1256 -0
  256. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  257. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  258. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  259. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
  260. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  261. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
  262. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  263. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
  264. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  265. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  266. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  267. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  268. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
  269. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  270. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
  271. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +210 -0
  272. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  273. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  274. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  275. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  276. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  277. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  278. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  279. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/identity.rb +73 -0
  280. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
  281. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
  282. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
  283. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  284. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  285. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/provider.rb +92 -0
  286. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  287. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
  288. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  289. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group.rb +115 -0
  290. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  291. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  292. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  293. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  294. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  295. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
  296. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  297. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
  298. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  299. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  300. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  301. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  302. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  303. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  304. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  305. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  306. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  307. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  308. data/lib/2018-02-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  309. data/lib/2018-02-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  310. data/lib/2018-02-01/generated/azure_mgmt_resources2/providers.rb +530 -0
  311. data/lib/2018-02-01/generated/azure_mgmt_resources2/resource_groups.rb +907 -0
  312. data/lib/2018-02-01/generated/azure_mgmt_resources2/resource_management_client.rb +151 -0
  313. data/lib/2018-02-01/generated/azure_mgmt_resources2/resources.rb +2210 -0
  314. data/lib/2018-02-01/generated/azure_mgmt_resources2/tags.rb +611 -0
  315. data/lib/2018-02-01/generated/azure_mgmt_resources2.rb +86 -0
  316. data/lib/2018-05-01/generated/azure_mgmt_resources2/deployment_operations.rb +665 -0
  317. data/lib/2018-05-01/generated/azure_mgmt_resources2/deployments.rb +2286 -0
  318. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  319. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  320. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  321. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
  322. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  323. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
  324. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  325. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
  326. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  327. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  328. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  329. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  330. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
  331. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  332. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
  333. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +210 -0
  334. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  335. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  336. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  337. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  338. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  339. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  340. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  341. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
  342. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
  343. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
  344. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
  345. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
  346. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
  347. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
  348. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
  349. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  350. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  351. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/provider.rb +92 -0
  352. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  353. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
  354. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  355. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
  356. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  357. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  358. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  359. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  360. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  361. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
  362. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  363. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
  364. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  365. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  366. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  367. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  368. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  369. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  370. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  371. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  372. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  373. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  374. data/lib/2018-05-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  375. data/lib/2018-05-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  376. data/lib/2018-05-01/generated/azure_mgmt_resources2/operations.rb +219 -0
  377. data/lib/2018-05-01/generated/azure_mgmt_resources2/providers.rb +530 -0
  378. data/lib/2018-05-01/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
  379. data/lib/2018-05-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
  380. data/lib/2018-05-01/generated/azure_mgmt_resources2/resources.rb +2338 -0
  381. data/lib/2018-05-01/generated/azure_mgmt_resources2/tags.rb +611 -0
  382. data/lib/2018-05-01/generated/azure_mgmt_resources2.rb +91 -0
  383. data/lib/2018-06-01/generated/azure_mgmt_resources2/application_client.rb +135 -0
  384. data/lib/2018-06-01/generated/azure_mgmt_resources2/application_definitions.rb +1052 -0
  385. data/lib/2018-06-01/generated/azure_mgmt_resources2/applications.rb +1467 -0
  386. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application.rb +202 -0
  387. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_artifact.rb +70 -0
  388. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_artifact_type.rb +16 -0
  389. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_definition.rb +240 -0
  390. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_definition_list_result.rb +99 -0
  391. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_list_result.rb +98 -0
  392. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_lock_level.rb +17 -0
  393. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_patchable.rb +202 -0
  394. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_provider_authorization.rb +62 -0
  395. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/error_response.rb +69 -0
  396. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/generic_resource.rb +121 -0
  397. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/identity.rb +72 -0
  398. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  399. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/plan_patchable.rb +90 -0
  400. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/provisioning_state.rb +25 -0
  401. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  402. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
  403. data/lib/2018-06-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  404. data/lib/2018-06-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  405. data/lib/2018-06-01/generated/azure_mgmt_resources2.rb +47 -0
  406. data/lib/2019-03-01/generated/azure_mgmt_resources2/deployment_operations.rb +665 -0
  407. data/lib/2019-03-01/generated/azure_mgmt_resources2/deployments.rb +2286 -0
  408. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  409. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  410. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  411. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
  412. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  413. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
  414. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  415. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
  416. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  417. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  418. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  419. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  420. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
  421. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  422. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
  423. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +210 -0
  424. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  425. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  426. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  427. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  428. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  429. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  430. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  431. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
  432. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
  433. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
  434. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
  435. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
  436. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
  437. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
  438. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
  439. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  440. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  441. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
  442. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  443. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
  444. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  445. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
  446. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  447. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  448. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  449. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  450. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  451. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
  452. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  453. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
  454. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  455. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  456. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  457. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  458. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  459. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  460. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  461. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  462. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  463. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  464. data/lib/2019-03-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  465. data/lib/2019-03-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  466. data/lib/2019-03-01/generated/azure_mgmt_resources2/operations.rb +219 -0
  467. data/lib/2019-03-01/generated/azure_mgmt_resources2/providers.rb +530 -0
  468. data/lib/2019-03-01/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
  469. data/lib/2019-03-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
  470. data/lib/2019-03-01/generated/azure_mgmt_resources2/resources.rb +2338 -0
  471. data/lib/2019-03-01/generated/azure_mgmt_resources2/tags.rb +611 -0
  472. data/lib/2019-03-01/generated/azure_mgmt_resources2.rb +91 -0
  473. data/lib/2019-05-01/generated/azure_mgmt_resources2/deployment_operations.rb +973 -0
  474. data/lib/2019-05-01/generated/azure_mgmt_resources2/deployments.rb +3352 -0
  475. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  476. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  477. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  478. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
  479. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  480. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
  481. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  482. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
  483. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  484. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  485. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  486. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  487. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +146 -0
  488. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  489. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
  490. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +222 -0
  491. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  492. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  493. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  494. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  495. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  496. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  497. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  498. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
  499. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
  500. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
  501. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
  502. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
  503. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
  504. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
  505. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
  506. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  507. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  508. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
  509. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  510. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
  511. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  512. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
  513. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  514. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  515. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  516. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  517. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  518. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
  519. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  520. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
  521. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  522. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  523. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  524. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  525. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  526. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  527. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  528. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  529. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  530. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  531. data/lib/2019-05-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  532. data/lib/2019-05-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  533. data/lib/2019-05-01/generated/azure_mgmt_resources2/operations.rb +219 -0
  534. data/lib/2019-05-01/generated/azure_mgmt_resources2/providers.rb +530 -0
  535. data/lib/2019-05-01/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
  536. data/lib/2019-05-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
  537. data/lib/2019-05-01/generated/azure_mgmt_resources2/resources.rb +2338 -0
  538. data/lib/2019-05-01/generated/azure_mgmt_resources2/tags.rb +611 -0
  539. data/lib/2019-05-01/generated/azure_mgmt_resources2.rb +91 -0
  540. data/lib/2019-05-10/generated/azure_mgmt_resources2/deployment_operations.rb +973 -0
  541. data/lib/2019-05-10/generated/azure_mgmt_resources2/deployments.rb +3352 -0
  542. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  543. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  544. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  545. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
  546. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  547. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
  548. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  549. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
  550. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  551. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  552. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  553. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  554. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +146 -0
  555. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  556. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
  557. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +222 -0
  558. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  559. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  560. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  561. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  562. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  563. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  564. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  565. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/identity.rb +96 -0
  566. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
  567. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
  568. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
  569. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
  570. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/operation.rb +58 -0
  571. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
  572. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
  573. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  574. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  575. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/provider.rb +104 -0
  576. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  577. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
  578. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  579. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
  580. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  581. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  582. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  583. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  584. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  585. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
  586. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  587. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
  588. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  589. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  590. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  591. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  592. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  593. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  594. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  595. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  596. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  597. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  598. data/lib/2019-05-10/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  599. data/lib/2019-05-10/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  600. data/lib/2019-05-10/generated/azure_mgmt_resources2/operations.rb +219 -0
  601. data/lib/2019-05-10/generated/azure_mgmt_resources2/providers.rb +846 -0
  602. data/lib/2019-05-10/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
  603. data/lib/2019-05-10/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
  604. data/lib/2019-05-10/generated/azure_mgmt_resources2/resources.rb +2338 -0
  605. data/lib/2019-05-10/generated/azure_mgmt_resources2/tags.rb +611 -0
  606. data/lib/2019-05-10/generated/azure_mgmt_resources2.rb +91 -0
  607. data/lib/2019-07-01/generated/azure_mgmt_resources2/deployment_operations.rb +1588 -0
  608. data/lib/2019-07-01/generated/azure_mgmt_resources2/deployments.rb +5740 -0
  609. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
  610. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
  611. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  612. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/change_type.rb +20 -0
  613. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
  614. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  615. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
  616. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  617. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
  618. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  619. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  620. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  621. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  622. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +146 -0
  623. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  624. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
  625. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +222 -0
  626. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
  627. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_what_if.rb +58 -0
  628. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_what_if_properties.rb +108 -0
  629. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_what_if_settings.rb +48 -0
  630. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  631. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
  632. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  633. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  634. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  635. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  636. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
  637. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
  638. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
  639. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
  640. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
  641. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
  642. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
  643. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
  644. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  645. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  646. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/property_change_type.rb +18 -0
  647. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
  648. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  649. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
  650. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  651. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
  652. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  653. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  654. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  655. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  656. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  657. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
  658. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  659. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  660. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  661. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  662. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  663. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  664. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  665. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  666. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  667. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  668. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  669. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  670. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/what_if_change.rb +105 -0
  671. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/what_if_operation_result.rb +80 -0
  672. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/what_if_property_change.rb +101 -0
  673. data/lib/2019-07-01/generated/azure_mgmt_resources2/models/what_if_result_format.rb +16 -0
  674. data/lib/2019-07-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  675. data/lib/2019-07-01/generated/azure_mgmt_resources2/operations.rb +219 -0
  676. data/lib/2019-07-01/generated/azure_mgmt_resources2/providers.rb +846 -0
  677. data/lib/2019-07-01/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
  678. data/lib/2019-07-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
  679. data/lib/2019-07-01/generated/azure_mgmt_resources2/resources.rb +2338 -0
  680. data/lib/2019-07-01/generated/azure_mgmt_resources2/tags.rb +611 -0
  681. data/lib/2019-07-01/generated/azure_mgmt_resources2.rb +99 -0
  682. data/lib/2019-10-01/generated/azure_mgmt_resources2/deployment_operations.rb +1590 -0
  683. data/lib/2019-10-01/generated/azure_mgmt_resources2/deployments.rb +6276 -0
  684. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_model.rb +102 -0
  685. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_path.rb +77 -0
  686. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_pattern.rb +70 -0
  687. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_pattern_type.rb +16 -0
  688. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_type.rb +17 -0
  689. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  690. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/change_type.rb +20 -0
  691. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
  692. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  693. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment.rb +77 -0
  694. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  695. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +113 -0
  696. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  697. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  698. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  699. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  700. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +162 -0
  701. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  702. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
  703. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +284 -0
  704. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +61 -0
  705. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_what_if.rb +58 -0
  706. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_what_if_properties.rb +108 -0
  707. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_what_if_settings.rb +48 -0
  708. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  709. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/error_response.rb +117 -0
  710. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  711. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  712. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/generic_resource_expanded.rb +179 -0
  713. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  714. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  715. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
  716. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
  717. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
  718. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
  719. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
  720. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
  721. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
  722. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
  723. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  724. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  725. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/property_change_type.rb +18 -0
  726. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
  727. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  728. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
  729. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/provisioning_operation.rb +24 -0
  730. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  731. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
  732. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  733. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  734. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  735. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  736. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  737. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
  738. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  739. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  740. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_reference.rb +47 -0
  741. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  742. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/scoped_deployment.rb +77 -0
  743. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/scoped_deployment_what_if.rb +58 -0
  744. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  745. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  746. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  747. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  748. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  749. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags.rb +54 -0
  750. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  751. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags_patch_operation.rb +17 -0
  752. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags_patch_resource.rb +59 -0
  753. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags_resource.rb +83 -0
  754. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  755. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  756. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
  757. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/what_if_change.rb +105 -0
  758. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/what_if_operation_result.rb +80 -0
  759. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/what_if_property_change.rb +101 -0
  760. data/lib/2019-10-01/generated/azure_mgmt_resources2/models/what_if_result_format.rb +16 -0
  761. data/lib/2019-10-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  762. data/lib/2019-10-01/generated/azure_mgmt_resources2/operations.rb +219 -0
  763. data/lib/2019-10-01/generated/azure_mgmt_resources2/providers.rb +846 -0
  764. data/lib/2019-10-01/generated/azure_mgmt_resources2/resource_groups.rb +964 -0
  765. data/lib/2019-10-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
  766. data/lib/2019-10-01/generated/azure_mgmt_resources2/resources.rb +2354 -0
  767. data/lib/2019-10-01/generated/azure_mgmt_resources2/tags_operations.rb +1078 -0
  768. data/lib/2019-10-01/generated/azure_mgmt_resources2.rb +111 -0
  769. data/lib/2020-06-01/generated/azure_mgmt_resources2/deployment_operations.rb +1590 -0
  770. data/lib/2020-06-01/generated/azure_mgmt_resources2/deployments.rb +6276 -0
  771. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_model.rb +116 -0
  772. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_path.rb +91 -0
  773. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_path_attributes.rb +16 -0
  774. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_path_metadata.rb +64 -0
  775. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_path_token_type.rb +22 -0
  776. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_pattern.rb +70 -0
  777. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_pattern_type.rb +16 -0
  778. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_type.rb +17 -0
  779. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/api_profile.rb +60 -0
  780. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
  781. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/change_type.rb +20 -0
  782. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
  783. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
  784. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment.rb +77 -0
  785. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
  786. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +113 -0
  787. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
  788. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
  789. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
  790. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
  791. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +166 -0
  792. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
  793. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +151 -0
  794. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +287 -0
  795. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +61 -0
  796. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_what_if.rb +58 -0
  797. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_what_if_properties.rb +117 -0
  798. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_what_if_settings.rb +48 -0
  799. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
  800. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/error_response.rb +117 -0
  801. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
  802. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/expression_evaluation_options.rb +49 -0
  803. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/expression_evaluation_options_scope_type.rb +17 -0
  804. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
  805. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/generic_resource_expanded.rb +179 -0
  806. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
  807. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
  808. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
  809. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
  810. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
  811. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
  812. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
  813. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
  814. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
  815. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
  816. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
  817. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
  818. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/property_change_type.rb +18 -0
  819. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
  820. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
  821. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +170 -0
  822. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provisioning_operation.rb +24 -0
  823. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provisioning_state.rb +26 -0
  824. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
  825. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
  826. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
  827. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
  828. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
  829. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
  830. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
  831. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
  832. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
  833. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
  834. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_reference.rb +47 -0
  835. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
  836. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/scoped_deployment.rb +77 -0
  837. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/scoped_deployment_what_if.rb +58 -0
  838. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
  839. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/status_message.rb +58 -0
  840. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
  841. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
  842. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
  843. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
  844. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags.rb +54 -0
  845. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
  846. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags_patch_operation.rb +17 -0
  847. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags_patch_resource.rb +59 -0
  848. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags_resource.rb +83 -0
  849. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
  850. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
  851. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/template_link.rb +84 -0
  852. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/what_if_change.rb +105 -0
  853. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/what_if_operation_result.rb +80 -0
  854. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/what_if_property_change.rb +101 -0
  855. data/lib/2020-06-01/generated/azure_mgmt_resources2/models/what_if_result_format.rb +16 -0
  856. data/lib/2020-06-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
  857. data/lib/2020-06-01/generated/azure_mgmt_resources2/operations.rb +219 -0
  858. data/lib/2020-06-01/generated/azure_mgmt_resources2/providers.rb +933 -0
  859. data/lib/2020-06-01/generated/azure_mgmt_resources2/resource_groups.rb +979 -0
  860. data/lib/2020-06-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
  861. data/lib/2020-06-01/generated/azure_mgmt_resources2/resources.rb +2354 -0
  862. data/lib/2020-06-01/generated/azure_mgmt_resources2/tags_operations.rb +1078 -0
  863. data/lib/2020-06-01/generated/azure_mgmt_resources2.rb +119 -0
  864. data/lib/azure_mgmt_resources2.rb +22 -0
  865. data/lib/module_definition.rb +2 -2
  866. data/lib/profiles/latest/modules/resources_profile_module.rb +180 -180
  867. data/lib/profiles/latest/resources_latest_profile_client.rb +3 -3
  868. data/lib/profiles/latest/resources_module_definition.rb +3 -3
  869. data/lib/profiles/v2017_03_09/modules/resources_profile_module.rb +107 -107
  870. data/lib/profiles/v2017_03_09/resources_module_definition.rb +3 -3
  871. data/lib/profiles/v2017_03_09/resources_v2017_03_09_profile_client.rb +3 -3
  872. data/lib/profiles/v2018_03_01/modules/resources_profile_module.rb +115 -115
  873. data/lib/profiles/v2018_03_01/resources_module_definition.rb +3 -3
  874. data/lib/profiles/v2018_03_01/resources_v2018_03_01_profile_client.rb +3 -3
  875. data/lib/profiles/v2019_03_01_hybrid/modules/resources_profile_module.rb +124 -124
  876. data/lib/profiles/v2019_03_01_hybrid/resources_module_definition.rb +3 -3
  877. data/lib/profiles/v2019_03_01_hybrid/resources_v2019_03_01_hybrid_profile_client.rb +3 -3
  878. data/lib/version.rb +2 -2
  879. metadata +867 -873
  880. data/lib/2016-02-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -346
  881. data/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb +0 -1149
  882. data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -66
  883. data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -67
  884. data/lib/2016-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  885. data/lib/2016-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -47
  886. data/lib/2016-02-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  887. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment.rb +0 -47
  888. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -47
  889. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
  890. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  891. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -98
  892. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  893. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -69
  894. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -126
  895. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -98
  896. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -110
  897. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -194
  898. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  899. data/lib/2016-02-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  900. data/lib/2016-02-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  901. data/lib/2016-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  902. data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -155
  903. data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  904. data/lib/2016-02-01/generated/azure_mgmt_resources/models/http_message.rb +0 -47
  905. data/lib/2016-02-01/generated/azure_mgmt_resources/models/identity.rb +0 -72
  906. data/lib/2016-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  907. data/lib/2016-02-01/generated/azure_mgmt_resources/models/plan.rb +0 -79
  908. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider.rb +0 -89
  909. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -98
  910. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
  911. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource.rb +0 -111
  912. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -104
  913. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -59
  914. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  915. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -98
  916. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  917. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
  918. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -98
  919. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -89
  920. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  921. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  922. data/lib/2016-02-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  923. data/lib/2016-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -47
  924. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  925. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -90
  926. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  927. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -98
  928. data/lib/2016-02-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  929. data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  930. data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  931. data/lib/2016-02-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  932. data/lib/2016-02-01/generated/azure_mgmt_resources/providers.rb +0 -522
  933. data/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb +0 -1112
  934. data/lib/2016-02-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -151
  935. data/lib/2016-02-01/generated/azure_mgmt_resources/resources.rb +0 -1023
  936. data/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb +0 -586
  937. data/lib/2016-02-01/generated/azure_mgmt_resources.rb +0 -82
  938. data/lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb +0 -108
  939. data/lib/2016-06-01/generated/azure_mgmt_resources/models/location_list_result.rb +0 -55
  940. data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
  941. data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
  942. data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
  943. data/lib/2016-06-01/generated/azure_mgmt_resources/models/spending_limit.rb +0 -17
  944. data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription.rb +0 -112
  945. data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_list_result.rb +0 -98
  946. data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_policies.rb +0 -76
  947. data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_state.rb +0 -19
  948. data/lib/2016-06-01/generated/azure_mgmt_resources/models/tenant_id_description.rb +0 -61
  949. data/lib/2016-06-01/generated/azure_mgmt_resources/models/tenant_list_result.rb +0 -98
  950. data/lib/2016-06-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  951. data/lib/2016-06-01/generated/azure_mgmt_resources/operations.rb +0 -222
  952. data/lib/2016-06-01/generated/azure_mgmt_resources/subscription_client.rb +0 -136
  953. data/lib/2016-06-01/generated/azure_mgmt_resources/subscriptions.rb +0 -409
  954. data/lib/2016-06-01/generated/azure_mgmt_resources/tenants.rb +0 -222
  955. data/lib/2016-06-01/generated/azure_mgmt_resources.rb +0 -42
  956. data/lib/2016-07-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -346
  957. data/lib/2016-07-01/generated/azure_mgmt_resources/deployments.rb +0 -1149
  958. data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  959. data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  960. data/lib/2016-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  961. data/lib/2016-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -47
  962. data/lib/2016-07-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  963. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment.rb +0 -47
  964. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  965. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
  966. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  967. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -98
  968. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  969. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -69
  970. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -126
  971. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -98
  972. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -110
  973. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -194
  974. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  975. data/lib/2016-07-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  976. data/lib/2016-07-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  977. data/lib/2016-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  978. data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -155
  979. data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  980. data/lib/2016-07-01/generated/azure_mgmt_resources/models/http_message.rb +0 -47
  981. data/lib/2016-07-01/generated/azure_mgmt_resources/models/identity.rb +0 -72
  982. data/lib/2016-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  983. data/lib/2016-07-01/generated/azure_mgmt_resources/models/plan.rb +0 -79
  984. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider.rb +0 -89
  985. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -98
  986. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
  987. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource.rb +0 -111
  988. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -104
  989. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -59
  990. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  991. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -98
  992. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  993. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
  994. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -98
  995. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -89
  996. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  997. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  998. data/lib/2016-07-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  999. data/lib/2016-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -47
  1000. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1001. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -90
  1002. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1003. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -98
  1004. data/lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1005. data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1006. data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1007. data/lib/2016-07-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1008. data/lib/2016-07-01/generated/azure_mgmt_resources/providers.rb +0 -522
  1009. data/lib/2016-07-01/generated/azure_mgmt_resources/resource_groups.rb +0 -1112
  1010. data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -153
  1011. data/lib/2016-07-01/generated/azure_mgmt_resources/resources.rb +0 -1023
  1012. data/lib/2016-07-01/generated/azure_mgmt_resources/tags.rb +0 -586
  1013. data/lib/2016-07-01/generated/azure_mgmt_resources.rb +0 -82
  1014. data/lib/2016-09-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -356
  1015. data/lib/2016-09-01/generated/azure_mgmt_resources/deployments.rb +0 -1256
  1016. data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  1017. data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  1018. data/lib/2016-09-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1019. data/lib/2016-09-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
  1020. data/lib/2016-09-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1021. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment.rb +0 -47
  1022. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1023. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
  1024. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1025. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1026. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1027. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1028. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
  1029. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1030. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -124
  1031. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -198
  1032. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  1033. data/lib/2016-09-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1034. data/lib/2016-09-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  1035. data/lib/2016-09-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1036. data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1037. data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1038. data/lib/2016-09-01/generated/azure_mgmt_resources/models/http_message.rb +0 -47
  1039. data/lib/2016-09-01/generated/azure_mgmt_resources/models/identity.rb +0 -72
  1040. data/lib/2016-09-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1041. data/lib/2016-09-01/generated/azure_mgmt_resources/models/plan.rb +0 -79
  1042. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider.rb +0 -92
  1043. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1044. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
  1045. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource.rb +0 -111
  1046. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -115
  1047. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -59
  1048. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1049. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1050. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1051. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
  1052. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1053. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -93
  1054. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1055. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1056. data/lib/2016-09-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1057. data/lib/2016-09-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -47
  1058. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1059. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1060. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1061. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1062. data/lib/2016-09-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1063. data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1064. data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1065. data/lib/2016-09-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1066. data/lib/2016-09-01/generated/azure_mgmt_resources/providers.rb +0 -530
  1067. data/lib/2016-09-01/generated/azure_mgmt_resources/resource_groups.rb +0 -1131
  1068. data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -151
  1069. data/lib/2016-09-01/generated/azure_mgmt_resources/resources.rb +0 -1814
  1070. data/lib/2016-09-01/generated/azure_mgmt_resources/tags.rb +0 -611
  1071. data/lib/2016-09-01/generated/azure_mgmt_resources.rb +0 -82
  1072. data/lib/2017-05-10/generated/azure_mgmt_resources/deployment_operations.rb +0 -356
  1073. data/lib/2017-05-10/generated/azure_mgmt_resources/deployments.rb +0 -1256
  1074. data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  1075. data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  1076. data/lib/2017-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1077. data/lib/2017-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
  1078. data/lib/2017-05-10/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1079. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment.rb +0 -47
  1080. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1081. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
  1082. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1083. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1084. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1085. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1086. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
  1087. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1088. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -124
  1089. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -198
  1090. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  1091. data/lib/2017-05-10/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1092. data/lib/2017-05-10/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  1093. data/lib/2017-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1094. data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1095. data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1096. data/lib/2017-05-10/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1097. data/lib/2017-05-10/generated/azure_mgmt_resources/models/identity.rb +0 -72
  1098. data/lib/2017-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1099. data/lib/2017-05-10/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1100. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider.rb +0 -92
  1101. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1102. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
  1103. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1104. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group.rb +0 -115
  1105. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1106. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1107. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1108. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1109. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1110. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
  1111. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1112. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
  1113. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1114. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1115. data/lib/2017-05-10/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1116. data/lib/2017-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1117. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1118. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1119. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1120. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1121. data/lib/2017-05-10/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1122. data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1123. data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1124. data/lib/2017-05-10/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1125. data/lib/2017-05-10/generated/azure_mgmt_resources/providers.rb +0 -530
  1126. data/lib/2017-05-10/generated/azure_mgmt_resources/resource_groups.rb +0 -907
  1127. data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +0 -151
  1128. data/lib/2017-05-10/generated/azure_mgmt_resources/resources.rb +0 -2210
  1129. data/lib/2017-05-10/generated/azure_mgmt_resources/tags.rb +0 -611
  1130. data/lib/2017-05-10/generated/azure_mgmt_resources.rb +0 -83
  1131. data/lib/2018-02-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -356
  1132. data/lib/2018-02-01/generated/azure_mgmt_resources/deployments.rb +0 -1256
  1133. data/lib/2018-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  1134. data/lib/2018-02-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  1135. data/lib/2018-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1136. data/lib/2018-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
  1137. data/lib/2018-02-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1138. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment.rb +0 -47
  1139. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1140. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
  1141. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1142. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1143. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1144. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1145. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
  1146. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1147. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
  1148. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -210
  1149. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  1150. data/lib/2018-02-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1151. data/lib/2018-02-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  1152. data/lib/2018-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1153. data/lib/2018-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1154. data/lib/2018-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1155. data/lib/2018-02-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1156. data/lib/2018-02-01/generated/azure_mgmt_resources/models/identity.rb +0 -73
  1157. data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
  1158. data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
  1159. data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
  1160. data/lib/2018-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1161. data/lib/2018-02-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1162. data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider.rb +0 -92
  1163. data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1164. data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
  1165. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1166. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -115
  1167. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1168. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1169. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1170. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1171. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1172. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
  1173. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1174. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
  1175. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1176. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1177. data/lib/2018-02-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1178. data/lib/2018-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1179. data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1180. data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1181. data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1182. data/lib/2018-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1183. data/lib/2018-02-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1184. data/lib/2018-02-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1185. data/lib/2018-02-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1186. data/lib/2018-02-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1187. data/lib/2018-02-01/generated/azure_mgmt_resources/providers.rb +0 -530
  1188. data/lib/2018-02-01/generated/azure_mgmt_resources/resource_groups.rb +0 -907
  1189. data/lib/2018-02-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -151
  1190. data/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb +0 -2210
  1191. data/lib/2018-02-01/generated/azure_mgmt_resources/tags.rb +0 -611
  1192. data/lib/2018-02-01/generated/azure_mgmt_resources.rb +0 -86
  1193. data/lib/2018-05-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -665
  1194. data/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb +0 -2286
  1195. data/lib/2018-05-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  1196. data/lib/2018-05-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  1197. data/lib/2018-05-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1198. data/lib/2018-05-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
  1199. data/lib/2018-05-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1200. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment.rb +0 -58
  1201. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1202. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
  1203. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1204. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1205. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1206. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1207. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
  1208. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1209. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
  1210. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -210
  1211. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  1212. data/lib/2018-05-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1213. data/lib/2018-05-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  1214. data/lib/2018-05-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1215. data/lib/2018-05-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1216. data/lib/2018-05-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1217. data/lib/2018-05-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1218. data/lib/2018-05-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
  1219. data/lib/2018-05-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
  1220. data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
  1221. data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
  1222. data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
  1223. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
  1224. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
  1225. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
  1226. data/lib/2018-05-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1227. data/lib/2018-05-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1228. data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider.rb +0 -92
  1229. data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1230. data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
  1231. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1232. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
  1233. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1234. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1235. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1236. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1237. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1238. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
  1239. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1240. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
  1241. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1242. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1243. data/lib/2018-05-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1244. data/lib/2018-05-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1245. data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1246. data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1247. data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1248. data/lib/2018-05-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1249. data/lib/2018-05-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1250. data/lib/2018-05-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1251. data/lib/2018-05-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1252. data/lib/2018-05-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1253. data/lib/2018-05-01/generated/azure_mgmt_resources/operations.rb +0 -219
  1254. data/lib/2018-05-01/generated/azure_mgmt_resources/providers.rb +0 -530
  1255. data/lib/2018-05-01/generated/azure_mgmt_resources/resource_groups.rb +0 -918
  1256. data/lib/2018-05-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
  1257. data/lib/2018-05-01/generated/azure_mgmt_resources/resources.rb +0 -2338
  1258. data/lib/2018-05-01/generated/azure_mgmt_resources/tags.rb +0 -611
  1259. data/lib/2018-05-01/generated/azure_mgmt_resources.rb +0 -91
  1260. data/lib/2018-06-01/generated/azure_mgmt_resources/application_client.rb +0 -135
  1261. data/lib/2018-06-01/generated/azure_mgmt_resources/application_definitions.rb +0 -1052
  1262. data/lib/2018-06-01/generated/azure_mgmt_resources/applications.rb +0 -1467
  1263. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application.rb +0 -202
  1264. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_artifact.rb +0 -70
  1265. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_artifact_type.rb +0 -16
  1266. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb +0 -240
  1267. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition_list_result.rb +0 -99
  1268. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_list_result.rb +0 -98
  1269. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_lock_level.rb +0 -17
  1270. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_patchable.rb +0 -202
  1271. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb +0 -62
  1272. data/lib/2018-06-01/generated/azure_mgmt_resources/models/error_response.rb +0 -69
  1273. data/lib/2018-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -121
  1274. data/lib/2018-06-01/generated/azure_mgmt_resources/models/identity.rb +0 -72
  1275. data/lib/2018-06-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1276. data/lib/2018-06-01/generated/azure_mgmt_resources/models/plan_patchable.rb +0 -90
  1277. data/lib/2018-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +0 -25
  1278. data/lib/2018-06-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1279. data/lib/2018-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
  1280. data/lib/2018-06-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1281. data/lib/2018-06-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1282. data/lib/2018-06-01/generated/azure_mgmt_resources.rb +0 -47
  1283. data/lib/2019-03-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -665
  1284. data/lib/2019-03-01/generated/azure_mgmt_resources/deployments.rb +0 -2286
  1285. data/lib/2019-03-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  1286. data/lib/2019-03-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  1287. data/lib/2019-03-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1288. data/lib/2019-03-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
  1289. data/lib/2019-03-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1290. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment.rb +0 -58
  1291. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1292. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
  1293. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1294. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1295. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1296. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1297. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
  1298. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1299. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
  1300. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -210
  1301. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  1302. data/lib/2019-03-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1303. data/lib/2019-03-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  1304. data/lib/2019-03-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1305. data/lib/2019-03-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1306. data/lib/2019-03-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1307. data/lib/2019-03-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1308. data/lib/2019-03-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
  1309. data/lib/2019-03-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
  1310. data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
  1311. data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
  1312. data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
  1313. data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
  1314. data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
  1315. data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
  1316. data/lib/2019-03-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1317. data/lib/2019-03-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1318. data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
  1319. data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1320. data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
  1321. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1322. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
  1323. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1324. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1325. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1326. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1327. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1328. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
  1329. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1330. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
  1331. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1332. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1333. data/lib/2019-03-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1334. data/lib/2019-03-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1335. data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1336. data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1337. data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1338. data/lib/2019-03-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1339. data/lib/2019-03-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1340. data/lib/2019-03-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1341. data/lib/2019-03-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1342. data/lib/2019-03-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1343. data/lib/2019-03-01/generated/azure_mgmt_resources/operations.rb +0 -219
  1344. data/lib/2019-03-01/generated/azure_mgmt_resources/providers.rb +0 -530
  1345. data/lib/2019-03-01/generated/azure_mgmt_resources/resource_groups.rb +0 -918
  1346. data/lib/2019-03-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
  1347. data/lib/2019-03-01/generated/azure_mgmt_resources/resources.rb +0 -2338
  1348. data/lib/2019-03-01/generated/azure_mgmt_resources/tags.rb +0 -611
  1349. data/lib/2019-03-01/generated/azure_mgmt_resources.rb +0 -91
  1350. data/lib/2019-05-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -973
  1351. data/lib/2019-05-01/generated/azure_mgmt_resources/deployments.rb +0 -3352
  1352. data/lib/2019-05-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  1353. data/lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  1354. data/lib/2019-05-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1355. data/lib/2019-05-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
  1356. data/lib/2019-05-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1357. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment.rb +0 -58
  1358. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1359. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
  1360. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1361. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1362. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1363. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1364. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -146
  1365. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1366. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
  1367. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -222
  1368. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  1369. data/lib/2019-05-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1370. data/lib/2019-05-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  1371. data/lib/2019-05-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1372. data/lib/2019-05-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1373. data/lib/2019-05-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1374. data/lib/2019-05-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1375. data/lib/2019-05-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
  1376. data/lib/2019-05-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
  1377. data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
  1378. data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
  1379. data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
  1380. data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
  1381. data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
  1382. data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
  1383. data/lib/2019-05-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1384. data/lib/2019-05-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1385. data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
  1386. data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1387. data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
  1388. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1389. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
  1390. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1391. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1392. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1393. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1394. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1395. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
  1396. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1397. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
  1398. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1399. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1400. data/lib/2019-05-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1401. data/lib/2019-05-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1402. data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1403. data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1404. data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1405. data/lib/2019-05-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1406. data/lib/2019-05-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1407. data/lib/2019-05-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1408. data/lib/2019-05-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1409. data/lib/2019-05-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1410. data/lib/2019-05-01/generated/azure_mgmt_resources/operations.rb +0 -219
  1411. data/lib/2019-05-01/generated/azure_mgmt_resources/providers.rb +0 -530
  1412. data/lib/2019-05-01/generated/azure_mgmt_resources/resource_groups.rb +0 -918
  1413. data/lib/2019-05-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
  1414. data/lib/2019-05-01/generated/azure_mgmt_resources/resources.rb +0 -2338
  1415. data/lib/2019-05-01/generated/azure_mgmt_resources/tags.rb +0 -611
  1416. data/lib/2019-05-01/generated/azure_mgmt_resources.rb +0 -91
  1417. data/lib/2019-05-10/generated/azure_mgmt_resources/deployment_operations.rb +0 -973
  1418. data/lib/2019-05-10/generated/azure_mgmt_resources/deployments.rb +0 -3352
  1419. data/lib/2019-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  1420. data/lib/2019-05-10/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  1421. data/lib/2019-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1422. data/lib/2019-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
  1423. data/lib/2019-05-10/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1424. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment.rb +0 -58
  1425. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1426. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
  1427. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1428. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1429. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1430. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1431. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -146
  1432. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1433. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
  1434. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -222
  1435. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  1436. data/lib/2019-05-10/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1437. data/lib/2019-05-10/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  1438. data/lib/2019-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1439. data/lib/2019-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1440. data/lib/2019-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1441. data/lib/2019-05-10/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1442. data/lib/2019-05-10/generated/azure_mgmt_resources/models/identity.rb +0 -96
  1443. data/lib/2019-05-10/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
  1444. data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
  1445. data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
  1446. data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
  1447. data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation.rb +0 -58
  1448. data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
  1449. data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
  1450. data/lib/2019-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1451. data/lib/2019-05-10/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1452. data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider.rb +0 -104
  1453. data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1454. data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
  1455. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1456. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
  1457. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1458. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1459. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1460. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1461. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1462. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
  1463. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1464. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
  1465. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1466. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1467. data/lib/2019-05-10/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1468. data/lib/2019-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1469. data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1470. data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1471. data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1472. data/lib/2019-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1473. data/lib/2019-05-10/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1474. data/lib/2019-05-10/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1475. data/lib/2019-05-10/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1476. data/lib/2019-05-10/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1477. data/lib/2019-05-10/generated/azure_mgmt_resources/operations.rb +0 -219
  1478. data/lib/2019-05-10/generated/azure_mgmt_resources/providers.rb +0 -846
  1479. data/lib/2019-05-10/generated/azure_mgmt_resources/resource_groups.rb +0 -918
  1480. data/lib/2019-05-10/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
  1481. data/lib/2019-05-10/generated/azure_mgmt_resources/resources.rb +0 -2338
  1482. data/lib/2019-05-10/generated/azure_mgmt_resources/tags.rb +0 -611
  1483. data/lib/2019-05-10/generated/azure_mgmt_resources.rb +0 -91
  1484. data/lib/2019-07-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -1588
  1485. data/lib/2019-07-01/generated/azure_mgmt_resources/deployments.rb +0 -5740
  1486. data/lib/2019-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
  1487. data/lib/2019-07-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
  1488. data/lib/2019-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1489. data/lib/2019-07-01/generated/azure_mgmt_resources/models/change_type.rb +0 -20
  1490. data/lib/2019-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
  1491. data/lib/2019-07-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1492. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment.rb +0 -58
  1493. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1494. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
  1495. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1496. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1497. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1498. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1499. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -146
  1500. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1501. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
  1502. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -222
  1503. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
  1504. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +0 -58
  1505. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +0 -108
  1506. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +0 -48
  1507. data/lib/2019-07-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1508. data/lib/2019-07-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
  1509. data/lib/2019-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1510. data/lib/2019-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1511. data/lib/2019-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1512. data/lib/2019-07-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1513. data/lib/2019-07-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
  1514. data/lib/2019-07-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
  1515. data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
  1516. data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
  1517. data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
  1518. data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
  1519. data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
  1520. data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
  1521. data/lib/2019-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1522. data/lib/2019-07-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1523. data/lib/2019-07-01/generated/azure_mgmt_resources/models/property_change_type.rb +0 -18
  1524. data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
  1525. data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1526. data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
  1527. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1528. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
  1529. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1530. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1531. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1532. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1533. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1534. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
  1535. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1536. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1537. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1538. data/lib/2019-07-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1539. data/lib/2019-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1540. data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1541. data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1542. data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1543. data/lib/2019-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1544. data/lib/2019-07-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1545. data/lib/2019-07-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1546. data/lib/2019-07-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1547. data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_change.rb +0 -105
  1548. data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +0 -80
  1549. data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +0 -101
  1550. data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +0 -16
  1551. data/lib/2019-07-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1552. data/lib/2019-07-01/generated/azure_mgmt_resources/operations.rb +0 -219
  1553. data/lib/2019-07-01/generated/azure_mgmt_resources/providers.rb +0 -846
  1554. data/lib/2019-07-01/generated/azure_mgmt_resources/resource_groups.rb +0 -918
  1555. data/lib/2019-07-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
  1556. data/lib/2019-07-01/generated/azure_mgmt_resources/resources.rb +0 -2338
  1557. data/lib/2019-07-01/generated/azure_mgmt_resources/tags.rb +0 -611
  1558. data/lib/2019-07-01/generated/azure_mgmt_resources.rb +0 -99
  1559. data/lib/2019-10-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -1590
  1560. data/lib/2019-10-01/generated/azure_mgmt_resources/deployments.rb +0 -6276
  1561. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_model.rb +0 -102
  1562. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_path.rb +0 -77
  1563. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_pattern.rb +0 -70
  1564. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +0 -16
  1565. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -17
  1566. data/lib/2019-10-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1567. data/lib/2019-10-01/generated/azure_mgmt_resources/models/change_type.rb +0 -20
  1568. data/lib/2019-10-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
  1569. data/lib/2019-10-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1570. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment.rb +0 -77
  1571. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1572. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -113
  1573. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1574. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1575. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1576. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1577. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -162
  1578. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1579. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
  1580. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -284
  1581. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -61
  1582. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +0 -58
  1583. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +0 -108
  1584. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +0 -48
  1585. data/lib/2019-10-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1586. data/lib/2019-10-01/generated/azure_mgmt_resources/models/error_response.rb +0 -117
  1587. data/lib/2019-10-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1588. data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1589. data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +0 -179
  1590. data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1591. data/lib/2019-10-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1592. data/lib/2019-10-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
  1593. data/lib/2019-10-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
  1594. data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
  1595. data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
  1596. data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
  1597. data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
  1598. data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
  1599. data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
  1600. data/lib/2019-10-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1601. data/lib/2019-10-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1602. data/lib/2019-10-01/generated/azure_mgmt_resources/models/property_change_type.rb +0 -18
  1603. data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
  1604. data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1605. data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
  1606. data/lib/2019-10-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +0 -24
  1607. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1608. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
  1609. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1610. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1611. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1612. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1613. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1614. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
  1615. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1616. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1617. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_reference.rb +0 -47
  1618. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1619. data/lib/2019-10-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +0 -77
  1620. data/lib/2019-10-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +0 -58
  1621. data/lib/2019-10-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1622. data/lib/2019-10-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1623. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1624. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1625. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1626. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags.rb +0 -54
  1627. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1628. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +0 -17
  1629. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +0 -59
  1630. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_resource.rb +0 -83
  1631. data/lib/2019-10-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1632. data/lib/2019-10-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1633. data/lib/2019-10-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
  1634. data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_change.rb +0 -105
  1635. data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +0 -80
  1636. data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +0 -101
  1637. data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +0 -16
  1638. data/lib/2019-10-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1639. data/lib/2019-10-01/generated/azure_mgmt_resources/operations.rb +0 -219
  1640. data/lib/2019-10-01/generated/azure_mgmt_resources/providers.rb +0 -846
  1641. data/lib/2019-10-01/generated/azure_mgmt_resources/resource_groups.rb +0 -964
  1642. data/lib/2019-10-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
  1643. data/lib/2019-10-01/generated/azure_mgmt_resources/resources.rb +0 -2354
  1644. data/lib/2019-10-01/generated/azure_mgmt_resources/tags_operations.rb +0 -1078
  1645. data/lib/2019-10-01/generated/azure_mgmt_resources.rb +0 -111
  1646. data/lib/2020-06-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -1590
  1647. data/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb +0 -6276
  1648. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_model.rb +0 -116
  1649. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb +0 -91
  1650. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_attributes.rb +0 -16
  1651. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_metadata.rb +0 -64
  1652. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_token_type.rb +0 -22
  1653. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern.rb +0 -70
  1654. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +0 -16
  1655. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -17
  1656. data/lib/2020-06-01/generated/azure_mgmt_resources/models/api_profile.rb +0 -60
  1657. data/lib/2020-06-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
  1658. data/lib/2020-06-01/generated/azure_mgmt_resources/models/change_type.rb +0 -20
  1659. data/lib/2020-06-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
  1660. data/lib/2020-06-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
  1661. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment.rb +0 -77
  1662. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
  1663. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -113
  1664. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
  1665. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
  1666. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
  1667. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
  1668. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -166
  1669. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
  1670. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -151
  1671. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -287
  1672. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -61
  1673. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +0 -58
  1674. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +0 -117
  1675. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +0 -48
  1676. data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
  1677. data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_response.rb +0 -117
  1678. data/lib/2020-06-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
  1679. data/lib/2020-06-01/generated/azure_mgmt_resources/models/expression_evaluation_options.rb +0 -49
  1680. data/lib/2020-06-01/generated/azure_mgmt_resources/models/expression_evaluation_options_scope_type.rb +0 -17
  1681. data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
  1682. data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +0 -179
  1683. data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
  1684. data/lib/2020-06-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
  1685. data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
  1686. data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
  1687. data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
  1688. data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
  1689. data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
  1690. data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
  1691. data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
  1692. data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
  1693. data/lib/2020-06-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
  1694. data/lib/2020-06-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
  1695. data/lib/2020-06-01/generated/azure_mgmt_resources/models/property_change_type.rb +0 -18
  1696. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
  1697. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
  1698. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -170
  1699. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +0 -24
  1700. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +0 -26
  1701. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
  1702. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
  1703. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
  1704. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
  1705. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
  1706. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
  1707. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
  1708. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
  1709. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
  1710. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
  1711. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_reference.rb +0 -47
  1712. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  1713. data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +0 -77
  1714. data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +0 -58
  1715. data/lib/2020-06-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
  1716. data/lib/2020-06-01/generated/azure_mgmt_resources/models/status_message.rb +0 -58
  1717. data/lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
  1718. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
  1719. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
  1720. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
  1721. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags.rb +0 -54
  1722. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
  1723. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +0 -17
  1724. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +0 -59
  1725. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_resource.rb +0 -83
  1726. data/lib/2020-06-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
  1727. data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
  1728. data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb +0 -84
  1729. data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb +0 -105
  1730. data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +0 -80
  1731. data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +0 -101
  1732. data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +0 -16
  1733. data/lib/2020-06-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
  1734. data/lib/2020-06-01/generated/azure_mgmt_resources/operations.rb +0 -219
  1735. data/lib/2020-06-01/generated/azure_mgmt_resources/providers.rb +0 -933
  1736. data/lib/2020-06-01/generated/azure_mgmt_resources/resource_groups.rb +0 -979
  1737. data/lib/2020-06-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
  1738. data/lib/2020-06-01/generated/azure_mgmt_resources/resources.rb +0 -2354
  1739. data/lib/2020-06-01/generated/azure_mgmt_resources/tags_operations.rb +0 -1078
  1740. data/lib/2020-06-01/generated/azure_mgmt_resources.rb +0 -119
  1741. data/lib/azure_mgmt_resources.rb +0 -22
@@ -0,0 +1,2286 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Resources2::Mgmt::V2018_05_01
7
+ #
8
+ # Provides operations for working with resources and resource groups.
9
+ #
10
+ class Deployments
11
+ include MsRestAzure2
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Deployments class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [ResourceManagementClient] reference to the ResourceManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Deletes a deployment from the deployment history.
26
+ #
27
+ # A template deployment that is currently running cannot be deleted. Deleting a
28
+ # template deployment removes the associated deployment operations. This is an
29
+ # asynchronous operation that returns a status of 202 until the template
30
+ # deployment is successfully deleted. The Location response header contains the
31
+ # URI that is used to obtain the status of the process. While the process is
32
+ # running, a call to the URI in the Location header returns a status of 202.
33
+ # When the process finishes, the URI in the Location header returns a status of
34
+ # 204 on success. If the asynchronous request failed, the URI in the Location
35
+ # header returns an error-level status code.
36
+ #
37
+ # @param deployment_name [String] The name of the deployment to delete.
38
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
39
+ # will be added to the HTTP request.
40
+ #
41
+ def delete_at_subscription_scope(deployment_name, custom_headers:nil)
42
+ response = delete_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
43
+ nil
44
+ end
45
+
46
+ #
47
+ # @param deployment_name [String] The name of the deployment to delete.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [Concurrent::Promise] promise which provides async access to http
52
+ # response.
53
+ #
54
+ def delete_at_subscription_scope_async(deployment_name, custom_headers:nil)
55
+ # Send request
56
+ promise = begin_delete_at_subscription_scope_async(deployment_name, custom_headers:custom_headers)
57
+
58
+ promise = promise.then do |response|
59
+ # Defining deserialization method.
60
+ deserialize_method = lambda do |parsed_response|
61
+ end
62
+
63
+ # Waiting for response.
64
+ @client.get_long_running_operation_result(response, deserialize_method)
65
+ end
66
+
67
+ promise
68
+ end
69
+
70
+ #
71
+ # Checks whether the deployment exists.
72
+ #
73
+ # @param deployment_name [String] The name of the deployment to check.
74
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
75
+ # will be added to the HTTP request.
76
+ #
77
+ # @return [Boolean] operation results.
78
+ #
79
+ def check_existence_at_subscription_scope(deployment_name, custom_headers:nil)
80
+ response = check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
81
+ response.body unless response.nil?
82
+ end
83
+
84
+ #
85
+ # Checks whether the deployment exists.
86
+ #
87
+ # @param deployment_name [String] The name of the deployment to check.
88
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
89
+ # will be added to the HTTP request.
90
+ #
91
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
92
+ #
93
+ def check_existence_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
94
+ check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
95
+ end
96
+
97
+ #
98
+ # Checks whether the deployment exists.
99
+ #
100
+ # @param deployment_name [String] The name of the deployment to check.
101
+ # @param [Hash{String => String}] A hash of custom headers that will be added
102
+ # to the HTTP request.
103
+ #
104
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
105
+ #
106
+ def check_existence_at_subscription_scope_async(deployment_name, custom_headers:nil)
107
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
108
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
109
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
110
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
111
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
112
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
113
+
114
+
115
+ request_headers = {}
116
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
117
+
118
+ # Set Headers
119
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
120
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
121
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}'
122
+
123
+ request_url = @base_url || @client.base_url
124
+
125
+ options = {
126
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
127
+ path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
128
+ query_params: {'api-version' => @client.api_version},
129
+ headers: request_headers.merge(custom_headers || {}),
130
+ base_url: request_url
131
+ }
132
+ promise = @client.make_request_async(:head, path_template, options)
133
+
134
+ promise = promise.then do |result|
135
+ http_response = result.response
136
+ status_code = http_response.status
137
+ response_content = http_response.body
138
+ unless status_code == 204 || status_code == 404
139
+ error_model = JSON.load(response_content)
140
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
141
+ end
142
+
143
+ result.body = (status_code == 204)
144
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
145
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
146
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
147
+
148
+ result
149
+ end
150
+
151
+ promise.execute
152
+ end
153
+
154
+ #
155
+ # Deploys resources at subscription scope.
156
+ #
157
+ # You can provide the template and parameters directly in the request or link
158
+ # to JSON files.
159
+ #
160
+ # @param deployment_name [String] The name of the deployment.
161
+ # @param parameters [Deployment] Additional parameters supplied to the
162
+ # operation.
163
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
164
+ # will be added to the HTTP request.
165
+ #
166
+ # @return [DeploymentExtended] operation results.
167
+ #
168
+ def create_or_update_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
169
+ response = create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
170
+ response.body unless response.nil?
171
+ end
172
+
173
+ #
174
+ # @param deployment_name [String] The name of the deployment.
175
+ # @param parameters [Deployment] Additional parameters supplied to the
176
+ # operation.
177
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
178
+ # will be added to the HTTP request.
179
+ #
180
+ # @return [Concurrent::Promise] promise which provides async access to http
181
+ # response.
182
+ #
183
+ def create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:nil)
184
+ # Send request
185
+ promise = begin_create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers)
186
+
187
+ promise = promise.then do |response|
188
+ # Defining deserialization method.
189
+ deserialize_method = lambda do |parsed_response|
190
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
191
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
192
+ end
193
+
194
+ # Waiting for response.
195
+ @client.get_long_running_operation_result(response, deserialize_method)
196
+ end
197
+
198
+ promise
199
+ end
200
+
201
+ #
202
+ # Gets a deployment.
203
+ #
204
+ # @param deployment_name [String] The name of the deployment to get.
205
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
206
+ # will be added to the HTTP request.
207
+ #
208
+ # @return [DeploymentExtended] operation results.
209
+ #
210
+ def get_at_subscription_scope(deployment_name, custom_headers:nil)
211
+ response = get_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
212
+ response.body unless response.nil?
213
+ end
214
+
215
+ #
216
+ # Gets a deployment.
217
+ #
218
+ # @param deployment_name [String] The name of the deployment to get.
219
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
220
+ # will be added to the HTTP request.
221
+ #
222
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
223
+ #
224
+ def get_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
225
+ get_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
226
+ end
227
+
228
+ #
229
+ # Gets a deployment.
230
+ #
231
+ # @param deployment_name [String] The name of the deployment to get.
232
+ # @param [Hash{String => String}] A hash of custom headers that will be added
233
+ # to the HTTP request.
234
+ #
235
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
236
+ #
237
+ def get_at_subscription_scope_async(deployment_name, custom_headers:nil)
238
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
239
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
240
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
241
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
242
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
243
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
244
+
245
+
246
+ request_headers = {}
247
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
248
+
249
+ # Set Headers
250
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
251
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
252
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}'
253
+
254
+ request_url = @base_url || @client.base_url
255
+
256
+ options = {
257
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
258
+ path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
259
+ query_params: {'api-version' => @client.api_version},
260
+ headers: request_headers.merge(custom_headers || {}),
261
+ base_url: request_url
262
+ }
263
+ promise = @client.make_request_async(:get, path_template, options)
264
+
265
+ promise = promise.then do |result|
266
+ http_response = result.response
267
+ status_code = http_response.status
268
+ response_content = http_response.body
269
+ unless status_code == 200
270
+ error_model = JSON.load(response_content)
271
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
272
+ end
273
+
274
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
275
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
276
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
277
+ # Deserialize Response
278
+ if status_code == 200
279
+ begin
280
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
281
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
282
+ result.body = @client.deserialize(result_mapper, parsed_response)
283
+ rescue Exception => e
284
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
285
+ end
286
+ end
287
+
288
+ result
289
+ end
290
+
291
+ promise.execute
292
+ end
293
+
294
+ #
295
+ # Cancels a currently running template deployment.
296
+ #
297
+ # You can cancel a deployment only if the provisioningState is Accepted or
298
+ # Running. After the deployment is canceled, the provisioningState is set to
299
+ # Canceled. Canceling a template deployment stops the currently running
300
+ # template deployment and leaves the resources partially deployed.
301
+ #
302
+ # @param deployment_name [String] The name of the deployment to cancel.
303
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
304
+ # will be added to the HTTP request.
305
+ #
306
+ #
307
+ def cancel_at_subscription_scope(deployment_name, custom_headers:nil)
308
+ response = cancel_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
309
+ nil
310
+ end
311
+
312
+ #
313
+ # Cancels a currently running template deployment.
314
+ #
315
+ # You can cancel a deployment only if the provisioningState is Accepted or
316
+ # Running. After the deployment is canceled, the provisioningState is set to
317
+ # Canceled. Canceling a template deployment stops the currently running
318
+ # template deployment and leaves the resources partially deployed.
319
+ #
320
+ # @param deployment_name [String] The name of the deployment to cancel.
321
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
322
+ # will be added to the HTTP request.
323
+ #
324
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
325
+ #
326
+ def cancel_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
327
+ cancel_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
328
+ end
329
+
330
+ #
331
+ # Cancels a currently running template deployment.
332
+ #
333
+ # You can cancel a deployment only if the provisioningState is Accepted or
334
+ # Running. After the deployment is canceled, the provisioningState is set to
335
+ # Canceled. Canceling a template deployment stops the currently running
336
+ # template deployment and leaves the resources partially deployed.
337
+ #
338
+ # @param deployment_name [String] The name of the deployment to cancel.
339
+ # @param [Hash{String => String}] A hash of custom headers that will be added
340
+ # to the HTTP request.
341
+ #
342
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
343
+ #
344
+ def cancel_at_subscription_scope_async(deployment_name, custom_headers:nil)
345
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
346
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
347
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
348
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
349
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
350
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
351
+
352
+
353
+ request_headers = {}
354
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
355
+
356
+ # Set Headers
357
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
358
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
359
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel'
360
+
361
+ request_url = @base_url || @client.base_url
362
+
363
+ options = {
364
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
365
+ path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
366
+ query_params: {'api-version' => @client.api_version},
367
+ headers: request_headers.merge(custom_headers || {}),
368
+ base_url: request_url
369
+ }
370
+ promise = @client.make_request_async(:post, path_template, options)
371
+
372
+ promise = promise.then do |result|
373
+ http_response = result.response
374
+ status_code = http_response.status
375
+ response_content = http_response.body
376
+ unless status_code == 204
377
+ error_model = JSON.load(response_content)
378
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
379
+ end
380
+
381
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
382
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
383
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
384
+
385
+ result
386
+ end
387
+
388
+ promise.execute
389
+ end
390
+
391
+ #
392
+ # Validates whether the specified template is syntactically correct and will be
393
+ # accepted by Azure Resource Manager..
394
+ #
395
+ # @param deployment_name [String] The name of the deployment.
396
+ # @param parameters [Deployment] Parameters to validate.
397
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
398
+ # will be added to the HTTP request.
399
+ #
400
+ # @return [DeploymentValidateResult] operation results.
401
+ #
402
+ def validate_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
403
+ response = validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
404
+ response.body unless response.nil?
405
+ end
406
+
407
+ #
408
+ # Validates whether the specified template is syntactically correct and will be
409
+ # accepted by Azure Resource Manager..
410
+ #
411
+ # @param deployment_name [String] The name of the deployment.
412
+ # @param parameters [Deployment] Parameters to validate.
413
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
414
+ # will be added to the HTTP request.
415
+ #
416
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
417
+ #
418
+ def validate_at_subscription_scope_with_http_info(deployment_name, parameters, custom_headers:nil)
419
+ validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
420
+ end
421
+
422
+ #
423
+ # Validates whether the specified template is syntactically correct and will be
424
+ # accepted by Azure Resource Manager..
425
+ #
426
+ # @param deployment_name [String] The name of the deployment.
427
+ # @param parameters [Deployment] Parameters to validate.
428
+ # @param [Hash{String => String}] A hash of custom headers that will be added
429
+ # to the HTTP request.
430
+ #
431
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
432
+ #
433
+ def validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:nil)
434
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
435
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
436
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
437
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
438
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
439
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
440
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
441
+
442
+
443
+ request_headers = {}
444
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
445
+
446
+ # Set Headers
447
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
448
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
449
+
450
+ # Serialize Request
451
+ request_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::Deployment.mapper()
452
+ request_content = @client.serialize(request_mapper, parameters)
453
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
454
+
455
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate'
456
+
457
+ request_url = @base_url || @client.base_url
458
+
459
+ options = {
460
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
461
+ path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
462
+ query_params: {'api-version' => @client.api_version},
463
+ body: request_content,
464
+ headers: request_headers.merge(custom_headers || {}),
465
+ base_url: request_url
466
+ }
467
+ promise = @client.make_request_async(:post, path_template, options)
468
+
469
+ promise = promise.then do |result|
470
+ http_response = result.response
471
+ status_code = http_response.status
472
+ response_content = http_response.body
473
+ unless status_code == 200 || status_code == 400
474
+ error_model = JSON.load(response_content)
475
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
476
+ end
477
+
478
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
479
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
480
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
481
+ # Deserialize Response
482
+ if status_code == 200
483
+ begin
484
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
485
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentValidateResult.mapper()
486
+ result.body = @client.deserialize(result_mapper, parsed_response)
487
+ rescue Exception => e
488
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
489
+ end
490
+ end
491
+ # Deserialize Response
492
+ if status_code == 400
493
+ begin
494
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
495
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentValidateResult.mapper()
496
+ result.body = @client.deserialize(result_mapper, parsed_response)
497
+ rescue Exception => e
498
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
499
+ end
500
+ end
501
+
502
+ result
503
+ end
504
+
505
+ promise.execute
506
+ end
507
+
508
+ #
509
+ # Exports the template used for specified deployment.
510
+ #
511
+ # @param deployment_name [String] The name of the deployment from which to get
512
+ # the template.
513
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
514
+ # will be added to the HTTP request.
515
+ #
516
+ # @return [DeploymentExportResult] operation results.
517
+ #
518
+ def export_template_at_subscription_scope(deployment_name, custom_headers:nil)
519
+ response = export_template_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
520
+ response.body unless response.nil?
521
+ end
522
+
523
+ #
524
+ # Exports the template used for specified deployment.
525
+ #
526
+ # @param deployment_name [String] The name of the deployment from which to get
527
+ # the template.
528
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
529
+ # will be added to the HTTP request.
530
+ #
531
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
532
+ #
533
+ def export_template_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
534
+ export_template_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
535
+ end
536
+
537
+ #
538
+ # Exports the template used for specified deployment.
539
+ #
540
+ # @param deployment_name [String] The name of the deployment from which to get
541
+ # the template.
542
+ # @param [Hash{String => String}] A hash of custom headers that will be added
543
+ # to the HTTP request.
544
+ #
545
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
546
+ #
547
+ def export_template_at_subscription_scope_async(deployment_name, custom_headers:nil)
548
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
549
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
550
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
551
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
552
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
553
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
554
+
555
+
556
+ request_headers = {}
557
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
558
+
559
+ # Set Headers
560
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
561
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
562
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate'
563
+
564
+ request_url = @base_url || @client.base_url
565
+
566
+ options = {
567
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
568
+ path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
569
+ query_params: {'api-version' => @client.api_version},
570
+ headers: request_headers.merge(custom_headers || {}),
571
+ base_url: request_url
572
+ }
573
+ promise = @client.make_request_async(:post, path_template, options)
574
+
575
+ promise = promise.then do |result|
576
+ http_response = result.response
577
+ status_code = http_response.status
578
+ response_content = http_response.body
579
+ unless status_code == 200
580
+ error_model = JSON.load(response_content)
581
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
582
+ end
583
+
584
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
585
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
586
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
587
+ # Deserialize Response
588
+ if status_code == 200
589
+ begin
590
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
591
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExportResult.mapper()
592
+ result.body = @client.deserialize(result_mapper, parsed_response)
593
+ rescue Exception => e
594
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
595
+ end
596
+ end
597
+
598
+ result
599
+ end
600
+
601
+ promise.execute
602
+ end
603
+
604
+ #
605
+ # Get all the deployments for a subscription.
606
+ #
607
+ # @param filter [String] The filter to apply on the operation. For example, you
608
+ # can use $filter=provisioningState eq '{state}'.
609
+ # @param top [Integer] The number of results to get. If null is passed, returns
610
+ # all deployments.
611
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
612
+ # will be added to the HTTP request.
613
+ #
614
+ # @return [Array<DeploymentExtended>] operation results.
615
+ #
616
+ def list_at_subscription_scope(filter:nil, top:nil, custom_headers:nil)
617
+ first_page = list_at_subscription_scope_as_lazy(filter:filter, top:top, custom_headers:custom_headers)
618
+ first_page.get_all_items
619
+ end
620
+
621
+ #
622
+ # Get all the deployments for a subscription.
623
+ #
624
+ # @param filter [String] The filter to apply on the operation. For example, you
625
+ # can use $filter=provisioningState eq '{state}'.
626
+ # @param top [Integer] The number of results to get. If null is passed, returns
627
+ # all deployments.
628
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
629
+ # will be added to the HTTP request.
630
+ #
631
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
632
+ #
633
+ def list_at_subscription_scope_with_http_info(filter:nil, top:nil, custom_headers:nil)
634
+ list_at_subscription_scope_async(filter:filter, top:top, custom_headers:custom_headers).value!
635
+ end
636
+
637
+ #
638
+ # Get all the deployments for a subscription.
639
+ #
640
+ # @param filter [String] The filter to apply on the operation. For example, you
641
+ # can use $filter=provisioningState eq '{state}'.
642
+ # @param top [Integer] The number of results to get. If null is passed, returns
643
+ # all deployments.
644
+ # @param [Hash{String => String}] A hash of custom headers that will be added
645
+ # to the HTTP request.
646
+ #
647
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
648
+ #
649
+ def list_at_subscription_scope_async(filter:nil, top:nil, custom_headers:nil)
650
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
651
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
652
+
653
+
654
+ request_headers = {}
655
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
656
+
657
+ # Set Headers
658
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
659
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
660
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/'
661
+
662
+ request_url = @base_url || @client.base_url
663
+
664
+ options = {
665
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
666
+ path_params: {'subscriptionId' => @client.subscription_id},
667
+ query_params: {'$filter' => filter,'$top' => top,'api-version' => @client.api_version},
668
+ headers: request_headers.merge(custom_headers || {}),
669
+ base_url: request_url
670
+ }
671
+ promise = @client.make_request_async(:get, path_template, options)
672
+
673
+ promise = promise.then do |result|
674
+ http_response = result.response
675
+ status_code = http_response.status
676
+ response_content = http_response.body
677
+ unless status_code == 200
678
+ error_model = JSON.load(response_content)
679
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
680
+ end
681
+
682
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
683
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
684
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
685
+ # Deserialize Response
686
+ if status_code == 200
687
+ begin
688
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
689
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentListResult.mapper()
690
+ result.body = @client.deserialize(result_mapper, parsed_response)
691
+ rescue Exception => e
692
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
693
+ end
694
+ end
695
+
696
+ result
697
+ end
698
+
699
+ promise.execute
700
+ end
701
+
702
+ #
703
+ # Deletes a deployment from the deployment history.
704
+ #
705
+ # A template deployment that is currently running cannot be deleted. Deleting a
706
+ # template deployment removes the associated deployment operations. Deleting a
707
+ # template deployment does not affect the state of the resource group. This is
708
+ # an asynchronous operation that returns a status of 202 until the template
709
+ # deployment is successfully deleted. The Location response header contains the
710
+ # URI that is used to obtain the status of the process. While the process is
711
+ # running, a call to the URI in the Location header returns a status of 202.
712
+ # When the process finishes, the URI in the Location header returns a status of
713
+ # 204 on success. If the asynchronous request failed, the URI in the Location
714
+ # header returns an error-level status code.
715
+ #
716
+ # @param resource_group_name [String] The name of the resource group with the
717
+ # deployment to delete. The name is case insensitive.
718
+ # @param deployment_name [String] The name of the deployment to delete.
719
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
720
+ # will be added to the HTTP request.
721
+ #
722
+ def delete(resource_group_name, deployment_name, custom_headers:nil)
723
+ response = delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
724
+ nil
725
+ end
726
+
727
+ #
728
+ # @param resource_group_name [String] The name of the resource group with the
729
+ # deployment to delete. The name is case insensitive.
730
+ # @param deployment_name [String] The name of the deployment to delete.
731
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
732
+ # will be added to the HTTP request.
733
+ #
734
+ # @return [Concurrent::Promise] promise which provides async access to http
735
+ # response.
736
+ #
737
+ def delete_async(resource_group_name, deployment_name, custom_headers:nil)
738
+ # Send request
739
+ promise = begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers)
740
+
741
+ promise = promise.then do |response|
742
+ # Defining deserialization method.
743
+ deserialize_method = lambda do |parsed_response|
744
+ end
745
+
746
+ # Waiting for response.
747
+ @client.get_long_running_operation_result(response, deserialize_method)
748
+ end
749
+
750
+ promise
751
+ end
752
+
753
+ #
754
+ # Checks whether the deployment exists.
755
+ #
756
+ # @param resource_group_name [String] The name of the resource group with the
757
+ # deployment to check. The name is case insensitive.
758
+ # @param deployment_name [String] The name of the deployment to check.
759
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
760
+ # will be added to the HTTP request.
761
+ #
762
+ # @return [Boolean] operation results.
763
+ #
764
+ def check_existence(resource_group_name, deployment_name, custom_headers:nil)
765
+ response = check_existence_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
766
+ response.body unless response.nil?
767
+ end
768
+
769
+ #
770
+ # Checks whether the deployment exists.
771
+ #
772
+ # @param resource_group_name [String] The name of the resource group with the
773
+ # deployment to check. The name is case insensitive.
774
+ # @param deployment_name [String] The name of the deployment to check.
775
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
776
+ # will be added to the HTTP request.
777
+ #
778
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
779
+ #
780
+ def check_existence_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
781
+ check_existence_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
782
+ end
783
+
784
+ #
785
+ # Checks whether the deployment exists.
786
+ #
787
+ # @param resource_group_name [String] The name of the resource group with the
788
+ # deployment to check. The name is case insensitive.
789
+ # @param deployment_name [String] The name of the deployment to check.
790
+ # @param [Hash{String => String}] A hash of custom headers that will be added
791
+ # to the HTTP request.
792
+ #
793
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
794
+ #
795
+ def check_existence_async(resource_group_name, deployment_name, custom_headers:nil)
796
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
797
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
798
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
799
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
800
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
801
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
802
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
803
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
804
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
805
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
806
+
807
+
808
+ request_headers = {}
809
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
810
+
811
+ # Set Headers
812
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
813
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
814
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
815
+
816
+ request_url = @base_url || @client.base_url
817
+
818
+ options = {
819
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
820
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
821
+ query_params: {'api-version' => @client.api_version},
822
+ headers: request_headers.merge(custom_headers || {}),
823
+ base_url: request_url
824
+ }
825
+ promise = @client.make_request_async(:head, path_template, options)
826
+
827
+ promise = promise.then do |result|
828
+ http_response = result.response
829
+ status_code = http_response.status
830
+ response_content = http_response.body
831
+ unless status_code == 204 || status_code == 404
832
+ error_model = JSON.load(response_content)
833
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
834
+ end
835
+
836
+ result.body = (status_code == 204)
837
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
838
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
839
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
840
+
841
+ result
842
+ end
843
+
844
+ promise.execute
845
+ end
846
+
847
+ #
848
+ # Deploys resources to a resource group.
849
+ #
850
+ # You can provide the template and parameters directly in the request or link
851
+ # to JSON files.
852
+ #
853
+ # @param resource_group_name [String] The name of the resource group to deploy
854
+ # the resources to. The name is case insensitive. The resource group must
855
+ # already exist.
856
+ # @param deployment_name [String] The name of the deployment.
857
+ # @param parameters [Deployment] Additional parameters supplied to the
858
+ # operation.
859
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
860
+ # will be added to the HTTP request.
861
+ #
862
+ # @return [DeploymentExtended] operation results.
863
+ #
864
+ def create_or_update(resource_group_name, deployment_name, parameters, custom_headers:nil)
865
+ response = create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
866
+ response.body unless response.nil?
867
+ end
868
+
869
+ #
870
+ # @param resource_group_name [String] The name of the resource group to deploy
871
+ # the resources to. The name is case insensitive. The resource group must
872
+ # already exist.
873
+ # @param deployment_name [String] The name of the deployment.
874
+ # @param parameters [Deployment] Additional parameters supplied to the
875
+ # operation.
876
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
877
+ # will be added to the HTTP request.
878
+ #
879
+ # @return [Concurrent::Promise] promise which provides async access to http
880
+ # response.
881
+ #
882
+ def create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
883
+ # Send request
884
+ promise = begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers)
885
+
886
+ promise = promise.then do |response|
887
+ # Defining deserialization method.
888
+ deserialize_method = lambda do |parsed_response|
889
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
890
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
891
+ end
892
+
893
+ # Waiting for response.
894
+ @client.get_long_running_operation_result(response, deserialize_method)
895
+ end
896
+
897
+ promise
898
+ end
899
+
900
+ #
901
+ # Gets a deployment.
902
+ #
903
+ # @param resource_group_name [String] The name of the resource group. The name
904
+ # is case insensitive.
905
+ # @param deployment_name [String] The name of the deployment to get.
906
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
907
+ # will be added to the HTTP request.
908
+ #
909
+ # @return [DeploymentExtended] operation results.
910
+ #
911
+ def get(resource_group_name, deployment_name, custom_headers:nil)
912
+ response = get_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
913
+ response.body unless response.nil?
914
+ end
915
+
916
+ #
917
+ # Gets a deployment.
918
+ #
919
+ # @param resource_group_name [String] The name of the resource group. The name
920
+ # is case insensitive.
921
+ # @param deployment_name [String] The name of the deployment to get.
922
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
923
+ # will be added to the HTTP request.
924
+ #
925
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
926
+ #
927
+ def get_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
928
+ get_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
929
+ end
930
+
931
+ #
932
+ # Gets a deployment.
933
+ #
934
+ # @param resource_group_name [String] The name of the resource group. The name
935
+ # is case insensitive.
936
+ # @param deployment_name [String] The name of the deployment to get.
937
+ # @param [Hash{String => String}] A hash of custom headers that will be added
938
+ # to the HTTP request.
939
+ #
940
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
941
+ #
942
+ def get_async(resource_group_name, deployment_name, custom_headers:nil)
943
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
944
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
945
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
946
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
947
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
948
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
949
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
950
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
951
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
952
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
953
+
954
+
955
+ request_headers = {}
956
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
957
+
958
+ # Set Headers
959
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
960
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
961
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
962
+
963
+ request_url = @base_url || @client.base_url
964
+
965
+ options = {
966
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
967
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
968
+ query_params: {'api-version' => @client.api_version},
969
+ headers: request_headers.merge(custom_headers || {}),
970
+ base_url: request_url
971
+ }
972
+ promise = @client.make_request_async(:get, path_template, options)
973
+
974
+ promise = promise.then do |result|
975
+ http_response = result.response
976
+ status_code = http_response.status
977
+ response_content = http_response.body
978
+ unless status_code == 200
979
+ error_model = JSON.load(response_content)
980
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
981
+ end
982
+
983
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
984
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
985
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
986
+ # Deserialize Response
987
+ if status_code == 200
988
+ begin
989
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
990
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
991
+ result.body = @client.deserialize(result_mapper, parsed_response)
992
+ rescue Exception => e
993
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
994
+ end
995
+ end
996
+
997
+ result
998
+ end
999
+
1000
+ promise.execute
1001
+ end
1002
+
1003
+ #
1004
+ # Cancels a currently running template deployment.
1005
+ #
1006
+ # You can cancel a deployment only if the provisioningState is Accepted or
1007
+ # Running. After the deployment is canceled, the provisioningState is set to
1008
+ # Canceled. Canceling a template deployment stops the currently running
1009
+ # template deployment and leaves the resource group partially deployed.
1010
+ #
1011
+ # @param resource_group_name [String] The name of the resource group. The name
1012
+ # is case insensitive.
1013
+ # @param deployment_name [String] The name of the deployment to cancel.
1014
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1015
+ # will be added to the HTTP request.
1016
+ #
1017
+ #
1018
+ def cancel(resource_group_name, deployment_name, custom_headers:nil)
1019
+ response = cancel_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
1020
+ nil
1021
+ end
1022
+
1023
+ #
1024
+ # Cancels a currently running template deployment.
1025
+ #
1026
+ # You can cancel a deployment only if the provisioningState is Accepted or
1027
+ # Running. After the deployment is canceled, the provisioningState is set to
1028
+ # Canceled. Canceling a template deployment stops the currently running
1029
+ # template deployment and leaves the resource group partially deployed.
1030
+ #
1031
+ # @param resource_group_name [String] The name of the resource group. The name
1032
+ # is case insensitive.
1033
+ # @param deployment_name [String] The name of the deployment to cancel.
1034
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1035
+ # will be added to the HTTP request.
1036
+ #
1037
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1038
+ #
1039
+ def cancel_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
1040
+ cancel_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
1041
+ end
1042
+
1043
+ #
1044
+ # Cancels a currently running template deployment.
1045
+ #
1046
+ # You can cancel a deployment only if the provisioningState is Accepted or
1047
+ # Running. After the deployment is canceled, the provisioningState is set to
1048
+ # Canceled. Canceling a template deployment stops the currently running
1049
+ # template deployment and leaves the resource group partially deployed.
1050
+ #
1051
+ # @param resource_group_name [String] The name of the resource group. The name
1052
+ # is case insensitive.
1053
+ # @param deployment_name [String] The name of the deployment to cancel.
1054
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1055
+ # to the HTTP request.
1056
+ #
1057
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1058
+ #
1059
+ def cancel_async(resource_group_name, deployment_name, custom_headers:nil)
1060
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1061
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1062
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1063
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1064
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
1065
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
1066
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
1067
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1068
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1069
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1070
+
1071
+
1072
+ request_headers = {}
1073
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1074
+
1075
+ # Set Headers
1076
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1077
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1078
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel'
1079
+
1080
+ request_url = @base_url || @client.base_url
1081
+
1082
+ options = {
1083
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1084
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
1085
+ query_params: {'api-version' => @client.api_version},
1086
+ headers: request_headers.merge(custom_headers || {}),
1087
+ base_url: request_url
1088
+ }
1089
+ promise = @client.make_request_async(:post, path_template, options)
1090
+
1091
+ promise = promise.then do |result|
1092
+ http_response = result.response
1093
+ status_code = http_response.status
1094
+ response_content = http_response.body
1095
+ unless status_code == 204
1096
+ error_model = JSON.load(response_content)
1097
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
1098
+ end
1099
+
1100
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1101
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1102
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1103
+
1104
+ result
1105
+ end
1106
+
1107
+ promise.execute
1108
+ end
1109
+
1110
+ #
1111
+ # Validates whether the specified template is syntactically correct and will be
1112
+ # accepted by Azure Resource Manager..
1113
+ #
1114
+ # @param resource_group_name [String] The name of the resource group the
1115
+ # template will be deployed to. The name is case insensitive.
1116
+ # @param deployment_name [String] The name of the deployment.
1117
+ # @param parameters [Deployment] Parameters to validate.
1118
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1119
+ # will be added to the HTTP request.
1120
+ #
1121
+ # @return [DeploymentValidateResult] operation results.
1122
+ #
1123
+ def validate(resource_group_name, deployment_name, parameters, custom_headers:nil)
1124
+ response = validate_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
1125
+ response.body unless response.nil?
1126
+ end
1127
+
1128
+ #
1129
+ # Validates whether the specified template is syntactically correct and will be
1130
+ # accepted by Azure Resource Manager..
1131
+ #
1132
+ # @param resource_group_name [String] The name of the resource group the
1133
+ # template will be deployed to. The name is case insensitive.
1134
+ # @param deployment_name [String] The name of the deployment.
1135
+ # @param parameters [Deployment] Parameters to validate.
1136
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1137
+ # will be added to the HTTP request.
1138
+ #
1139
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1140
+ #
1141
+ def validate_with_http_info(resource_group_name, deployment_name, parameters, custom_headers:nil)
1142
+ validate_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
1143
+ end
1144
+
1145
+ #
1146
+ # Validates whether the specified template is syntactically correct and will be
1147
+ # accepted by Azure Resource Manager..
1148
+ #
1149
+ # @param resource_group_name [String] The name of the resource group the
1150
+ # template will be deployed to. The name is case insensitive.
1151
+ # @param deployment_name [String] The name of the deployment.
1152
+ # @param parameters [Deployment] Parameters to validate.
1153
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1154
+ # to the HTTP request.
1155
+ #
1156
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1157
+ #
1158
+ def validate_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
1159
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1160
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1161
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1162
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1163
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
1164
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
1165
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
1166
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1167
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1168
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1169
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1170
+
1171
+
1172
+ request_headers = {}
1173
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1174
+
1175
+ # Set Headers
1176
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1177
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1178
+
1179
+ # Serialize Request
1180
+ request_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::Deployment.mapper()
1181
+ request_content = @client.serialize(request_mapper, parameters)
1182
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1183
+
1184
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate'
1185
+
1186
+ request_url = @base_url || @client.base_url
1187
+
1188
+ options = {
1189
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1190
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
1191
+ query_params: {'api-version' => @client.api_version},
1192
+ body: request_content,
1193
+ headers: request_headers.merge(custom_headers || {}),
1194
+ base_url: request_url
1195
+ }
1196
+ promise = @client.make_request_async(:post, path_template, options)
1197
+
1198
+ promise = promise.then do |result|
1199
+ http_response = result.response
1200
+ status_code = http_response.status
1201
+ response_content = http_response.body
1202
+ unless status_code == 200 || status_code == 400
1203
+ error_model = JSON.load(response_content)
1204
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
1205
+ end
1206
+
1207
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1208
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1209
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1210
+ # Deserialize Response
1211
+ if status_code == 200
1212
+ begin
1213
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1214
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentValidateResult.mapper()
1215
+ result.body = @client.deserialize(result_mapper, parsed_response)
1216
+ rescue Exception => e
1217
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1218
+ end
1219
+ end
1220
+ # Deserialize Response
1221
+ if status_code == 400
1222
+ begin
1223
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1224
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentValidateResult.mapper()
1225
+ result.body = @client.deserialize(result_mapper, parsed_response)
1226
+ rescue Exception => e
1227
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1228
+ end
1229
+ end
1230
+
1231
+ result
1232
+ end
1233
+
1234
+ promise.execute
1235
+ end
1236
+
1237
+ #
1238
+ # Exports the template used for specified deployment.
1239
+ #
1240
+ # @param resource_group_name [String] The name of the resource group. The name
1241
+ # is case insensitive.
1242
+ # @param deployment_name [String] The name of the deployment from which to get
1243
+ # the template.
1244
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1245
+ # will be added to the HTTP request.
1246
+ #
1247
+ # @return [DeploymentExportResult] operation results.
1248
+ #
1249
+ def export_template(resource_group_name, deployment_name, custom_headers:nil)
1250
+ response = export_template_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
1251
+ response.body unless response.nil?
1252
+ end
1253
+
1254
+ #
1255
+ # Exports the template used for specified deployment.
1256
+ #
1257
+ # @param resource_group_name [String] The name of the resource group. The name
1258
+ # is case insensitive.
1259
+ # @param deployment_name [String] The name of the deployment from which to get
1260
+ # the template.
1261
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1262
+ # will be added to the HTTP request.
1263
+ #
1264
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1265
+ #
1266
+ def export_template_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
1267
+ export_template_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
1268
+ end
1269
+
1270
+ #
1271
+ # Exports the template used for specified deployment.
1272
+ #
1273
+ # @param resource_group_name [String] The name of the resource group. The name
1274
+ # is case insensitive.
1275
+ # @param deployment_name [String] The name of the deployment from which to get
1276
+ # the template.
1277
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1278
+ # to the HTTP request.
1279
+ #
1280
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1281
+ #
1282
+ def export_template_async(resource_group_name, deployment_name, custom_headers:nil)
1283
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1284
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1285
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1286
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1287
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
1288
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
1289
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
1290
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1291
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1292
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1293
+
1294
+
1295
+ request_headers = {}
1296
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1297
+
1298
+ # Set Headers
1299
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1300
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1301
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate'
1302
+
1303
+ request_url = @base_url || @client.base_url
1304
+
1305
+ options = {
1306
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1307
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
1308
+ query_params: {'api-version' => @client.api_version},
1309
+ headers: request_headers.merge(custom_headers || {}),
1310
+ base_url: request_url
1311
+ }
1312
+ promise = @client.make_request_async(:post, path_template, options)
1313
+
1314
+ promise = promise.then do |result|
1315
+ http_response = result.response
1316
+ status_code = http_response.status
1317
+ response_content = http_response.body
1318
+ unless status_code == 200
1319
+ error_model = JSON.load(response_content)
1320
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
1321
+ end
1322
+
1323
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1324
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1325
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1326
+ # Deserialize Response
1327
+ if status_code == 200
1328
+ begin
1329
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1330
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExportResult.mapper()
1331
+ result.body = @client.deserialize(result_mapper, parsed_response)
1332
+ rescue Exception => e
1333
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1334
+ end
1335
+ end
1336
+
1337
+ result
1338
+ end
1339
+
1340
+ promise.execute
1341
+ end
1342
+
1343
+ #
1344
+ # Get all the deployments for a resource group.
1345
+ #
1346
+ # @param resource_group_name [String] The name of the resource group with the
1347
+ # deployments to get. The name is case insensitive.
1348
+ # @param filter [String] The filter to apply on the operation. For example, you
1349
+ # can use $filter=provisioningState eq '{state}'.
1350
+ # @param top [Integer] The number of results to get. If null is passed, returns
1351
+ # all deployments.
1352
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1353
+ # will be added to the HTTP request.
1354
+ #
1355
+ # @return [Array<DeploymentExtended>] operation results.
1356
+ #
1357
+ def list_by_resource_group(resource_group_name, filter:nil, top:nil, custom_headers:nil)
1358
+ first_page = list_by_resource_group_as_lazy(resource_group_name, filter:filter, top:top, custom_headers:custom_headers)
1359
+ first_page.get_all_items
1360
+ end
1361
+
1362
+ #
1363
+ # Get all the deployments for a resource group.
1364
+ #
1365
+ # @param resource_group_name [String] The name of the resource group with the
1366
+ # deployments to get. The name is case insensitive.
1367
+ # @param filter [String] The filter to apply on the operation. For example, you
1368
+ # can use $filter=provisioningState eq '{state}'.
1369
+ # @param top [Integer] The number of results to get. If null is passed, returns
1370
+ # all deployments.
1371
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1372
+ # will be added to the HTTP request.
1373
+ #
1374
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1375
+ #
1376
+ def list_by_resource_group_with_http_info(resource_group_name, filter:nil, top:nil, custom_headers:nil)
1377
+ list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
1378
+ end
1379
+
1380
+ #
1381
+ # Get all the deployments for a resource group.
1382
+ #
1383
+ # @param resource_group_name [String] The name of the resource group with the
1384
+ # deployments to get. The name is case insensitive.
1385
+ # @param filter [String] The filter to apply on the operation. For example, you
1386
+ # can use $filter=provisioningState eq '{state}'.
1387
+ # @param top [Integer] The number of results to get. If null is passed, returns
1388
+ # all deployments.
1389
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1390
+ # to the HTTP request.
1391
+ #
1392
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1393
+ #
1394
+ def list_by_resource_group_async(resource_group_name, filter:nil, top:nil, custom_headers:nil)
1395
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1396
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1397
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1398
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1399
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1400
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1401
+
1402
+
1403
+ request_headers = {}
1404
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1405
+
1406
+ # Set Headers
1407
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1408
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1409
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/'
1410
+
1411
+ request_url = @base_url || @client.base_url
1412
+
1413
+ options = {
1414
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1415
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
1416
+ query_params: {'$filter' => filter,'$top' => top,'api-version' => @client.api_version},
1417
+ headers: request_headers.merge(custom_headers || {}),
1418
+ base_url: request_url
1419
+ }
1420
+ promise = @client.make_request_async(:get, path_template, options)
1421
+
1422
+ promise = promise.then do |result|
1423
+ http_response = result.response
1424
+ status_code = http_response.status
1425
+ response_content = http_response.body
1426
+ unless status_code == 200
1427
+ error_model = JSON.load(response_content)
1428
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
1429
+ end
1430
+
1431
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1432
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1433
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1434
+ # Deserialize Response
1435
+ if status_code == 200
1436
+ begin
1437
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1438
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentListResult.mapper()
1439
+ result.body = @client.deserialize(result_mapper, parsed_response)
1440
+ rescue Exception => e
1441
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1442
+ end
1443
+ end
1444
+
1445
+ result
1446
+ end
1447
+
1448
+ promise.execute
1449
+ end
1450
+
1451
+ #
1452
+ # Calculate the hash of the given template.
1453
+ #
1454
+ # @param template The template provided to calculate hash.
1455
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1456
+ # will be added to the HTTP request.
1457
+ #
1458
+ # @return [TemplateHashResult] operation results.
1459
+ #
1460
+ def calculate_template_hash(template, custom_headers:nil)
1461
+ response = calculate_template_hash_async(template, custom_headers:custom_headers).value!
1462
+ response.body unless response.nil?
1463
+ end
1464
+
1465
+ #
1466
+ # Calculate the hash of the given template.
1467
+ #
1468
+ # @param template The template provided to calculate hash.
1469
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1470
+ # will be added to the HTTP request.
1471
+ #
1472
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1473
+ #
1474
+ def calculate_template_hash_with_http_info(template, custom_headers:nil)
1475
+ calculate_template_hash_async(template, custom_headers:custom_headers).value!
1476
+ end
1477
+
1478
+ #
1479
+ # Calculate the hash of the given template.
1480
+ #
1481
+ # @param template The template provided to calculate hash.
1482
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1483
+ # to the HTTP request.
1484
+ #
1485
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1486
+ #
1487
+ def calculate_template_hash_async(template, custom_headers:nil)
1488
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1489
+ fail ArgumentError, 'template is nil' if template.nil?
1490
+
1491
+
1492
+ request_headers = {}
1493
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1494
+
1495
+ # Set Headers
1496
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1497
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1498
+
1499
+ # Serialize Request
1500
+ request_mapper = {
1501
+ client_side_validation: true,
1502
+ required: true,
1503
+ serialized_name: 'template',
1504
+ type: {
1505
+ name: 'Object'
1506
+ }
1507
+ }
1508
+ request_content = @client.serialize(request_mapper, template)
1509
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1510
+
1511
+ path_template = 'providers/Microsoft.Resources/calculateTemplateHash'
1512
+
1513
+ request_url = @base_url || @client.base_url
1514
+
1515
+ options = {
1516
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1517
+ query_params: {'api-version' => @client.api_version},
1518
+ body: request_content,
1519
+ headers: request_headers.merge(custom_headers || {}),
1520
+ base_url: request_url
1521
+ }
1522
+ promise = @client.make_request_async(:post, path_template, options)
1523
+
1524
+ promise = promise.then do |result|
1525
+ http_response = result.response
1526
+ status_code = http_response.status
1527
+ response_content = http_response.body
1528
+ unless status_code == 200
1529
+ error_model = JSON.load(response_content)
1530
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
1531
+ end
1532
+
1533
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1534
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1535
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1536
+ # Deserialize Response
1537
+ if status_code == 200
1538
+ begin
1539
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1540
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::TemplateHashResult.mapper()
1541
+ result.body = @client.deserialize(result_mapper, parsed_response)
1542
+ rescue Exception => e
1543
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1544
+ end
1545
+ end
1546
+
1547
+ result
1548
+ end
1549
+
1550
+ promise.execute
1551
+ end
1552
+
1553
+ #
1554
+ # Deletes a deployment from the deployment history.
1555
+ #
1556
+ # A template deployment that is currently running cannot be deleted. Deleting a
1557
+ # template deployment removes the associated deployment operations. This is an
1558
+ # asynchronous operation that returns a status of 202 until the template
1559
+ # deployment is successfully deleted. The Location response header contains the
1560
+ # URI that is used to obtain the status of the process. While the process is
1561
+ # running, a call to the URI in the Location header returns a status of 202.
1562
+ # When the process finishes, the URI in the Location header returns a status of
1563
+ # 204 on success. If the asynchronous request failed, the URI in the Location
1564
+ # header returns an error-level status code.
1565
+ #
1566
+ # @param deployment_name [String] The name of the deployment to delete.
1567
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1568
+ # will be added to the HTTP request.
1569
+ #
1570
+ #
1571
+ def begin_delete_at_subscription_scope(deployment_name, custom_headers:nil)
1572
+ response = begin_delete_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
1573
+ nil
1574
+ end
1575
+
1576
+ #
1577
+ # Deletes a deployment from the deployment history.
1578
+ #
1579
+ # A template deployment that is currently running cannot be deleted. Deleting a
1580
+ # template deployment removes the associated deployment operations. This is an
1581
+ # asynchronous operation that returns a status of 202 until the template
1582
+ # deployment is successfully deleted. The Location response header contains the
1583
+ # URI that is used to obtain the status of the process. While the process is
1584
+ # running, a call to the URI in the Location header returns a status of 202.
1585
+ # When the process finishes, the URI in the Location header returns a status of
1586
+ # 204 on success. If the asynchronous request failed, the URI in the Location
1587
+ # header returns an error-level status code.
1588
+ #
1589
+ # @param deployment_name [String] The name of the deployment to delete.
1590
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1591
+ # will be added to the HTTP request.
1592
+ #
1593
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1594
+ #
1595
+ def begin_delete_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
1596
+ begin_delete_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
1597
+ end
1598
+
1599
+ #
1600
+ # Deletes a deployment from the deployment history.
1601
+ #
1602
+ # A template deployment that is currently running cannot be deleted. Deleting a
1603
+ # template deployment removes the associated deployment operations. This is an
1604
+ # asynchronous operation that returns a status of 202 until the template
1605
+ # deployment is successfully deleted. The Location response header contains the
1606
+ # URI that is used to obtain the status of the process. While the process is
1607
+ # running, a call to the URI in the Location header returns a status of 202.
1608
+ # When the process finishes, the URI in the Location header returns a status of
1609
+ # 204 on success. If the asynchronous request failed, the URI in the Location
1610
+ # header returns an error-level status code.
1611
+ #
1612
+ # @param deployment_name [String] The name of the deployment to delete.
1613
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1614
+ # to the HTTP request.
1615
+ #
1616
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1617
+ #
1618
+ def begin_delete_at_subscription_scope_async(deployment_name, custom_headers:nil)
1619
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
1620
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
1621
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
1622
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1623
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1624
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1625
+
1626
+
1627
+ request_headers = {}
1628
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1629
+
1630
+ # Set Headers
1631
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1632
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1633
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}'
1634
+
1635
+ request_url = @base_url || @client.base_url
1636
+
1637
+ options = {
1638
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1639
+ path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
1640
+ query_params: {'api-version' => @client.api_version},
1641
+ headers: request_headers.merge(custom_headers || {}),
1642
+ base_url: request_url
1643
+ }
1644
+ promise = @client.make_request_async(:delete, path_template, options)
1645
+
1646
+ promise = promise.then do |result|
1647
+ http_response = result.response
1648
+ status_code = http_response.status
1649
+ response_content = http_response.body
1650
+ unless status_code == 202 || status_code == 204
1651
+ error_model = JSON.load(response_content)
1652
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
1653
+ end
1654
+
1655
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1656
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1657
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1658
+
1659
+ result
1660
+ end
1661
+
1662
+ promise.execute
1663
+ end
1664
+
1665
+ #
1666
+ # Deploys resources at subscription scope.
1667
+ #
1668
+ # You can provide the template and parameters directly in the request or link
1669
+ # to JSON files.
1670
+ #
1671
+ # @param deployment_name [String] The name of the deployment.
1672
+ # @param parameters [Deployment] Additional parameters supplied to the
1673
+ # operation.
1674
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1675
+ # will be added to the HTTP request.
1676
+ #
1677
+ # @return [DeploymentExtended] operation results.
1678
+ #
1679
+ def begin_create_or_update_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
1680
+ response = begin_create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
1681
+ response.body unless response.nil?
1682
+ end
1683
+
1684
+ #
1685
+ # Deploys resources at subscription scope.
1686
+ #
1687
+ # You can provide the template and parameters directly in the request or link
1688
+ # to JSON files.
1689
+ #
1690
+ # @param deployment_name [String] The name of the deployment.
1691
+ # @param parameters [Deployment] Additional parameters supplied to the
1692
+ # operation.
1693
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1694
+ # will be added to the HTTP request.
1695
+ #
1696
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1697
+ #
1698
+ def begin_create_or_update_at_subscription_scope_with_http_info(deployment_name, parameters, custom_headers:nil)
1699
+ begin_create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
1700
+ end
1701
+
1702
+ #
1703
+ # Deploys resources at subscription scope.
1704
+ #
1705
+ # You can provide the template and parameters directly in the request or link
1706
+ # to JSON files.
1707
+ #
1708
+ # @param deployment_name [String] The name of the deployment.
1709
+ # @param parameters [Deployment] Additional parameters supplied to the
1710
+ # operation.
1711
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1712
+ # to the HTTP request.
1713
+ #
1714
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1715
+ #
1716
+ def begin_create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:nil)
1717
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
1718
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
1719
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
1720
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1721
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1722
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1723
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1724
+
1725
+
1726
+ request_headers = {}
1727
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1728
+
1729
+ # Set Headers
1730
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1731
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1732
+
1733
+ # Serialize Request
1734
+ request_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::Deployment.mapper()
1735
+ request_content = @client.serialize(request_mapper, parameters)
1736
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1737
+
1738
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}'
1739
+
1740
+ request_url = @base_url || @client.base_url
1741
+
1742
+ options = {
1743
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1744
+ path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
1745
+ query_params: {'api-version' => @client.api_version},
1746
+ body: request_content,
1747
+ headers: request_headers.merge(custom_headers || {}),
1748
+ base_url: request_url
1749
+ }
1750
+ promise = @client.make_request_async(:put, path_template, options)
1751
+
1752
+ promise = promise.then do |result|
1753
+ http_response = result.response
1754
+ status_code = http_response.status
1755
+ response_content = http_response.body
1756
+ unless status_code == 200 || status_code == 201
1757
+ error_model = JSON.load(response_content)
1758
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
1759
+ end
1760
+
1761
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1762
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1763
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1764
+ # Deserialize Response
1765
+ if status_code == 200
1766
+ begin
1767
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1768
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
1769
+ result.body = @client.deserialize(result_mapper, parsed_response)
1770
+ rescue Exception => e
1771
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1772
+ end
1773
+ end
1774
+ # Deserialize Response
1775
+ if status_code == 201
1776
+ begin
1777
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1778
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
1779
+ result.body = @client.deserialize(result_mapper, parsed_response)
1780
+ rescue Exception => e
1781
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1782
+ end
1783
+ end
1784
+
1785
+ result
1786
+ end
1787
+
1788
+ promise.execute
1789
+ end
1790
+
1791
+ #
1792
+ # Deletes a deployment from the deployment history.
1793
+ #
1794
+ # A template deployment that is currently running cannot be deleted. Deleting a
1795
+ # template deployment removes the associated deployment operations. Deleting a
1796
+ # template deployment does not affect the state of the resource group. This is
1797
+ # an asynchronous operation that returns a status of 202 until the template
1798
+ # deployment is successfully deleted. The Location response header contains the
1799
+ # URI that is used to obtain the status of the process. While the process is
1800
+ # running, a call to the URI in the Location header returns a status of 202.
1801
+ # When the process finishes, the URI in the Location header returns a status of
1802
+ # 204 on success. If the asynchronous request failed, the URI in the Location
1803
+ # header returns an error-level status code.
1804
+ #
1805
+ # @param resource_group_name [String] The name of the resource group with the
1806
+ # deployment to delete. The name is case insensitive.
1807
+ # @param deployment_name [String] The name of the deployment to delete.
1808
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1809
+ # will be added to the HTTP request.
1810
+ #
1811
+ #
1812
+ def begin_delete(resource_group_name, deployment_name, custom_headers:nil)
1813
+ response = begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
1814
+ nil
1815
+ end
1816
+
1817
+ #
1818
+ # Deletes a deployment from the deployment history.
1819
+ #
1820
+ # A template deployment that is currently running cannot be deleted. Deleting a
1821
+ # template deployment removes the associated deployment operations. Deleting a
1822
+ # template deployment does not affect the state of the resource group. This is
1823
+ # an asynchronous operation that returns a status of 202 until the template
1824
+ # deployment is successfully deleted. The Location response header contains the
1825
+ # URI that is used to obtain the status of the process. While the process is
1826
+ # running, a call to the URI in the Location header returns a status of 202.
1827
+ # When the process finishes, the URI in the Location header returns a status of
1828
+ # 204 on success. If the asynchronous request failed, the URI in the Location
1829
+ # header returns an error-level status code.
1830
+ #
1831
+ # @param resource_group_name [String] The name of the resource group with the
1832
+ # deployment to delete. The name is case insensitive.
1833
+ # @param deployment_name [String] The name of the deployment to delete.
1834
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1835
+ # will be added to the HTTP request.
1836
+ #
1837
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1838
+ #
1839
+ def begin_delete_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
1840
+ begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
1841
+ end
1842
+
1843
+ #
1844
+ # Deletes a deployment from the deployment history.
1845
+ #
1846
+ # A template deployment that is currently running cannot be deleted. Deleting a
1847
+ # template deployment removes the associated deployment operations. Deleting a
1848
+ # template deployment does not affect the state of the resource group. This is
1849
+ # an asynchronous operation that returns a status of 202 until the template
1850
+ # deployment is successfully deleted. The Location response header contains the
1851
+ # URI that is used to obtain the status of the process. While the process is
1852
+ # running, a call to the URI in the Location header returns a status of 202.
1853
+ # When the process finishes, the URI in the Location header returns a status of
1854
+ # 204 on success. If the asynchronous request failed, the URI in the Location
1855
+ # header returns an error-level status code.
1856
+ #
1857
+ # @param resource_group_name [String] The name of the resource group with the
1858
+ # deployment to delete. The name is case insensitive.
1859
+ # @param deployment_name [String] The name of the deployment to delete.
1860
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1861
+ # to the HTTP request.
1862
+ #
1863
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1864
+ #
1865
+ def begin_delete_async(resource_group_name, deployment_name, custom_headers:nil)
1866
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1867
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1868
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1869
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1870
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
1871
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
1872
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
1873
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1874
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1875
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1876
+
1877
+
1878
+ request_headers = {}
1879
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1880
+
1881
+ # Set Headers
1882
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1883
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1884
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
1885
+
1886
+ request_url = @base_url || @client.base_url
1887
+
1888
+ options = {
1889
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1890
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
1891
+ query_params: {'api-version' => @client.api_version},
1892
+ headers: request_headers.merge(custom_headers || {}),
1893
+ base_url: request_url
1894
+ }
1895
+ promise = @client.make_request_async(:delete, path_template, options)
1896
+
1897
+ promise = promise.then do |result|
1898
+ http_response = result.response
1899
+ status_code = http_response.status
1900
+ response_content = http_response.body
1901
+ unless status_code == 202 || status_code == 204
1902
+ error_model = JSON.load(response_content)
1903
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
1904
+ end
1905
+
1906
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1907
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1908
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1909
+
1910
+ result
1911
+ end
1912
+
1913
+ promise.execute
1914
+ end
1915
+
1916
+ #
1917
+ # Deploys resources to a resource group.
1918
+ #
1919
+ # You can provide the template and parameters directly in the request or link
1920
+ # to JSON files.
1921
+ #
1922
+ # @param resource_group_name [String] The name of the resource group to deploy
1923
+ # the resources to. The name is case insensitive. The resource group must
1924
+ # already exist.
1925
+ # @param deployment_name [String] The name of the deployment.
1926
+ # @param parameters [Deployment] Additional parameters supplied to the
1927
+ # operation.
1928
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1929
+ # will be added to the HTTP request.
1930
+ #
1931
+ # @return [DeploymentExtended] operation results.
1932
+ #
1933
+ def begin_create_or_update(resource_group_name, deployment_name, parameters, custom_headers:nil)
1934
+ response = begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
1935
+ response.body unless response.nil?
1936
+ end
1937
+
1938
+ #
1939
+ # Deploys resources to a resource group.
1940
+ #
1941
+ # You can provide the template and parameters directly in the request or link
1942
+ # to JSON files.
1943
+ #
1944
+ # @param resource_group_name [String] The name of the resource group to deploy
1945
+ # the resources to. The name is case insensitive. The resource group must
1946
+ # already exist.
1947
+ # @param deployment_name [String] The name of the deployment.
1948
+ # @param parameters [Deployment] Additional parameters supplied to the
1949
+ # operation.
1950
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1951
+ # will be added to the HTTP request.
1952
+ #
1953
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
1954
+ #
1955
+ def begin_create_or_update_with_http_info(resource_group_name, deployment_name, parameters, custom_headers:nil)
1956
+ begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
1957
+ end
1958
+
1959
+ #
1960
+ # Deploys resources to a resource group.
1961
+ #
1962
+ # You can provide the template and parameters directly in the request or link
1963
+ # to JSON files.
1964
+ #
1965
+ # @param resource_group_name [String] The name of the resource group to deploy
1966
+ # the resources to. The name is case insensitive. The resource group must
1967
+ # already exist.
1968
+ # @param deployment_name [String] The name of the deployment.
1969
+ # @param parameters [Deployment] Additional parameters supplied to the
1970
+ # operation.
1971
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1972
+ # to the HTTP request.
1973
+ #
1974
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1975
+ #
1976
+ def begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
1977
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1978
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1979
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1980
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1981
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
1982
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
1983
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
1984
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1985
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1986
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1987
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1988
+
1989
+
1990
+ request_headers = {}
1991
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1992
+
1993
+ # Set Headers
1994
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1995
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1996
+
1997
+ # Serialize Request
1998
+ request_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::Deployment.mapper()
1999
+ request_content = @client.serialize(request_mapper, parameters)
2000
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2001
+
2002
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
2003
+
2004
+ request_url = @base_url || @client.base_url
2005
+
2006
+ options = {
2007
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2008
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
2009
+ query_params: {'api-version' => @client.api_version},
2010
+ body: request_content,
2011
+ headers: request_headers.merge(custom_headers || {}),
2012
+ base_url: request_url
2013
+ }
2014
+ promise = @client.make_request_async(:put, path_template, options)
2015
+
2016
+ promise = promise.then do |result|
2017
+ http_response = result.response
2018
+ status_code = http_response.status
2019
+ response_content = http_response.body
2020
+ unless status_code == 200 || status_code == 201
2021
+ error_model = JSON.load(response_content)
2022
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
2023
+ end
2024
+
2025
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2026
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2027
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2028
+ # Deserialize Response
2029
+ if status_code == 200
2030
+ begin
2031
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2032
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
2033
+ result.body = @client.deserialize(result_mapper, parsed_response)
2034
+ rescue Exception => e
2035
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2036
+ end
2037
+ end
2038
+ # Deserialize Response
2039
+ if status_code == 201
2040
+ begin
2041
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2042
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
2043
+ result.body = @client.deserialize(result_mapper, parsed_response)
2044
+ rescue Exception => e
2045
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2046
+ end
2047
+ end
2048
+
2049
+ result
2050
+ end
2051
+
2052
+ promise.execute
2053
+ end
2054
+
2055
+ #
2056
+ # Get all the deployments for a subscription.
2057
+ #
2058
+ # @param next_page_link [String] The NextLink from the previous successful call
2059
+ # to List operation.
2060
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2061
+ # will be added to the HTTP request.
2062
+ #
2063
+ # @return [DeploymentListResult] operation results.
2064
+ #
2065
+ def list_at_subscription_scope_next(next_page_link, custom_headers:nil)
2066
+ response = list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers).value!
2067
+ response.body unless response.nil?
2068
+ end
2069
+
2070
+ #
2071
+ # Get all the deployments for a subscription.
2072
+ #
2073
+ # @param next_page_link [String] The NextLink from the previous successful call
2074
+ # to List operation.
2075
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2076
+ # will be added to the HTTP request.
2077
+ #
2078
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
2079
+ #
2080
+ def list_at_subscription_scope_next_with_http_info(next_page_link, custom_headers:nil)
2081
+ list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers).value!
2082
+ end
2083
+
2084
+ #
2085
+ # Get all the deployments for a subscription.
2086
+ #
2087
+ # @param next_page_link [String] The NextLink from the previous successful call
2088
+ # to List operation.
2089
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2090
+ # to the HTTP request.
2091
+ #
2092
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2093
+ #
2094
+ def list_at_subscription_scope_next_async(next_page_link, custom_headers:nil)
2095
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2096
+
2097
+
2098
+ request_headers = {}
2099
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2100
+
2101
+ # Set Headers
2102
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2103
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2104
+ path_template = '{nextLink}'
2105
+
2106
+ request_url = @base_url || @client.base_url
2107
+
2108
+ options = {
2109
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2110
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2111
+ headers: request_headers.merge(custom_headers || {}),
2112
+ base_url: request_url
2113
+ }
2114
+ promise = @client.make_request_async(:get, path_template, options)
2115
+
2116
+ promise = promise.then do |result|
2117
+ http_response = result.response
2118
+ status_code = http_response.status
2119
+ response_content = http_response.body
2120
+ unless status_code == 200
2121
+ error_model = JSON.load(response_content)
2122
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
2123
+ end
2124
+
2125
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2126
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2127
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2128
+ # Deserialize Response
2129
+ if status_code == 200
2130
+ begin
2131
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2132
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentListResult.mapper()
2133
+ result.body = @client.deserialize(result_mapper, parsed_response)
2134
+ rescue Exception => e
2135
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2136
+ end
2137
+ end
2138
+
2139
+ result
2140
+ end
2141
+
2142
+ promise.execute
2143
+ end
2144
+
2145
+ #
2146
+ # Get all the deployments for a resource group.
2147
+ #
2148
+ # @param next_page_link [String] The NextLink from the previous successful call
2149
+ # to List operation.
2150
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2151
+ # will be added to the HTTP request.
2152
+ #
2153
+ # @return [DeploymentListResult] operation results.
2154
+ #
2155
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
2156
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
2157
+ response.body unless response.nil?
2158
+ end
2159
+
2160
+ #
2161
+ # Get all the deployments for a resource group.
2162
+ #
2163
+ # @param next_page_link [String] The NextLink from the previous successful call
2164
+ # to List operation.
2165
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2166
+ # will be added to the HTTP request.
2167
+ #
2168
+ # @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
2169
+ #
2170
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
2171
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
2172
+ end
2173
+
2174
+ #
2175
+ # Get all the deployments for a resource group.
2176
+ #
2177
+ # @param next_page_link [String] The NextLink from the previous successful call
2178
+ # to List operation.
2179
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2180
+ # to the HTTP request.
2181
+ #
2182
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2183
+ #
2184
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
2185
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2186
+
2187
+
2188
+ request_headers = {}
2189
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2190
+
2191
+ # Set Headers
2192
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2193
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2194
+ path_template = '{nextLink}'
2195
+
2196
+ request_url = @base_url || @client.base_url
2197
+
2198
+ options = {
2199
+ middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2200
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2201
+ headers: request_headers.merge(custom_headers || {}),
2202
+ base_url: request_url
2203
+ }
2204
+ promise = @client.make_request_async(:get, path_template, options)
2205
+
2206
+ promise = promise.then do |result|
2207
+ http_response = result.response
2208
+ status_code = http_response.status
2209
+ response_content = http_response.body
2210
+ unless status_code == 200
2211
+ error_model = JSON.load(response_content)
2212
+ fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
2213
+ end
2214
+
2215
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2216
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2217
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2218
+ # Deserialize Response
2219
+ if status_code == 200
2220
+ begin
2221
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2222
+ result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentListResult.mapper()
2223
+ result.body = @client.deserialize(result_mapper, parsed_response)
2224
+ rescue Exception => e
2225
+ fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2226
+ end
2227
+ end
2228
+
2229
+ result
2230
+ end
2231
+
2232
+ promise.execute
2233
+ end
2234
+
2235
+ #
2236
+ # Get all the deployments for a subscription.
2237
+ #
2238
+ # @param filter [String] The filter to apply on the operation. For example, you
2239
+ # can use $filter=provisioningState eq '{state}'.
2240
+ # @param top [Integer] The number of results to get. If null is passed, returns
2241
+ # all deployments.
2242
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2243
+ # will be added to the HTTP request.
2244
+ #
2245
+ # @return [DeploymentListResult] which provide lazy access to pages of the
2246
+ # response.
2247
+ #
2248
+ def list_at_subscription_scope_as_lazy(filter:nil, top:nil, custom_headers:nil)
2249
+ response = list_at_subscription_scope_async(filter:filter, top:top, custom_headers:custom_headers).value!
2250
+ unless response.nil?
2251
+ page = response.body
2252
+ page.next_method = Proc.new do |next_page_link|
2253
+ list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers)
2254
+ end
2255
+ page
2256
+ end
2257
+ end
2258
+
2259
+ #
2260
+ # Get all the deployments for a resource group.
2261
+ #
2262
+ # @param resource_group_name [String] The name of the resource group with the
2263
+ # deployments to get. The name is case insensitive.
2264
+ # @param filter [String] The filter to apply on the operation. For example, you
2265
+ # can use $filter=provisioningState eq '{state}'.
2266
+ # @param top [Integer] The number of results to get. If null is passed, returns
2267
+ # all deployments.
2268
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2269
+ # will be added to the HTTP request.
2270
+ #
2271
+ # @return [DeploymentListResult] which provide lazy access to pages of the
2272
+ # response.
2273
+ #
2274
+ def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, custom_headers:nil)
2275
+ response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
2276
+ unless response.nil?
2277
+ page = response.body
2278
+ page.next_method = Proc.new do |next_page_link|
2279
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
2280
+ end
2281
+ page
2282
+ end
2283
+ end
2284
+
2285
+ end
2286
+ end