azure_mgmt_compute 0.19.3 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (337) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  3. data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  4. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  5. data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  6. data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  7. data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  8. data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  9. data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  10. data/lib/2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  11. data/lib/2018-10-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  12. data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  13. data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  14. data/lib/2019-04-01/generated/azure_mgmt_compute/resource_skus.rb +8 -4
  15. data/lib/2019-07-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  16. data/lib/2019-11-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  17. data/lib/2019-12-01/generated/azure_mgmt_compute/availability_sets.rb +4 -0
  18. data/lib/2019-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  19. data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb +1 -1
  20. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +2 -2
  21. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +2 -2
  22. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +2 -2
  23. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +2 -2
  24. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +28 -8
  25. data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +8 -6
  26. data/lib/2020-06-01/generated/azure_mgmt_compute.rb +276 -0
  27. data/lib/2020-06-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
  28. data/lib/2020-06-01/generated/azure_mgmt_compute/compute_management_client.rb +212 -0
  29. data/lib/2020-06-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +861 -0
  30. data/lib/2020-06-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
  31. data/lib/2020-06-01/generated/azure_mgmt_compute/images.rb +975 -0
  32. data/lib/2020-06-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
  33. data/lib/2020-06-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
  34. data/lib/2020-06-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  35. data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  36. data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  37. data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  38. data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
  39. data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
  40. data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
  41. data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
  42. data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  43. data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
  44. data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
  45. data/lib/2020-06-01/generated/azure_mgmt_compute/models/available_patch_summary.rb +143 -0
  46. data/lib/2020-06-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
  47. data/lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
  48. data/lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +78 -0
  49. data/lib/2020-06-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  50. data/lib/2020-06-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  51. data/lib/2020-06-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  52. data/lib/2020-06-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  53. data/lib/2020-06-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
  54. data/lib/2020-06-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  55. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host.rb +219 -0
  56. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
  57. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
  58. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +178 -0
  59. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb +57 -0
  60. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
  61. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +141 -0
  62. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
  63. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view_with_name.rb +84 -0
  64. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
  65. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
  66. data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +171 -0
  67. data/lib/2020-06-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
  68. data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
  69. data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
  70. data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
  71. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disallowed_configuration.rb +47 -0
  72. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  73. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
  74. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  75. data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  76. data/lib/2020-06-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
  77. data/lib/2020-06-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
  78. data/lib/2020-06-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
  79. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image.rb +139 -0
  80. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
  81. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
  82. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  83. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
  84. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
  85. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  86. data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
  87. data/lib/2020-06-01/generated/azure_mgmt_compute/models/in_guest_patch_mode.rb +17 -0
  88. data/lib/2020-06-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  89. data/lib/2020-06-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  90. data/lib/2020-06-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  91. data/lib/2020-06-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  92. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  93. data/lib/2020-06-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  94. data/lib/2020-06-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  95. data/lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb +211 -0
  96. data/lib/2020-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
  97. data/lib/2020-06-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  98. data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
  99. data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  100. data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  101. data/lib/2020-06-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  102. data/lib/2020-06-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  103. data/lib/2020-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
  104. data/lib/2020-06-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  105. data/lib/2020-06-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  106. data/lib/2020-06-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  107. data/lib/2020-06-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  108. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
  109. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
  110. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
  111. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
  112. data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
  113. data/lib/2020-06-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
  114. data/lib/2020-06-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  115. data/lib/2020-06-01/generated/azure_mgmt_compute/models/osprofile.rb +204 -0
  116. data/lib/2020-06-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  117. data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_assessment_state.rb +20 -0
  118. data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_operation_status.rb +18 -0
  119. data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb +59 -0
  120. data/lib/2020-06-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  121. data/lib/2020-06-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  122. data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
  123. data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  124. data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  125. data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  126. data/lib/2020-06-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  127. data/lib/2020-06-01/generated/azure_mgmt_compute/models/reboot_status.rb +19 -0
  128. data/lib/2020-06-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  129. data/lib/2020-06-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
  130. data/lib/2020-06-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
  131. data/lib/2020-06-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  132. data/lib/2020-06-01/generated/azure_mgmt_compute/models/retrieve_boot_diagnostics_data_result.rb +59 -0
  133. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  134. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  135. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
  136. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  137. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  138. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  139. data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  140. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  141. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  142. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  143. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  144. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  145. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  146. data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  147. data/lib/2020-06-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
  148. data/lib/2020-06-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
  149. data/lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb +52 -0
  150. data/lib/2020-06-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  151. data/lib/2020-06-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
  152. data/lib/2020-06-01/generated/azure_mgmt_compute/models/software_update_reboot_behavior.rb +17 -0
  153. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  154. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  155. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
  156. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
  157. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
  158. data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
  159. data/lib/2020-06-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  160. data/lib/2020-06-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
  161. data/lib/2020-06-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  162. data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  163. data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  164. data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
  165. data/lib/2020-06-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
  166. data/lib/2020-06-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
  167. data/lib/2020-06-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  168. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  169. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  170. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  171. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  172. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  173. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
  174. data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  175. data/lib/2020-06-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  176. data/lib/2020-06-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  177. data/lib/2020-06-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  178. data/lib/2020-06-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  179. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  180. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +454 -0
  181. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  182. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb +152 -0
  183. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  184. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  185. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  186. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +208 -0
  187. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  188. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  189. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  190. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +147 -0
  191. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  192. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  193. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
  194. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
  195. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +155 -0
  196. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
  197. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +258 -0
  198. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  199. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb +61 -0
  200. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
  201. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
  202. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +332 -0
  203. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
  204. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +197 -0
  205. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  206. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +70 -0
  207. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +198 -0
  208. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
  209. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
  210. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
  211. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  212. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  213. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
  214. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  215. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  216. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  217. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  218. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
  219. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
  220. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  221. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  222. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
  223. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  224. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
  225. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  226. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
  227. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
  228. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  229. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  230. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  231. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  232. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
  233. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
  234. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
  235. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
  236. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
  237. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  238. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  239. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  240. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +151 -0
  241. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +397 -0
  242. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  243. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  244. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  245. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +211 -0
  246. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  247. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
  248. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +189 -0
  249. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
  250. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
  251. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  252. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  253. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  254. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb +173 -0
  255. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  256. data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +397 -0
  257. data/lib/2020-06-01/generated/azure_mgmt_compute/models/vm_disk_types.rb +16 -0
  258. data/lib/2020-06-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
  259. data/lib/2020-06-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  260. data/lib/2020-06-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  261. data/lib/2020-06-01/generated/azure_mgmt_compute/models/windows_configuration.rb +127 -0
  262. data/lib/2020-06-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  263. data/lib/2020-06-01/generated/azure_mgmt_compute/operations.rb +109 -0
  264. data/lib/2020-06-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
  265. data/lib/2020-06-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
  266. data/lib/2020-06-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
  267. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
  268. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
  269. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
  270. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +322 -0
  271. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
  272. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
  273. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
  274. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2220 -0
  275. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3290 -0
  276. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
  277. data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machines.rb +3302 -0
  278. data/lib/2020-06-30/generated/azure_mgmt_compute.rb +80 -0
  279. data/lib/2020-06-30/generated/azure_mgmt_compute/compute_management_client.rb +145 -0
  280. data/lib/2020-06-30/generated/azure_mgmt_compute/disk_accesses.rb +1120 -0
  281. data/lib/2020-06-30/generated/azure_mgmt_compute/disk_encryption_sets.rb +1236 -0
  282. data/lib/2020-06-30/generated/azure_mgmt_compute/disks.rb +1294 -0
  283. data/lib/2020-06-30/generated/azure_mgmt_compute/models/access_level.rb +17 -0
  284. data/lib/2020-06-30/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
  285. data/lib/2020-06-30/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  286. data/lib/2020-06-30/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  287. data/lib/2020-06-30/generated/azure_mgmt_compute/models/creation_data.rb +150 -0
  288. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk.rb +422 -0
  289. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access.rb +133 -0
  290. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access_list.rb +100 -0
  291. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access_update.rb +54 -0
  292. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
  293. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set.rb +160 -0
  294. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +15 -0
  295. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
  296. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_type.rb +16 -0
  297. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +79 -0
  298. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
  299. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
  300. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
  301. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
  302. data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_update.rb +225 -0
  303. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption.rb +60 -0
  304. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_set_identity.rb +78 -0
  305. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
  306. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
  307. data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_type.rb +17 -0
  308. data/lib/2020-06-30/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
  309. data/lib/2020-06-30/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
  310. data/lib/2020-06-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
  311. data/lib/2020-06-30/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  312. data/lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
  313. data/lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
  314. data/lib/2020-06-30/generated/azure_mgmt_compute/models/network_access_policy.rb +17 -0
  315. data/lib/2020-06-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  316. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint.rb +47 -0
  317. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_connection.rb +110 -0
  318. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_connection_provisioning_state.rb +18 -0
  319. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_service_connection_status.rb +17 -0
  320. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb +123 -0
  321. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource_list_result.rb +55 -0
  322. data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_service_connection_state.rb +72 -0
  323. data/lib/2020-06-30/generated/azure_mgmt_compute/models/resource.rb +110 -0
  324. data/lib/2020-06-30/generated/azure_mgmt_compute/models/resource_uri_list.rb +100 -0
  325. data/lib/2020-06-30/generated/azure_mgmt_compute/models/share_info_element.rb +49 -0
  326. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot.rb +290 -0
  327. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
  328. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
  329. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
  330. data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_update.rb +145 -0
  331. data/lib/2020-06-30/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
  332. data/lib/2020-06-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
  333. data/lib/2020-06-30/generated/azure_mgmt_compute/snapshots.rb +1294 -0
  334. data/lib/azure_mgmt_compute.rb +15 -13
  335. data/lib/profiles/latest/modules/compute_profile_module.rb +961 -805
  336. data/lib/version.rb +1 -1
  337. metadata +311 -3
@@ -0,0 +1,47 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Specifies the disallowed configuration for a virtual machine image.
10
+ #
11
+ class DisallowedConfiguration
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [VmDiskTypes] VM disk types which are disallowed. Possible
16
+ # values include: 'None', 'Unmanaged'
17
+ attr_accessor :vm_disk_type
18
+
19
+
20
+ #
21
+ # Mapper for DisallowedConfiguration class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'DisallowedConfiguration',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DisallowedConfiguration',
32
+ model_properties: {
33
+ vm_disk_type: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'vmDiskType',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,17 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Defines values for DiskCreateOptionTypes
10
+ #
11
+ module DiskCreateOptionTypes
12
+ FromImage = "FromImage"
13
+ Empty = "Empty"
14
+ Attach = "Attach"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,46 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Describes the parameter of customer managed disk encryption set resource
10
+ # id that can be specified for disk. <br><br> NOTE: The disk encryption set
11
+ # resource id can only be specified for managed disk. Please refer
12
+ # https://aka.ms/mdssewithcmkoverview for more details.
13
+ #
14
+ class DiskEncryptionSetParameters < SubResource
15
+
16
+ include MsRestAzure
17
+
18
+
19
+ #
20
+ # Mapper for DiskEncryptionSetParameters class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'DiskEncryptionSetParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'DiskEncryptionSetParameters',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'id',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,73 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Describes a Encryption Settings for a Disk
10
+ #
11
+ class DiskEncryptionSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [KeyVaultSecretReference] Specifies the location of the disk
16
+ # encryption key, which is a Key Vault Secret.
17
+ attr_accessor :disk_encryption_key
18
+
19
+ # @return [KeyVaultKeyReference] Specifies the location of the key
20
+ # encryption key in Key Vault.
21
+ attr_accessor :key_encryption_key
22
+
23
+ # @return [Boolean] Specifies whether disk encryption should be enabled
24
+ # on the virtual machine.
25
+ attr_accessor :enabled
26
+
27
+
28
+ #
29
+ # Mapper for DiskEncryptionSettings class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'DiskEncryptionSettings',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'DiskEncryptionSettings',
40
+ model_properties: {
41
+ disk_encryption_key: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'diskEncryptionKey',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'KeyVaultSecretReference'
48
+ }
49
+ },
50
+ key_encryption_key: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'keyEncryptionKey',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'KeyVaultKeyReference'
57
+ }
58
+ },
59
+ enabled: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'enabled',
63
+ type: {
64
+ name: 'Boolean'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,87 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # The instance view of the disk.
10
+ #
11
+ class DiskInstanceView
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The disk name.
16
+ attr_accessor :name
17
+
18
+ # @return [Array<DiskEncryptionSettings>] Specifies the encryption
19
+ # settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15
20
+ attr_accessor :encryption_settings
21
+
22
+ # @return [Array<InstanceViewStatus>] The resource status information.
23
+ attr_accessor :statuses
24
+
25
+
26
+ #
27
+ # Mapper for DiskInstanceView class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'DiskInstanceView',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'DiskInstanceView',
38
+ model_properties: {
39
+ name: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ encryption_settings: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'encryptionSettings',
51
+ type: {
52
+ name: 'Sequence',
53
+ element: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'DiskEncryptionSettingsElementType',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'DiskEncryptionSettings'
60
+ }
61
+ }
62
+ }
63
+ },
64
+ statuses: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'statuses',
68
+ type: {
69
+ name: 'Sequence',
70
+ element: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'InstanceViewStatusElementType',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'InstanceViewStatus'
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,104 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Specifies the hardware settings for the virtual machine.
10
+ #
11
+ class HardwareProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [VirtualMachineSizeTypes] Specifies the size of the virtual
16
+ # machine. For more information about virtual machine sizes, see [Sizes
17
+ # for virtual
18
+ # machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
19
+ # <br><br> The available VM sizes depend on region and availability set.
20
+ # For a list of available sizes use these APIs: <br><br> [List all
21
+ # available virtual machine sizes in an availability
22
+ # set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
23
+ # <br><br> [List all available virtual machine sizes in a
24
+ # region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
25
+ # <br><br> [List all available virtual machine sizes for
26
+ # resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes).
27
+ # Possible values include: 'Basic_A0', 'Basic_A1', 'Basic_A2',
28
+ # 'Basic_A3', 'Basic_A4', 'Standard_A0', 'Standard_A1', 'Standard_A2',
29
+ # 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6',
30
+ # 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10',
31
+ # 'Standard_A11', 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2',
32
+ # 'Standard_A8_v2', 'Standard_A2m_v2', 'Standard_A4m_v2',
33
+ # 'Standard_A8m_v2', 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s',
34
+ # 'Standard_B2ms', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
35
+ # 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11',
36
+ # 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2',
37
+ # 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2',
38
+ # 'Standard_D2_v3', 'Standard_D4_v3', 'Standard_D8_v3',
39
+ # 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3',
40
+ # 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3',
41
+ # 'Standard_D16s_v3', 'Standard_D32s_v3', 'Standard_D64s_v3',
42
+ # 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2',
43
+ # 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2',
44
+ # 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', 'Standard_DS12',
45
+ # 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', 'Standard_DS2_v2',
46
+ # 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2',
47
+ # 'Standard_DS11_v2', 'Standard_DS12_v2', 'Standard_DS13_v2',
48
+ # 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_DS13-4_v2',
49
+ # 'Standard_DS13-2_v2', 'Standard_DS14-8_v2', 'Standard_DS14-4_v2',
50
+ # 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3',
51
+ # 'Standard_E16_v3', 'Standard_E32_v3', 'Standard_E64_v3',
52
+ # 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3',
53
+ # 'Standard_E16s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3',
54
+ # 'Standard_E32-16_v3', 'Standard_E32-8s_v3', 'Standard_E64-32s_v3',
55
+ # 'Standard_E64-16s_v3', 'Standard_F1', 'Standard_F2', 'Standard_F4',
56
+ # 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s',
57
+ # 'Standard_F4s', 'Standard_F8s', 'Standard_F16s', 'Standard_F2s_v2',
58
+ # 'Standard_F4s_v2', 'Standard_F8s_v2', 'Standard_F16s_v2',
59
+ # 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
60
+ # 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4',
61
+ # 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3',
62
+ # 'Standard_GS4', 'Standard_GS5', 'Standard_GS4-8', 'Standard_GS4-4',
63
+ # 'Standard_GS5-16', 'Standard_GS5-8', 'Standard_H8', 'Standard_H16',
64
+ # 'Standard_H8m', 'Standard_H16m', 'Standard_H16r', 'Standard_H16mr',
65
+ # 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', 'Standard_L32s',
66
+ # 'Standard_M64s', 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms',
67
+ # 'Standard_M64-32ms', 'Standard_M64-16ms', 'Standard_M128-64ms',
68
+ # 'Standard_M128-32ms', 'Standard_NC6', 'Standard_NC12', 'Standard_NC24',
69
+ # 'Standard_NC24r', 'Standard_NC6s_v2', 'Standard_NC12s_v2',
70
+ # 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3',
71
+ # 'Standard_NC12s_v3', 'Standard_NC24s_v3', 'Standard_NC24rs_v3',
72
+ # 'Standard_ND6s', 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs',
73
+ # 'Standard_NV6', 'Standard_NV12', 'Standard_NV24'
74
+ attr_accessor :vm_size
75
+
76
+
77
+ #
78
+ # Mapper for HardwareProfile class as Ruby Hash.
79
+ # This will be used for serialization/deserialization.
80
+ #
81
+ def self.mapper()
82
+ {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'HardwareProfile',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'HardwareProfile',
89
+ model_properties: {
90
+ vm_size: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'vmSize',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,16 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Defines values for HyperVGenerationType
10
+ #
11
+ module HyperVGenerationType
12
+ V1 = "V1"
13
+ V2 = "V2"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Defines values for HyperVGenerationTypes
10
+ #
11
+ module HyperVGenerationTypes
12
+ V1 = "V1"
13
+ V2 = "V2"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,139 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # The source user image virtual hard disk. The virtual hard disk will be
10
+ # copied before being attached to the virtual machine. If SourceImage is
11
+ # provided, the destination virtual hard drive must not exist.
12
+ #
13
+ class Image < Resource
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [SubResource] The source virtual machine from which Image is
18
+ # created.
19
+ attr_accessor :source_virtual_machine
20
+
21
+ # @return [ImageStorageProfile] Specifies the storage settings for the
22
+ # virtual machine disks.
23
+ attr_accessor :storage_profile
24
+
25
+ # @return [String] The provisioning state.
26
+ attr_accessor :provisioning_state
27
+
28
+ # @return [HyperVGenerationTypes] Gets the HyperVGenerationType of the
29
+ # VirtualMachine created from the image. Possible values include: 'V1',
30
+ # 'V2'
31
+ attr_accessor :hyper_vgeneration
32
+
33
+
34
+ #
35
+ # Mapper for Image class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'Image',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'Image',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'name',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'type',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ location: {
75
+ client_side_validation: true,
76
+ required: true,
77
+ serialized_name: 'location',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ tags: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'tags',
86
+ type: {
87
+ name: 'Dictionary',
88
+ value: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'StringElementType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ },
98
+ source_virtual_machine: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'properties.sourceVirtualMachine',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'SubResource'
105
+ }
106
+ },
107
+ storage_profile: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ serialized_name: 'properties.storageProfile',
111
+ type: {
112
+ name: 'Composite',
113
+ class_name: 'ImageStorageProfile'
114
+ }
115
+ },
116
+ provisioning_state: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ read_only: true,
120
+ serialized_name: 'properties.provisioningState',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ },
125
+ hyper_vgeneration: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'properties.hyperVGeneration',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ end
137
+ end
138
+ end
139
+ end