azure_mgmt_compute 0.21.1 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) 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-07-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  15. data/lib/2019-11-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  16. data/lib/2019-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  17. data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +3 -2
  18. data/lib/2020-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  19. data/lib/2020-06-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  20. data/lib/2020-09-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  21. data/lib/2020-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  22. data/lib/2020-10-01-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  23. data/lib/2020-12-01/generated/azure_mgmt_compute.rb +305 -0
  24. data/lib/2020-12-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
  25. data/lib/2020-12-01/generated/azure_mgmt_compute/compute_management_client.rb +221 -0
  26. data/lib/2020-12-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +861 -0
  27. data/lib/2020-12-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
  28. data/lib/2020-12-01/generated/azure_mgmt_compute/images.rb +975 -0
  29. data/lib/2020-12-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
  30. data/lib/2020-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
  31. data/lib/2020-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
  32. data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
  33. data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  34. data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  35. data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
  36. data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
  37. data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
  38. data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
  39. data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
  40. data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
  41. data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
  42. data/lib/2020-12-01/generated/azure_mgmt_compute/models/available_patch_summary.rb +143 -0
  43. data/lib/2020-12-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
  44. data/lib/2020-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
  45. data/lib/2020-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +78 -0
  46. data/lib/2020-12-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
  47. data/lib/2020-12-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
  48. data/lib/2020-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
  49. data/lib/2020-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
  50. data/lib/2020-12-01/generated/azure_mgmt_compute/models/data_disk.rb +224 -0
  51. data/lib/2020-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
  52. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host.rb +219 -0
  53. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
  54. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
  55. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +178 -0
  56. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb +57 -0
  57. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
  58. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +141 -0
  59. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
  60. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view_with_name.rb +84 -0
  61. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
  62. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
  63. data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +171 -0
  64. data/lib/2020-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
  65. data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
  66. data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
  67. data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
  68. data/lib/2020-12-01/generated/azure_mgmt_compute/models/disallowed_configuration.rb +47 -0
  69. data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
  70. data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_detach_option_types.rb +15 -0
  71. data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
  72. data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
  73. data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
  74. data/lib/2020-12-01/generated/azure_mgmt_compute/models/execution_state.rb +21 -0
  75. data/lib/2020-12-01/generated/azure_mgmt_compute/models/extended_location.rb +58 -0
  76. data/lib/2020-12-01/generated/azure_mgmt_compute/models/extended_location_types.rb +15 -0
  77. data/lib/2020-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb +106 -0
  78. data/lib/2020-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
  79. data/lib/2020-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
  80. data/lib/2020-12-01/generated/azure_mgmt_compute/models/image.rb +151 -0
  81. data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
  82. data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
  83. data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
  84. data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
  85. data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
  86. data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
  87. data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
  88. data/lib/2020-12-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  89. data/lib/2020-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
  90. data/lib/2020-12-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
  91. data/lib/2020-12-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
  92. data/lib/2020-12-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
  93. data/lib/2020-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
  94. data/lib/2020-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
  95. data/lib/2020-12-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb +179 -0
  96. data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb +94 -0
  97. data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_parameters.rb +107 -0
  98. data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb +52 -0
  99. data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_vmguest_patch_mode.rb +16 -0
  100. data/lib/2020-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
  101. data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +124 -0
  102. data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
  103. data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
  104. data/lib/2020-12-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
  105. data/lib/2020-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
  106. data/lib/2020-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
  107. data/lib/2020-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
  108. data/lib/2020-12-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
  109. data/lib/2020-12-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
  110. data/lib/2020-12-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  111. data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_mode.rb +16 -0
  112. data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
  113. data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
  114. data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
  115. data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
  116. data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
  117. data/lib/2020-12-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
  118. data/lib/2020-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
  119. data/lib/2020-12-01/generated/azure_mgmt_compute/models/osprofile.rb +204 -0
  120. data/lib/2020-12-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
  121. data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_assessment_state.rb +16 -0
  122. data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_installation_detail.rb +121 -0
  123. data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_installation_state.rb +20 -0
  124. data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_operation_status.rb +19 -0
  125. data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_settings.rb +71 -0
  126. data/lib/2020-12-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
  127. data/lib/2020-12-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
  128. data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
  129. data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
  130. data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
  131. data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
  132. data/lib/2020-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
  133. data/lib/2020-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
  134. data/lib/2020-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +113 -0
  135. data/lib/2020-12-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
  136. data/lib/2020-12-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
  137. data/lib/2020-12-01/generated/azure_mgmt_compute/models/retrieve_boot_diagnostics_data_result.rb +59 -0
  138. data/lib/2020-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  139. data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
  140. data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +133 -0
  141. data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
  142. data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
  143. data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
  144. data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
  145. data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
  146. data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
  147. data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
  148. data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
  149. data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
  150. data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
  151. data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
  152. data/lib/2020-12-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
  153. data/lib/2020-12-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
  154. data/lib/2020-12-01/generated/azure_mgmt_compute/models/security_profile.rb +81 -0
  155. data/lib/2020-12-01/generated/azure_mgmt_compute/models/security_types.rb +15 -0
  156. data/lib/2020-12-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
  157. data/lib/2020-12-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
  158. data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
  159. data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
  160. data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
  161. data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
  162. data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
  163. data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
  164. data/lib/2020-12-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
  165. data/lib/2020-12-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
  166. data/lib/2020-12-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
  167. data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
  168. data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
  169. data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
  170. data/lib/2020-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
  171. data/lib/2020-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +99 -0
  172. data/lib/2020-12-01/generated/azure_mgmt_compute/models/uefi_settings.rb +60 -0
  173. data/lib/2020-12-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  174. data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
  175. data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  176. data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  177. data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  178. data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  179. data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
  180. data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  181. data/lib/2020-12-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
  182. data/lib/2020-12-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
  183. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
  184. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
  185. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
  186. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +488 -0
  187. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
  188. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb +152 -0
  189. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
  190. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
  191. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  192. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +208 -0
  193. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
  194. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
  195. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
  196. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +147 -0
  197. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  198. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
  199. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
  200. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
  201. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +184 -0
  202. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_feature.rb +57 -0
  203. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +100 -0
  204. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb +87 -0
  205. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_result.rb +204 -0
  206. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +258 -0
  207. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
  208. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb +83 -0
  209. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
  210. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
  211. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command.rb +241 -0
  212. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb +135 -0
  213. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb +68 -0
  214. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_update.rb +206 -0
  215. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_commands_list_result.rb +98 -0
  216. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +358 -0
  217. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
  218. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +197 -0
  219. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
  220. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +70 -0
  221. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +198 -0
  222. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
  223. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
  224. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
  225. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
  226. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
  227. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
  228. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  229. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
  230. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
  231. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
  232. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
  233. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +149 -0
  234. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
  235. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
  236. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
  237. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
  238. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
  239. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
  240. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
  241. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
  242. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
  243. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
  244. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
  245. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
  246. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
  247. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
  248. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +148 -0
  249. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
  250. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
  251. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
  252. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
  253. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
  254. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +151 -0
  255. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +398 -0
  256. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb +190 -0
  257. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension_update.rb +164 -0
  258. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_list_result.rb +57 -0
  259. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
  260. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
  261. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
  262. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +211 -0
  263. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
  264. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
  265. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +190 -0
  266. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
  267. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
  268. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
  269. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
  270. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
  271. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb +172 -0
  272. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
  273. data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +418 -0
  274. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vm_disk_types.rb +16 -0
  275. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_classification_linux.rb +17 -0
  276. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_classification_windows.rb +22 -0
  277. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_behavior.rb +18 -0
  278. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_setting.rb +17 -0
  279. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_status.rb +20 -0
  280. data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
  281. data/lib/2020-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
  282. data/lib/2020-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
  283. data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb +127 -0
  284. data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb +117 -0
  285. data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_vmguest_patch_mode.rb +17 -0
  286. data/lib/2020-12-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  287. data/lib/2020-12-01/generated/azure_mgmt_compute/operations.rb +109 -0
  288. data/lib/2020-12-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
  289. data/lib/2020-12-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
  290. data/lib/2020-12-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
  291. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
  292. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
  293. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
  294. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_images_edge_zone.rb +626 -0
  295. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +1112 -0
  296. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
  297. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
  298. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
  299. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmrun_commands.rb +827 -0
  300. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2230 -0
  301. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3523 -0
  302. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
  303. data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machines.rb +3446 -0
  304. data/lib/azure_mgmt_compute.rb +1 -0
  305. data/lib/profiles/latest/modules/compute_profile_module.rb +1010 -944
  306. data/lib/version.rb +1 -1
  307. metadata +283 -2
@@ -0,0 +1,92 @@
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_12_01
7
+ module Models
8
+ #
9
+ # Describes a virtual machine scale set OS profile.
10
+ #
11
+ class VirtualMachineScaleSetUpdateOSProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] A base-64 encoded string of custom data.
16
+ attr_accessor :custom_data
17
+
18
+ # @return [WindowsConfiguration] The Windows Configuration of the OS
19
+ # profile.
20
+ attr_accessor :windows_configuration
21
+
22
+ # @return [LinuxConfiguration] The Linux Configuration of the OS profile.
23
+ attr_accessor :linux_configuration
24
+
25
+ # @return [Array<VaultSecretGroup>] The List of certificates for addition
26
+ # to the VM.
27
+ attr_accessor :secrets
28
+
29
+
30
+ #
31
+ # Mapper for VirtualMachineScaleSetUpdateOSProfile class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'VirtualMachineScaleSetUpdateOSProfile',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'VirtualMachineScaleSetUpdateOSProfile',
42
+ model_properties: {
43
+ custom_data: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'customData',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ windows_configuration: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'windowsConfiguration',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'WindowsConfiguration'
58
+ }
59
+ },
60
+ linux_configuration: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'linuxConfiguration',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'LinuxConfiguration'
67
+ }
68
+ },
69
+ secrets: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'secrets',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'VaultSecretGroupElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'VaultSecretGroup'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,72 @@
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_12_01
7
+ module Models
8
+ #
9
+ # Describes a virtual machines scale set IP Configuration's PublicIPAddress
10
+ # configuration
11
+ #
12
+ class VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The publicIP address configuration name.
17
+ attr_accessor :name
18
+
19
+ # @return [Integer] The idle timeout of the public IP address.
20
+ attr_accessor :idle_timeout_in_minutes
21
+
22
+ # @return [VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings]
23
+ # The dns settings to be applied on the publicIP addresses .
24
+ attr_accessor :dns_settings
25
+
26
+
27
+ #
28
+ # Mapper for VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
29
+ # 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: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration',
40
+ model_properties: {
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'name',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ idle_timeout_in_minutes: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'properties.idleTimeoutInMinutes',
53
+ type: {
54
+ name: 'Number'
55
+ }
56
+ },
57
+ dns_settings: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'properties.dnsSettings',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,80 @@
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_12_01
7
+ module Models
8
+ #
9
+ # Describes a virtual machine scale set storage profile.
10
+ #
11
+ class VirtualMachineScaleSetUpdateStorageProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ImageReference] The image reference.
16
+ attr_accessor :image_reference
17
+
18
+ # @return [VirtualMachineScaleSetUpdateOSDisk] The OS disk.
19
+ attr_accessor :os_disk
20
+
21
+ # @return [Array<VirtualMachineScaleSetDataDisk>] The data disks.
22
+ attr_accessor :data_disks
23
+
24
+
25
+ #
26
+ # Mapper for VirtualMachineScaleSetUpdateStorageProfile class as Ruby
27
+ # 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: 'VirtualMachineScaleSetUpdateStorageProfile',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'VirtualMachineScaleSetUpdateStorageProfile',
38
+ model_properties: {
39
+ image_reference: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'imageReference',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'ImageReference'
46
+ }
47
+ },
48
+ os_disk: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'osDisk',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'VirtualMachineScaleSetUpdateOSDisk'
55
+ }
56
+ },
57
+ data_disks: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'dataDisks',
61
+ type: {
62
+ name: 'Sequence',
63
+ element: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'VirtualMachineScaleSetDataDiskElementType',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'VirtualMachineScaleSetDataDisk'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,151 @@
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_12_01
7
+ module Models
8
+ #
9
+ # Describes a virtual machine scale set virtual machine profile.
10
+ #
11
+ class VirtualMachineScaleSetUpdateVMProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [VirtualMachineScaleSetUpdateOSProfile] The virtual machine
16
+ # scale set OS profile.
17
+ attr_accessor :os_profile
18
+
19
+ # @return [VirtualMachineScaleSetUpdateStorageProfile] The virtual
20
+ # machine scale set storage profile.
21
+ attr_accessor :storage_profile
22
+
23
+ # @return [VirtualMachineScaleSetUpdateNetworkProfile] The virtual
24
+ # machine scale set network profile.
25
+ attr_accessor :network_profile
26
+
27
+ # @return [SecurityProfile] The virtual machine scale set Security
28
+ # profile
29
+ attr_accessor :security_profile
30
+
31
+ # @return [DiagnosticsProfile] The virtual machine scale set diagnostics
32
+ # profile.
33
+ attr_accessor :diagnostics_profile
34
+
35
+ # @return [VirtualMachineScaleSetExtensionProfile] The virtual machine
36
+ # scale set extension profile.
37
+ attr_accessor :extension_profile
38
+
39
+ # @return [String] The license type, which is for bring your own license
40
+ # scenario.
41
+ attr_accessor :license_type
42
+
43
+ # @return [BillingProfile] Specifies the billing related details of a
44
+ # Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01.
45
+ attr_accessor :billing_profile
46
+
47
+ # @return [ScheduledEventsProfile] Specifies Scheduled Event related
48
+ # configurations.
49
+ attr_accessor :scheduled_events_profile
50
+
51
+
52
+ #
53
+ # Mapper for VirtualMachineScaleSetUpdateVMProfile class as Ruby Hash.
54
+ # This will be used for serialization/deserialization.
55
+ #
56
+ def self.mapper()
57
+ {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'VirtualMachineScaleSetUpdateVMProfile',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'VirtualMachineScaleSetUpdateVMProfile',
64
+ model_properties: {
65
+ os_profile: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'osProfile',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'VirtualMachineScaleSetUpdateOSProfile'
72
+ }
73
+ },
74
+ storage_profile: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'storageProfile',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'VirtualMachineScaleSetUpdateStorageProfile'
81
+ }
82
+ },
83
+ network_profile: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'networkProfile',
87
+ type: {
88
+ name: 'Composite',
89
+ class_name: 'VirtualMachineScaleSetUpdateNetworkProfile'
90
+ }
91
+ },
92
+ security_profile: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'securityProfile',
96
+ type: {
97
+ name: 'Composite',
98
+ class_name: 'SecurityProfile'
99
+ }
100
+ },
101
+ diagnostics_profile: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'diagnosticsProfile',
105
+ type: {
106
+ name: 'Composite',
107
+ class_name: 'DiagnosticsProfile'
108
+ }
109
+ },
110
+ extension_profile: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ serialized_name: 'extensionProfile',
114
+ type: {
115
+ name: 'Composite',
116
+ class_name: 'VirtualMachineScaleSetExtensionProfile'
117
+ }
118
+ },
119
+ license_type: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'licenseType',
123
+ type: {
124
+ name: 'String'
125
+ }
126
+ },
127
+ billing_profile: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ serialized_name: 'billingProfile',
131
+ type: {
132
+ name: 'Composite',
133
+ class_name: 'BillingProfile'
134
+ }
135
+ },
136
+ scheduled_events_profile: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ serialized_name: 'scheduledEventsProfile',
140
+ type: {
141
+ name: 'Composite',
142
+ class_name: 'ScheduledEventsProfile'
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
148
+ end
149
+ end
150
+ end
151
+ end
@@ -0,0 +1,398 @@
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_12_01
7
+ module Models
8
+ #
9
+ # Describes a virtual machine scale set virtual machine.
10
+ #
11
+ class VirtualMachineScaleSetVM < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The virtual machine instance ID.
16
+ attr_accessor :instance_id
17
+
18
+ # @return [Sku] The virtual machine SKU.
19
+ attr_accessor :sku
20
+
21
+ # @return [Boolean] Specifies whether the latest model has been applied
22
+ # to the virtual machine.
23
+ attr_accessor :latest_model_applied
24
+
25
+ # @return [String] Azure VM unique ID.
26
+ attr_accessor :vm_id
27
+
28
+ # @return [VirtualMachineScaleSetVMInstanceView] The virtual machine
29
+ # instance view.
30
+ attr_accessor :instance_view
31
+
32
+ # @return [HardwareProfile] Specifies the hardware settings for the
33
+ # virtual machine.
34
+ attr_accessor :hardware_profile
35
+
36
+ # @return [StorageProfile] Specifies the storage settings for the virtual
37
+ # machine disks.
38
+ attr_accessor :storage_profile
39
+
40
+ # @return [AdditionalCapabilities] Specifies additional capabilities
41
+ # enabled or disabled on the virtual machine in the scale set. For
42
+ # instance: whether the virtual machine has the capability to support
43
+ # attaching managed data disks with UltraSSD_LRS storage account type.
44
+ attr_accessor :additional_capabilities
45
+
46
+ # @return [OSProfile] Specifies the operating system settings for the
47
+ # virtual machine.
48
+ attr_accessor :os_profile
49
+
50
+ # @return [SecurityProfile] Specifies the Security related profile
51
+ # settings for the virtual machine.
52
+ attr_accessor :security_profile
53
+
54
+ # @return [NetworkProfile] Specifies the network interfaces of the
55
+ # virtual machine.
56
+ attr_accessor :network_profile
57
+
58
+ # @return [VirtualMachineScaleSetVMNetworkProfileConfiguration] Specifies
59
+ # the network profile configuration of the virtual machine.
60
+ attr_accessor :network_profile_configuration
61
+
62
+ # @return [DiagnosticsProfile] Specifies the boot diagnostic settings
63
+ # state. <br><br>Minimum api-version: 2015-06-15.
64
+ attr_accessor :diagnostics_profile
65
+
66
+ # @return [SubResource] Specifies information about the availability set
67
+ # that the virtual machine should be assigned to. Virtual machines
68
+ # specified in the same availability set are allocated to different nodes
69
+ # to maximize availability. For more information about availability sets,
70
+ # see [Manage the availability of virtual
71
+ # machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
72
+ # <br><br> For more information on Azure planned maintenance, see
73
+ # [Planned maintenance for virtual machines in
74
+ # Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
75
+ # <br><br> Currently, a VM can only be added to availability set at
76
+ # creation time. An existing VM cannot be added to an availability set.
77
+ attr_accessor :availability_set
78
+
79
+ # @return [String] The provisioning state, which only appears in the
80
+ # response.
81
+ attr_accessor :provisioning_state
82
+
83
+ # @return [String] Specifies that the image or disk that is being used
84
+ # was licensed on-premises. <br><br> Possible values for Windows Server
85
+ # operating system are: <br><br> Windows_Client <br><br> Windows_Server
86
+ # <br><br> Possible values for Linux Server operating system are:
87
+ # <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br>
88
+ # For more information, see [Azure Hybrid Use Benefit for Windows
89
+ # Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
90
+ # <br><br> [Azure Hybrid Use Benefit for Linux
91
+ # Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
92
+ # <br><br> Minimum api-version: 2015-06-15
93
+ attr_accessor :license_type
94
+
95
+ # @return [String] Specifies whether the model applied to the virtual
96
+ # machine is the model of the virtual machine scale set or the customized
97
+ # model for the virtual machine.
98
+ attr_accessor :model_definition_applied
99
+
100
+ # @return [VirtualMachineScaleSetVMProtectionPolicy] Specifies the
101
+ # protection policy of the virtual machine.
102
+ attr_accessor :protection_policy
103
+
104
+ # @return [Plan] Specifies information about the marketplace image used
105
+ # to create the virtual machine. This element is only used for
106
+ # marketplace images. Before you can use a marketplace image from an API,
107
+ # you must enable the image for programmatic use. In the Azure portal,
108
+ # find the marketplace image that you want to use and then click **Want
109
+ # to deploy programmatically, Get Started ->**. Enter any required
110
+ # information and then click **Save**.
111
+ attr_accessor :plan
112
+
113
+ # @return [Array<VirtualMachineExtension>] The virtual machine child
114
+ # extension resources.
115
+ attr_accessor :resources
116
+
117
+ # @return [Array<String>] The virtual machine zones.
118
+ attr_accessor :zones
119
+
120
+
121
+ #
122
+ # Mapper for VirtualMachineScaleSetVM class as Ruby Hash.
123
+ # This will be used for serialization/deserialization.
124
+ #
125
+ def self.mapper()
126
+ {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'VirtualMachineScaleSetVM',
130
+ type: {
131
+ name: 'Composite',
132
+ class_name: 'VirtualMachineScaleSetVM',
133
+ model_properties: {
134
+ id: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ read_only: true,
138
+ serialized_name: 'id',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ name: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ read_only: true,
147
+ serialized_name: 'name',
148
+ type: {
149
+ name: 'String'
150
+ }
151
+ },
152
+ type: {
153
+ client_side_validation: true,
154
+ required: false,
155
+ read_only: true,
156
+ serialized_name: 'type',
157
+ type: {
158
+ name: 'String'
159
+ }
160
+ },
161
+ location: {
162
+ client_side_validation: true,
163
+ required: true,
164
+ serialized_name: 'location',
165
+ type: {
166
+ name: 'String'
167
+ }
168
+ },
169
+ tags: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ serialized_name: 'tags',
173
+ type: {
174
+ name: 'Dictionary',
175
+ value: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'StringElementType',
179
+ type: {
180
+ name: 'String'
181
+ }
182
+ }
183
+ }
184
+ },
185
+ instance_id: {
186
+ client_side_validation: true,
187
+ required: false,
188
+ read_only: true,
189
+ serialized_name: 'instanceId',
190
+ type: {
191
+ name: 'String'
192
+ }
193
+ },
194
+ sku: {
195
+ client_side_validation: true,
196
+ required: false,
197
+ read_only: true,
198
+ serialized_name: 'sku',
199
+ type: {
200
+ name: 'Composite',
201
+ class_name: 'Sku'
202
+ }
203
+ },
204
+ latest_model_applied: {
205
+ client_side_validation: true,
206
+ required: false,
207
+ read_only: true,
208
+ serialized_name: 'properties.latestModelApplied',
209
+ type: {
210
+ name: 'Boolean'
211
+ }
212
+ },
213
+ vm_id: {
214
+ client_side_validation: true,
215
+ required: false,
216
+ read_only: true,
217
+ serialized_name: 'properties.vmId',
218
+ type: {
219
+ name: 'String'
220
+ }
221
+ },
222
+ instance_view: {
223
+ client_side_validation: true,
224
+ required: false,
225
+ read_only: true,
226
+ serialized_name: 'properties.instanceView',
227
+ type: {
228
+ name: 'Composite',
229
+ class_name: 'VirtualMachineScaleSetVMInstanceView'
230
+ }
231
+ },
232
+ hardware_profile: {
233
+ client_side_validation: true,
234
+ required: false,
235
+ serialized_name: 'properties.hardwareProfile',
236
+ type: {
237
+ name: 'Composite',
238
+ class_name: 'HardwareProfile'
239
+ }
240
+ },
241
+ storage_profile: {
242
+ client_side_validation: true,
243
+ required: false,
244
+ serialized_name: 'properties.storageProfile',
245
+ type: {
246
+ name: 'Composite',
247
+ class_name: 'StorageProfile'
248
+ }
249
+ },
250
+ additional_capabilities: {
251
+ client_side_validation: true,
252
+ required: false,
253
+ serialized_name: 'properties.additionalCapabilities',
254
+ type: {
255
+ name: 'Composite',
256
+ class_name: 'AdditionalCapabilities'
257
+ }
258
+ },
259
+ os_profile: {
260
+ client_side_validation: true,
261
+ required: false,
262
+ serialized_name: 'properties.osProfile',
263
+ type: {
264
+ name: 'Composite',
265
+ class_name: 'OSProfile'
266
+ }
267
+ },
268
+ security_profile: {
269
+ client_side_validation: true,
270
+ required: false,
271
+ serialized_name: 'properties.securityProfile',
272
+ type: {
273
+ name: 'Composite',
274
+ class_name: 'SecurityProfile'
275
+ }
276
+ },
277
+ network_profile: {
278
+ client_side_validation: true,
279
+ required: false,
280
+ serialized_name: 'properties.networkProfile',
281
+ type: {
282
+ name: 'Composite',
283
+ class_name: 'NetworkProfile'
284
+ }
285
+ },
286
+ network_profile_configuration: {
287
+ client_side_validation: true,
288
+ required: false,
289
+ serialized_name: 'properties.networkProfileConfiguration',
290
+ type: {
291
+ name: 'Composite',
292
+ class_name: 'VirtualMachineScaleSetVMNetworkProfileConfiguration'
293
+ }
294
+ },
295
+ diagnostics_profile: {
296
+ client_side_validation: true,
297
+ required: false,
298
+ serialized_name: 'properties.diagnosticsProfile',
299
+ type: {
300
+ name: 'Composite',
301
+ class_name: 'DiagnosticsProfile'
302
+ }
303
+ },
304
+ availability_set: {
305
+ client_side_validation: true,
306
+ required: false,
307
+ serialized_name: 'properties.availabilitySet',
308
+ type: {
309
+ name: 'Composite',
310
+ class_name: 'SubResource'
311
+ }
312
+ },
313
+ provisioning_state: {
314
+ client_side_validation: true,
315
+ required: false,
316
+ read_only: true,
317
+ serialized_name: 'properties.provisioningState',
318
+ type: {
319
+ name: 'String'
320
+ }
321
+ },
322
+ license_type: {
323
+ client_side_validation: true,
324
+ required: false,
325
+ serialized_name: 'properties.licenseType',
326
+ type: {
327
+ name: 'String'
328
+ }
329
+ },
330
+ model_definition_applied: {
331
+ client_side_validation: true,
332
+ required: false,
333
+ read_only: true,
334
+ serialized_name: 'properties.modelDefinitionApplied',
335
+ type: {
336
+ name: 'String'
337
+ }
338
+ },
339
+ protection_policy: {
340
+ client_side_validation: true,
341
+ required: false,
342
+ serialized_name: 'properties.protectionPolicy',
343
+ type: {
344
+ name: 'Composite',
345
+ class_name: 'VirtualMachineScaleSetVMProtectionPolicy'
346
+ }
347
+ },
348
+ plan: {
349
+ client_side_validation: true,
350
+ required: false,
351
+ serialized_name: 'plan',
352
+ type: {
353
+ name: 'Composite',
354
+ class_name: 'Plan'
355
+ }
356
+ },
357
+ resources: {
358
+ client_side_validation: true,
359
+ required: false,
360
+ read_only: true,
361
+ serialized_name: 'resources',
362
+ type: {
363
+ name: 'Sequence',
364
+ element: {
365
+ client_side_validation: true,
366
+ required: false,
367
+ serialized_name: 'VirtualMachineExtensionElementType',
368
+ type: {
369
+ name: 'Composite',
370
+ class_name: 'VirtualMachineExtension'
371
+ }
372
+ }
373
+ }
374
+ },
375
+ zones: {
376
+ client_side_validation: true,
377
+ required: false,
378
+ read_only: true,
379
+ serialized_name: 'zones',
380
+ type: {
381
+ name: 'Sequence',
382
+ element: {
383
+ client_side_validation: true,
384
+ required: false,
385
+ serialized_name: 'StringElementType',
386
+ type: {
387
+ name: 'String'
388
+ }
389
+ }
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ end
396
+ end
397
+ end
398
+ end