ManagedDiskParameters Class

The parameters of a managed disk.

Inheritance
azure.mgmt.compute.v2020_12_01.models._models_py3.SubResource
ManagedDiskParameters

Constructor

ManagedDiskParameters(*, id: Optional[str] = None, storage_account_type: Optional[Union[str, azure.mgmt.compute.v2020_12_01.models._compute_management_client_enums.StorageAccountTypes]] = None, disk_encryption_set: Optional[azure.mgmt.compute.v2020_12_01.models._models_py3.DiskEncryptionSetParameters] = None, **kwargs)

Parameters

id
str
Required

Resource Id.

storage_account_type
str or StorageAccountTypes
Required

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", "Premium_ZRS", "StandardSSD_ZRS".

disk_encryption_set
DiskEncryptionSetParameters
Required

Specifies the customer managed disk encryption set resource id for the managed disk.