azure_mgmt_resources2 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (880) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +114 -0
  4. data/lib/2016-02-01/generated/azure_mgmt_resources/deployment_operations.rb +346 -0
  5. data/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb +1149 -0
  6. data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +66 -0
  7. data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_type.rb +67 -0
  8. data/lib/2016-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  9. data/lib/2016-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +47 -0
  10. data/lib/2016-02-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  11. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment.rb +47 -0
  12. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +47 -0
  13. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
  14. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  15. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +98 -0
  16. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  17. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +69 -0
  18. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +126 -0
  19. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +98 -0
  20. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +110 -0
  21. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +194 -0
  22. data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  23. data/lib/2016-02-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  24. data/lib/2016-02-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  25. data/lib/2016-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  26. data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +155 -0
  27. data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  28. data/lib/2016-02-01/generated/azure_mgmt_resources/models/http_message.rb +47 -0
  29. data/lib/2016-02-01/generated/azure_mgmt_resources/models/identity.rb +72 -0
  30. data/lib/2016-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  31. data/lib/2016-02-01/generated/azure_mgmt_resources/models/plan.rb +79 -0
  32. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider.rb +89 -0
  33. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +98 -0
  34. data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
  35. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource.rb +111 -0
  36. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group.rb +104 -0
  37. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +59 -0
  38. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  39. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +98 -0
  40. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  41. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
  42. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +98 -0
  43. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +89 -0
  44. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  45. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  46. data/lib/2016-02-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  47. data/lib/2016-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +47 -0
  48. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  49. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_details.rb +90 -0
  50. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  51. data/lib/2016-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +98 -0
  52. data/lib/2016-02-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  53. data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  54. data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  55. data/lib/2016-02-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  56. data/lib/2016-02-01/generated/azure_mgmt_resources/providers.rb +522 -0
  57. data/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb +1112 -0
  58. data/lib/2016-02-01/generated/azure_mgmt_resources/resource_management_client.rb +151 -0
  59. data/lib/2016-02-01/generated/azure_mgmt_resources/resources.rb +1023 -0
  60. data/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb +586 -0
  61. data/lib/2016-02-01/generated/azure_mgmt_resources.rb +82 -0
  62. data/lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb +108 -0
  63. data/lib/2016-06-01/generated/azure_mgmt_resources/models/location_list_result.rb +55 -0
  64. data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
  65. data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  66. data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  67. data/lib/2016-06-01/generated/azure_mgmt_resources/models/spending_limit.rb +17 -0
  68. data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription.rb +112 -0
  69. data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_list_result.rb +98 -0
  70. data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_policies.rb +76 -0
  71. data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_state.rb +19 -0
  72. data/lib/2016-06-01/generated/azure_mgmt_resources/models/tenant_id_description.rb +61 -0
  73. data/lib/2016-06-01/generated/azure_mgmt_resources/models/tenant_list_result.rb +98 -0
  74. data/lib/2016-06-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  75. data/lib/2016-06-01/generated/azure_mgmt_resources/operations.rb +222 -0
  76. data/lib/2016-06-01/generated/azure_mgmt_resources/subscription_client.rb +136 -0
  77. data/lib/2016-06-01/generated/azure_mgmt_resources/subscriptions.rb +409 -0
  78. data/lib/2016-06-01/generated/azure_mgmt_resources/tenants.rb +222 -0
  79. data/lib/2016-06-01/generated/azure_mgmt_resources.rb +42 -0
  80. data/lib/2016-07-01/generated/azure_mgmt_resources/deployment_operations.rb +346 -0
  81. data/lib/2016-07-01/generated/azure_mgmt_resources/deployments.rb +1149 -0
  82. data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  83. data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  84. data/lib/2016-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  85. data/lib/2016-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +47 -0
  86. data/lib/2016-07-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  87. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment.rb +47 -0
  88. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  89. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
  90. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  91. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +98 -0
  92. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  93. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +69 -0
  94. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +126 -0
  95. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +98 -0
  96. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +110 -0
  97. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +194 -0
  98. data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  99. data/lib/2016-07-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  100. data/lib/2016-07-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  101. data/lib/2016-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  102. data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +155 -0
  103. data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  104. data/lib/2016-07-01/generated/azure_mgmt_resources/models/http_message.rb +47 -0
  105. data/lib/2016-07-01/generated/azure_mgmt_resources/models/identity.rb +72 -0
  106. data/lib/2016-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  107. data/lib/2016-07-01/generated/azure_mgmt_resources/models/plan.rb +79 -0
  108. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider.rb +89 -0
  109. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +98 -0
  110. data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
  111. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource.rb +111 -0
  112. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group.rb +104 -0
  113. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +59 -0
  114. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  115. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +98 -0
  116. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  117. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
  118. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +98 -0
  119. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +89 -0
  120. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  121. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  122. data/lib/2016-07-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  123. data/lib/2016-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +47 -0
  124. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  125. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_details.rb +90 -0
  126. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  127. data/lib/2016-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +98 -0
  128. data/lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  129. data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  130. data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  131. data/lib/2016-07-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  132. data/lib/2016-07-01/generated/azure_mgmt_resources/providers.rb +522 -0
  133. data/lib/2016-07-01/generated/azure_mgmt_resources/resource_groups.rb +1112 -0
  134. data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +153 -0
  135. data/lib/2016-07-01/generated/azure_mgmt_resources/resources.rb +1023 -0
  136. data/lib/2016-07-01/generated/azure_mgmt_resources/tags.rb +586 -0
  137. data/lib/2016-07-01/generated/azure_mgmt_resources.rb +82 -0
  138. data/lib/2016-09-01/generated/azure_mgmt_resources/deployment_operations.rb +356 -0
  139. data/lib/2016-09-01/generated/azure_mgmt_resources/deployments.rb +1256 -0
  140. data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  141. data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  142. data/lib/2016-09-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  143. data/lib/2016-09-01/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
  144. data/lib/2016-09-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  145. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment.rb +47 -0
  146. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  147. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
  148. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  149. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  150. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  151. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  152. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
  153. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  154. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties.rb +124 -0
  155. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +198 -0
  156. data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  157. data/lib/2016-09-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  158. data/lib/2016-09-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  159. data/lib/2016-09-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  160. data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  161. data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  162. data/lib/2016-09-01/generated/azure_mgmt_resources/models/http_message.rb +47 -0
  163. data/lib/2016-09-01/generated/azure_mgmt_resources/models/identity.rb +72 -0
  164. data/lib/2016-09-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  165. data/lib/2016-09-01/generated/azure_mgmt_resources/models/plan.rb +79 -0
  166. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider.rb +92 -0
  167. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  168. data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
  169. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource.rb +111 -0
  170. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group.rb +115 -0
  171. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +59 -0
  172. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  173. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  174. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  175. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
  176. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  177. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +93 -0
  178. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  179. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  180. data/lib/2016-09-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  181. data/lib/2016-09-01/generated/azure_mgmt_resources/models/sub_resource.rb +47 -0
  182. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  183. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  184. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  185. data/lib/2016-09-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  186. data/lib/2016-09-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  187. data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  188. data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  189. data/lib/2016-09-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  190. data/lib/2016-09-01/generated/azure_mgmt_resources/providers.rb +530 -0
  191. data/lib/2016-09-01/generated/azure_mgmt_resources/resource_groups.rb +1131 -0
  192. data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +151 -0
  193. data/lib/2016-09-01/generated/azure_mgmt_resources/resources.rb +1814 -0
  194. data/lib/2016-09-01/generated/azure_mgmt_resources/tags.rb +611 -0
  195. data/lib/2016-09-01/generated/azure_mgmt_resources.rb +82 -0
  196. data/lib/2017-05-10/generated/azure_mgmt_resources/deployment_operations.rb +356 -0
  197. data/lib/2017-05-10/generated/azure_mgmt_resources/deployments.rb +1256 -0
  198. data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  199. data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  200. data/lib/2017-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  201. data/lib/2017-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
  202. data/lib/2017-05-10/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  203. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment.rb +47 -0
  204. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  205. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
  206. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  207. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  208. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  209. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  210. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
  211. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  212. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +124 -0
  213. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +198 -0
  214. data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  215. data/lib/2017-05-10/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  216. data/lib/2017-05-10/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  217. data/lib/2017-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  218. data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  219. data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  220. data/lib/2017-05-10/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  221. data/lib/2017-05-10/generated/azure_mgmt_resources/models/identity.rb +72 -0
  222. data/lib/2017-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  223. data/lib/2017-05-10/generated/azure_mgmt_resources/models/plan.rb +90 -0
  224. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider.rb +92 -0
  225. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  226. data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
  227. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource.rb +110 -0
  228. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group.rb +115 -0
  229. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  230. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  231. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  232. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  233. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  234. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
  235. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  236. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
  237. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  238. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  239. data/lib/2017-05-10/generated/azure_mgmt_resources/models/sku.rb +101 -0
  240. data/lib/2017-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  241. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  242. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  243. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  244. data/lib/2017-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  245. data/lib/2017-05-10/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  246. data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  247. data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  248. data/lib/2017-05-10/generated/azure_mgmt_resources/module_definition.rb +9 -0
  249. data/lib/2017-05-10/generated/azure_mgmt_resources/providers.rb +530 -0
  250. data/lib/2017-05-10/generated/azure_mgmt_resources/resource_groups.rb +907 -0
  251. data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +151 -0
  252. data/lib/2017-05-10/generated/azure_mgmt_resources/resources.rb +2210 -0
  253. data/lib/2017-05-10/generated/azure_mgmt_resources/tags.rb +611 -0
  254. data/lib/2017-05-10/generated/azure_mgmt_resources.rb +83 -0
  255. data/lib/2018-02-01/generated/azure_mgmt_resources/deployment_operations.rb +356 -0
  256. data/lib/2018-02-01/generated/azure_mgmt_resources/deployments.rb +1256 -0
  257. data/lib/2018-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  258. data/lib/2018-02-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  259. data/lib/2018-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  260. data/lib/2018-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
  261. data/lib/2018-02-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  262. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment.rb +47 -0
  263. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  264. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
  265. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  266. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  267. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  268. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  269. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
  270. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  271. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
  272. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +210 -0
  273. data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  274. data/lib/2018-02-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  275. data/lib/2018-02-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  276. data/lib/2018-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  277. data/lib/2018-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  278. data/lib/2018-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  279. data/lib/2018-02-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  280. data/lib/2018-02-01/generated/azure_mgmt_resources/models/identity.rb +73 -0
  281. data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
  282. data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
  283. data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
  284. data/lib/2018-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  285. data/lib/2018-02-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
  286. data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider.rb +92 -0
  287. data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  288. data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
  289. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
  290. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group.rb +115 -0
  291. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  292. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  293. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  294. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  295. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  296. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
  297. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  298. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
  299. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  300. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  301. data/lib/2018-02-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  302. data/lib/2018-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  303. data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  304. data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  305. data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  306. data/lib/2018-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  307. data/lib/2018-02-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  308. data/lib/2018-02-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  309. data/lib/2018-02-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  310. data/lib/2018-02-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  311. data/lib/2018-02-01/generated/azure_mgmt_resources/providers.rb +530 -0
  312. data/lib/2018-02-01/generated/azure_mgmt_resources/resource_groups.rb +907 -0
  313. data/lib/2018-02-01/generated/azure_mgmt_resources/resource_management_client.rb +151 -0
  314. data/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb +2210 -0
  315. data/lib/2018-02-01/generated/azure_mgmt_resources/tags.rb +611 -0
  316. data/lib/2018-02-01/generated/azure_mgmt_resources.rb +86 -0
  317. data/lib/2018-05-01/generated/azure_mgmt_resources/deployment_operations.rb +665 -0
  318. data/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb +2286 -0
  319. data/lib/2018-05-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  320. data/lib/2018-05-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  321. data/lib/2018-05-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  322. data/lib/2018-05-01/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
  323. data/lib/2018-05-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  324. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment.rb +58 -0
  325. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  326. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
  327. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  328. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  329. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  330. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  331. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
  332. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  333. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
  334. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +210 -0
  335. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  336. data/lib/2018-05-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  337. data/lib/2018-05-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  338. data/lib/2018-05-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  339. data/lib/2018-05-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  340. data/lib/2018-05-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  341. data/lib/2018-05-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  342. data/lib/2018-05-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
  343. data/lib/2018-05-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
  344. data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
  345. data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
  346. data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
  347. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
  348. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  349. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  350. data/lib/2018-05-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  351. data/lib/2018-05-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
  352. data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider.rb +92 -0
  353. data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  354. data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
  355. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
  356. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
  357. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  358. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  359. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  360. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  361. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  362. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
  363. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  364. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
  365. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  366. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  367. data/lib/2018-05-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  368. data/lib/2018-05-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  369. data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  370. data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  371. data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  372. data/lib/2018-05-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  373. data/lib/2018-05-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  374. data/lib/2018-05-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  375. data/lib/2018-05-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  376. data/lib/2018-05-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  377. data/lib/2018-05-01/generated/azure_mgmt_resources/operations.rb +219 -0
  378. data/lib/2018-05-01/generated/azure_mgmt_resources/providers.rb +530 -0
  379. data/lib/2018-05-01/generated/azure_mgmt_resources/resource_groups.rb +918 -0
  380. data/lib/2018-05-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
  381. data/lib/2018-05-01/generated/azure_mgmt_resources/resources.rb +2338 -0
  382. data/lib/2018-05-01/generated/azure_mgmt_resources/tags.rb +611 -0
  383. data/lib/2018-05-01/generated/azure_mgmt_resources.rb +91 -0
  384. data/lib/2018-06-01/generated/azure_mgmt_resources/application_client.rb +135 -0
  385. data/lib/2018-06-01/generated/azure_mgmt_resources/application_definitions.rb +1052 -0
  386. data/lib/2018-06-01/generated/azure_mgmt_resources/applications.rb +1467 -0
  387. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application.rb +202 -0
  388. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_artifact.rb +70 -0
  389. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_artifact_type.rb +16 -0
  390. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb +240 -0
  391. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition_list_result.rb +99 -0
  392. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_list_result.rb +98 -0
  393. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_lock_level.rb +17 -0
  394. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_patchable.rb +202 -0
  395. data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb +62 -0
  396. data/lib/2018-06-01/generated/azure_mgmt_resources/models/error_response.rb +69 -0
  397. data/lib/2018-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +121 -0
  398. data/lib/2018-06-01/generated/azure_mgmt_resources/models/identity.rb +72 -0
  399. data/lib/2018-06-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
  400. data/lib/2018-06-01/generated/azure_mgmt_resources/models/plan_patchable.rb +90 -0
  401. data/lib/2018-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +25 -0
  402. data/lib/2018-06-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
  403. data/lib/2018-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
  404. data/lib/2018-06-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  405. data/lib/2018-06-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  406. data/lib/2018-06-01/generated/azure_mgmt_resources.rb +47 -0
  407. data/lib/2019-03-01/generated/azure_mgmt_resources/deployment_operations.rb +665 -0
  408. data/lib/2019-03-01/generated/azure_mgmt_resources/deployments.rb +2286 -0
  409. data/lib/2019-03-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  410. data/lib/2019-03-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  411. data/lib/2019-03-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  412. data/lib/2019-03-01/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
  413. data/lib/2019-03-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  414. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment.rb +58 -0
  415. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  416. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
  417. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  418. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  419. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  420. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  421. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
  422. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  423. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
  424. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +210 -0
  425. data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  426. data/lib/2019-03-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  427. data/lib/2019-03-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  428. data/lib/2019-03-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  429. data/lib/2019-03-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  430. data/lib/2019-03-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  431. data/lib/2019-03-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  432. data/lib/2019-03-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
  433. data/lib/2019-03-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
  434. data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
  435. data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
  436. data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
  437. data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
  438. data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  439. data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  440. data/lib/2019-03-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  441. data/lib/2019-03-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
  442. data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
  443. data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  444. data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
  445. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
  446. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
  447. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  448. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  449. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  450. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  451. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  452. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
  453. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  454. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
  455. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  456. data/lib/2019-03-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  457. data/lib/2019-03-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  458. data/lib/2019-03-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  459. data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  460. data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  461. data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  462. data/lib/2019-03-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  463. data/lib/2019-03-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  464. data/lib/2019-03-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  465. data/lib/2019-03-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  466. data/lib/2019-03-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  467. data/lib/2019-03-01/generated/azure_mgmt_resources/operations.rb +219 -0
  468. data/lib/2019-03-01/generated/azure_mgmt_resources/providers.rb +530 -0
  469. data/lib/2019-03-01/generated/azure_mgmt_resources/resource_groups.rb +918 -0
  470. data/lib/2019-03-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
  471. data/lib/2019-03-01/generated/azure_mgmt_resources/resources.rb +2338 -0
  472. data/lib/2019-03-01/generated/azure_mgmt_resources/tags.rb +611 -0
  473. data/lib/2019-03-01/generated/azure_mgmt_resources.rb +91 -0
  474. data/lib/2019-05-01/generated/azure_mgmt_resources/deployment_operations.rb +973 -0
  475. data/lib/2019-05-01/generated/azure_mgmt_resources/deployments.rb +3352 -0
  476. data/lib/2019-05-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  477. data/lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  478. data/lib/2019-05-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  479. data/lib/2019-05-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
  480. data/lib/2019-05-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  481. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment.rb +58 -0
  482. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  483. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
  484. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  485. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  486. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  487. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  488. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +146 -0
  489. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  490. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
  491. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +222 -0
  492. data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  493. data/lib/2019-05-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  494. data/lib/2019-05-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  495. data/lib/2019-05-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  496. data/lib/2019-05-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  497. data/lib/2019-05-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  498. data/lib/2019-05-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  499. data/lib/2019-05-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
  500. data/lib/2019-05-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
  501. data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
  502. data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
  503. data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
  504. data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
  505. data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  506. data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  507. data/lib/2019-05-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  508. data/lib/2019-05-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
  509. data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
  510. data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  511. data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
  512. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
  513. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
  514. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  515. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  516. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  517. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  518. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  519. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
  520. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  521. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
  522. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  523. data/lib/2019-05-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  524. data/lib/2019-05-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  525. data/lib/2019-05-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  526. data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  527. data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  528. data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  529. data/lib/2019-05-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  530. data/lib/2019-05-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  531. data/lib/2019-05-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  532. data/lib/2019-05-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  533. data/lib/2019-05-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  534. data/lib/2019-05-01/generated/azure_mgmt_resources/operations.rb +219 -0
  535. data/lib/2019-05-01/generated/azure_mgmt_resources/providers.rb +530 -0
  536. data/lib/2019-05-01/generated/azure_mgmt_resources/resource_groups.rb +918 -0
  537. data/lib/2019-05-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
  538. data/lib/2019-05-01/generated/azure_mgmt_resources/resources.rb +2338 -0
  539. data/lib/2019-05-01/generated/azure_mgmt_resources/tags.rb +611 -0
  540. data/lib/2019-05-01/generated/azure_mgmt_resources.rb +91 -0
  541. data/lib/2019-05-10/generated/azure_mgmt_resources/deployment_operations.rb +973 -0
  542. data/lib/2019-05-10/generated/azure_mgmt_resources/deployments.rb +3352 -0
  543. data/lib/2019-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  544. data/lib/2019-05-10/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  545. data/lib/2019-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  546. data/lib/2019-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
  547. data/lib/2019-05-10/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  548. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment.rb +58 -0
  549. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  550. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
  551. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  552. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  553. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  554. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  555. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +146 -0
  556. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  557. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
  558. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +222 -0
  559. data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  560. data/lib/2019-05-10/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  561. data/lib/2019-05-10/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  562. data/lib/2019-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  563. data/lib/2019-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  564. data/lib/2019-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  565. data/lib/2019-05-10/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  566. data/lib/2019-05-10/generated/azure_mgmt_resources/models/identity.rb +96 -0
  567. data/lib/2019-05-10/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
  568. data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
  569. data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
  570. data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
  571. data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation.rb +58 -0
  572. data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  573. data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  574. data/lib/2019-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  575. data/lib/2019-05-10/generated/azure_mgmt_resources/models/plan.rb +90 -0
  576. data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider.rb +104 -0
  577. data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  578. data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
  579. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource.rb +110 -0
  580. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
  581. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  582. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  583. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  584. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  585. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  586. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
  587. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  588. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
  589. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  590. data/lib/2019-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  591. data/lib/2019-05-10/generated/azure_mgmt_resources/models/sku.rb +101 -0
  592. data/lib/2019-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  593. data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  594. data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  595. data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  596. data/lib/2019-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  597. data/lib/2019-05-10/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  598. data/lib/2019-05-10/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  599. data/lib/2019-05-10/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  600. data/lib/2019-05-10/generated/azure_mgmt_resources/module_definition.rb +9 -0
  601. data/lib/2019-05-10/generated/azure_mgmt_resources/operations.rb +219 -0
  602. data/lib/2019-05-10/generated/azure_mgmt_resources/providers.rb +846 -0
  603. data/lib/2019-05-10/generated/azure_mgmt_resources/resource_groups.rb +918 -0
  604. data/lib/2019-05-10/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
  605. data/lib/2019-05-10/generated/azure_mgmt_resources/resources.rb +2338 -0
  606. data/lib/2019-05-10/generated/azure_mgmt_resources/tags.rb +611 -0
  607. data/lib/2019-05-10/generated/azure_mgmt_resources.rb +91 -0
  608. data/lib/2019-07-01/generated/azure_mgmt_resources/deployment_operations.rb +1588 -0
  609. data/lib/2019-07-01/generated/azure_mgmt_resources/deployments.rb +5740 -0
  610. data/lib/2019-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
  611. data/lib/2019-07-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
  612. data/lib/2019-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  613. data/lib/2019-07-01/generated/azure_mgmt_resources/models/change_type.rb +20 -0
  614. data/lib/2019-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
  615. data/lib/2019-07-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  616. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment.rb +58 -0
  617. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  618. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
  619. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  620. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  621. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  622. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  623. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +146 -0
  624. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  625. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
  626. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +222 -0
  627. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
  628. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +58 -0
  629. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +108 -0
  630. data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +48 -0
  631. data/lib/2019-07-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  632. data/lib/2019-07-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
  633. data/lib/2019-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  634. data/lib/2019-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  635. data/lib/2019-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  636. data/lib/2019-07-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  637. data/lib/2019-07-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
  638. data/lib/2019-07-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
  639. data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
  640. data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
  641. data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
  642. data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
  643. data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  644. data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  645. data/lib/2019-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  646. data/lib/2019-07-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
  647. data/lib/2019-07-01/generated/azure_mgmt_resources/models/property_change_type.rb +18 -0
  648. data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
  649. data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  650. data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
  651. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
  652. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
  653. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  654. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  655. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  656. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  657. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  658. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
  659. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  660. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  661. data/lib/2019-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  662. data/lib/2019-07-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  663. data/lib/2019-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  664. data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  665. data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  666. data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  667. data/lib/2019-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  668. data/lib/2019-07-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  669. data/lib/2019-07-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  670. data/lib/2019-07-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  671. data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_change.rb +105 -0
  672. data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +80 -0
  673. data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +101 -0
  674. data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +16 -0
  675. data/lib/2019-07-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  676. data/lib/2019-07-01/generated/azure_mgmt_resources/operations.rb +219 -0
  677. data/lib/2019-07-01/generated/azure_mgmt_resources/providers.rb +846 -0
  678. data/lib/2019-07-01/generated/azure_mgmt_resources/resource_groups.rb +918 -0
  679. data/lib/2019-07-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
  680. data/lib/2019-07-01/generated/azure_mgmt_resources/resources.rb +2338 -0
  681. data/lib/2019-07-01/generated/azure_mgmt_resources/tags.rb +611 -0
  682. data/lib/2019-07-01/generated/azure_mgmt_resources.rb +99 -0
  683. data/lib/2019-10-01/generated/azure_mgmt_resources/deployment_operations.rb +1590 -0
  684. data/lib/2019-10-01/generated/azure_mgmt_resources/deployments.rb +6276 -0
  685. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_model.rb +102 -0
  686. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_path.rb +77 -0
  687. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_pattern.rb +70 -0
  688. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +16 -0
  689. data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_type.rb +17 -0
  690. data/lib/2019-10-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  691. data/lib/2019-10-01/generated/azure_mgmt_resources/models/change_type.rb +20 -0
  692. data/lib/2019-10-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
  693. data/lib/2019-10-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  694. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment.rb +77 -0
  695. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  696. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_extended.rb +113 -0
  697. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  698. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  699. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  700. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  701. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +162 -0
  702. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  703. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
  704. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +284 -0
  705. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +61 -0
  706. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +58 -0
  707. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +108 -0
  708. data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +48 -0
  709. data/lib/2019-10-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  710. data/lib/2019-10-01/generated/azure_mgmt_resources/models/error_response.rb +117 -0
  711. data/lib/2019-10-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  712. data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  713. data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +179 -0
  714. data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  715. data/lib/2019-10-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  716. data/lib/2019-10-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
  717. data/lib/2019-10-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
  718. data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
  719. data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
  720. data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
  721. data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
  722. data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  723. data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  724. data/lib/2019-10-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  725. data/lib/2019-10-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
  726. data/lib/2019-10-01/generated/azure_mgmt_resources/models/property_change_type.rb +18 -0
  727. data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
  728. data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  729. data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
  730. data/lib/2019-10-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +24 -0
  731. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
  732. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
  733. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  734. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  735. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  736. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  737. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  738. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
  739. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  740. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  741. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_reference.rb +47 -0
  742. data/lib/2019-10-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  743. data/lib/2019-10-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +77 -0
  744. data/lib/2019-10-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +58 -0
  745. data/lib/2019-10-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  746. data/lib/2019-10-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  747. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  748. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  749. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  750. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags.rb +54 -0
  751. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  752. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +17 -0
  753. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +59 -0
  754. data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_resource.rb +83 -0
  755. data/lib/2019-10-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  756. data/lib/2019-10-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  757. data/lib/2019-10-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
  758. data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_change.rb +105 -0
  759. data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +80 -0
  760. data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +101 -0
  761. data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +16 -0
  762. data/lib/2019-10-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  763. data/lib/2019-10-01/generated/azure_mgmt_resources/operations.rb +219 -0
  764. data/lib/2019-10-01/generated/azure_mgmt_resources/providers.rb +846 -0
  765. data/lib/2019-10-01/generated/azure_mgmt_resources/resource_groups.rb +964 -0
  766. data/lib/2019-10-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
  767. data/lib/2019-10-01/generated/azure_mgmt_resources/resources.rb +2354 -0
  768. data/lib/2019-10-01/generated/azure_mgmt_resources/tags_operations.rb +1078 -0
  769. data/lib/2019-10-01/generated/azure_mgmt_resources.rb +111 -0
  770. data/lib/2020-06-01/generated/azure_mgmt_resources/deployment_operations.rb +1590 -0
  771. data/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb +6276 -0
  772. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_model.rb +116 -0
  773. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb +91 -0
  774. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_attributes.rb +16 -0
  775. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_metadata.rb +64 -0
  776. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_token_type.rb +22 -0
  777. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern.rb +70 -0
  778. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +16 -0
  779. data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_type.rb +17 -0
  780. data/lib/2020-06-01/generated/azure_mgmt_resources/models/api_profile.rb +60 -0
  781. data/lib/2020-06-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
  782. data/lib/2020-06-01/generated/azure_mgmt_resources/models/change_type.rb +20 -0
  783. data/lib/2020-06-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
  784. data/lib/2020-06-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
  785. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment.rb +77 -0
  786. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
  787. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended.rb +113 -0
  788. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
  789. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
  790. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
  791. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
  792. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +166 -0
  793. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
  794. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties.rb +151 -0
  795. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +287 -0
  796. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +61 -0
  797. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +58 -0
  798. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +117 -0
  799. data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +48 -0
  800. data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
  801. data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_response.rb +117 -0
  802. data/lib/2020-06-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
  803. data/lib/2020-06-01/generated/azure_mgmt_resources/models/expression_evaluation_options.rb +49 -0
  804. data/lib/2020-06-01/generated/azure_mgmt_resources/models/expression_evaluation_options_scope_type.rb +17 -0
  805. data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
  806. data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +179 -0
  807. data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
  808. data/lib/2020-06-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
  809. data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
  810. data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
  811. data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
  812. data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
  813. data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
  814. data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
  815. data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  816. data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  817. data/lib/2020-06-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
  818. data/lib/2020-06-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
  819. data/lib/2020-06-01/generated/azure_mgmt_resources/models/property_change_type.rb +18 -0
  820. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
  821. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
  822. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +170 -0
  823. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +24 -0
  824. data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +26 -0
  825. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
  826. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
  827. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
  828. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
  829. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
  830. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
  831. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
  832. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
  833. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
  834. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
  835. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_reference.rb +47 -0
  836. data/lib/2020-06-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
  837. data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +77 -0
  838. data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +58 -0
  839. data/lib/2020-06-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
  840. data/lib/2020-06-01/generated/azure_mgmt_resources/models/status_message.rb +58 -0
  841. data/lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
  842. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
  843. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
  844. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
  845. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags.rb +54 -0
  846. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
  847. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +17 -0
  848. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +59 -0
  849. data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_resource.rb +83 -0
  850. data/lib/2020-06-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
  851. data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
  852. data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb +84 -0
  853. data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb +105 -0
  854. data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +80 -0
  855. data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +101 -0
  856. data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +16 -0
  857. data/lib/2020-06-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
  858. data/lib/2020-06-01/generated/azure_mgmt_resources/operations.rb +219 -0
  859. data/lib/2020-06-01/generated/azure_mgmt_resources/providers.rb +933 -0
  860. data/lib/2020-06-01/generated/azure_mgmt_resources/resource_groups.rb +979 -0
  861. data/lib/2020-06-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
  862. data/lib/2020-06-01/generated/azure_mgmt_resources/resources.rb +2354 -0
  863. data/lib/2020-06-01/generated/azure_mgmt_resources/tags_operations.rb +1078 -0
  864. data/lib/2020-06-01/generated/azure_mgmt_resources.rb +119 -0
  865. data/lib/azure_mgmt_resources.rb +22 -0
  866. data/lib/module_definition.rb +7 -0
  867. data/lib/profiles/latest/modules/resources_profile_module.rb +413 -0
  868. data/lib/profiles/latest/resources_latest_profile_client.rb +40 -0
  869. data/lib/profiles/latest/resources_module_definition.rb +8 -0
  870. data/lib/profiles/v2017_03_09/modules/resources_profile_module.rb +267 -0
  871. data/lib/profiles/v2017_03_09/resources_module_definition.rb +8 -0
  872. data/lib/profiles/v2017_03_09/resources_v2017_03_09_profile_client.rb +40 -0
  873. data/lib/profiles/v2018_03_01/modules/resources_profile_module.rb +283 -0
  874. data/lib/profiles/v2018_03_01/resources_module_definition.rb +8 -0
  875. data/lib/profiles/v2018_03_01/resources_v2018_03_01_profile_client.rb +40 -0
  876. data/lib/profiles/v2019_03_01_hybrid/modules/resources_profile_module.rb +301 -0
  877. data/lib/profiles/v2019_03_01_hybrid/resources_module_definition.rb +8 -0
  878. data/lib/profiles/v2019_03_01_hybrid/resources_v2019_03_01_hybrid_profile_client.rb +40 -0
  879. data/lib/version.rb +7 -0
  880. metadata +996 -0
@@ -0,0 +1,1588 @@
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::Resources::Mgmt::V2019_07_01
7
+ #
8
+ # Provides operations for working with resources and resource groups.
9
+ #
10
+ class DeploymentOperations
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the DeploymentOperations 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
+ # Gets a deployments operation.
26
+ #
27
+ # @param scope [String] The scope of a deployment.
28
+ # @param deployment_name [String] The name of the deployment.
29
+ # @param operation_id [String] The ID of the operation to get.
30
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
+ # will be added to the HTTP request.
32
+ #
33
+ # @return [DeploymentOperation] operation results.
34
+ #
35
+ def get_at_scope(scope, deployment_name, operation_id, custom_headers:nil)
36
+ response = get_at_scope_async(scope, deployment_name, operation_id, custom_headers:custom_headers).value!
37
+ response.body unless response.nil?
38
+ end
39
+
40
+ #
41
+ # Gets a deployments operation.
42
+ #
43
+ # @param scope [String] The scope of a deployment.
44
+ # @param deployment_name [String] The name of the deployment.
45
+ # @param operation_id [String] The ID of the operation to get.
46
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
+ # will be added to the HTTP request.
48
+ #
49
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
+ #
51
+ def get_at_scope_with_http_info(scope, deployment_name, operation_id, custom_headers:nil)
52
+ get_at_scope_async(scope, deployment_name, operation_id, custom_headers:custom_headers).value!
53
+ end
54
+
55
+ #
56
+ # Gets a deployments operation.
57
+ #
58
+ # @param scope [String] The scope of a deployment.
59
+ # @param deployment_name [String] The name of the deployment.
60
+ # @param operation_id [String] The ID of the operation to get.
61
+ # @param [Hash{String => String}] A hash of custom headers that will be added
62
+ # to the HTTP request.
63
+ #
64
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
+ #
66
+ def get_at_scope_async(scope, deployment_name, operation_id, custom_headers:nil)
67
+ fail ArgumentError, 'scope is nil' if scope.nil?
68
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
69
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
70
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
71
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
72
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
73
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
74
+
75
+
76
+ request_headers = {}
77
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
78
+
79
+ # Set Headers
80
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
81
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
82
+ path_template = '{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}'
83
+
84
+ request_url = @base_url || @client.base_url
85
+
86
+ options = {
87
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
88
+ path_params: {'scope' => scope,'deploymentName' => deployment_name,'operationId' => operation_id},
89
+ query_params: {'api-version' => @client.api_version},
90
+ headers: request_headers.merge(custom_headers || {}),
91
+ base_url: request_url
92
+ }
93
+ promise = @client.make_request_async(:get, path_template, options)
94
+
95
+ promise = promise.then do |result|
96
+ http_response = result.response
97
+ status_code = http_response.status
98
+ response_content = http_response.body
99
+ unless status_code == 200
100
+ error_model = JSON.load(response_content)
101
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
102
+ end
103
+
104
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
107
+ # Deserialize Response
108
+ if status_code == 200
109
+ begin
110
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
111
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperation.mapper()
112
+ result.body = @client.deserialize(result_mapper, parsed_response)
113
+ rescue Exception => e
114
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
115
+ end
116
+ end
117
+
118
+ result
119
+ end
120
+
121
+ promise.execute
122
+ end
123
+
124
+ #
125
+ # Gets all deployments operations for a deployment.
126
+ #
127
+ # @param scope [String] The scope of a deployment.
128
+ # @param deployment_name [String] The name of the deployment.
129
+ # @param top [Integer] The number of results to return.
130
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
131
+ # will be added to the HTTP request.
132
+ #
133
+ # @return [Array<DeploymentOperation>] operation results.
134
+ #
135
+ def list_at_scope(scope, deployment_name, top:nil, custom_headers:nil)
136
+ first_page = list_at_scope_as_lazy(scope, deployment_name, top:top, custom_headers:custom_headers)
137
+ first_page.get_all_items
138
+ end
139
+
140
+ #
141
+ # Gets all deployments operations for a deployment.
142
+ #
143
+ # @param scope [String] The scope of a deployment.
144
+ # @param deployment_name [String] The name of the deployment.
145
+ # @param top [Integer] The number of results to return.
146
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
147
+ # will be added to the HTTP request.
148
+ #
149
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
150
+ #
151
+ def list_at_scope_with_http_info(scope, deployment_name, top:nil, custom_headers:nil)
152
+ list_at_scope_async(scope, deployment_name, top:top, custom_headers:custom_headers).value!
153
+ end
154
+
155
+ #
156
+ # Gets all deployments operations for a deployment.
157
+ #
158
+ # @param scope [String] The scope of a deployment.
159
+ # @param deployment_name [String] The name of the deployment.
160
+ # @param top [Integer] The number of results to return.
161
+ # @param [Hash{String => String}] A hash of custom headers that will be added
162
+ # to the HTTP request.
163
+ #
164
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
165
+ #
166
+ def list_at_scope_async(scope, deployment_name, top:nil, custom_headers:nil)
167
+ fail ArgumentError, 'scope is nil' if scope.nil?
168
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
169
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
170
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
171
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
172
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
173
+
174
+
175
+ request_headers = {}
176
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
177
+
178
+ # Set Headers
179
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
180
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
181
+ path_template = '{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations'
182
+
183
+ request_url = @base_url || @client.base_url
184
+
185
+ options = {
186
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
187
+ path_params: {'scope' => scope,'deploymentName' => deployment_name},
188
+ query_params: {'$top' => top,'api-version' => @client.api_version},
189
+ headers: request_headers.merge(custom_headers || {}),
190
+ base_url: request_url
191
+ }
192
+ promise = @client.make_request_async(:get, path_template, options)
193
+
194
+ promise = promise.then do |result|
195
+ http_response = result.response
196
+ status_code = http_response.status
197
+ response_content = http_response.body
198
+ unless status_code == 200
199
+ error_model = JSON.load(response_content)
200
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
201
+ end
202
+
203
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
204
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
205
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
206
+ # Deserialize Response
207
+ if status_code == 200
208
+ begin
209
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
210
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
211
+ result.body = @client.deserialize(result_mapper, parsed_response)
212
+ rescue Exception => e
213
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
214
+ end
215
+ end
216
+
217
+ result
218
+ end
219
+
220
+ promise.execute
221
+ end
222
+
223
+ #
224
+ # Gets a deployments operation.
225
+ #
226
+ # @param deployment_name [String] The name of the deployment.
227
+ # @param operation_id [String] The ID of the operation to get.
228
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
229
+ # will be added to the HTTP request.
230
+ #
231
+ # @return [DeploymentOperation] operation results.
232
+ #
233
+ def get_at_tenant_scope(deployment_name, operation_id, custom_headers:nil)
234
+ response = get_at_tenant_scope_async(deployment_name, operation_id, custom_headers:custom_headers).value!
235
+ response.body unless response.nil?
236
+ end
237
+
238
+ #
239
+ # Gets a deployments operation.
240
+ #
241
+ # @param deployment_name [String] The name of the deployment.
242
+ # @param operation_id [String] The ID of the operation to get.
243
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
244
+ # will be added to the HTTP request.
245
+ #
246
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
247
+ #
248
+ def get_at_tenant_scope_with_http_info(deployment_name, operation_id, custom_headers:nil)
249
+ get_at_tenant_scope_async(deployment_name, operation_id, custom_headers:custom_headers).value!
250
+ end
251
+
252
+ #
253
+ # Gets a deployments operation.
254
+ #
255
+ # @param deployment_name [String] The name of the deployment.
256
+ # @param operation_id [String] The ID of the operation to get.
257
+ # @param [Hash{String => String}] A hash of custom headers that will be added
258
+ # to the HTTP request.
259
+ #
260
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
261
+ #
262
+ def get_at_tenant_scope_async(deployment_name, operation_id, custom_headers:nil)
263
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
264
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
265
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
266
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
267
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
268
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
269
+
270
+
271
+ request_headers = {}
272
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
273
+
274
+ # Set Headers
275
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
276
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
277
+ path_template = 'providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}'
278
+
279
+ request_url = @base_url || @client.base_url
280
+
281
+ options = {
282
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
283
+ path_params: {'deploymentName' => deployment_name,'operationId' => operation_id},
284
+ query_params: {'api-version' => @client.api_version},
285
+ headers: request_headers.merge(custom_headers || {}),
286
+ base_url: request_url
287
+ }
288
+ promise = @client.make_request_async(:get, path_template, options)
289
+
290
+ promise = promise.then do |result|
291
+ http_response = result.response
292
+ status_code = http_response.status
293
+ response_content = http_response.body
294
+ unless status_code == 200
295
+ error_model = JSON.load(response_content)
296
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
297
+ end
298
+
299
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
300
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
301
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
302
+ # Deserialize Response
303
+ if status_code == 200
304
+ begin
305
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
306
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperation.mapper()
307
+ result.body = @client.deserialize(result_mapper, parsed_response)
308
+ rescue Exception => e
309
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
310
+ end
311
+ end
312
+
313
+ result
314
+ end
315
+
316
+ promise.execute
317
+ end
318
+
319
+ #
320
+ # Gets all deployments operations for a deployment.
321
+ #
322
+ # @param deployment_name [String] The name of the deployment.
323
+ # @param top [Integer] The number of results to return.
324
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
325
+ # will be added to the HTTP request.
326
+ #
327
+ # @return [Array<DeploymentOperation>] operation results.
328
+ #
329
+ def list_at_tenant_scope(deployment_name, top:nil, custom_headers:nil)
330
+ first_page = list_at_tenant_scope_as_lazy(deployment_name, top:top, custom_headers:custom_headers)
331
+ first_page.get_all_items
332
+ end
333
+
334
+ #
335
+ # Gets all deployments operations for a deployment.
336
+ #
337
+ # @param deployment_name [String] The name of the deployment.
338
+ # @param top [Integer] The number of results to return.
339
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
340
+ # will be added to the HTTP request.
341
+ #
342
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
343
+ #
344
+ def list_at_tenant_scope_with_http_info(deployment_name, top:nil, custom_headers:nil)
345
+ list_at_tenant_scope_async(deployment_name, top:top, custom_headers:custom_headers).value!
346
+ end
347
+
348
+ #
349
+ # Gets all deployments operations for a deployment.
350
+ #
351
+ # @param deployment_name [String] The name of the deployment.
352
+ # @param top [Integer] The number of results to return.
353
+ # @param [Hash{String => String}] A hash of custom headers that will be added
354
+ # to the HTTP request.
355
+ #
356
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
357
+ #
358
+ def list_at_tenant_scope_async(deployment_name, top:nil, custom_headers:nil)
359
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
360
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
361
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
362
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
363
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
364
+
365
+
366
+ request_headers = {}
367
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
368
+
369
+ # Set Headers
370
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
371
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
372
+ path_template = 'providers/Microsoft.Resources/deployments/{deploymentName}/operations'
373
+
374
+ request_url = @base_url || @client.base_url
375
+
376
+ options = {
377
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
378
+ path_params: {'deploymentName' => deployment_name},
379
+ query_params: {'$top' => top,'api-version' => @client.api_version},
380
+ headers: request_headers.merge(custom_headers || {}),
381
+ base_url: request_url
382
+ }
383
+ promise = @client.make_request_async(:get, path_template, options)
384
+
385
+ promise = promise.then do |result|
386
+ http_response = result.response
387
+ status_code = http_response.status
388
+ response_content = http_response.body
389
+ unless status_code == 200
390
+ error_model = JSON.load(response_content)
391
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
392
+ end
393
+
394
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
395
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
396
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
397
+ # Deserialize Response
398
+ if status_code == 200
399
+ begin
400
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
401
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
402
+ result.body = @client.deserialize(result_mapper, parsed_response)
403
+ rescue Exception => e
404
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
405
+ end
406
+ end
407
+
408
+ result
409
+ end
410
+
411
+ promise.execute
412
+ end
413
+
414
+ #
415
+ # Gets a deployments operation.
416
+ #
417
+ # @param group_id [String] The management group ID.
418
+ # @param deployment_name [String] The name of the deployment.
419
+ # @param operation_id [String] The ID of the operation to get.
420
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
421
+ # will be added to the HTTP request.
422
+ #
423
+ # @return [DeploymentOperation] operation results.
424
+ #
425
+ def get_at_management_group_scope(group_id, deployment_name, operation_id, custom_headers:nil)
426
+ response = get_at_management_group_scope_async(group_id, deployment_name, operation_id, custom_headers:custom_headers).value!
427
+ response.body unless response.nil?
428
+ end
429
+
430
+ #
431
+ # Gets a deployments operation.
432
+ #
433
+ # @param group_id [String] The management group ID.
434
+ # @param deployment_name [String] The name of the deployment.
435
+ # @param operation_id [String] The ID of the operation to get.
436
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
437
+ # will be added to the HTTP request.
438
+ #
439
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
440
+ #
441
+ def get_at_management_group_scope_with_http_info(group_id, deployment_name, operation_id, custom_headers:nil)
442
+ get_at_management_group_scope_async(group_id, deployment_name, operation_id, custom_headers:custom_headers).value!
443
+ end
444
+
445
+ #
446
+ # Gets a deployments operation.
447
+ #
448
+ # @param group_id [String] The management group ID.
449
+ # @param deployment_name [String] The name of the deployment.
450
+ # @param operation_id [String] The ID of the operation to get.
451
+ # @param [Hash{String => String}] A hash of custom headers that will be added
452
+ # to the HTTP request.
453
+ #
454
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
455
+ #
456
+ def get_at_management_group_scope_async(group_id, deployment_name, operation_id, custom_headers:nil)
457
+ fail ArgumentError, 'group_id is nil' if group_id.nil?
458
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '90'" if !group_id.nil? && group_id.length > 90
459
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
460
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
461
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
462
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
463
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
464
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
465
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
466
+
467
+
468
+ request_headers = {}
469
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
470
+
471
+ # Set Headers
472
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
473
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
474
+ path_template = 'providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}'
475
+
476
+ request_url = @base_url || @client.base_url
477
+
478
+ options = {
479
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
480
+ path_params: {'groupId' => group_id,'deploymentName' => deployment_name,'operationId' => operation_id},
481
+ query_params: {'api-version' => @client.api_version},
482
+ headers: request_headers.merge(custom_headers || {}),
483
+ base_url: request_url
484
+ }
485
+ promise = @client.make_request_async(:get, path_template, options)
486
+
487
+ promise = promise.then do |result|
488
+ http_response = result.response
489
+ status_code = http_response.status
490
+ response_content = http_response.body
491
+ unless status_code == 200
492
+ error_model = JSON.load(response_content)
493
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
494
+ end
495
+
496
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
497
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
498
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
499
+ # Deserialize Response
500
+ if status_code == 200
501
+ begin
502
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
503
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperation.mapper()
504
+ result.body = @client.deserialize(result_mapper, parsed_response)
505
+ rescue Exception => e
506
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
507
+ end
508
+ end
509
+
510
+ result
511
+ end
512
+
513
+ promise.execute
514
+ end
515
+
516
+ #
517
+ # Gets all deployments operations for a deployment.
518
+ #
519
+ # @param group_id [String] The management group ID.
520
+ # @param deployment_name [String] The name of the deployment.
521
+ # @param top [Integer] The number of results to return.
522
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
523
+ # will be added to the HTTP request.
524
+ #
525
+ # @return [Array<DeploymentOperation>] operation results.
526
+ #
527
+ def list_at_management_group_scope(group_id, deployment_name, top:nil, custom_headers:nil)
528
+ first_page = list_at_management_group_scope_as_lazy(group_id, deployment_name, top:top, custom_headers:custom_headers)
529
+ first_page.get_all_items
530
+ end
531
+
532
+ #
533
+ # Gets all deployments operations for a deployment.
534
+ #
535
+ # @param group_id [String] The management group ID.
536
+ # @param deployment_name [String] The name of the deployment.
537
+ # @param top [Integer] The number of results to return.
538
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
539
+ # will be added to the HTTP request.
540
+ #
541
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
542
+ #
543
+ def list_at_management_group_scope_with_http_info(group_id, deployment_name, top:nil, custom_headers:nil)
544
+ list_at_management_group_scope_async(group_id, deployment_name, top:top, custom_headers:custom_headers).value!
545
+ end
546
+
547
+ #
548
+ # Gets all deployments operations for a deployment.
549
+ #
550
+ # @param group_id [String] The management group ID.
551
+ # @param deployment_name [String] The name of the deployment.
552
+ # @param top [Integer] The number of results to return.
553
+ # @param [Hash{String => String}] A hash of custom headers that will be added
554
+ # to the HTTP request.
555
+ #
556
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
557
+ #
558
+ def list_at_management_group_scope_async(group_id, deployment_name, top:nil, custom_headers:nil)
559
+ fail ArgumentError, 'group_id is nil' if group_id.nil?
560
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '90'" if !group_id.nil? && group_id.length > 90
561
+ fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
562
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
563
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
564
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
565
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
566
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
567
+
568
+
569
+ request_headers = {}
570
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
571
+
572
+ # Set Headers
573
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
574
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
575
+ path_template = 'providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations'
576
+
577
+ request_url = @base_url || @client.base_url
578
+
579
+ options = {
580
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
581
+ path_params: {'groupId' => group_id,'deploymentName' => deployment_name},
582
+ query_params: {'$top' => top,'api-version' => @client.api_version},
583
+ headers: request_headers.merge(custom_headers || {}),
584
+ base_url: request_url
585
+ }
586
+ promise = @client.make_request_async(:get, path_template, options)
587
+
588
+ promise = promise.then do |result|
589
+ http_response = result.response
590
+ status_code = http_response.status
591
+ response_content = http_response.body
592
+ unless status_code == 200
593
+ error_model = JSON.load(response_content)
594
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
595
+ end
596
+
597
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
598
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
599
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
600
+ # Deserialize Response
601
+ if status_code == 200
602
+ begin
603
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
604
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
605
+ result.body = @client.deserialize(result_mapper, parsed_response)
606
+ rescue Exception => e
607
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
608
+ end
609
+ end
610
+
611
+ result
612
+ end
613
+
614
+ promise.execute
615
+ end
616
+
617
+ #
618
+ # Gets a deployments operation.
619
+ #
620
+ # @param deployment_name [String] The name of the deployment.
621
+ # @param operation_id [String] The ID of the operation to get.
622
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
623
+ # will be added to the HTTP request.
624
+ #
625
+ # @return [DeploymentOperation] operation results.
626
+ #
627
+ def get_at_subscription_scope(deployment_name, operation_id, custom_headers:nil)
628
+ response = get_at_subscription_scope_async(deployment_name, operation_id, custom_headers:custom_headers).value!
629
+ response.body unless response.nil?
630
+ end
631
+
632
+ #
633
+ # Gets a deployments operation.
634
+ #
635
+ # @param deployment_name [String] The name of the deployment.
636
+ # @param operation_id [String] The ID of the operation to get.
637
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
638
+ # will be added to the HTTP request.
639
+ #
640
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
641
+ #
642
+ def get_at_subscription_scope_with_http_info(deployment_name, operation_id, custom_headers:nil)
643
+ get_at_subscription_scope_async(deployment_name, operation_id, custom_headers:custom_headers).value!
644
+ end
645
+
646
+ #
647
+ # Gets a deployments operation.
648
+ #
649
+ # @param deployment_name [String] The name of the deployment.
650
+ # @param operation_id [String] The ID of the operation to get.
651
+ # @param [Hash{String => String}] A hash of custom headers that will be added
652
+ # to the HTTP request.
653
+ #
654
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
655
+ #
656
+ def get_at_subscription_scope_async(deployment_name, operation_id, custom_headers:nil)
657
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
658
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
659
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
660
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
661
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
662
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
663
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
664
+
665
+
666
+ request_headers = {}
667
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
668
+
669
+ # Set Headers
670
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
671
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
672
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}'
673
+
674
+ request_url = @base_url || @client.base_url
675
+
676
+ options = {
677
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
678
+ path_params: {'deploymentName' => deployment_name,'operationId' => operation_id,'subscriptionId' => @client.subscription_id},
679
+ query_params: {'api-version' => @client.api_version},
680
+ headers: request_headers.merge(custom_headers || {}),
681
+ base_url: request_url
682
+ }
683
+ promise = @client.make_request_async(:get, path_template, options)
684
+
685
+ promise = promise.then do |result|
686
+ http_response = result.response
687
+ status_code = http_response.status
688
+ response_content = http_response.body
689
+ unless status_code == 200
690
+ error_model = JSON.load(response_content)
691
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
692
+ end
693
+
694
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
695
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
696
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
697
+ # Deserialize Response
698
+ if status_code == 200
699
+ begin
700
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
701
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperation.mapper()
702
+ result.body = @client.deserialize(result_mapper, parsed_response)
703
+ rescue Exception => e
704
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
705
+ end
706
+ end
707
+
708
+ result
709
+ end
710
+
711
+ promise.execute
712
+ end
713
+
714
+ #
715
+ # Gets all deployments operations for a deployment.
716
+ #
717
+ # @param deployment_name [String] The name of the deployment.
718
+ # @param top [Integer] The number of results to return.
719
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
720
+ # will be added to the HTTP request.
721
+ #
722
+ # @return [Array<DeploymentOperation>] operation results.
723
+ #
724
+ def list_at_subscription_scope(deployment_name, top:nil, custom_headers:nil)
725
+ first_page = list_at_subscription_scope_as_lazy(deployment_name, top:top, custom_headers:custom_headers)
726
+ first_page.get_all_items
727
+ end
728
+
729
+ #
730
+ # Gets all deployments operations for a deployment.
731
+ #
732
+ # @param deployment_name [String] The name of the deployment.
733
+ # @param top [Integer] The number of results to return.
734
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
735
+ # will be added to the HTTP request.
736
+ #
737
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
738
+ #
739
+ def list_at_subscription_scope_with_http_info(deployment_name, top:nil, custom_headers:nil)
740
+ list_at_subscription_scope_async(deployment_name, top:top, custom_headers:custom_headers).value!
741
+ end
742
+
743
+ #
744
+ # Gets all deployments operations for a deployment.
745
+ #
746
+ # @param deployment_name [String] The name of the deployment.
747
+ # @param top [Integer] The number of results to return.
748
+ # @param [Hash{String => String}] A hash of custom headers that will be added
749
+ # to the HTTP request.
750
+ #
751
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
752
+ #
753
+ def list_at_subscription_scope_async(deployment_name, top:nil, custom_headers:nil)
754
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
755
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
756
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
757
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
758
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
759
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
760
+
761
+
762
+ request_headers = {}
763
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
764
+
765
+ # Set Headers
766
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
767
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
768
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations'
769
+
770
+ request_url = @base_url || @client.base_url
771
+
772
+ options = {
773
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
774
+ path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
775
+ query_params: {'$top' => top,'api-version' => @client.api_version},
776
+ headers: request_headers.merge(custom_headers || {}),
777
+ base_url: request_url
778
+ }
779
+ promise = @client.make_request_async(:get, path_template, options)
780
+
781
+ promise = promise.then do |result|
782
+ http_response = result.response
783
+ status_code = http_response.status
784
+ response_content = http_response.body
785
+ unless status_code == 200
786
+ error_model = JSON.load(response_content)
787
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
788
+ end
789
+
790
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
791
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
792
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
793
+ # Deserialize Response
794
+ if status_code == 200
795
+ begin
796
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
797
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
798
+ result.body = @client.deserialize(result_mapper, parsed_response)
799
+ rescue Exception => e
800
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
801
+ end
802
+ end
803
+
804
+ result
805
+ end
806
+
807
+ promise.execute
808
+ end
809
+
810
+ #
811
+ # Gets a deployments operation.
812
+ #
813
+ # @param resource_group_name [String] The name of the resource group. The name
814
+ # is case insensitive.
815
+ # @param deployment_name [String] The name of the deployment.
816
+ # @param operation_id [String] The ID of the operation to get.
817
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
818
+ # will be added to the HTTP request.
819
+ #
820
+ # @return [DeploymentOperation] operation results.
821
+ #
822
+ def get(resource_group_name, deployment_name, operation_id, custom_headers:nil)
823
+ response = get_async(resource_group_name, deployment_name, operation_id, custom_headers:custom_headers).value!
824
+ response.body unless response.nil?
825
+ end
826
+
827
+ #
828
+ # Gets a deployments operation.
829
+ #
830
+ # @param resource_group_name [String] The name of the resource group. The name
831
+ # is case insensitive.
832
+ # @param deployment_name [String] The name of the deployment.
833
+ # @param operation_id [String] The ID of the operation to get.
834
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
835
+ # will be added to the HTTP request.
836
+ #
837
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
838
+ #
839
+ def get_with_http_info(resource_group_name, deployment_name, operation_id, custom_headers:nil)
840
+ get_async(resource_group_name, deployment_name, operation_id, custom_headers:custom_headers).value!
841
+ end
842
+
843
+ #
844
+ # Gets a deployments operation.
845
+ #
846
+ # @param resource_group_name [String] The name of the resource group. The name
847
+ # is case insensitive.
848
+ # @param deployment_name [String] The name of the deployment.
849
+ # @param operation_id [String] The ID of the operation to get.
850
+ # @param [Hash{String => String}] A hash of custom headers that will be added
851
+ # to the HTTP request.
852
+ #
853
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
854
+ #
855
+ def get_async(resource_group_name, deployment_name, operation_id, custom_headers:nil)
856
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
857
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
858
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
859
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
860
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
861
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
862
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
863
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
864
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
865
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
866
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
867
+
868
+
869
+ request_headers = {}
870
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
871
+
872
+ # Set Headers
873
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
874
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
875
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}'
876
+
877
+ request_url = @base_url || @client.base_url
878
+
879
+ options = {
880
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
881
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'operationId' => operation_id,'subscriptionId' => @client.subscription_id},
882
+ query_params: {'api-version' => @client.api_version},
883
+ headers: request_headers.merge(custom_headers || {}),
884
+ base_url: request_url
885
+ }
886
+ promise = @client.make_request_async(:get, path_template, options)
887
+
888
+ promise = promise.then do |result|
889
+ http_response = result.response
890
+ status_code = http_response.status
891
+ response_content = http_response.body
892
+ unless status_code == 200
893
+ error_model = JSON.load(response_content)
894
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
895
+ end
896
+
897
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
898
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
899
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
900
+ # Deserialize Response
901
+ if status_code == 200
902
+ begin
903
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
904
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperation.mapper()
905
+ result.body = @client.deserialize(result_mapper, parsed_response)
906
+ rescue Exception => e
907
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
908
+ end
909
+ end
910
+
911
+ result
912
+ end
913
+
914
+ promise.execute
915
+ end
916
+
917
+ #
918
+ # Gets all deployments operations for a deployment.
919
+ #
920
+ # @param resource_group_name [String] The name of the resource group. The name
921
+ # is case insensitive.
922
+ # @param deployment_name [String] The name of the deployment.
923
+ # @param top [Integer] The number of results to return.
924
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
925
+ # will be added to the HTTP request.
926
+ #
927
+ # @return [Array<DeploymentOperation>] operation results.
928
+ #
929
+ def list(resource_group_name, deployment_name, top:nil, custom_headers:nil)
930
+ first_page = list_as_lazy(resource_group_name, deployment_name, top:top, custom_headers:custom_headers)
931
+ first_page.get_all_items
932
+ end
933
+
934
+ #
935
+ # Gets all deployments operations for a deployment.
936
+ #
937
+ # @param resource_group_name [String] The name of the resource group. The name
938
+ # is case insensitive.
939
+ # @param deployment_name [String] The name of the deployment.
940
+ # @param top [Integer] The number of results to return.
941
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
942
+ # will be added to the HTTP request.
943
+ #
944
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
945
+ #
946
+ def list_with_http_info(resource_group_name, deployment_name, top:nil, custom_headers:nil)
947
+ list_async(resource_group_name, deployment_name, top:top, custom_headers:custom_headers).value!
948
+ end
949
+
950
+ #
951
+ # Gets all deployments operations for a deployment.
952
+ #
953
+ # @param resource_group_name [String] The name of the resource group. The name
954
+ # is case insensitive.
955
+ # @param deployment_name [String] The name of the deployment.
956
+ # @param top [Integer] The number of results to return.
957
+ # @param [Hash{String => String}] A hash of custom headers that will be added
958
+ # to the HTTP request.
959
+ #
960
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
961
+ #
962
+ def list_async(resource_group_name, deployment_name, top:nil, custom_headers:nil)
963
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
964
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
965
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
966
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
967
+ fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
968
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
969
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
970
+ fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
971
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
972
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
973
+
974
+
975
+ request_headers = {}
976
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
977
+
978
+ # Set Headers
979
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
980
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
981
+ path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations'
982
+
983
+ request_url = @base_url || @client.base_url
984
+
985
+ options = {
986
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
987
+ path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
988
+ query_params: {'$top' => top,'api-version' => @client.api_version},
989
+ headers: request_headers.merge(custom_headers || {}),
990
+ base_url: request_url
991
+ }
992
+ promise = @client.make_request_async(:get, path_template, options)
993
+
994
+ promise = promise.then do |result|
995
+ http_response = result.response
996
+ status_code = http_response.status
997
+ response_content = http_response.body
998
+ unless status_code == 200
999
+ error_model = JSON.load(response_content)
1000
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1001
+ end
1002
+
1003
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1004
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1005
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1006
+ # Deserialize Response
1007
+ if status_code == 200
1008
+ begin
1009
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1010
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
1011
+ result.body = @client.deserialize(result_mapper, parsed_response)
1012
+ rescue Exception => e
1013
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1014
+ end
1015
+ end
1016
+
1017
+ result
1018
+ end
1019
+
1020
+ promise.execute
1021
+ end
1022
+
1023
+ #
1024
+ # Gets all deployments operations for a deployment.
1025
+ #
1026
+ # @param next_page_link [String] The NextLink from the previous successful call
1027
+ # to List operation.
1028
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1029
+ # will be added to the HTTP request.
1030
+ #
1031
+ # @return [DeploymentOperationsListResult] operation results.
1032
+ #
1033
+ def list_at_scope_next(next_page_link, custom_headers:nil)
1034
+ response = list_at_scope_next_async(next_page_link, custom_headers:custom_headers).value!
1035
+ response.body unless response.nil?
1036
+ end
1037
+
1038
+ #
1039
+ # Gets all deployments operations for a deployment.
1040
+ #
1041
+ # @param next_page_link [String] The NextLink from the previous successful call
1042
+ # to List operation.
1043
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1044
+ # will be added to the HTTP request.
1045
+ #
1046
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1047
+ #
1048
+ def list_at_scope_next_with_http_info(next_page_link, custom_headers:nil)
1049
+ list_at_scope_next_async(next_page_link, custom_headers:custom_headers).value!
1050
+ end
1051
+
1052
+ #
1053
+ # Gets all deployments operations for a deployment.
1054
+ #
1055
+ # @param next_page_link [String] The NextLink from the previous successful call
1056
+ # to List operation.
1057
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1058
+ # to the HTTP request.
1059
+ #
1060
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1061
+ #
1062
+ def list_at_scope_next_async(next_page_link, custom_headers:nil)
1063
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1064
+
1065
+
1066
+ request_headers = {}
1067
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1068
+
1069
+ # Set Headers
1070
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1071
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1072
+ path_template = '{nextLink}'
1073
+
1074
+ request_url = @base_url || @client.base_url
1075
+
1076
+ options = {
1077
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1078
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1079
+ headers: request_headers.merge(custom_headers || {}),
1080
+ base_url: request_url
1081
+ }
1082
+ promise = @client.make_request_async(:get, path_template, options)
1083
+
1084
+ promise = promise.then do |result|
1085
+ http_response = result.response
1086
+ status_code = http_response.status
1087
+ response_content = http_response.body
1088
+ unless status_code == 200
1089
+ error_model = JSON.load(response_content)
1090
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1091
+ end
1092
+
1093
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1094
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1095
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1096
+ # Deserialize Response
1097
+ if status_code == 200
1098
+ begin
1099
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1100
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
1101
+ result.body = @client.deserialize(result_mapper, parsed_response)
1102
+ rescue Exception => e
1103
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1104
+ end
1105
+ end
1106
+
1107
+ result
1108
+ end
1109
+
1110
+ promise.execute
1111
+ end
1112
+
1113
+ #
1114
+ # Gets all deployments operations for a deployment.
1115
+ #
1116
+ # @param next_page_link [String] The NextLink from the previous successful call
1117
+ # to List operation.
1118
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1119
+ # will be added to the HTTP request.
1120
+ #
1121
+ # @return [DeploymentOperationsListResult] operation results.
1122
+ #
1123
+ def list_at_tenant_scope_next(next_page_link, custom_headers:nil)
1124
+ response = list_at_tenant_scope_next_async(next_page_link, custom_headers:custom_headers).value!
1125
+ response.body unless response.nil?
1126
+ end
1127
+
1128
+ #
1129
+ # Gets all deployments operations for a deployment.
1130
+ #
1131
+ # @param next_page_link [String] The NextLink from the previous successful call
1132
+ # to List operation.
1133
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1134
+ # will be added to the HTTP request.
1135
+ #
1136
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1137
+ #
1138
+ def list_at_tenant_scope_next_with_http_info(next_page_link, custom_headers:nil)
1139
+ list_at_tenant_scope_next_async(next_page_link, custom_headers:custom_headers).value!
1140
+ end
1141
+
1142
+ #
1143
+ # Gets all deployments operations for a deployment.
1144
+ #
1145
+ # @param next_page_link [String] The NextLink from the previous successful call
1146
+ # to List operation.
1147
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1148
+ # to the HTTP request.
1149
+ #
1150
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1151
+ #
1152
+ def list_at_tenant_scope_next_async(next_page_link, custom_headers:nil)
1153
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1154
+
1155
+
1156
+ request_headers = {}
1157
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1158
+
1159
+ # Set Headers
1160
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1161
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1162
+ path_template = '{nextLink}'
1163
+
1164
+ request_url = @base_url || @client.base_url
1165
+
1166
+ options = {
1167
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1168
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1169
+ headers: request_headers.merge(custom_headers || {}),
1170
+ base_url: request_url
1171
+ }
1172
+ promise = @client.make_request_async(:get, path_template, options)
1173
+
1174
+ promise = promise.then do |result|
1175
+ http_response = result.response
1176
+ status_code = http_response.status
1177
+ response_content = http_response.body
1178
+ unless status_code == 200
1179
+ error_model = JSON.load(response_content)
1180
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1181
+ end
1182
+
1183
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1184
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1185
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1186
+ # Deserialize Response
1187
+ if status_code == 200
1188
+ begin
1189
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1190
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
1191
+ result.body = @client.deserialize(result_mapper, parsed_response)
1192
+ rescue Exception => e
1193
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1194
+ end
1195
+ end
1196
+
1197
+ result
1198
+ end
1199
+
1200
+ promise.execute
1201
+ end
1202
+
1203
+ #
1204
+ # Gets all deployments operations for a deployment.
1205
+ #
1206
+ # @param next_page_link [String] The NextLink from the previous successful call
1207
+ # to List operation.
1208
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1209
+ # will be added to the HTTP request.
1210
+ #
1211
+ # @return [DeploymentOperationsListResult] operation results.
1212
+ #
1213
+ def list_at_management_group_scope_next(next_page_link, custom_headers:nil)
1214
+ response = list_at_management_group_scope_next_async(next_page_link, custom_headers:custom_headers).value!
1215
+ response.body unless response.nil?
1216
+ end
1217
+
1218
+ #
1219
+ # Gets all deployments operations for a deployment.
1220
+ #
1221
+ # @param next_page_link [String] The NextLink from the previous successful call
1222
+ # to List operation.
1223
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1224
+ # will be added to the HTTP request.
1225
+ #
1226
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1227
+ #
1228
+ def list_at_management_group_scope_next_with_http_info(next_page_link, custom_headers:nil)
1229
+ list_at_management_group_scope_next_async(next_page_link, custom_headers:custom_headers).value!
1230
+ end
1231
+
1232
+ #
1233
+ # Gets all deployments operations for a deployment.
1234
+ #
1235
+ # @param next_page_link [String] The NextLink from the previous successful call
1236
+ # to List operation.
1237
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1238
+ # to the HTTP request.
1239
+ #
1240
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1241
+ #
1242
+ def list_at_management_group_scope_next_async(next_page_link, custom_headers:nil)
1243
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1244
+
1245
+
1246
+ request_headers = {}
1247
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1248
+
1249
+ # Set Headers
1250
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1251
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1252
+ path_template = '{nextLink}'
1253
+
1254
+ request_url = @base_url || @client.base_url
1255
+
1256
+ options = {
1257
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1258
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1259
+ headers: request_headers.merge(custom_headers || {}),
1260
+ base_url: request_url
1261
+ }
1262
+ promise = @client.make_request_async(:get, path_template, options)
1263
+
1264
+ promise = promise.then do |result|
1265
+ http_response = result.response
1266
+ status_code = http_response.status
1267
+ response_content = http_response.body
1268
+ unless status_code == 200
1269
+ error_model = JSON.load(response_content)
1270
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1271
+ end
1272
+
1273
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1274
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1275
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1276
+ # Deserialize Response
1277
+ if status_code == 200
1278
+ begin
1279
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1280
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
1281
+ result.body = @client.deserialize(result_mapper, parsed_response)
1282
+ rescue Exception => e
1283
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1284
+ end
1285
+ end
1286
+
1287
+ result
1288
+ end
1289
+
1290
+ promise.execute
1291
+ end
1292
+
1293
+ #
1294
+ # Gets all deployments operations for a deployment.
1295
+ #
1296
+ # @param next_page_link [String] The NextLink from the previous successful call
1297
+ # to List operation.
1298
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1299
+ # will be added to the HTTP request.
1300
+ #
1301
+ # @return [DeploymentOperationsListResult] operation results.
1302
+ #
1303
+ def list_at_subscription_scope_next(next_page_link, custom_headers:nil)
1304
+ response = list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers).value!
1305
+ response.body unless response.nil?
1306
+ end
1307
+
1308
+ #
1309
+ # Gets all deployments operations for a deployment.
1310
+ #
1311
+ # @param next_page_link [String] The NextLink from the previous successful call
1312
+ # to List operation.
1313
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1314
+ # will be added to the HTTP request.
1315
+ #
1316
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1317
+ #
1318
+ def list_at_subscription_scope_next_with_http_info(next_page_link, custom_headers:nil)
1319
+ list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers).value!
1320
+ end
1321
+
1322
+ #
1323
+ # Gets all deployments operations for a deployment.
1324
+ #
1325
+ # @param next_page_link [String] The NextLink from the previous successful call
1326
+ # to List operation.
1327
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1328
+ # to the HTTP request.
1329
+ #
1330
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1331
+ #
1332
+ def list_at_subscription_scope_next_async(next_page_link, custom_headers:nil)
1333
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1334
+
1335
+
1336
+ request_headers = {}
1337
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1338
+
1339
+ # Set Headers
1340
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1341
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1342
+ path_template = '{nextLink}'
1343
+
1344
+ request_url = @base_url || @client.base_url
1345
+
1346
+ options = {
1347
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1348
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1349
+ headers: request_headers.merge(custom_headers || {}),
1350
+ base_url: request_url
1351
+ }
1352
+ promise = @client.make_request_async(:get, path_template, options)
1353
+
1354
+ promise = promise.then do |result|
1355
+ http_response = result.response
1356
+ status_code = http_response.status
1357
+ response_content = http_response.body
1358
+ unless status_code == 200
1359
+ error_model = JSON.load(response_content)
1360
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1361
+ end
1362
+
1363
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1364
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1365
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1366
+ # Deserialize Response
1367
+ if status_code == 200
1368
+ begin
1369
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1370
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
1371
+ result.body = @client.deserialize(result_mapper, parsed_response)
1372
+ rescue Exception => e
1373
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1374
+ end
1375
+ end
1376
+
1377
+ result
1378
+ end
1379
+
1380
+ promise.execute
1381
+ end
1382
+
1383
+ #
1384
+ # Gets all deployments operations for a deployment.
1385
+ #
1386
+ # @param next_page_link [String] The NextLink from the previous successful call
1387
+ # to List operation.
1388
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1389
+ # will be added to the HTTP request.
1390
+ #
1391
+ # @return [DeploymentOperationsListResult] operation results.
1392
+ #
1393
+ def list_next(next_page_link, custom_headers:nil)
1394
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
1395
+ response.body unless response.nil?
1396
+ end
1397
+
1398
+ #
1399
+ # Gets all deployments operations for a deployment.
1400
+ #
1401
+ # @param next_page_link [String] The NextLink from the previous successful call
1402
+ # to List operation.
1403
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1404
+ # will be added to the HTTP request.
1405
+ #
1406
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1407
+ #
1408
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
1409
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
1410
+ end
1411
+
1412
+ #
1413
+ # Gets all deployments operations for a deployment.
1414
+ #
1415
+ # @param next_page_link [String] The NextLink from the previous successful call
1416
+ # to List operation.
1417
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1418
+ # to the HTTP request.
1419
+ #
1420
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1421
+ #
1422
+ def list_next_async(next_page_link, custom_headers:nil)
1423
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1424
+
1425
+
1426
+ request_headers = {}
1427
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1428
+
1429
+ # Set Headers
1430
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1431
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1432
+ path_template = '{nextLink}'
1433
+
1434
+ request_url = @base_url || @client.base_url
1435
+
1436
+ options = {
1437
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1438
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1439
+ headers: request_headers.merge(custom_headers || {}),
1440
+ base_url: request_url
1441
+ }
1442
+ promise = @client.make_request_async(:get, path_template, options)
1443
+
1444
+ promise = promise.then do |result|
1445
+ http_response = result.response
1446
+ status_code = http_response.status
1447
+ response_content = http_response.body
1448
+ unless status_code == 200
1449
+ error_model = JSON.load(response_content)
1450
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1451
+ end
1452
+
1453
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1454
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1455
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1456
+ # Deserialize Response
1457
+ if status_code == 200
1458
+ begin
1459
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1460
+ result_mapper = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult.mapper()
1461
+ result.body = @client.deserialize(result_mapper, parsed_response)
1462
+ rescue Exception => e
1463
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1464
+ end
1465
+ end
1466
+
1467
+ result
1468
+ end
1469
+
1470
+ promise.execute
1471
+ end
1472
+
1473
+ #
1474
+ # Gets all deployments operations for a deployment.
1475
+ #
1476
+ # @param scope [String] The scope of a deployment.
1477
+ # @param deployment_name [String] The name of the deployment.
1478
+ # @param top [Integer] The number of results to return.
1479
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1480
+ # will be added to the HTTP request.
1481
+ #
1482
+ # @return [DeploymentOperationsListResult] which provide lazy access to pages
1483
+ # of the response.
1484
+ #
1485
+ def list_at_scope_as_lazy(scope, deployment_name, top:nil, custom_headers:nil)
1486
+ response = list_at_scope_async(scope, deployment_name, top:top, custom_headers:custom_headers).value!
1487
+ unless response.nil?
1488
+ page = response.body
1489
+ page.next_method = Proc.new do |next_page_link|
1490
+ list_at_scope_next_async(next_page_link, custom_headers:custom_headers)
1491
+ end
1492
+ page
1493
+ end
1494
+ end
1495
+
1496
+ #
1497
+ # Gets all deployments operations for a deployment.
1498
+ #
1499
+ # @param deployment_name [String] The name of the deployment.
1500
+ # @param top [Integer] The number of results to return.
1501
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1502
+ # will be added to the HTTP request.
1503
+ #
1504
+ # @return [DeploymentOperationsListResult] which provide lazy access to pages
1505
+ # of the response.
1506
+ #
1507
+ def list_at_tenant_scope_as_lazy(deployment_name, top:nil, custom_headers:nil)
1508
+ response = list_at_tenant_scope_async(deployment_name, top:top, custom_headers:custom_headers).value!
1509
+ unless response.nil?
1510
+ page = response.body
1511
+ page.next_method = Proc.new do |next_page_link|
1512
+ list_at_tenant_scope_next_async(next_page_link, custom_headers:custom_headers)
1513
+ end
1514
+ page
1515
+ end
1516
+ end
1517
+
1518
+ #
1519
+ # Gets all deployments operations for a deployment.
1520
+ #
1521
+ # @param group_id [String] The management group ID.
1522
+ # @param deployment_name [String] The name of the deployment.
1523
+ # @param top [Integer] The number of results to return.
1524
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1525
+ # will be added to the HTTP request.
1526
+ #
1527
+ # @return [DeploymentOperationsListResult] which provide lazy access to pages
1528
+ # of the response.
1529
+ #
1530
+ def list_at_management_group_scope_as_lazy(group_id, deployment_name, top:nil, custom_headers:nil)
1531
+ response = list_at_management_group_scope_async(group_id, deployment_name, top:top, custom_headers:custom_headers).value!
1532
+ unless response.nil?
1533
+ page = response.body
1534
+ page.next_method = Proc.new do |next_page_link|
1535
+ list_at_management_group_scope_next_async(next_page_link, custom_headers:custom_headers)
1536
+ end
1537
+ page
1538
+ end
1539
+ end
1540
+
1541
+ #
1542
+ # Gets all deployments operations for a deployment.
1543
+ #
1544
+ # @param deployment_name [String] The name of the deployment.
1545
+ # @param top [Integer] The number of results to return.
1546
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1547
+ # will be added to the HTTP request.
1548
+ #
1549
+ # @return [DeploymentOperationsListResult] which provide lazy access to pages
1550
+ # of the response.
1551
+ #
1552
+ def list_at_subscription_scope_as_lazy(deployment_name, top:nil, custom_headers:nil)
1553
+ response = list_at_subscription_scope_async(deployment_name, top:top, custom_headers:custom_headers).value!
1554
+ unless response.nil?
1555
+ page = response.body
1556
+ page.next_method = Proc.new do |next_page_link|
1557
+ list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers)
1558
+ end
1559
+ page
1560
+ end
1561
+ end
1562
+
1563
+ #
1564
+ # Gets all deployments operations for a deployment.
1565
+ #
1566
+ # @param resource_group_name [String] The name of the resource group. The name
1567
+ # is case insensitive.
1568
+ # @param deployment_name [String] The name of the deployment.
1569
+ # @param top [Integer] The number of results to return.
1570
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1571
+ # will be added to the HTTP request.
1572
+ #
1573
+ # @return [DeploymentOperationsListResult] which provide lazy access to pages
1574
+ # of the response.
1575
+ #
1576
+ def list_as_lazy(resource_group_name, deployment_name, top:nil, custom_headers:nil)
1577
+ response = list_async(resource_group_name, deployment_name, top:top, custom_headers:custom_headers).value!
1578
+ unless response.nil?
1579
+ page = response.body
1580
+ page.next_method = Proc.new do |next_page_link|
1581
+ list_next_async(next_page_link, custom_headers:custom_headers)
1582
+ end
1583
+ page
1584
+ end
1585
+ end
1586
+
1587
+ end
1588
+ end