azure_mgmt_compute 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_compute.rb +65 -67
- data/lib/generated/azure_mgmt_compute/availability_sets.rb +0 -0
- data/lib/generated/azure_mgmt_compute/compute_management_client.rb +0 -0
- data/lib/generated/azure_mgmt_compute/container_services.rb +0 -0
- data/lib/generated/azure_mgmt_compute/disks.rb +0 -0
- data/lib/generated/azure_mgmt_compute/images.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/access_level.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/access_uri.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +11 -10
- data/lib/generated/azure_mgmt_compute/models/api_entity_reference.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/api_error.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/api_error_base.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/availability_set.rb +11 -1
- data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +6 -2
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/caching_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/component_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_custom_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_vmsize_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/creation_data.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/data_disk.rb +26 -12
- data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +7 -3
- data/lib/generated/azure_mgmt_compute/models/disk.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/disk_create_option.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/disk_create_option_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/disk_list.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/disk_sku.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/disk_update.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/encryption_settings.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/grant_access_data.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/hardware_profile.rb +26 -16
- data/lib/generated/azure_mgmt_compute/models/image.rb +5 -2
- data/lib/generated/azure_mgmt_compute/models/image_data_disk.rb +14 -7
- data/lib/generated/azure_mgmt_compute/models/image_disk_reference.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/image_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/image_osdisk.rb +15 -8
- data/lib/generated/azure_mgmt_compute/models/image_reference.rb +14 -5
- data/lib/generated/azure_mgmt_compute/models/image_storage_profile.rb +8 -2
- data/lib/generated/azure_mgmt_compute/models/inner_error.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/instance_view_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/ipversion.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +9 -2
- data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +3 -2
- data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/network_profile.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/operating_system_state_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/operating_system_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/operation_status_response.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/osdisk.rb +32 -13
- data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/osprofile.rb +48 -7
- data/lib/generated/azure_mgmt_compute/models/pass_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/plan.rb +9 -2
- data/lib/generated/azure_mgmt_compute/models/protocol_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +3 -1
- data/lib/generated/azure_mgmt_compute/models/resource_identity_type.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_sku.rb +5 -2
- data/lib/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_sku_capacity_scale_type.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_sku_costs.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions_reason_code.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions_type.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_skus_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/resource_update.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/run_command_document.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/run_command_document_base.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/run_command_input.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/run_command_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/run_command_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/setting_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/sku.rb +5 -2
- data/lib/generated/azure_mgmt_compute/models/snapshot.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/snapshot_list.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/snapshot_update.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/source_vault.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +7 -5
- data/lib/generated/azure_mgmt_compute/models/status_level_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/storage_account_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +14 -4
- data/lib/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/upgrade_mode.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +7 -2
- data/lib/generated/azure_mgmt_compute/models/usage.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/usage_name.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +16 -4
- data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +1 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +35 -10
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +9 -5
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +4 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +6 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +7 -13
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +12 -5
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +9 -5
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +15 -7
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +3 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +4 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +21 -11
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +51 -9
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +15 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +37 -11
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +6 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +20 -12
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +11 -4
- data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +15 -12
- data/lib/generated/azure_mgmt_compute/module_definition.rb +0 -0
- data/lib/generated/azure_mgmt_compute/resource_skus.rb +0 -0
- data/lib/generated/azure_mgmt_compute/snapshots.rb +0 -0
- data/lib/generated/azure_mgmt_compute/usage_operations.rb +0 -0
- data/lib/generated/azure_mgmt_compute/version.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +0 -0
- data/lib/generated/azure_mgmt_compute/virtual_machine_extensions.rb +0 -0
- data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +0 -0
- data/lib/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +0 -0
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +0 -0
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +0 -0
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +0 -0
- data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +0 -0
- data/lib/generated/azure_mgmt_compute/virtual_machines.rb +0 -0
- metadata +4 -6
- data/lib/generated/azure_mgmt_compute/models/recovery_mode.rb +0 -17
- data/lib/generated/azure_mgmt_compute/models/recovery_policy.rb +0 -47
File without changes
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ARM::Compute
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Specifies the operating system settings for the virtual machine.
|
10
10
|
#
|
11
11
|
class OSProfile
|
12
12
|
|
@@ -14,29 +14,70 @@ module Azure::ARM::Compute
|
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
16
|
# @return [String] Specifies the host OS name of the virtual machine.
|
17
|
+
# <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length
|
18
|
+
# (Linux):** 64 characters. <br><br> For naming conventions and
|
19
|
+
# restrictions see [Azure infrastructure services implementation
|
20
|
+
# guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).
|
17
21
|
attr_accessor :computer_name
|
18
22
|
|
19
23
|
# @return [String] Specifies the name of the administrator account.
|
24
|
+
# <br><br> **Windows-only restriction:** Cannot end in "." <br><br>
|
25
|
+
# **Disallowed values:** "administrator", "admin", "user", "user1",
|
26
|
+
# "test", "user2", "test1", "user3", "admin1", "1", "123", "a",
|
27
|
+
# "actuser", "adm", "admin2", "aspnet", "backup", "console", "david",
|
28
|
+
# "guest", "john", "owner", "root", "server", "sql", "support",
|
29
|
+
# "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br>
|
30
|
+
# **Minimum-length (Linux):** 1 character <br><br> **Max-length
|
31
|
+
# (Linux):** 64 characters <br><br> **Max-length (Windows):** 20
|
32
|
+
# characters <br><br><li> For root access to the Linux VM, see [Using
|
33
|
+
# root privileges on Linux virtual machines in
|
34
|
+
# Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li>
|
35
|
+
# For a list of built-in system users on Linux that should not be used in
|
36
|
+
# this field, see [Selecting User Names for Linux on
|
37
|
+
# Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
|
20
38
|
attr_accessor :admin_username
|
21
39
|
|
22
40
|
# @return [String] Specifies the password of the administrator account.
|
41
|
+
# <br><br> **Minimum-length (Windows):** 8 characters <br><br>
|
42
|
+
# **Minimum-length (Linux):** 6 characters <br><br> **Max-length
|
43
|
+
# (Windows):** 123 characters <br><br> **Max-length (Linux):** 72
|
44
|
+
# characters <br><br> **Complexity requirements:** 3 out of 4 conditions
|
45
|
+
# below need to be fulfilled <br> Has lower characters <br>Has upper
|
46
|
+
# characters <br> Has a digit <br> Has a special character (Regex match
|
47
|
+
# [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd",
|
48
|
+
# "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!",
|
49
|
+
# "Password1", "Password22", "iloveyou!" <br><br> For resetting the
|
50
|
+
# password, see [How to reset the Remote Desktop service or its login
|
51
|
+
# password in a Windows
|
52
|
+
# VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
|
53
|
+
# <br><br> For resetting root password, see [Manage users, SSH, and check
|
54
|
+
# or repair disks on Azure Linux VMs using the VMAccess
|
55
|
+
# Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
|
23
56
|
attr_accessor :admin_password
|
24
57
|
|
25
58
|
# @return [String] Specifies a base-64 encoded string of custom data. The
|
26
59
|
# base-64 encoded string is decoded to a binary array that is saved as a
|
27
60
|
# file on the Virtual Machine. The maximum length of the binary array is
|
28
|
-
# 65535 bytes
|
61
|
+
# 65535 bytes. <br><br> For using cloud-init for your VM, see [Using
|
62
|
+
# cloud-init to customize a Linux VM during
|
63
|
+
# creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
|
29
64
|
attr_accessor :custom_data
|
30
65
|
|
31
|
-
# @return [WindowsConfiguration]
|
32
|
-
#
|
66
|
+
# @return [WindowsConfiguration] Specifies Windows operating system
|
67
|
+
# settings on the virtual machine.
|
33
68
|
attr_accessor :windows_configuration
|
34
69
|
|
35
|
-
# @return [LinuxConfiguration]
|
70
|
+
# @return [LinuxConfiguration] Specifies the Linux operating system
|
71
|
+
# settings on the virtual machine. <br><br>For a list of supported Linux
|
72
|
+
# distributions, see [Linux on Azure-Endorsed
|
73
|
+
# Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
|
74
|
+
# <br><br> For running non-endorsed distributions, see [Information for
|
75
|
+
# Non-Endorsed
|
76
|
+
# Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
|
36
77
|
attr_accessor :linux_configuration
|
37
78
|
|
38
|
-
# @return [Array<VaultSecretGroup>]
|
39
|
-
#
|
79
|
+
# @return [Array<VaultSecretGroup>] Specifies set of certificates that
|
80
|
+
# should be installed onto the virtual machine.
|
40
81
|
attr_accessor :secrets
|
41
82
|
|
42
83
|
|
File without changes
|
@@ -6,7 +6,12 @@
|
|
6
6
|
module Azure::ARM::Compute
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Specifies information about the marketplace image used to create the
|
10
|
+
# virtual machine. This element is only used for marketplace images. Before
|
11
|
+
# you can use a marketplace image from an API, you must enable the image
|
12
|
+
# for programmatic use. In the Azure portal, find the marketplace image
|
13
|
+
# that you want to use and then click **Want to deploy programmatically,
|
14
|
+
# Get Started ->**. Enter any required information and then click **Save**.
|
10
15
|
#
|
11
16
|
class Plan
|
12
17
|
|
@@ -19,7 +24,9 @@ module Azure::ARM::Compute
|
|
19
24
|
# @return [String] The publisher ID.
|
20
25
|
attr_accessor :publisher
|
21
26
|
|
22
|
-
# @return [String]
|
27
|
+
# @return [String] Specifies the product of the image from the
|
28
|
+
# marketplace. This is the same value as Offer under the imageReference
|
29
|
+
# element.
|
23
30
|
attr_accessor :product
|
24
31
|
|
25
32
|
# @return [String] The promotion code.
|
File without changes
|
@@ -20,7 +20,9 @@ module Azure::ARM::Compute
|
|
20
20
|
# @return [String] The plan ID.
|
21
21
|
attr_accessor :name
|
22
22
|
|
23
|
-
# @return [String]
|
23
|
+
# @return [String] Specifies the product of the image from the
|
24
|
+
# marketplace. This is the same value as Offer under the imageReference
|
25
|
+
# element.
|
24
26
|
attr_accessor :product
|
25
27
|
|
26
28
|
|
File without changes
|
@@ -19,7 +19,9 @@ module Azure::ARM::Compute
|
|
19
19
|
# @return [String] The name of SKU.
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
|
-
# @return [String]
|
22
|
+
# @return [String] Specifies the tier of virtual machines in a scale
|
23
|
+
# set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br />
|
24
|
+
# **Basic**
|
23
25
|
attr_accessor :tier
|
24
26
|
|
25
27
|
# @return [String] The Size of the SKU.
|
@@ -31,7 +33,8 @@ module Azure::ARM::Compute
|
|
31
33
|
# @return [String] The Kind of resources that are supported in this SKU.
|
32
34
|
attr_accessor :kind
|
33
35
|
|
34
|
-
# @return [ResourceSkuCapacity]
|
36
|
+
# @return [ResourceSkuCapacity] Specifies the number of virtual machines
|
37
|
+
# in the scale set.
|
35
38
|
attr_accessor :capacity
|
36
39
|
|
37
40
|
# @return [Array<String>] The set of locations that the SKU is available.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -16,10 +16,13 @@ module Azure::ARM::Compute
|
|
16
16
|
# @return [String] The sku name.
|
17
17
|
attr_accessor :name
|
18
18
|
|
19
|
-
# @return [String]
|
19
|
+
# @return [String] Specifies the tier of virtual machines in a scale
|
20
|
+
# set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br />
|
21
|
+
# **Basic**
|
20
22
|
attr_accessor :tier
|
21
23
|
|
22
|
-
# @return [Integer]
|
24
|
+
# @return [Integer] Specifies the number of virtual machines in the scale
|
25
|
+
# set.
|
23
26
|
attr_accessor :capacity
|
24
27
|
|
25
28
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -14,14 +14,16 @@ module Azure::ARM::Compute
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
16
|
include MsRest::JSONable
|
17
|
-
# @return [String] Specifies the full path on the created VM where
|
17
|
+
# @return [String] Specifies the full path on the created VM where ssh
|
18
18
|
# public key is stored. If the file already exists, the specified key is
|
19
|
-
# appended to the file.
|
19
|
+
# appended to the file. Example: /home/user/.ssh/authorized_keys
|
20
20
|
attr_accessor :path
|
21
21
|
|
22
|
-
# @return [String]
|
23
|
-
# through
|
24
|
-
#
|
22
|
+
# @return [String] SSH public key certificate used to authenticate with
|
23
|
+
# the VM through ssh. The key needs to be at least 2048-bit and in
|
24
|
+
# ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on
|
25
|
+
# Linux and Mac for Linux VMs in
|
26
|
+
# Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
|
25
27
|
attr_accessor :key_data
|
26
28
|
|
27
29
|
|
File without changes
|
File without changes
|
@@ -6,20 +6,30 @@
|
|
6
6
|
module Azure::ARM::Compute
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Specifies the storage settings for the virtual machine disks.
|
10
10
|
#
|
11
11
|
class StorageProfile
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
|
-
# @return [ImageReference]
|
16
|
+
# @return [ImageReference] Specifies information about the image to use.
|
17
|
+
# You can specify information about platform images, marketplace images,
|
18
|
+
# or virtual machine images. This element is required when you want to
|
19
|
+
# use a platform image, marketplace image, or virtual machine image, but
|
20
|
+
# is not used in other creation operations.
|
17
21
|
attr_accessor :image_reference
|
18
22
|
|
19
|
-
# @return [OSDisk]
|
23
|
+
# @return [OSDisk] Specifies information about the operating system disk
|
24
|
+
# used by the virtual machine. <br><br> For more information about disks,
|
25
|
+
# see [About disks and VHDs for Azure virtual
|
26
|
+
# machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
|
20
27
|
attr_accessor :os_disk
|
21
28
|
|
22
|
-
# @return [Array<DataDisk>]
|
29
|
+
# @return [Array<DataDisk>] Specifies the parameters that are used to add
|
30
|
+
# a data disk to a virtual machine. <br><br> For more information about
|
31
|
+
# disks, see [About disks and VHDs for Azure virtual
|
32
|
+
# machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
|
23
33
|
attr_accessor :data_disks
|
24
34
|
|
25
35
|
|
File without changes
|
File without changes
|
@@ -13,8 +13,13 @@ module Azure::ARM::Compute
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
|
-
# @return [UpgradeMode]
|
17
|
-
#
|
16
|
+
# @return [UpgradeMode] Specifies the mode of an upgrade to virtual
|
17
|
+
# machines in the scale set.<br /><br /> Possible values are:<br /><br />
|
18
|
+
# **Manual** - You control the application of updates to virtual
|
19
|
+
# machines in the scale set. You do this by using the manualUpgrade
|
20
|
+
# action.<br /><br /> **Automatic** - All virtual machines in the scale
|
21
|
+
# set are automatically updated at the same time. Possible values
|
22
|
+
# include: 'Automatic', 'Manual'
|
18
23
|
attr_accessor :mode
|
19
24
|
|
20
25
|
|
File without changes
|
File without changes
|
@@ -14,12 +14,24 @@ module Azure::ARM::Compute
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
16
|
include MsRest::JSONable
|
17
|
-
# @return [String]
|
18
|
-
#
|
17
|
+
# @return [String] This is the URL of a certificate that has been
|
18
|
+
# uploaded to Key Vault as a secret. For adding a secret to the Key
|
19
|
+
# Vault, see [Add a key or secret to the key
|
20
|
+
# vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add).
|
21
|
+
# In this case, your certificate needs to be It is the Base64 encoding of
|
22
|
+
# the following JSON Object which is encoded in UTF-8: <br><br> {<br>
|
23
|
+
# "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br>
|
24
|
+
# "password":"<pfx-file-password>"<br>}
|
19
25
|
attr_accessor :certificate_url
|
20
26
|
|
21
|
-
# @return [String]
|
22
|
-
#
|
27
|
+
# @return [String] For Windows VMs, specifies the certificate store on
|
28
|
+
# the Virtual Machine to which the certificate should be added. The
|
29
|
+
# specified certificate store is implicitly in the LocalMachine account.
|
30
|
+
# <br><br>For Linux VMs, the certificate file is placed under the
|
31
|
+
# /var/lib/waagent directory, with the file name
|
32
|
+
# <UppercaseThumbprint>.crt for the X509 certificate file and
|
33
|
+
# <UppercaseThumbpring>.prv for private key. Both of these files are .pem
|
34
|
+
# formatted.
|
23
35
|
attr_accessor :certificate_store
|
24
36
|
|
25
37
|
|
@@ -13,7 +13,7 @@ module Azure::ARM::Compute
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
|
-
# @return [SubResource] The
|
16
|
+
# @return [SubResource] The relative URL of the Key Vault containing all
|
17
17
|
# of the certificates in VaultCertificates.
|
18
18
|
attr_accessor :source_vault
|
19
19
|
|
@@ -13,8 +13,7 @@ module Azure::ARM::Compute
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
|
-
# @return [String]
|
17
|
-
# virtual hard disk.
|
16
|
+
# @return [String] Specifies the virtual hard disk's uri.
|
18
17
|
attr_accessor :uri
|
19
18
|
|
20
19
|
|
@@ -13,27 +13,46 @@ module Azure::ARM::Compute
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
|
-
# @return [Plan]
|
17
|
-
#
|
16
|
+
# @return [Plan] Specifies information about the marketplace image used
|
17
|
+
# to create the virtual machine. This element is only used for
|
18
|
+
# marketplace images. Before you can use a marketplace image from an API,
|
19
|
+
# you must enable the image for programmatic use. In the Azure portal,
|
20
|
+
# find the marketplace image that you want to use and then click **Want
|
21
|
+
# to deploy programmatically, Get Started ->**. Enter any required
|
22
|
+
# information and then click **Save**.
|
18
23
|
attr_accessor :plan
|
19
24
|
|
20
|
-
# @return [HardwareProfile]
|
25
|
+
# @return [HardwareProfile] Specifies the hardware settings for the
|
26
|
+
# virtual machine.
|
21
27
|
attr_accessor :hardware_profile
|
22
28
|
|
23
|
-
# @return [StorageProfile]
|
29
|
+
# @return [StorageProfile] Specifies the storage settings for the virtual
|
30
|
+
# machine disks.
|
24
31
|
attr_accessor :storage_profile
|
25
32
|
|
26
|
-
# @return [OSProfile]
|
33
|
+
# @return [OSProfile] Specifies the operating system settings for the
|
34
|
+
# virtual machine.
|
27
35
|
attr_accessor :os_profile
|
28
36
|
|
29
|
-
# @return [NetworkProfile]
|
37
|
+
# @return [NetworkProfile] Specifies the network interfaces of the
|
38
|
+
# virtual machine.
|
30
39
|
attr_accessor :network_profile
|
31
40
|
|
32
|
-
# @return [DiagnosticsProfile]
|
41
|
+
# @return [DiagnosticsProfile] Specifies the boot diagnostic settings
|
42
|
+
# state. <br><br>Minimum api-version: 2015-06-15.
|
33
43
|
attr_accessor :diagnostics_profile
|
34
44
|
|
35
|
-
# @return [SubResource]
|
36
|
-
# the virtual machine
|
45
|
+
# @return [SubResource] Specifies information about the availability set
|
46
|
+
# that the virtual machine should be assigned to. Virtual machines
|
47
|
+
# specified in the same availability set are allocated to different nodes
|
48
|
+
# to maximize availability. For more information about availability sets,
|
49
|
+
# see [Manage the availability of virtual
|
50
|
+
# machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
|
51
|
+
# <br><br> For more information on Azure planned maintainance, see
|
52
|
+
# [Planned maintenance for virtual machines in
|
53
|
+
# Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
|
54
|
+
# <br><br> Currently, a VM can only be added to availability set at
|
55
|
+
# creation time. An existing VM cannot be added to an availability set.
|
37
56
|
attr_accessor :availability_set
|
38
57
|
|
39
58
|
# @return [String] The provisioning state, which only appears in the
|
@@ -45,7 +64,13 @@ module Azure::ARM::Compute
|
|
45
64
|
|
46
65
|
# @return [String] Specifies that the image or disk that is being used
|
47
66
|
# was licensed on-premises. This element is only used for images that
|
48
|
-
# contain the Windows Server operating system.
|
67
|
+
# contain the Windows Server operating system. <br><br> Possible values
|
68
|
+
# are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this
|
69
|
+
# element is included in a request for an update, the value must match
|
70
|
+
# the initial value. This value cannot be updated. <br><br> For more
|
71
|
+
# information, see [Azure Hybrid Use Benefit for Windows
|
72
|
+
# Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
|
73
|
+
# <br><br> Minimum api-version: 2015-06-15
|
49
74
|
attr_accessor :license_type
|
50
75
|
|
51
76
|
# @return [String] Specifies the VM unique ID which is a 128-bits
|