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