Skip to content

Commit

Permalink
CodeGen from PR 12958 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Added new disk storageAccountTypes (Azure#12958)
  • Loading branch information
SDKAuto committed Mar 1, 2021
1 parent adfce6b commit 0eae4b1
Show file tree
Hide file tree
Showing 27 changed files with 116 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or
Premium_LRS. NOTE: Managed OS disk storage account type can only be set when you create the
scale set.
Premium_LRS.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4361,9 +4361,9 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.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 or Premium_LRS. Possible values include: "Standard_LRS",
"Premium_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS", "Premium_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2017_03_30.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4805,9 +4805,9 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.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 or Premium_LRS. Possible values include: "Standard_LRS",
"Premium_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS", "Premium_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2017_03_30.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or
Premium_LRS. NOTE: Managed OS disk storage account type can only be set when you create the
scale set.
Premium_LRS.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4185,9 +4185,9 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.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 or Premium_LRS. Possible values include: "Standard_LRS",
"Premium_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS", "Premium_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2017_12_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4615,9 +4615,9 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.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 or Premium_LRS. Possible values include: "Standard_LRS",
"Premium_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS", "Premium_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2017_12_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Possible values are: Standard_LRS,
Premium_LRS, and StandardSSD_LRS. NOTE: Managed OS disk storage account type can only be set
when you create the scale set.
Premium_LRS, and StandardSSD_LRS.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4865,9 +4865,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: "Standard_LRS",
"Premium_LRS", "StandardSSD_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2018_04_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5371,9 +5371,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: "Standard_LRS",
"Premium_LRS", "StandardSSD_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2018_04_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,8 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
ERROR = "Error"

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Managed OS disk storage account type
can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data
disks, it cannot be used with OS Disk.
"""Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used
with data disks, it cannot be used with OS Disk.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5880,9 +5880,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the 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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. 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
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6466,9 +6466,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the 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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. 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
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,8 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
ERROR = "Error"

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Managed OS disk storage account type
can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data
disks, it cannot be used with OS Disk.
"""Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used
with data disks, it cannot be used with OS Disk.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4499,9 +4499,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the 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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. 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_10_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4962,9 +4962,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the 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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. 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_10_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,13 @@ class StorageAccountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
STANDARD_ZRS = "Standard_ZRS"

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Managed OS disk storage account type
can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data
disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses
Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. For more information
regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/en-
us/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-types
"""Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used
with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD.
StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk.
For more information regarding disks supported for Windows Virtual Machines, refer to
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types and, for Linux
Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-
types
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6968,9 +6968,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.

:param storage_account_type: Specifies the storage account type for the 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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. 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.v2019_03_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7666,9 +7666,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.

:param storage_account_type: Specifies the storage account type for the 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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. 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.v2019_03_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,13 @@ class StorageAccountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
STANDARD_ZRS = "Standard_ZRS"

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Managed OS disk storage account type
can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data
disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses
Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. For more information
regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/en-
us/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-types
"""Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used
with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD.
StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk.
For more information regarding disks supported for Windows Virtual Machines, refer to
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types and, for Linux
Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-
types
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7688,9 +7688,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.

:param storage_account_type: Specifies the storage account type for the 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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. 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.v2019_07_01.models.StorageAccountTypes
:param disk_encryption_set: Specifies the customer managed disk encryption set resource id for
the managed disk.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8484,9 +8484,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.

:param storage_account_type: Specifies the storage account type for the 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".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. 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.v2019_07_01.models.StorageAccountTypes
:param disk_encryption_set: Specifies the customer managed disk encryption set resource id for
the managed disk.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ class StorageAccountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
PREMIUM_LRS = "Premium_LRS"

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Managed OS disk storage account type
can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data
disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses
Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. For more information
regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/en-
us/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-types
"""Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used
with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD.
StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk.
For more information regarding disks supported for Windows Virtual Machines, refer to
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types and, for Linux
Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-
types
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Loading

0 comments on commit 0eae4b1

Please sign in to comment.