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