azure_mgmt_compute 0.17.1 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (449) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb +112 -3
  3. data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
  4. data/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
  5. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
  6. data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +5 -5
  7. data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +7 -7
  8. data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb +6 -6
  9. data/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb +304 -3
  10. data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
  11. data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
  12. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
  13. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +5 -5
  14. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +7 -7
  15. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +6 -6
  16. data/lib/2016-04-30-preview/generated/azure_mgmt_compute.rb +2 -2
  17. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb +304 -3
  18. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
  19. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb +1 -1
  20. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
  21. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
  22. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb +1 -1
  23. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +6 -6
  24. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +8 -8
  25. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +7 -7
  26. data/lib/2017-03-30/generated/azure_mgmt_compute.rb +3 -3
  27. data/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb +304 -3
  28. data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
  29. data/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb +1 -1
  30. data/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
  31. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
  32. data/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb +1 -1
  33. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +2 -2
  34. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +6 -6
  35. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +8 -8
  36. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb +9 -9
  37. data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
  38. data/lib/2017-12-01/generated/azure_mgmt_compute.rb +55 -55
  39. data/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb +304 -3
  40. data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
  41. data/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb +2 -2
  42. data/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
  43. data/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +7 -7
  44. data/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +7 -7
  45. data/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +2 -2
  46. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +3 -2
  47. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +3 -3
  48. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +3 -2
  49. data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +2 -2
  50. data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +8 -8
  51. data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +22 -10
  52. data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb +9 -9
  53. data/lib/2018-04-01/generated/azure_mgmt_compute.rb +185 -15
  54. data/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb +894 -0
  55. data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +69 -6
  56. data/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb +4 -34
  57. data/lib/2018-04-01/generated/azure_mgmt_compute/images.rb +959 -0
  58. data/lib/2018-04-01/generated/azure_mgmt_compute/log_analytics.rb +337 -0
  59. data/lib/2018-04-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  60. data/lib/2018-04-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  61. data/lib/2018-04-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb +47 -0
  62. data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set.rb +172 -0
  63. data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  64. data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set_update.rb +128 -0
  65. data/lib/2018-04-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
  66. data/lib/2018-04-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +57 -0
  67. data/lib/2018-04-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  68. data/lib/2018-04-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  69. data/lib/2018-04-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  70. data/lib/2018-04-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  71. data/lib/2018-04-01/generated/azure_mgmt_compute/models/data_disk.rb +159 -0
  72. data/lib/2018-04-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  73. data/lib/2018-04-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +53 -0
  74. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  75. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  76. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  77. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb +2 -2
  78. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb +32 -26
  79. data/lib/2018-04-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
  80. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image.rb +126 -0
  81. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_data_disk.rb +126 -0
  82. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  83. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_osdisk.rb +141 -0
  84. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
  85. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  86. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_update.rb +89 -0
  87. data/lib/2018-04-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  88. data/lib/2018-04-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  89. data/lib/2018-04-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  90. data/lib/2018-04-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  91. data/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  92. data/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  93. data/lib/2018-04-01/generated/azure_mgmt_compute/models/linux_configuration.rb +66 -0
  94. data/lib/2018-04-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  95. data/lib/2018-04-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
  96. data/lib/2018-04-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  97. data/lib/2018-04-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  98. data/lib/2018-04-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  99. data/lib/2018-04-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  100. data/lib/2018-04-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +57 -0
  101. data/lib/2018-04-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  102. data/lib/2018-04-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  103. data/lib/2018-04-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  104. data/lib/2018-04-01/generated/azure_mgmt_compute/models/osdisk.rb +178 -0
  105. data/lib/2018-04-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  106. data/lib/2018-04-01/generated/azure_mgmt_compute/models/osprofile.rb +169 -0
  107. data/lib/2018-04-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  108. data/lib/2018-04-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  109. data/lib/2018-04-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  110. data/lib/2018-04-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  111. data/lib/2018-04-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  112. data/lib/2018-04-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
  113. data/lib/2018-04-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  114. data/lib/2018-04-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  115. data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  116. data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
  117. data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  118. data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  119. data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  120. data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  121. data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  122. data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  123. data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  124. data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  125. data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  126. data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  127. data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  128. data/lib/2018-04-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  129. data/lib/2018-04-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
  130. data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb +32 -26
  131. data/lib/2018-04-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  132. data/lib/2018-04-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  133. data/lib/2018-04-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  134. data/lib/2018-04-01/generated/azure_mgmt_compute/models/storage_account_types.rb +1 -0
  135. data/lib/2018-04-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  136. data/lib/2018-04-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  137. data/lib/2018-04-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  138. data/lib/2018-04-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
  139. data/lib/2018-04-01/generated/azure_mgmt_compute/models/{resource_update.rb → update_resource.rb} +5 -17
  140. data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  141. data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  142. data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  143. data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  144. data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  145. data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +92 -0
  146. data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  147. data/lib/2018-04-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  148. data/lib/2018-04-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  149. data/lib/2018-04-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  150. data/lib/2018-04-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  151. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  152. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine.rb +304 -0
  153. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  154. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  155. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  156. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  157. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
  158. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  159. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  160. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  161. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  162. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  163. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  164. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +100 -0
  165. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +119 -0
  166. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
  167. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +206 -0
  168. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  169. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +16 -0
  170. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +245 -0
  171. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +126 -0
  172. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +152 -0
  173. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  174. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
  175. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +102 -0
  176. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
  177. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  178. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  179. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +174 -0
  180. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  181. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  182. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  183. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  184. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +50 -0
  185. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
  186. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  187. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  188. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +167 -0
  189. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  190. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +93 -0
  191. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  192. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  193. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  194. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  195. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  196. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +138 -0
  197. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +167 -0
  198. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
  199. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +57 -0
  200. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
  201. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  202. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  203. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  204. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +112 -0
  205. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +329 -0
  206. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  207. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  208. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  209. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +197 -0
  210. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  211. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +147 -0
  212. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  213. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  214. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  215. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  216. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +247 -0
  217. data/lib/2018-04-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  218. data/lib/2018-04-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  219. data/lib/2018-04-01/generated/azure_mgmt_compute/models/windows_configuration.rb +109 -0
  220. data/lib/2018-04-01/generated/azure_mgmt_compute/operations.rb +107 -0
  221. data/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb +4 -34
  222. data/lib/2018-04-01/generated/azure_mgmt_compute/usage_operations.rb +237 -0
  223. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +354 -0
  224. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +691 -0
  225. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_images.rb +590 -0
  226. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +316 -0
  227. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +636 -0
  228. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +363 -0
  229. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1915 -0
  230. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2967 -0
  231. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +117 -0
  232. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machines.rb +2397 -0
  233. data/lib/2018-06-01/generated/azure_mgmt_compute.rb +237 -0
  234. data/lib/2018-06-01/generated/azure_mgmt_compute/availability_sets.rb +894 -0
  235. data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +203 -0
  236. data/lib/2018-06-01/generated/azure_mgmt_compute/galleries.rb +795 -0
  237. data/lib/2018-06-01/generated/azure_mgmt_compute/gallery_image_versions.rb +676 -0
  238. data/lib/2018-06-01/generated/azure_mgmt_compute/gallery_images.rb +626 -0
  239. data/lib/2018-06-01/generated/azure_mgmt_compute/images.rb +959 -0
  240. data/lib/2018-06-01/generated/azure_mgmt_compute/log_analytics.rb +337 -0
  241. data/lib/2018-06-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  242. data/lib/2018-06-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
  243. data/lib/2018-06-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  244. data/lib/2018-06-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  245. data/lib/2018-06-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  246. data/lib/2018-06-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb +47 -0
  247. data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set.rb +172 -0
  248. data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  249. data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set_update.rb +128 -0
  250. data/lib/2018-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
  251. data/lib/2018-06-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +57 -0
  252. data/lib/2018-06-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  253. data/lib/2018-06-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  254. data/lib/2018-06-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  255. data/lib/2018-06-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  256. data/lib/2018-06-01/generated/azure_mgmt_compute/models/data_disk.rb +159 -0
  257. data/lib/2018-06-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  258. data/lib/2018-06-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +53 -0
  259. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
  260. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  261. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  262. data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  263. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery.rb +124 -0
  264. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +67 -0
  265. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
  266. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +68 -0
  267. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +62 -0
  268. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +47 -0
  269. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image.rb +233 -0
  270. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
  271. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +99 -0
  272. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +140 -0
  273. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
  274. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +108 -0
  275. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +69 -0
  276. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
  277. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +54 -0
  278. data/lib/2018-06-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
  279. data/lib/2018-06-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
  280. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image.rb +126 -0
  281. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +126 -0
  282. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  283. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +141 -0
  284. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
  285. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
  286. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  287. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_update.rb +89 -0
  288. data/lib/2018-06-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  289. data/lib/2018-06-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  290. data/lib/2018-06-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  291. data/lib/2018-06-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  292. data/lib/2018-06-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  293. data/lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  294. data/lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  295. data/lib/2018-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
  296. data/lib/2018-06-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  297. data/lib/2018-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
  298. data/lib/2018-06-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  299. data/lib/2018-06-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  300. data/lib/2018-06-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  301. data/lib/2018-06-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  302. data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
  303. data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +57 -0
  304. data/lib/2018-06-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  305. data/lib/2018-06-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  306. data/lib/2018-06-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  307. data/lib/2018-06-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  308. data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk.rb +178 -0
  309. data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  310. data/lib/2018-06-01/generated/azure_mgmt_compute/models/osprofile.rb +182 -0
  311. data/lib/2018-06-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  312. data/lib/2018-06-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  313. data/lib/2018-06-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  314. data/lib/2018-06-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  315. data/lib/2018-06-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +59 -0
  316. data/lib/2018-06-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  317. data/lib/2018-06-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
  318. data/lib/2018-06-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
  319. data/lib/2018-06-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
  320. data/lib/2018-06-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
  321. data/lib/2018-06-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
  322. data/lib/{2018-04-01/generated/azure_mgmt_compute/models/operation_status_response.rb → 2018-06-01/generated/azure_mgmt_compute/models/resource.rb} +38 -33
  323. data/lib/2018-06-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  324. data/lib/2018-06-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
  325. data/lib/2018-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  326. data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  327. data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
  328. data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  329. data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  330. data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  331. data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  332. data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  333. data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  334. data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  335. data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  336. data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  337. data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  338. data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  339. data/lib/2018-06-01/generated/azure_mgmt_compute/models/scale_tier.rb +16 -0
  340. data/lib/2018-06-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  341. data/lib/2018-06-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
  342. data/lib/2018-06-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  343. data/lib/2018-06-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  344. data/lib/2018-06-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  345. data/lib/2018-06-01/generated/azure_mgmt_compute/models/storage_account_types.rb +17 -0
  346. data/lib/2018-06-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  347. data/lib/2018-06-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  348. data/lib/2018-06-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  349. data/lib/2018-06-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
  350. data/lib/2018-06-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  351. data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  352. data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  353. data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  354. data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  355. data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  356. data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +92 -0
  357. data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  358. data/lib/2018-06-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  359. data/lib/2018-06-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  360. data/lib/2018-06-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  361. data/lib/2018-06-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  362. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  363. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +304 -0
  364. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  365. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  366. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  367. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  368. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
  369. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  370. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  371. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  372. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  373. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  374. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  375. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
  376. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
  377. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +119 -0
  378. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
  379. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +206 -0
  380. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  381. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +16 -0
  382. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +245 -0
  383. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +126 -0
  384. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +152 -0
  385. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  386. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
  387. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
  388. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
  389. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
  390. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  391. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  392. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
  393. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  394. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  395. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  396. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  397. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +50 -0
  398. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
  399. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  400. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  401. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +153 -0
  402. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  403. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +93 -0
  404. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  405. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  406. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  407. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  408. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  409. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +138 -0
  410. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +188 -0
  411. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
  412. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +57 -0
  413. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +108 -0
  414. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  415. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  416. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  417. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +112 -0
  418. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +309 -0
  419. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  420. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  421. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  422. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +197 -0
  423. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  424. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +147 -0
  425. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  426. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  427. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  428. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  429. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +247 -0
  430. data/lib/2018-06-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  431. data/lib/2018-06-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  432. data/lib/2018-06-01/generated/azure_mgmt_compute/models/windows_configuration.rb +109 -0
  433. data/lib/2018-06-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  434. data/lib/2018-06-01/generated/azure_mgmt_compute/operations.rb +107 -0
  435. data/lib/2018-06-01/generated/azure_mgmt_compute/usage_operations.rb +237 -0
  436. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +354 -0
  437. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +691 -0
  438. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_images.rb +590 -0
  439. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +316 -0
  440. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +636 -0
  441. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +363 -0
  442. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1915 -0
  443. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2955 -0
  444. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +117 -0
  445. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machines.rb +2397 -0
  446. data/lib/azure_mgmt_compute.rb +4 -3
  447. data/lib/profiles/latest/modules/compute_profile_module.rb +660 -530
  448. data/lib/version.rb +1 -1
  449. metadata +389 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e3741e2b04d5ada65091923da357aaf8e7c6792
4
- data.tar.gz: 6e5013b7ad88b3b524196746df2e6e4d2ea99841
3
+ metadata.gz: 168feb63aae05cca8b0f2cc58c6e11c20fd00651
4
+ data.tar.gz: b7b60fef2a13ffe2c51714a3286826744d2dfe31
5
5
  SHA512:
6
- metadata.gz: 62123b28a24c330517f0f1d15563d1cb3aba6e54aa676776eb44ddaa3c0f49eac2caf2b2e5a286e57553a6fe6daf1c3ad5def7a35f2b1058dbc9619cd6a348ee
7
- data.tar.gz: d20da2ac0aa327072f7439143be384d8d8a7a848ae4db9452e3fafd599b3f76105607609006e270de5a12718f74545cac987eded30e116968f899e735b66fe11
6
+ metadata.gz: a692494e3436c80b9ce61a47927542484319cfe559bfee0d47728d388f1a26480d9c065f787a49234f223c5ad769c631c1ad71ae2363b96dcd24a49bc5fbd8b0
7
+ data.tar.gz: 9195b8b25b2d4a1cf9c22caaeb940304afecc87b38a89141596054e90d33e8877c4d88b78bd31f3e108e3acc7c8ef873aa96b5dd2ab3201d3260f24e9efb0ac2
@@ -318,11 +318,11 @@ module Azure::Compute::Mgmt::V2015_06_15
318
318
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
319
319
  # will be added to the HTTP request.
320
320
  #
321
- # @return [AvailabilitySetListResult] operation results.
321
+ # @return [Array<AvailabilitySet>] operation results.
322
322
  #
323
323
  def list(resource_group_name, custom_headers:nil)
324
- response = list_async(resource_group_name, custom_headers:custom_headers).value!
325
- response.body unless response.nil?
324
+ first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
325
+ first_page.get_all_items
326
326
  end
327
327
 
328
328
  #
@@ -494,5 +494,114 @@ module Azure::Compute::Mgmt::V2015_06_15
494
494
  promise.execute
495
495
  end
496
496
 
497
+ #
498
+ # Lists all availability sets in a resource group.
499
+ #
500
+ # @param next_page_link [String] The NextLink from the previous successful call
501
+ # to List operation.
502
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
503
+ # will be added to the HTTP request.
504
+ #
505
+ # @return [AvailabilitySetListResult] operation results.
506
+ #
507
+ def list_next(next_page_link, custom_headers:nil)
508
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
509
+ response.body unless response.nil?
510
+ end
511
+
512
+ #
513
+ # Lists all availability sets in a resource group.
514
+ #
515
+ # @param next_page_link [String] The NextLink from the previous successful call
516
+ # to List operation.
517
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
518
+ # will be added to the HTTP request.
519
+ #
520
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
521
+ #
522
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
523
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
524
+ end
525
+
526
+ #
527
+ # Lists all availability sets in a resource group.
528
+ #
529
+ # @param next_page_link [String] The NextLink from the previous successful call
530
+ # to List operation.
531
+ # @param [Hash{String => String}] A hash of custom headers that will be added
532
+ # to the HTTP request.
533
+ #
534
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
535
+ #
536
+ def list_next_async(next_page_link, custom_headers:nil)
537
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
538
+
539
+
540
+ request_headers = {}
541
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
542
+
543
+ # Set Headers
544
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
545
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
546
+ path_template = '{nextLink}'
547
+
548
+ request_url = @base_url || @client.base_url
549
+
550
+ options = {
551
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
552
+ skip_encoding_path_params: {'nextLink' => next_page_link},
553
+ headers: request_headers.merge(custom_headers || {}),
554
+ base_url: request_url
555
+ }
556
+ promise = @client.make_request_async(:get, path_template, options)
557
+
558
+ promise = promise.then do |result|
559
+ http_response = result.response
560
+ status_code = http_response.status
561
+ response_content = http_response.body
562
+ unless status_code == 200
563
+ error_model = JSON.load(response_content)
564
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
565
+ end
566
+
567
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
568
+ # Deserialize Response
569
+ if status_code == 200
570
+ begin
571
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
572
+ result_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::AvailabilitySetListResult.mapper()
573
+ result.body = @client.deserialize(result_mapper, parsed_response)
574
+ rescue Exception => e
575
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
576
+ end
577
+ end
578
+
579
+ result
580
+ end
581
+
582
+ promise.execute
583
+ end
584
+
585
+ #
586
+ # Lists all availability sets in a resource group.
587
+ #
588
+ # @param resource_group_name [String] The name of the resource group.
589
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
590
+ # will be added to the HTTP request.
591
+ #
592
+ # @return [AvailabilitySetListResult] which provide lazy access to pages of the
593
+ # response.
594
+ #
595
+ def list_as_lazy(resource_group_name, custom_headers:nil)
596
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
597
+ unless response.nil?
598
+ page = response.body
599
+ page.next_method = Proc.new do |next_page_link|
600
+ list_next_async(next_page_link, custom_headers:custom_headers)
601
+ end
602
+ page
603
+ end
604
+ end
605
+
497
606
  end
498
607
  end
@@ -25,15 +25,16 @@ module Azure::Compute::Mgmt::V2015_06_15
25
25
  # @return [String] Client Api Version.
26
26
  attr_reader :api_version
27
27
 
28
- # @return [String] Gets or sets the preferred language for the response.
28
+ # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
31
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
- # Running Operations. Default value is 30.
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
33
  attr_accessor :long_running_operation_retry_timeout
34
34
 
35
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
- # is generated and included in each request. Default is true.
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
37
38
  attr_accessor :generate_client_request_id
38
39
 
39
40
  # @return [AvailabilitySets] availability_sets
@@ -157,7 +158,7 @@ module Azure::Compute::Mgmt::V2015_06_15
157
158
  #
158
159
  def add_telemetry
159
160
  sdk_information = 'azure_mgmt_compute'
160
- sdk_information = "#{sdk_information}/0.17.0"
161
+ sdk_information = "#{sdk_information}/0.18.0"
161
162
  add_user_agent_information(sdk_information)
162
163
  end
163
164
  end
@@ -12,9 +12,46 @@ module Azure::Compute::Mgmt::V2015_06_15
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<AvailabilitySet>] The list of availability sets
16
17
  attr_accessor :value
17
18
 
19
+ # @return [String] The URI to fetch the next page of AvailabilitySets.
20
+ # Call ListNext() with this URI to fetch the next page of
21
+ # AvailabilitySets.
22
+ attr_accessor :next_link
23
+
24
+ # return [Proc] with next page method call.
25
+ attr_accessor :next_method
26
+
27
+ #
28
+ # Gets the rest of the items for the request, enabling auto-pagination.
29
+ #
30
+ # @return [Array<AvailabilitySet>] operation results.
31
+ #
32
+ def get_all_items
33
+ items = @value
34
+ page = self
35
+ while page.next_link != nil do
36
+ page = page.get_next_page
37
+ items.concat(page.value)
38
+ end
39
+ items
40
+ end
41
+
42
+ #
43
+ # Gets the next page of results.
44
+ #
45
+ # @return [AvailabilitySetListResult] with next page content.
46
+ #
47
+ def get_next_page
48
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
49
+ unless response.nil?
50
+ @next_link = response.body.next_link
51
+ @value = response.body.value
52
+ self
53
+ end
54
+ end
18
55
 
19
56
  #
20
57
  # Mapper for AvailabilitySetListResult class as Ruby Hash.
@@ -31,7 +68,7 @@ module Azure::Compute::Mgmt::V2015_06_15
31
68
  model_properties: {
32
69
  value: {
33
70
  client_side_validation: true,
34
- required: false,
71
+ required: true,
35
72
  serialized_name: 'value',
36
73
  type: {
37
74
  name: 'Sequence',
@@ -45,6 +82,14 @@ module Azure::Compute::Mgmt::V2015_06_15
45
82
  }
46
83
  }
47
84
  }
85
+ },
86
+ next_link: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
48
93
  }
49
94
  }
50
95
  }
@@ -22,7 +22,8 @@ module Azure::Compute::Mgmt::V2015_06_15
22
22
  # to the virtual machine.
23
23
  attr_accessor :latest_model_applied
24
24
 
25
- # @return [VirtualMachineInstanceView] The virtual machine instance view.
25
+ # @return [VirtualMachineScaleSetVMInstanceView] The virtual machine
26
+ # instance view.
26
27
  attr_accessor :instance_view
27
28
 
28
29
  # @return [HardwareProfile] Specifies the hardware settings for the
@@ -186,7 +187,7 @@ module Azure::Compute::Mgmt::V2015_06_15
186
187
  serialized_name: 'properties.instanceView',
187
188
  type: {
188
189
  name: 'Composite',
189
- class_name: 'VirtualMachineInstanceView'
190
+ class_name: 'VirtualMachineScaleSetVMInstanceView'
190
191
  }
191
192
  },
192
193
  hardware_profile: {
@@ -60,7 +60,7 @@ module Azure::Compute::Mgmt::V2015_06_15
60
60
  end
61
61
 
62
62
  # Waiting for response.
63
- @client.get_long_running_operation_result(response, deserialize_method)
63
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
64
64
  end
65
65
 
66
66
  promise
@@ -107,7 +107,7 @@ module Azure::Compute::Mgmt::V2015_06_15
107
107
  end
108
108
 
109
109
  # Waiting for response.
110
- @client.get_long_running_operation_result(response, deserialize_method)
110
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
111
111
  end
112
112
 
113
113
  promise
@@ -490,7 +490,7 @@ module Azure::Compute::Mgmt::V2015_06_15
490
490
  end
491
491
 
492
492
  # Waiting for response.
493
- @client.get_long_running_operation_result(response, deserialize_method)
493
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
494
494
  end
495
495
 
496
496
  promise
@@ -534,7 +534,7 @@ module Azure::Compute::Mgmt::V2015_06_15
534
534
  end
535
535
 
536
536
  # Waiting for response.
537
- @client.get_long_running_operation_result(response, deserialize_method)
537
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
538
538
  end
539
539
 
540
540
  promise
@@ -578,7 +578,7 @@ module Azure::Compute::Mgmt::V2015_06_15
578
578
  end
579
579
 
580
580
  # Waiting for response.
581
- @client.get_long_running_operation_result(response, deserialize_method)
581
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
582
582
  end
583
583
 
584
584
  promise
@@ -241,7 +241,7 @@ module Azure::Compute::Mgmt::V2015_06_15
241
241
  end
242
242
 
243
243
  # Waiting for response.
244
- @client.get_long_running_operation_result(response, deserialize_method)
244
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
245
245
  end
246
246
 
247
247
  promise
@@ -287,7 +287,7 @@ module Azure::Compute::Mgmt::V2015_06_15
287
287
  end
288
288
 
289
289
  # Waiting for response.
290
- @client.get_long_running_operation_result(response, deserialize_method)
290
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
291
291
  end
292
292
 
293
293
  promise
@@ -703,7 +703,7 @@ module Azure::Compute::Mgmt::V2015_06_15
703
703
  end
704
704
 
705
705
  # Waiting for response.
706
- @client.get_long_running_operation_result(response, deserialize_method)
706
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
707
707
  end
708
708
 
709
709
  promise
@@ -749,7 +749,7 @@ module Azure::Compute::Mgmt::V2015_06_15
749
749
  end
750
750
 
751
751
  # Waiting for response.
752
- @client.get_long_running_operation_result(response, deserialize_method)
752
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
753
753
  end
754
754
 
755
755
  promise
@@ -795,7 +795,7 @@ module Azure::Compute::Mgmt::V2015_06_15
795
795
  end
796
796
 
797
797
  # Waiting for response.
798
- @client.get_long_running_operation_result(response, deserialize_method)
798
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
799
799
  end
800
800
 
801
801
  promise
@@ -842,7 +842,7 @@ module Azure::Compute::Mgmt::V2015_06_15
842
842
  end
843
843
 
844
844
  # Waiting for response.
845
- @client.get_long_running_operation_result(response, deserialize_method)
845
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
846
846
  end
847
847
 
848
848
  promise
@@ -885,7 +885,7 @@ module Azure::Compute::Mgmt::V2015_06_15
885
885
  end
886
886
 
887
887
  # Waiting for response.
888
- @client.get_long_running_operation_result(response, deserialize_method)
888
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
889
889
  end
890
890
 
891
891
  promise
@@ -62,7 +62,7 @@ module Azure::Compute::Mgmt::V2015_06_15
62
62
  end
63
63
 
64
64
  # Waiting for response.
65
- @client.get_long_running_operation_result(response, deserialize_method)
65
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
66
66
  end
67
67
 
68
68
  promise
@@ -294,7 +294,7 @@ module Azure::Compute::Mgmt::V2015_06_15
294
294
  end
295
295
 
296
296
  # Waiting for response.
297
- @client.get_long_running_operation_result(response, deserialize_method)
297
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
298
298
  end
299
299
 
300
300
  promise
@@ -703,7 +703,7 @@ module Azure::Compute::Mgmt::V2015_06_15
703
703
  end
704
704
 
705
705
  # Waiting for response.
706
- @client.get_long_running_operation_result(response, deserialize_method)
706
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
707
707
  end
708
708
 
709
709
  promise
@@ -745,7 +745,7 @@ module Azure::Compute::Mgmt::V2015_06_15
745
745
  end
746
746
 
747
747
  # Waiting for response.
748
- @client.get_long_running_operation_result(response, deserialize_method)
748
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
749
749
  end
750
750
 
751
751
  promise
@@ -787,7 +787,7 @@ module Azure::Compute::Mgmt::V2015_06_15
787
787
  end
788
788
 
789
789
  # Waiting for response.
790
- @client.get_long_running_operation_result(response, deserialize_method)
790
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
791
791
  end
792
792
 
793
793
  promise
@@ -829,7 +829,7 @@ module Azure::Compute::Mgmt::V2015_06_15
829
829
  end
830
830
 
831
831
  # Waiting for response.
832
- @client.get_long_running_operation_result(response, deserialize_method)
832
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
833
833
  end
834
834
 
835
835
  promise
@@ -311,6 +311,90 @@ module Azure::Compute::Mgmt::V2016_03_30
311
311
  promise.execute
312
312
  end
313
313
 
314
+ #
315
+ # Lists all availability sets in a subscription.
316
+ #
317
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
318
+ # will be added to the HTTP request.
319
+ #
320
+ # @return [Array<AvailabilitySet>] operation results.
321
+ #
322
+ def list_by_subscription(custom_headers:nil)
323
+ first_page = list_by_subscription_as_lazy(custom_headers:custom_headers)
324
+ first_page.get_all_items
325
+ end
326
+
327
+ #
328
+ # Lists all availability sets in a subscription.
329
+ #
330
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
331
+ # will be added to the HTTP request.
332
+ #
333
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
334
+ #
335
+ def list_by_subscription_with_http_info(custom_headers:nil)
336
+ list_by_subscription_async(custom_headers:custom_headers).value!
337
+ end
338
+
339
+ #
340
+ # Lists all availability sets in a subscription.
341
+ #
342
+ # @param [Hash{String => String}] A hash of custom headers that will be added
343
+ # to the HTTP request.
344
+ #
345
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
346
+ #
347
+ def list_by_subscription_async(custom_headers:nil)
348
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
349
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
350
+
351
+
352
+ request_headers = {}
353
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
354
+
355
+ # Set Headers
356
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
357
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
358
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets'
359
+
360
+ request_url = @base_url || @client.base_url
361
+
362
+ options = {
363
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
364
+ path_params: {'subscriptionId' => @client.subscription_id},
365
+ query_params: {'api-version' => @client.api_version},
366
+ headers: request_headers.merge(custom_headers || {}),
367
+ base_url: request_url
368
+ }
369
+ promise = @client.make_request_async(:get, path_template, options)
370
+
371
+ promise = promise.then do |result|
372
+ http_response = result.response
373
+ status_code = http_response.status
374
+ response_content = http_response.body
375
+ unless status_code == 200
376
+ error_model = JSON.load(response_content)
377
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
378
+ end
379
+
380
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
381
+ # Deserialize Response
382
+ if status_code == 200
383
+ begin
384
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
385
+ result_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult.mapper()
386
+ result.body = @client.deserialize(result_mapper, parsed_response)
387
+ rescue Exception => e
388
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
389
+ end
390
+ end
391
+
392
+ result
393
+ end
394
+
395
+ promise.execute
396
+ end
397
+
314
398
  #
315
399
  # Lists all availability sets in a resource group.
316
400
  #
@@ -318,11 +402,11 @@ module Azure::Compute::Mgmt::V2016_03_30
318
402
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
319
403
  # will be added to the HTTP request.
320
404
  #
321
- # @return [AvailabilitySetListResult] operation results.
405
+ # @return [Array<AvailabilitySet>] operation results.
322
406
  #
323
407
  def list(resource_group_name, custom_headers:nil)
324
- response = list_async(resource_group_name, custom_headers:custom_headers).value!
325
- response.body unless response.nil?
408
+ first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
409
+ first_page.get_all_items
326
410
  end
327
411
 
328
412
  #
@@ -494,5 +578,222 @@ module Azure::Compute::Mgmt::V2016_03_30
494
578
  promise.execute
495
579
  end
496
580
 
581
+ #
582
+ # Lists all availability sets in a subscription.
583
+ #
584
+ # @param next_page_link [String] The NextLink from the previous successful call
585
+ # to List operation.
586
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
587
+ # will be added to the HTTP request.
588
+ #
589
+ # @return [AvailabilitySetListResult] operation results.
590
+ #
591
+ def list_by_subscription_next(next_page_link, custom_headers:nil)
592
+ response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
593
+ response.body unless response.nil?
594
+ end
595
+
596
+ #
597
+ # Lists all availability sets in a subscription.
598
+ #
599
+ # @param next_page_link [String] The NextLink from the previous successful call
600
+ # to List operation.
601
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
602
+ # will be added to the HTTP request.
603
+ #
604
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
605
+ #
606
+ def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
607
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
608
+ end
609
+
610
+ #
611
+ # Lists all availability sets in a subscription.
612
+ #
613
+ # @param next_page_link [String] The NextLink from the previous successful call
614
+ # to List operation.
615
+ # @param [Hash{String => String}] A hash of custom headers that will be added
616
+ # to the HTTP request.
617
+ #
618
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
619
+ #
620
+ def list_by_subscription_next_async(next_page_link, custom_headers:nil)
621
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
622
+
623
+
624
+ request_headers = {}
625
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
626
+
627
+ # Set Headers
628
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
629
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
630
+ path_template = '{nextLink}'
631
+
632
+ request_url = @base_url || @client.base_url
633
+
634
+ options = {
635
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
636
+ skip_encoding_path_params: {'nextLink' => next_page_link},
637
+ headers: request_headers.merge(custom_headers || {}),
638
+ base_url: request_url
639
+ }
640
+ promise = @client.make_request_async(:get, path_template, options)
641
+
642
+ promise = promise.then do |result|
643
+ http_response = result.response
644
+ status_code = http_response.status
645
+ response_content = http_response.body
646
+ unless status_code == 200
647
+ error_model = JSON.load(response_content)
648
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
649
+ end
650
+
651
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
652
+ # Deserialize Response
653
+ if status_code == 200
654
+ begin
655
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
656
+ result_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult.mapper()
657
+ result.body = @client.deserialize(result_mapper, parsed_response)
658
+ rescue Exception => e
659
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
660
+ end
661
+ end
662
+
663
+ result
664
+ end
665
+
666
+ promise.execute
667
+ end
668
+
669
+ #
670
+ # Lists all availability sets in a resource group.
671
+ #
672
+ # @param next_page_link [String] The NextLink from the previous successful call
673
+ # to List operation.
674
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
675
+ # will be added to the HTTP request.
676
+ #
677
+ # @return [AvailabilitySetListResult] operation results.
678
+ #
679
+ def list_next(next_page_link, custom_headers:nil)
680
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
681
+ response.body unless response.nil?
682
+ end
683
+
684
+ #
685
+ # Lists all availability sets in a resource group.
686
+ #
687
+ # @param next_page_link [String] The NextLink from the previous successful call
688
+ # to List operation.
689
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
690
+ # will be added to the HTTP request.
691
+ #
692
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
693
+ #
694
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
695
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
696
+ end
697
+
698
+ #
699
+ # Lists all availability sets in a resource group.
700
+ #
701
+ # @param next_page_link [String] The NextLink from the previous successful call
702
+ # to List operation.
703
+ # @param [Hash{String => String}] A hash of custom headers that will be added
704
+ # to the HTTP request.
705
+ #
706
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
707
+ #
708
+ def list_next_async(next_page_link, custom_headers:nil)
709
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
710
+
711
+
712
+ request_headers = {}
713
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
714
+
715
+ # Set Headers
716
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
717
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
718
+ path_template = '{nextLink}'
719
+
720
+ request_url = @base_url || @client.base_url
721
+
722
+ options = {
723
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
724
+ skip_encoding_path_params: {'nextLink' => next_page_link},
725
+ headers: request_headers.merge(custom_headers || {}),
726
+ base_url: request_url
727
+ }
728
+ promise = @client.make_request_async(:get, path_template, options)
729
+
730
+ promise = promise.then do |result|
731
+ http_response = result.response
732
+ status_code = http_response.status
733
+ response_content = http_response.body
734
+ unless status_code == 200
735
+ error_model = JSON.load(response_content)
736
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
737
+ end
738
+
739
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
740
+ # Deserialize Response
741
+ if status_code == 200
742
+ begin
743
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
744
+ result_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult.mapper()
745
+ result.body = @client.deserialize(result_mapper, parsed_response)
746
+ rescue Exception => e
747
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
748
+ end
749
+ end
750
+
751
+ result
752
+ end
753
+
754
+ promise.execute
755
+ end
756
+
757
+ #
758
+ # Lists all availability sets in a subscription.
759
+ #
760
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
761
+ # will be added to the HTTP request.
762
+ #
763
+ # @return [AvailabilitySetListResult] which provide lazy access to pages of the
764
+ # response.
765
+ #
766
+ def list_by_subscription_as_lazy(custom_headers:nil)
767
+ response = list_by_subscription_async(custom_headers:custom_headers).value!
768
+ unless response.nil?
769
+ page = response.body
770
+ page.next_method = Proc.new do |next_page_link|
771
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
772
+ end
773
+ page
774
+ end
775
+ end
776
+
777
+ #
778
+ # Lists all availability sets in a resource group.
779
+ #
780
+ # @param resource_group_name [String] The name of the resource group.
781
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
782
+ # will be added to the HTTP request.
783
+ #
784
+ # @return [AvailabilitySetListResult] which provide lazy access to pages of the
785
+ # response.
786
+ #
787
+ def list_as_lazy(resource_group_name, custom_headers:nil)
788
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
789
+ unless response.nil?
790
+ page = response.body
791
+ page.next_method = Proc.new do |next_page_link|
792
+ list_next_async(next_page_link, custom_headers:custom_headers)
793
+ end
794
+ page
795
+ end
796
+ end
797
+
497
798
  end
498
799
  end