azure_mgmt_compute 0.18.5 → 0.18.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (585) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  4. data/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
  5. data/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb +19 -18
  6. data/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
  7. data/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
  8. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
  9. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  10. data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  11. data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  12. data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
  13. data/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +22 -22
  14. data/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
  15. data/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
  16. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
  17. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  18. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  19. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  20. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
  21. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
  22. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
  23. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb +1 -1
  24. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
  25. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  26. data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  27. data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  28. data/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
  29. data/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb +1 -2
  30. data/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +19 -18
  31. data/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb +1 -2
  32. data/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb +1 -2
  33. data/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +1 -2
  34. data/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
  35. data/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
  36. data/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
  37. data/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
  38. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
  39. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +1 -2
  40. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  41. data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  42. data/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
  43. data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  44. data/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  45. data/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
  46. data/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +1 -1
  47. data/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
  48. data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +1 -1
  49. data/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
  50. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
  51. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +1 -1
  52. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  53. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +1 -1
  54. data/lib/2018-04-01/generated/azure_mgmt_compute.rb +75 -70
  55. data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +5 -1
  56. data/lib/2018-04-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  57. data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set.rb +15 -1
  58. data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set_update.rb +14 -0
  59. data/lib/2018-04-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +1 -1
  60. data/lib/2018-04-01/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
  61. data/lib/2018-04-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +166 -0
  62. data/lib/2018-04-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  63. data/lib/2018-04-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  64. data/lib/2018-04-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  65. data/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
  66. data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +1 -1
  67. data/lib/2018-04-01/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
  68. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine.rb +15 -1
  69. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +15 -1
  70. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  71. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +15 -1
  72. data/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +821 -0
  73. data/lib/2018-06-01/generated/azure_mgmt_compute.rb +93 -85
  74. data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +5 -1
  75. data/lib/2018-06-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  76. data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set.rb +15 -1
  77. data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set_update.rb +14 -0
  78. data/lib/2018-06-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +4 -4
  79. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk.rb +6 -2
  80. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery.rb +1 -1
  81. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +1 -1
  82. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image.rb +2 -2
  83. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +2 -2
  84. data/lib/2018-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +1 -1
  85. data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
  86. data/lib/2018-06-01/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
  87. data/lib/2018-06-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +166 -0
  88. data/lib/2018-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  89. data/lib/2018-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  90. data/lib/2018-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  91. data/lib/2018-06-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +1 -1
  92. data/lib/2018-06-01/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
  93. data/lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb +1 -1
  94. data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +1 -1
  95. data/lib/2018-06-01/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
  96. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +15 -1
  97. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +48 -0
  98. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +15 -1
  99. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +20 -0
  100. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +1 -1
  101. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
  102. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
  103. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
  104. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +15 -1
  105. data/lib/2018-06-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +821 -0
  106. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +31 -9
  107. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +29 -25
  108. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machines.rb +140 -0
  109. data/lib/2018-09-30/generated/azure_mgmt_compute.rb +54 -0
  110. data/lib/2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb +137 -0
  111. data/lib/2018-09-30/generated/azure_mgmt_compute/disks.rb +1274 -0
  112. data/lib/2018-09-30/generated/azure_mgmt_compute/models/access_level.rb +17 -0
  113. data/lib/2018-09-30/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
  114. data/lib/2018-09-30/generated/azure_mgmt_compute/models/creation_data.rb +97 -0
  115. data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk.rb +262 -0
  116. data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
  117. data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
  118. data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_sku.rb +62 -0
  119. data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
  120. data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
  121. data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_update.rb +134 -0
  122. data/lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +71 -0
  123. data/lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
  124. data/lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
  125. data/lib/2018-09-30/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
  126. data/lib/2018-09-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
  127. data/lib/2018-09-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
  128. data/lib/2018-09-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
  129. data/lib/2018-09-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  130. data/lib/2018-09-30/generated/azure_mgmt_compute/models/resource.rb +110 -0
  131. data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot.rb +202 -0
  132. data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
  133. data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot_sku.rb +61 -0
  134. data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
  135. data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot_update.rb +108 -0
  136. data/lib/2018-09-30/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
  137. data/lib/2018-09-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
  138. data/lib/2018-09-30/generated/azure_mgmt_compute/snapshots.rb +1274 -0
  139. data/lib/2018-10-01/generated/azure_mgmt_compute.rb +220 -0
  140. data/lib/2018-10-01/generated/azure_mgmt_compute/availability_sets.rb +894 -0
  141. data/lib/2018-10-01/generated/azure_mgmt_compute/compute_management_client.rb +195 -0
  142. data/lib/2018-10-01/generated/azure_mgmt_compute/images.rb +959 -0
  143. data/lib/2018-10-01/generated/azure_mgmt_compute/log_analytics.rb +337 -0
  144. data/lib/2018-10-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
  145. data/lib/2018-10-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  146. data/lib/2018-10-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  147. data/lib/2018-10-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  148. data/lib/2018-10-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  149. data/lib/2018-10-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +64 -0
  150. data/lib/2018-10-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
  151. data/lib/2018-10-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
  152. data/lib/2018-10-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  153. data/lib/2018-10-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
  154. data/lib/2018-10-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
  155. data/lib/2018-10-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
  156. data/lib/2018-10-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
  157. data/lib/2018-10-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  158. data/lib/2018-10-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  159. data/lib/2018-10-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  160. data/lib/2018-10-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  161. data/lib/2018-10-01/generated/azure_mgmt_compute/models/data_disk.rb +159 -0
  162. data/lib/2018-10-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  163. data/lib/2018-10-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
  164. data/lib/2018-10-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
  165. data/lib/2018-10-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +49 -0
  166. data/lib/2018-10-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  167. data/lib/2018-10-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  168. data/lib/2018-10-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  169. data/lib/2018-10-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
  170. data/lib/2018-10-01/generated/azure_mgmt_compute/models/image.rb +126 -0
  171. data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_data_disk.rb +126 -0
  172. data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  173. data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_osdisk.rb +141 -0
  174. data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
  175. data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  176. data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_update.rb +89 -0
  177. data/lib/2018-10-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  178. data/lib/2018-10-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  179. data/lib/2018-10-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  180. data/lib/2018-10-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  181. data/lib/2018-10-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  182. data/lib/2018-10-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  183. data/lib/2018-10-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  184. data/lib/2018-10-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
  185. data/lib/2018-10-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  186. data/lib/2018-10-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
  187. data/lib/2018-10-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  188. data/lib/2018-10-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  189. data/lib/2018-10-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  190. data/lib/2018-10-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  191. data/lib/2018-10-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +57 -0
  192. data/lib/2018-10-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  193. data/lib/2018-10-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  194. data/lib/2018-10-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  195. data/lib/2018-10-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  196. data/lib/2018-10-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
  197. data/lib/2018-10-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  198. data/lib/2018-10-01/generated/azure_mgmt_compute/models/osprofile.rb +183 -0
  199. data/lib/2018-10-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  200. data/lib/2018-10-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  201. data/lib/2018-10-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  202. data/lib/2018-10-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +166 -0
  203. data/lib/2018-10-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  204. data/lib/2018-10-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  205. data/lib/2018-10-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  206. data/lib/2018-10-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  207. data/lib/2018-10-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  208. data/lib/2018-10-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
  209. data/lib/2018-10-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
  210. data/lib/2018-10-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  211. data/lib/2018-10-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  212. data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  213. data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
  214. data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  215. data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  216. data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  217. data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  218. data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  219. data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  220. data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  221. data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  222. data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  223. data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  224. data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  225. data/lib/2018-10-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  226. data/lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
  227. data/lib/2018-10-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  228. data/lib/2018-10-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  229. data/lib/2018-10-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  230. data/lib/2018-10-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
  231. data/lib/2018-10-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  232. data/lib/2018-10-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  233. data/lib/2018-10-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  234. data/lib/2018-10-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
  235. data/lib/2018-10-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  236. data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  237. data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  238. data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  239. data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  240. data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  241. data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
  242. data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  243. data/lib/2018-10-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  244. data/lib/2018-10-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  245. data/lib/2018-10-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  246. data/lib/2018-10-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  247. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  248. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine.rb +331 -0
  249. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  250. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  251. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  252. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  253. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
  254. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  255. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  256. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  257. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  258. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  259. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  260. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
  261. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
  262. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +131 -0
  263. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
  264. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +205 -0
  265. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  266. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +16 -0
  267. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +48 -0
  268. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +273 -0
  269. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +126 -0
  270. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +172 -0
  271. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  272. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
  273. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
  274. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
  275. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
  276. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  277. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  278. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
  279. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  280. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  281. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  282. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  283. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +50 -0
  284. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
  285. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  286. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  287. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
  288. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  289. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +106 -0
  290. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  291. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
  292. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  293. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  294. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  295. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  296. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +138 -0
  297. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +188 -0
  298. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
  299. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +57 -0
  300. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
  301. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  302. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  303. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  304. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +112 -0
  305. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +344 -0
  306. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  307. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  308. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  309. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
  310. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  311. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +162 -0
  312. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
  313. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  314. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  315. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  316. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  317. data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +274 -0
  318. data/lib/2018-10-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  319. data/lib/2018-10-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  320. data/lib/2018-10-01/generated/azure_mgmt_compute/models/windows_configuration.rb +111 -0
  321. data/lib/2018-10-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  322. data/lib/2018-10-01/generated/azure_mgmt_compute/operations.rb +107 -0
  323. data/lib/2018-10-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +821 -0
  324. data/lib/2018-10-01/generated/azure_mgmt_compute/usage_operations.rb +237 -0
  325. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +354 -0
  326. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +691 -0
  327. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_images.rb +590 -0
  328. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +316 -0
  329. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +636 -0
  330. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +490 -0
  331. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1937 -0
  332. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2971 -0
  333. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +120 -0
  334. data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machines.rb +2746 -0
  335. data/lib/2019-03-01/generated/azure_mgmt_compute.rb +255 -0
  336. data/lib/2019-03-01/generated/azure_mgmt_compute/availability_sets.rb +894 -0
  337. data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +207 -0
  338. data/lib/2019-03-01/generated/azure_mgmt_compute/galleries.rb +810 -0
  339. data/lib/2019-03-01/generated/azure_mgmt_compute/gallery_image_versions.rb +710 -0
  340. data/lib/2019-03-01/generated/azure_mgmt_compute/gallery_images.rb +666 -0
  341. data/lib/2019-03-01/generated/azure_mgmt_compute/images.rb +959 -0
  342. data/lib/2019-03-01/generated/azure_mgmt_compute/log_analytics.rb +337 -0
  343. data/lib/2019-03-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
  344. data/lib/2019-03-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  345. data/lib/2019-03-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
  346. data/lib/2019-03-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  347. data/lib/2019-03-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  348. data/lib/2019-03-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  349. data/lib/2019-03-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +64 -0
  350. data/lib/2019-03-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
  351. data/lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
  352. data/lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  353. data/lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
  354. data/lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
  355. data/lib/2019-03-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
  356. data/lib/2019-03-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
  357. data/lib/2019-03-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  358. data/lib/2019-03-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  359. data/lib/2019-03-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  360. data/lib/2019-03-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  361. data/lib/2019-03-01/generated/azure_mgmt_compute/models/data_disk.rb +171 -0
  362. data/lib/2019-03-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  363. data/lib/2019-03-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
  364. data/lib/2019-03-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
  365. data/lib/2019-03-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +49 -0
  366. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
  367. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  368. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  369. data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  370. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery.rb +125 -0
  371. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +68 -0
  372. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
  373. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +69 -0
  374. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +63 -0
  375. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +48 -0
  376. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image.rb +236 -0
  377. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
  378. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +100 -0
  379. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +140 -0
  380. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
  381. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +125 -0
  382. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +69 -0
  383. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
  384. data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +54 -0
  385. data/lib/2019-03-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
  386. data/lib/2019-03-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
  387. data/lib/2019-03-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
  388. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image.rb +139 -0
  389. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_data_disk.rb +126 -0
  390. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  391. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_osdisk.rb +141 -0
  392. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
  393. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
  394. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  395. data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
  396. data/lib/2019-03-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  397. data/lib/2019-03-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  398. data/lib/2019-03-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  399. data/lib/2019-03-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  400. data/lib/2019-03-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  401. data/lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  402. data/lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  403. data/lib/2019-03-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
  404. data/lib/2019-03-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  405. data/lib/2019-03-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
  406. data/lib/2019-03-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  407. data/lib/2019-03-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  408. data/lib/2019-03-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  409. data/lib/2019-03-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  410. data/lib/2019-03-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
  411. data/lib/2019-03-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +57 -0
  412. data/lib/2019-03-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  413. data/lib/2019-03-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  414. data/lib/2019-03-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  415. data/lib/2019-03-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  416. data/lib/2019-03-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
  417. data/lib/2019-03-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  418. data/lib/2019-03-01/generated/azure_mgmt_compute/models/osprofile.rb +183 -0
  419. data/lib/2019-03-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  420. data/lib/2019-03-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  421. data/lib/2019-03-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  422. data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +166 -0
  423. data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  424. data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  425. data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  426. data/lib/2019-03-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  427. data/lib/2019-03-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +60 -0
  428. data/lib/2019-03-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  429. data/lib/2019-03-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
  430. data/lib/2019-03-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
  431. data/lib/2019-03-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
  432. data/lib/2019-03-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
  433. data/lib/2019-03-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
  434. data/lib/2019-03-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
  435. data/lib/2019-03-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  436. data/lib/2019-03-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
  437. data/lib/2019-03-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  438. data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  439. data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
  440. data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  441. data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  442. data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  443. data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  444. data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  445. data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  446. data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  447. data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  448. data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  449. data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  450. data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  451. data/lib/2019-03-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  452. data/lib/2019-03-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
  453. data/lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  454. data/lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  455. data/lib/2019-03-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  456. data/lib/2019-03-01/generated/azure_mgmt_compute/models/storage_account_type.rb +16 -0
  457. data/lib/2019-03-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
  458. data/lib/2019-03-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  459. data/lib/2019-03-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  460. data/lib/2019-03-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  461. data/lib/2019-03-01/generated/azure_mgmt_compute/models/target_region.rb +71 -0
  462. data/lib/2019-03-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
  463. data/lib/2019-03-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  464. data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  465. data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  466. data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  467. data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  468. data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  469. data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
  470. data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  471. data/lib/2019-03-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  472. data/lib/2019-03-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  473. data/lib/2019-03-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  474. data/lib/2019-03-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  475. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  476. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine.rb +331 -0
  477. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  478. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  479. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  480. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  481. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
  482. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  483. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  484. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  485. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  486. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  487. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  488. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
  489. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
  490. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +131 -0
  491. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
  492. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +205 -0
  493. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  494. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +16 -0
  495. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +48 -0
  496. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +289 -0
  497. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +126 -0
  498. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +172 -0
  499. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  500. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
  501. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
  502. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
  503. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
  504. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  505. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  506. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
  507. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  508. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  509. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  510. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  511. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +50 -0
  512. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
  513. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  514. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  515. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
  516. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  517. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +106 -0
  518. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  519. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
  520. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  521. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  522. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  523. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  524. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +154 -0
  525. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +188 -0
  526. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
  527. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +57 -0
  528. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
  529. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  530. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  531. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  532. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +112 -0
  533. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +384 -0
  534. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  535. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  536. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  537. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
  538. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  539. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
  540. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +147 -0
  541. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
  542. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
  543. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  544. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  545. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  546. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  547. data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +274 -0
  548. data/lib/2019-03-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
  549. data/lib/2019-03-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  550. data/lib/2019-03-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  551. data/lib/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb +111 -0
  552. data/lib/2019-03-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  553. data/lib/2019-03-01/generated/azure_mgmt_compute/operations.rb +107 -0
  554. data/lib/2019-03-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +821 -0
  555. data/lib/2019-03-01/generated/azure_mgmt_compute/usage_operations.rb +237 -0
  556. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +354 -0
  557. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +691 -0
  558. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_images.rb +590 -0
  559. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +316 -0
  560. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +636 -0
  561. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +490 -0
  562. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1957 -0
  563. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3090 -0
  564. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +120 -0
  565. data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machines.rb +2766 -0
  566. data/lib/2019-04-01/generated/azure_mgmt_compute.rb +40 -0
  567. data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +133 -0
  568. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku.rb +250 -0
  569. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +59 -0
  570. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +85 -0
  571. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_capacity_scale_type.rb +17 -0
  572. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb +72 -0
  573. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb +91 -0
  574. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb +77 -0
  575. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +99 -0
  576. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restrictions_reason_code.rb +16 -0
  577. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restrictions_type.rb +16 -0
  578. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_zone_details.rb +78 -0
  579. data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_skus_result.rb +100 -0
  580. data/lib/2019-04-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  581. data/lib/2019-04-01/generated/azure_mgmt_compute/resource_skus.rb +217 -0
  582. data/lib/azure_mgmt_compute.rb +4 -0
  583. data/lib/profiles/latest/modules/compute_profile_module.rb +722 -668
  584. data/lib/version.rb +1 -1
  585. metadata +489 -3
@@ -0,0 +1,255 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2019-03-01/generated/azure_mgmt_compute/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Compute::Mgmt::V2019_03_01
23
+ autoload :Operations, '2019-03-01/generated/azure_mgmt_compute/operations.rb'
24
+ autoload :AvailabilitySets, '2019-03-01/generated/azure_mgmt_compute/availability_sets.rb'
25
+ autoload :ProximityPlacementGroups, '2019-03-01/generated/azure_mgmt_compute/proximity_placement_groups.rb'
26
+ autoload :VirtualMachineExtensionImages, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb'
27
+ autoload :VirtualMachineExtensions, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb'
28
+ autoload :VirtualMachineImages, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_images.rb'
29
+ autoload :UsageOperations, '2019-03-01/generated/azure_mgmt_compute/usage_operations.rb'
30
+ autoload :VirtualMachines, '2019-03-01/generated/azure_mgmt_compute/virtual_machines.rb'
31
+ autoload :VirtualMachineSizes, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb'
32
+ autoload :Images, '2019-03-01/generated/azure_mgmt_compute/images.rb'
33
+ autoload :VirtualMachineScaleSets, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb'
34
+ autoload :VirtualMachineScaleSetExtensions, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb'
35
+ autoload :VirtualMachineScaleSetRollingUpgrades, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb'
36
+ autoload :VirtualMachineScaleSetVMs, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb'
37
+ autoload :LogAnalytics, '2019-03-01/generated/azure_mgmt_compute/log_analytics.rb'
38
+ autoload :VirtualMachineRunCommands, '2019-03-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb'
39
+ autoload :Galleries, '2019-03-01/generated/azure_mgmt_compute/galleries.rb'
40
+ autoload :GalleryImages, '2019-03-01/generated/azure_mgmt_compute/gallery_images.rb'
41
+ autoload :GalleryImageVersions, '2019-03-01/generated/azure_mgmt_compute/gallery_image_versions.rb'
42
+ autoload :ComputeManagementClient, '2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb'
43
+
44
+ module Models
45
+ autoload :VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb'
46
+ autoload :ComputeOperationValue, '2019-03-01/generated/azure_mgmt_compute/models/compute_operation_value.rb'
47
+ autoload :VirtualMachineScaleSetIpTag, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb'
48
+ autoload :InstanceViewStatus, '2019-03-01/generated/azure_mgmt_compute/models/instance_view_status.rb'
49
+ autoload :VirtualMachineScaleSetPublicIPAddressConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb'
50
+ autoload :Sku, '2019-03-01/generated/azure_mgmt_compute/models/sku.rb'
51
+ autoload :VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb'
52
+ autoload :ImageStorageProfile, '2019-03-01/generated/azure_mgmt_compute/models/image_storage_profile.rb'
53
+ autoload :Disallowed, '2019-03-01/generated/azure_mgmt_compute/models/disallowed.rb'
54
+ autoload :RecommendedMachineConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb'
55
+ autoload :ProximityPlacementGroupListResult, '2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb'
56
+ autoload :ImageListResult, '2019-03-01/generated/azure_mgmt_compute/models/image_list_result.rb'
57
+ autoload :VirtualMachineSizeListResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb'
58
+ autoload :VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb'
59
+ autoload :GalleryList, '2019-03-01/generated/azure_mgmt_compute/models/gallery_list.rb'
60
+ autoload :VirtualMachineScaleSetIdentity, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb'
61
+ autoload :GalleryDiskImage, '2019-03-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb'
62
+ autoload :VirtualMachineScaleSetOSProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb'
63
+ autoload :VirtualMachineExtensionsListResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb'
64
+ autoload :VirtualMachineScaleSetUpdateOSProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb'
65
+ autoload :OSDiskImage, '2019-03-01/generated/azure_mgmt_compute/models/osdisk_image.rb'
66
+ autoload :VirtualMachineScaleSetManagedDiskParameters, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb'
67
+ autoload :AutomaticOSUpgradeProperties, '2019-03-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb'
68
+ autoload :VirtualMachineScaleSetOSDisk, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb'
69
+ autoload :UsageName, '2019-03-01/generated/azure_mgmt_compute/models/usage_name.rb'
70
+ autoload :VirtualMachineScaleSetUpdateOSDisk, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb'
71
+ autoload :ListUsagesResult, '2019-03-01/generated/azure_mgmt_compute/models/list_usages_result.rb'
72
+ autoload :VirtualMachineScaleSetDataDisk, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb'
73
+ autoload :VirtualMachineCaptureParameters, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb'
74
+ autoload :VirtualMachineScaleSetStorageProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb'
75
+ autoload :Plan, '2019-03-01/generated/azure_mgmt_compute/models/plan.rb'
76
+ autoload :VirtualMachineScaleSetUpdateStorageProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb'
77
+ autoload :TargetRegion, '2019-03-01/generated/azure_mgmt_compute/models/target_region.rb'
78
+ autoload :ApiEntityReference, '2019-03-01/generated/azure_mgmt_compute/models/api_entity_reference.rb'
79
+ autoload :KeyVaultKeyReference, '2019-03-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb'
80
+ autoload :ComputeOperationListResult, '2019-03-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb'
81
+ autoload :VirtualHardDisk, '2019-03-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb'
82
+ autoload :SubResource, '2019-03-01/generated/azure_mgmt_compute/models/sub_resource.rb'
83
+ autoload :ReplicationStatus, '2019-03-01/generated/azure_mgmt_compute/models/replication_status.rb'
84
+ autoload :OSDisk, '2019-03-01/generated/azure_mgmt_compute/models/osdisk.rb'
85
+ autoload :LogAnalyticsInputBase, '2019-03-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb'
86
+ autoload :StorageProfile, '2019-03-01/generated/azure_mgmt_compute/models/storage_profile.rb'
87
+ autoload :ResourceRange, '2019-03-01/generated/azure_mgmt_compute/models/resource_range.rb'
88
+ autoload :AdditionalUnattendContent, '2019-03-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb'
89
+ autoload :GalleryImageIdentifier, '2019-03-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb'
90
+ autoload :WinRMConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb'
91
+ autoload :GalleryIdentifier, '2019-03-01/generated/azure_mgmt_compute/models/gallery_identifier.rb'
92
+ autoload :SshPublicKey, '2019-03-01/generated/azure_mgmt_compute/models/ssh_public_key.rb'
93
+ autoload :VirtualMachineScaleSetNetworkConfigurationDnsSettings, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb'
94
+ autoload :LinuxConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/linux_configuration.rb'
95
+ autoload :RunCommandResult, '2019-03-01/generated/azure_mgmt_compute/models/run_command_result.rb'
96
+ autoload :VaultSecretGroup, '2019-03-01/generated/azure_mgmt_compute/models/vault_secret_group.rb'
97
+ autoload :RunCommandListResult, '2019-03-01/generated/azure_mgmt_compute/models/run_command_list_result.rb'
98
+ autoload :RegionalReplicationStatus, '2019-03-01/generated/azure_mgmt_compute/models/regional_replication_status.rb'
99
+ autoload :VirtualMachineScaleSetNetworkProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb'
100
+ autoload :BootDiagnostics, '2019-03-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb'
101
+ autoload :VirtualMachineScaleSetUpdateNetworkProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb'
102
+ autoload :VirtualMachineExtensionHandlerInstanceView, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb'
103
+ autoload :RunCommandDocumentBase, '2019-03-01/generated/azure_mgmt_compute/models/run_command_document_base.rb'
104
+ autoload :DiskInstanceView, '2019-03-01/generated/azure_mgmt_compute/models/disk_instance_view.rb'
105
+ autoload :VirtualMachineScaleSetExtensionListResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb'
106
+ autoload :VirtualMachineIdentityUserAssignedIdentitiesValue, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb'
107
+ autoload :VirtualMachineScaleSetExtensionProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb'
108
+ autoload :MaintenanceRedeployStatus, '2019-03-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb'
109
+ autoload :VirtualMachineScaleSetVMProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb'
110
+ autoload :GalleryImageVersionStorageProfile, '2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb'
111
+ autoload :VirtualMachineScaleSetUpdateVMProfile, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb'
112
+ autoload :VirtualMachineListResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb'
113
+ autoload :RunCommandParameterDefinition, '2019-03-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb'
114
+ autoload :RollingUpgradePolicy, '2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb'
115
+ autoload :RunCommandInput, '2019-03-01/generated/azure_mgmt_compute/models/run_command_input.rb'
116
+ autoload :ImageOSDisk, '2019-03-01/generated/azure_mgmt_compute/models/image_osdisk.rb'
117
+ autoload :RunCommandInputParameter, '2019-03-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb'
118
+ autoload :AvailabilitySetListResult, '2019-03-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb'
119
+ autoload :VMScaleSetConvertToSinglePlacementGroupInput, '2019-03-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb'
120
+ autoload :VirtualMachineSize, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb'
121
+ autoload :VirtualMachineScaleSetVMInstanceIDs, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb'
122
+ autoload :VirtualMachineExtensionInstanceView, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb'
123
+ autoload :VirtualMachineScaleSetVMInstanceRequiredIDs, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb'
124
+ autoload :PurchasePlan, '2019-03-01/generated/azure_mgmt_compute/models/purchase_plan.rb'
125
+ autoload :VirtualMachineStatusCodeCount, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb'
126
+ autoload :GalleryArtifactSource, '2019-03-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb'
127
+ autoload :VirtualMachineScaleSetInstanceViewStatusesSummary, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb'
128
+ autoload :VirtualMachineReimageParameters, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb'
129
+ autoload :VirtualMachineScaleSetVMExtensionsSummary, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb'
130
+ autoload :HardwareProfile, '2019-03-01/generated/azure_mgmt_compute/models/hardware_profile.rb'
131
+ autoload :VirtualMachineScaleSetInstanceView, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb'
132
+ autoload :DiskEncryptionSettings, '2019-03-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb'
133
+ autoload :VirtualMachineScaleSetListResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb'
134
+ autoload :DataDisk, '2019-03-01/generated/azure_mgmt_compute/models/data_disk.rb'
135
+ autoload :VirtualMachineScaleSetListWithLinkResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb'
136
+ autoload :WinRMListener, '2019-03-01/generated/azure_mgmt_compute/models/win_rmlistener.rb'
137
+ autoload :VirtualMachineScaleSetSkuCapacity, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb'
138
+ autoload :SshConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb'
139
+ autoload :VirtualMachineScaleSetSku, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb'
140
+ autoload :OSProfile, '2019-03-01/generated/azure_mgmt_compute/models/osprofile.rb'
141
+ autoload :VirtualMachineScaleSetListSkusResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb'
142
+ autoload :DiagnosticsProfile, '2019-03-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb'
143
+ autoload :ApiErrorBase, '2019-03-01/generated/azure_mgmt_compute/models/api_error_base.rb'
144
+ autoload :BootDiagnosticsInstanceView, '2019-03-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb'
145
+ autoload :InnerError, '2019-03-01/generated/azure_mgmt_compute/models/inner_error.rb'
146
+ autoload :VirtualMachineInstanceView, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb'
147
+ autoload :ApiError, '2019-03-01/generated/azure_mgmt_compute/models/api_error.rb'
148
+ autoload :AutomaticOSUpgradePolicy, '2019-03-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb'
149
+ autoload :RollbackStatusInfo, '2019-03-01/generated/azure_mgmt_compute/models/rollback_status_info.rb'
150
+ autoload :ImageDataDisk, '2019-03-01/generated/azure_mgmt_compute/models/image_data_disk.rb'
151
+ autoload :UpgradeOperationHistoryStatus, '2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb'
152
+ autoload :GalleryImageList, '2019-03-01/generated/azure_mgmt_compute/models/gallery_image_list.rb'
153
+ autoload :RollingUpgradeProgressInfo, '2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb'
154
+ autoload :DataDiskImage, '2019-03-01/generated/azure_mgmt_compute/models/data_disk_image.rb'
155
+ autoload :UpgradeOperationHistoricalStatusInfoProperties, '2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb'
156
+ autoload :ManagedArtifact, '2019-03-01/generated/azure_mgmt_compute/models/managed_artifact.rb'
157
+ autoload :UpgradeOperationHistoricalStatusInfo, '2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb'
158
+ autoload :DiffDiskSettings, '2019-03-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb'
159
+ autoload :VirtualMachineScaleSetListOSUpgradeHistory, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb'
160
+ autoload :WindowsConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb'
161
+ autoload :VirtualMachineHealthStatus, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb'
162
+ autoload :NetworkProfile, '2019-03-01/generated/azure_mgmt_compute/models/network_profile.rb'
163
+ autoload :VirtualMachineScaleSetVMInstanceView, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb'
164
+ autoload :VirtualMachineIdentity, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb'
165
+ autoload :VirtualMachineScaleSetVMNetworkProfileConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb'
166
+ autoload :UpgradePolicy, '2019-03-01/generated/azure_mgmt_compute/models/upgrade_policy.rb'
167
+ autoload :VirtualMachineScaleSetVMProtectionPolicy, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb'
168
+ autoload :GalleryArtifactPublishingProfileBase, '2019-03-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb'
169
+ autoload :LogAnalyticsOperationResult, '2019-03-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb'
170
+ autoload :KeyVaultSecretReference, '2019-03-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb'
171
+ autoload :VirtualMachineScaleSetVMListResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb'
172
+ autoload :VaultCertificate, '2019-03-01/generated/azure_mgmt_compute/models/vault_certificate.rb'
173
+ autoload :RollingUpgradeRunningStatus, '2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb'
174
+ autoload :ImagePurchasePlan, '2019-03-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb'
175
+ autoload :LogAnalyticsOutput, '2019-03-01/generated/azure_mgmt_compute/models/log_analytics_output.rb'
176
+ autoload :Usage, '2019-03-01/generated/azure_mgmt_compute/models/usage.rb'
177
+ autoload :Resource, '2019-03-01/generated/azure_mgmt_compute/models/resource.rb'
178
+ autoload :VirtualMachineAgentInstanceView, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb'
179
+ autoload :UpdateResource, '2019-03-01/generated/azure_mgmt_compute/models/update_resource.rb'
180
+ autoload :AdditionalCapabilities, '2019-03-01/generated/azure_mgmt_compute/models/additional_capabilities.rb'
181
+ autoload :SubResourceReadOnly, '2019-03-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb'
182
+ autoload :GalleryImageVersionList, '2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb'
183
+ autoload :RecoveryWalkResponse, '2019-03-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb'
184
+ autoload :AvailabilitySet, '2019-03-01/generated/azure_mgmt_compute/models/availability_set.rb'
185
+ autoload :AvailabilitySetUpdate, '2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb'
186
+ autoload :ProximityPlacementGroup, '2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb'
187
+ autoload :ProximityPlacementGroupUpdate, '2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb'
188
+ autoload :VirtualMachineExtensionImage, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb'
189
+ autoload :VirtualMachineImageResource, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb'
190
+ autoload :VirtualMachineExtension, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb'
191
+ autoload :VirtualMachineExtensionUpdate, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb'
192
+ autoload :VirtualMachineImage, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb'
193
+ autoload :VirtualMachineCaptureResult, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb'
194
+ autoload :ImageReference, '2019-03-01/generated/azure_mgmt_compute/models/image_reference.rb'
195
+ autoload :ManagedDiskParameters, '2019-03-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb'
196
+ autoload :NetworkInterfaceReference, '2019-03-01/generated/azure_mgmt_compute/models/network_interface_reference.rb'
197
+ autoload :VirtualMachine, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine.rb'
198
+ autoload :VirtualMachineUpdate, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb'
199
+ autoload :Image, '2019-03-01/generated/azure_mgmt_compute/models/image.rb'
200
+ autoload :ImageUpdate, '2019-03-01/generated/azure_mgmt_compute/models/image_update.rb'
201
+ autoload :VirtualMachineScaleSetIPConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb'
202
+ autoload :VirtualMachineScaleSetUpdateIPConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb'
203
+ autoload :VirtualMachineScaleSetNetworkConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb'
204
+ autoload :VirtualMachineScaleSetUpdateNetworkConfiguration, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb'
205
+ autoload :VirtualMachineScaleSetExtension, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb'
206
+ autoload :VirtualMachineScaleSet, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb'
207
+ autoload :VirtualMachineScaleSetVMReimageParameters, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb'
208
+ autoload :VirtualMachineScaleSetReimageParameters, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb'
209
+ autoload :VirtualMachineScaleSetUpdate, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb'
210
+ autoload :VirtualMachineScaleSetVM, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb'
211
+ autoload :RollingUpgradeStatusInfo, '2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb'
212
+ autoload :RequestRateByIntervalInput, '2019-03-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb'
213
+ autoload :ThrottledRequestsInput, '2019-03-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb'
214
+ autoload :RunCommandDocument, '2019-03-01/generated/azure_mgmt_compute/models/run_command_document.rb'
215
+ autoload :Gallery, '2019-03-01/generated/azure_mgmt_compute/models/gallery.rb'
216
+ autoload :GalleryImage, '2019-03-01/generated/azure_mgmt_compute/models/gallery_image.rb'
217
+ autoload :GalleryImageVersionPublishingProfile, '2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb'
218
+ autoload :GalleryOSDiskImage, '2019-03-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb'
219
+ autoload :GalleryDataDiskImage, '2019-03-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb'
220
+ autoload :GalleryImageVersion, '2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version.rb'
221
+ autoload :HyperVGenerationTypes, '2019-03-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb'
222
+ autoload :StatusLevelTypes, '2019-03-01/generated/azure_mgmt_compute/models/status_level_types.rb'
223
+ autoload :AvailabilitySetSkuTypes, '2019-03-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb'
224
+ autoload :ProximityPlacementGroupType, '2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb'
225
+ autoload :OperatingSystemTypes, '2019-03-01/generated/azure_mgmt_compute/models/operating_system_types.rb'
226
+ autoload :VirtualMachineSizeTypes, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb'
227
+ autoload :CachingTypes, '2019-03-01/generated/azure_mgmt_compute/models/caching_types.rb'
228
+ autoload :DiskCreateOptionTypes, '2019-03-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb'
229
+ autoload :StorageAccountTypes, '2019-03-01/generated/azure_mgmt_compute/models/storage_account_types.rb'
230
+ autoload :DiffDiskOptions, '2019-03-01/generated/azure_mgmt_compute/models/diff_disk_options.rb'
231
+ autoload :PassNames, '2019-03-01/generated/azure_mgmt_compute/models/pass_names.rb'
232
+ autoload :ComponentNames, '2019-03-01/generated/azure_mgmt_compute/models/component_names.rb'
233
+ autoload :SettingNames, '2019-03-01/generated/azure_mgmt_compute/models/setting_names.rb'
234
+ autoload :ProtocolTypes, '2019-03-01/generated/azure_mgmt_compute/models/protocol_types.rb'
235
+ autoload :ResourceIdentityType, '2019-03-01/generated/azure_mgmt_compute/models/resource_identity_type.rb'
236
+ autoload :MaintenanceOperationResultCodeTypes, '2019-03-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb'
237
+ autoload :UpgradeMode, '2019-03-01/generated/azure_mgmt_compute/models/upgrade_mode.rb'
238
+ autoload :OperatingSystemStateTypes, '2019-03-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb'
239
+ autoload :IPVersion, '2019-03-01/generated/azure_mgmt_compute/models/ipversion.rb'
240
+ autoload :VirtualMachinePriorityTypes, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb'
241
+ autoload :VirtualMachineEvictionPolicyTypes, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb'
242
+ autoload :VirtualMachineScaleSetSkuScaleType, '2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb'
243
+ autoload :UpgradeState, '2019-03-01/generated/azure_mgmt_compute/models/upgrade_state.rb'
244
+ autoload :UpgradeOperationInvoker, '2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb'
245
+ autoload :RollingUpgradeStatusCode, '2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb'
246
+ autoload :RollingUpgradeActionType, '2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb'
247
+ autoload :IntervalInMins, '2019-03-01/generated/azure_mgmt_compute/models/interval_in_mins.rb'
248
+ autoload :StorageAccountType, '2019-03-01/generated/azure_mgmt_compute/models/storage_account_type.rb'
249
+ autoload :AggregatedReplicationState, '2019-03-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb'
250
+ autoload :ReplicationState, '2019-03-01/generated/azure_mgmt_compute/models/replication_state.rb'
251
+ autoload :HostCaching, '2019-03-01/generated/azure_mgmt_compute/models/host_caching.rb'
252
+ autoload :InstanceViewTypes, '2019-03-01/generated/azure_mgmt_compute/models/instance_view_types.rb'
253
+ autoload :ReplicationStatusTypes, '2019-03-01/generated/azure_mgmt_compute/models/replication_status_types.rb'
254
+ end
255
+ end
@@ -0,0 +1,894 @@
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::Compute::Mgmt::V2019_03_01
7
+ #
8
+ # Compute Client
9
+ #
10
+ class AvailabilitySets
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the AvailabilitySets class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [ComputeManagementClient] reference to the ComputeManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Create or update an availability set.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param availability_set_name [String] The name of the availability set.
29
+ # @param parameters [AvailabilitySet] Parameters supplied to the Create
30
+ # Availability Set operation.
31
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
+ # will be added to the HTTP request.
33
+ #
34
+ # @return [AvailabilitySet] operation results.
35
+ #
36
+ def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers:nil)
37
+ response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
38
+ response.body unless response.nil?
39
+ end
40
+
41
+ #
42
+ # Create or update an availability set.
43
+ #
44
+ # @param resource_group_name [String] The name of the resource group.
45
+ # @param availability_set_name [String] The name of the availability set.
46
+ # @param parameters [AvailabilitySet] Parameters supplied to the Create
47
+ # Availability Set operation.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
+ #
53
+ def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
54
+ create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
55
+ end
56
+
57
+ #
58
+ # Create or update an availability set.
59
+ #
60
+ # @param resource_group_name [String] The name of the resource group.
61
+ # @param availability_set_name [String] The name of the availability set.
62
+ # @param parameters [AvailabilitySet] Parameters supplied to the Create
63
+ # Availability Set operation.
64
+ # @param [Hash{String => String}] A hash of custom headers that will be added
65
+ # to the HTTP request.
66
+ #
67
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
+ #
69
+ def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:nil)
70
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
+ fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
72
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
73
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
74
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
75
+
76
+
77
+ request_headers = {}
78
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
79
+
80
+ # Set Headers
81
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
82
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
83
+
84
+ # Serialize Request
85
+ request_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySet.mapper()
86
+ request_content = @client.serialize(request_mapper, parameters)
87
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
88
+
89
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'
90
+
91
+ request_url = @base_url || @client.base_url
92
+
93
+ options = {
94
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
95
+ path_params: {'resourceGroupName' => resource_group_name,'availabilitySetName' => availability_set_name,'subscriptionId' => @client.subscription_id},
96
+ query_params: {'api-version' => @client.api_version},
97
+ body: request_content,
98
+ headers: request_headers.merge(custom_headers || {}),
99
+ base_url: request_url
100
+ }
101
+ promise = @client.make_request_async(:put, path_template, options)
102
+
103
+ promise = promise.then do |result|
104
+ http_response = result.response
105
+ status_code = http_response.status
106
+ response_content = http_response.body
107
+ unless status_code == 200
108
+ error_model = JSON.load(response_content)
109
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
110
+ end
111
+
112
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
113
+ # Deserialize Response
114
+ if status_code == 200
115
+ begin
116
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
117
+ result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySet.mapper()
118
+ result.body = @client.deserialize(result_mapper, parsed_response)
119
+ rescue Exception => e
120
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
121
+ end
122
+ end
123
+
124
+ result
125
+ end
126
+
127
+ promise.execute
128
+ end
129
+
130
+ #
131
+ # Update an availability set.
132
+ #
133
+ # @param resource_group_name [String] The name of the resource group.
134
+ # @param availability_set_name [String] The name of the availability set.
135
+ # @param parameters [AvailabilitySetUpdate] Parameters supplied to the Update
136
+ # Availability Set operation.
137
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
138
+ # will be added to the HTTP request.
139
+ #
140
+ # @return [AvailabilitySet] operation results.
141
+ #
142
+ def update(resource_group_name, availability_set_name, parameters, custom_headers:nil)
143
+ response = update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
144
+ response.body unless response.nil?
145
+ end
146
+
147
+ #
148
+ # Update an availability set.
149
+ #
150
+ # @param resource_group_name [String] The name of the resource group.
151
+ # @param availability_set_name [String] The name of the availability set.
152
+ # @param parameters [AvailabilitySetUpdate] Parameters supplied to the Update
153
+ # Availability Set operation.
154
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
155
+ # will be added to the HTTP request.
156
+ #
157
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
158
+ #
159
+ def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
160
+ update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
161
+ end
162
+
163
+ #
164
+ # Update an availability set.
165
+ #
166
+ # @param resource_group_name [String] The name of the resource group.
167
+ # @param availability_set_name [String] The name of the availability set.
168
+ # @param parameters [AvailabilitySetUpdate] Parameters supplied to the Update
169
+ # Availability Set operation.
170
+ # @param [Hash{String => String}] A hash of custom headers that will be added
171
+ # to the HTTP request.
172
+ #
173
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
174
+ #
175
+ def update_async(resource_group_name, availability_set_name, parameters, custom_headers:nil)
176
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
177
+ fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
178
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
179
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
180
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
181
+
182
+
183
+ request_headers = {}
184
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
185
+
186
+ # Set Headers
187
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
188
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
189
+
190
+ # Serialize Request
191
+ request_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySetUpdate.mapper()
192
+ request_content = @client.serialize(request_mapper, parameters)
193
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
194
+
195
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'
196
+
197
+ request_url = @base_url || @client.base_url
198
+
199
+ options = {
200
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
201
+ path_params: {'resourceGroupName' => resource_group_name,'availabilitySetName' => availability_set_name,'subscriptionId' => @client.subscription_id},
202
+ query_params: {'api-version' => @client.api_version},
203
+ body: request_content,
204
+ headers: request_headers.merge(custom_headers || {}),
205
+ base_url: request_url
206
+ }
207
+ promise = @client.make_request_async(:patch, path_template, options)
208
+
209
+ promise = promise.then do |result|
210
+ http_response = result.response
211
+ status_code = http_response.status
212
+ response_content = http_response.body
213
+ unless status_code == 200
214
+ error_model = JSON.load(response_content)
215
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
216
+ end
217
+
218
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
219
+ # Deserialize Response
220
+ if status_code == 200
221
+ begin
222
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
223
+ result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySet.mapper()
224
+ result.body = @client.deserialize(result_mapper, parsed_response)
225
+ rescue Exception => e
226
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
227
+ end
228
+ end
229
+
230
+ result
231
+ end
232
+
233
+ promise.execute
234
+ end
235
+
236
+ #
237
+ # Delete an availability set.
238
+ #
239
+ # @param resource_group_name [String] The name of the resource group.
240
+ # @param availability_set_name [String] The name of the availability set.
241
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
242
+ # will be added to the HTTP request.
243
+ #
244
+ #
245
+ def delete(resource_group_name, availability_set_name, custom_headers:nil)
246
+ response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
247
+ nil
248
+ end
249
+
250
+ #
251
+ # Delete an availability set.
252
+ #
253
+ # @param resource_group_name [String] The name of the resource group.
254
+ # @param availability_set_name [String] The name of the availability set.
255
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
256
+ # will be added to the HTTP request.
257
+ #
258
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
259
+ #
260
+ def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil)
261
+ delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
262
+ end
263
+
264
+ #
265
+ # Delete an availability set.
266
+ #
267
+ # @param resource_group_name [String] The name of the resource group.
268
+ # @param availability_set_name [String] The name of the availability set.
269
+ # @param [Hash{String => String}] A hash of custom headers that will be added
270
+ # to the HTTP request.
271
+ #
272
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
273
+ #
274
+ def delete_async(resource_group_name, availability_set_name, custom_headers:nil)
275
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
276
+ fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
277
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
278
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
279
+
280
+
281
+ request_headers = {}
282
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
283
+
284
+ # Set Headers
285
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
286
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
287
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'
288
+
289
+ request_url = @base_url || @client.base_url
290
+
291
+ options = {
292
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
293
+ path_params: {'resourceGroupName' => resource_group_name,'availabilitySetName' => availability_set_name,'subscriptionId' => @client.subscription_id},
294
+ query_params: {'api-version' => @client.api_version},
295
+ headers: request_headers.merge(custom_headers || {}),
296
+ base_url: request_url
297
+ }
298
+ promise = @client.make_request_async(:delete, path_template, options)
299
+
300
+ promise = promise.then do |result|
301
+ http_response = result.response
302
+ status_code = http_response.status
303
+ response_content = http_response.body
304
+ unless status_code == 200 || status_code == 204
305
+ error_model = JSON.load(response_content)
306
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
307
+ end
308
+
309
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
310
+
311
+ result
312
+ end
313
+
314
+ promise.execute
315
+ end
316
+
317
+ #
318
+ # Retrieves information about an availability set.
319
+ #
320
+ # @param resource_group_name [String] The name of the resource group.
321
+ # @param availability_set_name [String] The name of the availability set.
322
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
323
+ # will be added to the HTTP request.
324
+ #
325
+ # @return [AvailabilitySet] operation results.
326
+ #
327
+ def get(resource_group_name, availability_set_name, custom_headers:nil)
328
+ response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
329
+ response.body unless response.nil?
330
+ end
331
+
332
+ #
333
+ # Retrieves information about an availability set.
334
+ #
335
+ # @param resource_group_name [String] The name of the resource group.
336
+ # @param availability_set_name [String] The name of the availability set.
337
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
338
+ # will be added to the HTTP request.
339
+ #
340
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
341
+ #
342
+ def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil)
343
+ get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
344
+ end
345
+
346
+ #
347
+ # Retrieves information about an availability set.
348
+ #
349
+ # @param resource_group_name [String] The name of the resource group.
350
+ # @param availability_set_name [String] The name of the availability set.
351
+ # @param [Hash{String => String}] A hash of custom headers that will be added
352
+ # to the HTTP request.
353
+ #
354
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
355
+ #
356
+ def get_async(resource_group_name, availability_set_name, custom_headers:nil)
357
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
358
+ fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
359
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
360
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
361
+
362
+
363
+ request_headers = {}
364
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
365
+
366
+ # Set Headers
367
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
368
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
369
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'
370
+
371
+ request_url = @base_url || @client.base_url
372
+
373
+ options = {
374
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
375
+ path_params: {'resourceGroupName' => resource_group_name,'availabilitySetName' => availability_set_name,'subscriptionId' => @client.subscription_id},
376
+ query_params: {'api-version' => @client.api_version},
377
+ headers: request_headers.merge(custom_headers || {}),
378
+ base_url: request_url
379
+ }
380
+ promise = @client.make_request_async(:get, path_template, options)
381
+
382
+ promise = promise.then do |result|
383
+ http_response = result.response
384
+ status_code = http_response.status
385
+ response_content = http_response.body
386
+ unless status_code == 200
387
+ error_model = JSON.load(response_content)
388
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
389
+ end
390
+
391
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
392
+ # Deserialize Response
393
+ if status_code == 200
394
+ begin
395
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
396
+ result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySet.mapper()
397
+ result.body = @client.deserialize(result_mapper, parsed_response)
398
+ rescue Exception => e
399
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
400
+ end
401
+ end
402
+
403
+ result
404
+ end
405
+
406
+ promise.execute
407
+ end
408
+
409
+ #
410
+ # Lists all availability sets in a subscription.
411
+ #
412
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
413
+ # will be added to the HTTP request.
414
+ #
415
+ # @return [Array<AvailabilitySet>] operation results.
416
+ #
417
+ def list_by_subscription(custom_headers:nil)
418
+ first_page = list_by_subscription_as_lazy(custom_headers:custom_headers)
419
+ first_page.get_all_items
420
+ end
421
+
422
+ #
423
+ # Lists all availability sets in a subscription.
424
+ #
425
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
426
+ # will be added to the HTTP request.
427
+ #
428
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
429
+ #
430
+ def list_by_subscription_with_http_info(custom_headers:nil)
431
+ list_by_subscription_async(custom_headers:custom_headers).value!
432
+ end
433
+
434
+ #
435
+ # Lists all availability sets in a subscription.
436
+ #
437
+ # @param [Hash{String => String}] A hash of custom headers that will be added
438
+ # to the HTTP request.
439
+ #
440
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
441
+ #
442
+ def list_by_subscription_async(custom_headers:nil)
443
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
444
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
445
+
446
+
447
+ request_headers = {}
448
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
449
+
450
+ # Set Headers
451
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
452
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
453
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets'
454
+
455
+ request_url = @base_url || @client.base_url
456
+
457
+ options = {
458
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
459
+ path_params: {'subscriptionId' => @client.subscription_id},
460
+ query_params: {'api-version' => @client.api_version},
461
+ headers: request_headers.merge(custom_headers || {}),
462
+ base_url: request_url
463
+ }
464
+ promise = @client.make_request_async(:get, path_template, options)
465
+
466
+ promise = promise.then do |result|
467
+ http_response = result.response
468
+ status_code = http_response.status
469
+ response_content = http_response.body
470
+ unless status_code == 200
471
+ error_model = JSON.load(response_content)
472
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
473
+ end
474
+
475
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
476
+ # Deserialize Response
477
+ if status_code == 200
478
+ begin
479
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
480
+ result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySetListResult.mapper()
481
+ result.body = @client.deserialize(result_mapper, parsed_response)
482
+ rescue Exception => e
483
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
484
+ end
485
+ end
486
+
487
+ result
488
+ end
489
+
490
+ promise.execute
491
+ end
492
+
493
+ #
494
+ # Lists all availability sets in a resource group.
495
+ #
496
+ # @param resource_group_name [String] The name of the resource group.
497
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
498
+ # will be added to the HTTP request.
499
+ #
500
+ # @return [Array<AvailabilitySet>] operation results.
501
+ #
502
+ def list(resource_group_name, custom_headers:nil)
503
+ first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
504
+ first_page.get_all_items
505
+ end
506
+
507
+ #
508
+ # Lists all availability sets in a resource group.
509
+ #
510
+ # @param resource_group_name [String] The name of the resource group.
511
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
512
+ # will be added to the HTTP request.
513
+ #
514
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
515
+ #
516
+ def list_with_http_info(resource_group_name, custom_headers:nil)
517
+ list_async(resource_group_name, custom_headers:custom_headers).value!
518
+ end
519
+
520
+ #
521
+ # Lists all availability sets in a resource group.
522
+ #
523
+ # @param resource_group_name [String] The name of the resource group.
524
+ # @param [Hash{String => String}] A hash of custom headers that will be added
525
+ # to the HTTP request.
526
+ #
527
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
528
+ #
529
+ def list_async(resource_group_name, custom_headers:nil)
530
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
531
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
532
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
533
+
534
+
535
+ request_headers = {}
536
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
537
+
538
+ # Set Headers
539
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
540
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
541
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets'
542
+
543
+ request_url = @base_url || @client.base_url
544
+
545
+ options = {
546
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
547
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
548
+ query_params: {'api-version' => @client.api_version},
549
+ headers: request_headers.merge(custom_headers || {}),
550
+ base_url: request_url
551
+ }
552
+ promise = @client.make_request_async(:get, path_template, options)
553
+
554
+ promise = promise.then do |result|
555
+ http_response = result.response
556
+ status_code = http_response.status
557
+ response_content = http_response.body
558
+ unless status_code == 200
559
+ error_model = JSON.load(response_content)
560
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
561
+ end
562
+
563
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
564
+ # Deserialize Response
565
+ if status_code == 200
566
+ begin
567
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
568
+ result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySetListResult.mapper()
569
+ result.body = @client.deserialize(result_mapper, parsed_response)
570
+ rescue Exception => e
571
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
572
+ end
573
+ end
574
+
575
+ result
576
+ end
577
+
578
+ promise.execute
579
+ end
580
+
581
+ #
582
+ # Lists all available virtual machine sizes that can be used to create a new
583
+ # virtual machine in an existing availability set.
584
+ #
585
+ # @param resource_group_name [String] The name of the resource group.
586
+ # @param availability_set_name [String] The name of the availability set.
587
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
588
+ # will be added to the HTTP request.
589
+ #
590
+ # @return [VirtualMachineSizeListResult] operation results.
591
+ #
592
+ def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil)
593
+ response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
594
+ response.body unless response.nil?
595
+ end
596
+
597
+ #
598
+ # Lists all available virtual machine sizes that can be used to create a new
599
+ # virtual machine in an existing availability set.
600
+ #
601
+ # @param resource_group_name [String] The name of the resource group.
602
+ # @param availability_set_name [String] The name of the availability set.
603
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
604
+ # will be added to the HTTP request.
605
+ #
606
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
607
+ #
608
+ def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil)
609
+ list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
610
+ end
611
+
612
+ #
613
+ # Lists all available virtual machine sizes that can be used to create a new
614
+ # virtual machine in an existing availability set.
615
+ #
616
+ # @param resource_group_name [String] The name of the resource group.
617
+ # @param availability_set_name [String] The name of the availability set.
618
+ # @param [Hash{String => String}] A hash of custom headers that will be added
619
+ # to the HTTP request.
620
+ #
621
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
622
+ #
623
+ def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil)
624
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
625
+ fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
626
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
627
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
628
+
629
+
630
+ request_headers = {}
631
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
632
+
633
+ # Set Headers
634
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
635
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
636
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes'
637
+
638
+ request_url = @base_url || @client.base_url
639
+
640
+ options = {
641
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
642
+ path_params: {'resourceGroupName' => resource_group_name,'availabilitySetName' => availability_set_name,'subscriptionId' => @client.subscription_id},
643
+ query_params: {'api-version' => @client.api_version},
644
+ headers: request_headers.merge(custom_headers || {}),
645
+ base_url: request_url
646
+ }
647
+ promise = @client.make_request_async(:get, path_template, options)
648
+
649
+ promise = promise.then do |result|
650
+ http_response = result.response
651
+ status_code = http_response.status
652
+ response_content = http_response.body
653
+ unless status_code == 200
654
+ error_model = JSON.load(response_content)
655
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
656
+ end
657
+
658
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
659
+ # Deserialize Response
660
+ if status_code == 200
661
+ begin
662
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
663
+ result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::VirtualMachineSizeListResult.mapper()
664
+ result.body = @client.deserialize(result_mapper, parsed_response)
665
+ rescue Exception => e
666
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
667
+ end
668
+ end
669
+
670
+ result
671
+ end
672
+
673
+ promise.execute
674
+ end
675
+
676
+ #
677
+ # Lists all availability sets in a subscription.
678
+ #
679
+ # @param next_page_link [String] The NextLink from the previous successful call
680
+ # to List operation.
681
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
682
+ # will be added to the HTTP request.
683
+ #
684
+ # @return [AvailabilitySetListResult] operation results.
685
+ #
686
+ def list_by_subscription_next(next_page_link, custom_headers:nil)
687
+ response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
688
+ response.body unless response.nil?
689
+ end
690
+
691
+ #
692
+ # Lists all availability sets in a subscription.
693
+ #
694
+ # @param next_page_link [String] The NextLink from the previous successful call
695
+ # to List operation.
696
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
697
+ # will be added to the HTTP request.
698
+ #
699
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
700
+ #
701
+ def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
702
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
703
+ end
704
+
705
+ #
706
+ # Lists all availability sets in a subscription.
707
+ #
708
+ # @param next_page_link [String] The NextLink from the previous successful call
709
+ # to List operation.
710
+ # @param [Hash{String => String}] A hash of custom headers that will be added
711
+ # to the HTTP request.
712
+ #
713
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
714
+ #
715
+ def list_by_subscription_next_async(next_page_link, custom_headers:nil)
716
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
717
+
718
+
719
+ request_headers = {}
720
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
721
+
722
+ # Set Headers
723
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
724
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
725
+ path_template = '{nextLink}'
726
+
727
+ request_url = @base_url || @client.base_url
728
+
729
+ options = {
730
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
731
+ skip_encoding_path_params: {'nextLink' => next_page_link},
732
+ headers: request_headers.merge(custom_headers || {}),
733
+ base_url: request_url
734
+ }
735
+ promise = @client.make_request_async(:get, path_template, options)
736
+
737
+ promise = promise.then do |result|
738
+ http_response = result.response
739
+ status_code = http_response.status
740
+ response_content = http_response.body
741
+ unless status_code == 200
742
+ error_model = JSON.load(response_content)
743
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
744
+ end
745
+
746
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
747
+ # Deserialize Response
748
+ if status_code == 200
749
+ begin
750
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
751
+ result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySetListResult.mapper()
752
+ result.body = @client.deserialize(result_mapper, parsed_response)
753
+ rescue Exception => e
754
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
755
+ end
756
+ end
757
+
758
+ result
759
+ end
760
+
761
+ promise.execute
762
+ end
763
+
764
+ #
765
+ # Lists all availability sets in a resource group.
766
+ #
767
+ # @param next_page_link [String] The NextLink from the previous successful call
768
+ # to List operation.
769
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
770
+ # will be added to the HTTP request.
771
+ #
772
+ # @return [AvailabilitySetListResult] operation results.
773
+ #
774
+ def list_next(next_page_link, custom_headers:nil)
775
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
776
+ response.body unless response.nil?
777
+ end
778
+
779
+ #
780
+ # Lists all availability sets in a resource group.
781
+ #
782
+ # @param next_page_link [String] The NextLink from the previous successful call
783
+ # to List operation.
784
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
785
+ # will be added to the HTTP request.
786
+ #
787
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
788
+ #
789
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
790
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
791
+ end
792
+
793
+ #
794
+ # Lists all availability sets in a resource group.
795
+ #
796
+ # @param next_page_link [String] The NextLink from the previous successful call
797
+ # to List operation.
798
+ # @param [Hash{String => String}] A hash of custom headers that will be added
799
+ # to the HTTP request.
800
+ #
801
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
802
+ #
803
+ def list_next_async(next_page_link, custom_headers:nil)
804
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
805
+
806
+
807
+ request_headers = {}
808
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
809
+
810
+ # Set Headers
811
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
812
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
813
+ path_template = '{nextLink}'
814
+
815
+ request_url = @base_url || @client.base_url
816
+
817
+ options = {
818
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
819
+ skip_encoding_path_params: {'nextLink' => next_page_link},
820
+ headers: request_headers.merge(custom_headers || {}),
821
+ base_url: request_url
822
+ }
823
+ promise = @client.make_request_async(:get, path_template, options)
824
+
825
+ promise = promise.then do |result|
826
+ http_response = result.response
827
+ status_code = http_response.status
828
+ response_content = http_response.body
829
+ unless status_code == 200
830
+ error_model = JSON.load(response_content)
831
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
832
+ end
833
+
834
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
835
+ # Deserialize Response
836
+ if status_code == 200
837
+ begin
838
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
839
+ result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::AvailabilitySetListResult.mapper()
840
+ result.body = @client.deserialize(result_mapper, parsed_response)
841
+ rescue Exception => e
842
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
843
+ end
844
+ end
845
+
846
+ result
847
+ end
848
+
849
+ promise.execute
850
+ end
851
+
852
+ #
853
+ # Lists all availability sets in a subscription.
854
+ #
855
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
856
+ # will be added to the HTTP request.
857
+ #
858
+ # @return [AvailabilitySetListResult] which provide lazy access to pages of the
859
+ # response.
860
+ #
861
+ def list_by_subscription_as_lazy(custom_headers:nil)
862
+ response = list_by_subscription_async(custom_headers:custom_headers).value!
863
+ unless response.nil?
864
+ page = response.body
865
+ page.next_method = Proc.new do |next_page_link|
866
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
867
+ end
868
+ page
869
+ end
870
+ end
871
+
872
+ #
873
+ # Lists all availability sets in a resource group.
874
+ #
875
+ # @param resource_group_name [String] The name of the resource group.
876
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
877
+ # will be added to the HTTP request.
878
+ #
879
+ # @return [AvailabilitySetListResult] which provide lazy access to pages of the
880
+ # response.
881
+ #
882
+ def list_as_lazy(resource_group_name, custom_headers:nil)
883
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
884
+ unless response.nil?
885
+ page = response.body
886
+ page.next_method = Proc.new do |next_page_link|
887
+ list_next_async(next_page_link, custom_headers:custom_headers)
888
+ end
889
+ page
890
+ end
891
+ end
892
+
893
+ end
894
+ end