From 06eb0ca9da2e4ee4ebd9c754cddb913e0576632a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 20 Sep 2018 19:13:49 +0000 Subject: [PATCH] Generated from ad369e69d0583a6198e9969b7c318e267d8c6729 Updated comments and introduced AvailabilitySetSkuType to help users use predefined constants --- .../azure/mgmt/compute/v2018_06_01/models/__init__.py | 2 ++ .../v2018_06_01/models/additional_capabilities.py | 10 +++++----- .../v2018_06_01/models/additional_capabilities_py3.py | 10 +++++----- .../compute/v2018_06_01/models/availability_set.py | 5 ++++- .../compute/v2018_06_01/models/availability_set_py3.py | 5 ++++- .../models/compute_management_client_enums.py | 6 ++++++ .../mgmt/compute/v2018_06_01/models/image_data_disk.py | 6 +++--- .../compute/v2018_06_01/models/image_data_disk_py3.py | 6 +++--- .../mgmt/compute/v2018_06_01/models/image_os_disk.py | 5 ++--- .../compute/v2018_06_01/models/image_os_disk_py3.py | 5 ++--- .../v2018_06_01/models/managed_disk_parameters.py | 6 +++--- .../v2018_06_01/models/managed_disk_parameters_py3.py | 6 +++--- .../mgmt/compute/v2018_06_01/models/virtual_machine.py | 4 +--- .../compute/v2018_06_01/models/virtual_machine_py3.py | 4 +--- ...irtual_machine_scale_set_managed_disk_parameters.py | 6 +++--- ...al_machine_scale_set_managed_disk_parameters_py3.py | 6 +++--- .../v2018_06_01/models/virtual_machine_update.py | 4 +--- .../v2018_06_01/models/virtual_machine_update_py3.py | 4 +--- 18 files changed, 52 insertions(+), 48 deletions(-) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py index 42b0ba599d73..4b2f4169e001 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py @@ -356,6 +356,7 @@ from .snapshot_paged import SnapshotPaged from .compute_management_client_enums import ( StatusLevelTypes, + AvailabilitySetSkuTypes, OperatingSystemTypes, VirtualMachineSizeTypes, CachingTypes, @@ -571,6 +572,7 @@ 'DiskPaged', 'SnapshotPaged', 'StatusLevelTypes', + 'AvailabilitySetSkuTypes', 'OperatingSystemTypes', 'VirtualMachineSizeTypes', 'CachingTypes', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py index 8b572a90c593..18ff109310c8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py @@ -16,11 +16,11 @@ class AdditionalCapabilities(Model): """Enables or disables a capability on the virtual machine or virtual machine scale set. - :param ultra_ssd_enabled: Enables or disables a capability to have 1 or - more managed data disks with UltraSSD_LRS storage account on the VM or - VMSS. Managed disks with storage account type UltraSSD_LRS can be added to - a virtual machine or virtual machine scale set only if this property is - enabled. + :param ultra_ssd_enabled: The flag that enables or disables a capability + to have one or more managed data disks with UltraSSD_LRS storage account + type on the VM or VMSS. Managed disks with storage account type + UltraSSD_LRS can be added to a virtual machine or virtual machine scale + set only if this property is enabled. :type ultra_ssd_enabled: bool """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py index 746fccf9c049..db83a0a4eacb 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py @@ -16,11 +16,11 @@ class AdditionalCapabilities(Model): """Enables or disables a capability on the virtual machine or virtual machine scale set. - :param ultra_ssd_enabled: Enables or disables a capability to have 1 or - more managed data disks with UltraSSD_LRS storage account on the VM or - VMSS. Managed disks with storage account type UltraSSD_LRS can be added to - a virtual machine or virtual machine scale set only if this property is - enabled. + :param ultra_ssd_enabled: The flag that enables or disables a capability + to have one or more managed data disks with UltraSSD_LRS storage account + type on the VM or VMSS. Managed disks with storage account type + UltraSSD_LRS can be added to a virtual machine or virtual machine scale + set only if this property is enabled. :type ultra_ssd_enabled: bool """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py index cc99cdb180b4..704e78065073 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py @@ -51,7 +51,10 @@ class AvailabilitySet(Resource): :ivar statuses: The resource status information. :vartype statuses: list[~azure.mgmt.compute.v2018_06_01.models.InstanceViewStatus] - :param sku: Sku of the availability set + :param sku: Sku of the availability set, only name is required to be set. + See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for + virtual machines with managed disks and 'Classic' for virtual machines + with unmanaged disks. Default value is 'Classic'. :type sku: ~azure.mgmt.compute.v2018_06_01.models.Sku """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py index 64ea887cb556..cb768ff708d8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py @@ -51,7 +51,10 @@ class AvailabilitySet(Resource): :ivar statuses: The resource status information. :vartype statuses: list[~azure.mgmt.compute.v2018_06_01.models.InstanceViewStatus] - :param sku: Sku of the availability set + :param sku: Sku of the availability set, only name is required to be set. + See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for + virtual machines with managed disks and 'Classic' for virtual machines + with unmanaged disks. Default value is 'Classic'. :type sku: ~azure.mgmt.compute.v2018_06_01.models.Sku """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py index 994228e929a1..e01c884bfff3 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py @@ -19,6 +19,12 @@ class StatusLevelTypes(str, Enum): error = "Error" +class AvailabilitySetSkuTypes(str, Enum): + + classic = "Classic" + aligned = "Aligned" + + class OperatingSystemTypes(str, Enum): windows = "Windows" diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py index 4bfaaa550c3d..55dd251aa125 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py @@ -37,9 +37,9 @@ class ImageDataDisk(Model): machine image.

This value cannot be larger than 1023 GB :type disk_size_gb: int :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py index 6f612bf9ca37..cad193d6eef7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py @@ -37,9 +37,9 @@ class ImageDataDisk(Model): machine image.

This value cannot be larger than 1023 GB :type disk_size_gb: int :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py index 6ce481da0418..db287a53c829 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py @@ -43,9 +43,8 @@ class ImageOSDisk(Model): machine image.

This value cannot be larger than 1023 GB :type disk_size_gb: int :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values + include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py index f7fdc99b7235..983e63d672e2 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py @@ -43,9 +43,8 @@ class ImageOSDisk(Model): machine image.

This value cannot be larger than 1023 GB :type disk_size_gb: int :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values + include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py index 41d023a94be0..9fa397ac98d7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py @@ -18,9 +18,9 @@ class ManagedDiskParameters(SubResource): :param id: Resource Id :type id: str :param storage_account_type: Specifies the storage account type for the - managed disk. UltraSSD_LRS can only be used for data disks. Possible - values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py index 50e3273c5d0a..bbf6a7770b56 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py @@ -18,9 +18,9 @@ class ManagedDiskParameters(SubResource): :param id: Resource Id :type id: str :param storage_account_type: Specifies the storage account type for the - managed disk. UltraSSD_LRS can only be used for data disks. Possible - values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py index d0f2e256fb12..ca243338a572 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py @@ -47,9 +47,7 @@ class VirtualMachine(Resource): :type storage_profile: ~azure.mgmt.compute.v2018_06_01.models.StorageProfile :param additional_capabilities: Specifies additional capabilities enabled - or disabled on the virtual machine. For instance: whether the virtual - machine has the capability to support attaching managed data disks with - UltraSSD_LRS storage account type. + or disabled on the virtual machine. :type additional_capabilities: ~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities :param os_profile: Specifies the operating system settings for the virtual diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py index b9c9658ce5bc..82f24e63291c 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py @@ -47,9 +47,7 @@ class VirtualMachine(Resource): :type storage_profile: ~azure.mgmt.compute.v2018_06_01.models.StorageProfile :param additional_capabilities: Specifies additional capabilities enabled - or disabled on the virtual machine. For instance: whether the virtual - machine has the capability to support attaching managed data disks with - UltraSSD_LRS storage account type. + or disabled on the virtual machine. :type additional_capabilities: ~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities :param os_profile: Specifies the operating system settings for the virtual diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py index bd63a7ca4295..9abca6a1818e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py @@ -16,9 +16,9 @@ class VirtualMachineScaleSetManagedDiskParameters(Model): """Describes the parameters of a ScaleSet managed disk. :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py index 2fc6dd798d98..1df9ec0b5415 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py @@ -16,9 +16,9 @@ class VirtualMachineScaleSetManagedDiskParameters(Model): """Describes the parameters of a ScaleSet managed disk. :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py index 56fad5834158..a52aa4f3abce 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py @@ -37,9 +37,7 @@ class VirtualMachineUpdate(UpdateResource): :type storage_profile: ~azure.mgmt.compute.v2018_06_01.models.StorageProfile :param additional_capabilities: Specifies additional capabilities enabled - or disabled on the virtual machine. For instance: whether the virtual - machine has the capability to support attaching managed data disks with - UltraSSD_LRS storage account type. + or disabled on the virtual machine. :type additional_capabilities: ~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities :param os_profile: Specifies the operating system settings for the virtual diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py index 59fe215d0b53..f122de2d3c2d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py @@ -37,9 +37,7 @@ class VirtualMachineUpdate(UpdateResource): :type storage_profile: ~azure.mgmt.compute.v2018_06_01.models.StorageProfile :param additional_capabilities: Specifies additional capabilities enabled - or disabled on the virtual machine. For instance: whether the virtual - machine has the capability to support attaching managed data disks with - UltraSSD_LRS storage account type. + or disabled on the virtual machine. :type additional_capabilities: ~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities :param os_profile: Specifies the operating system settings for the virtual