你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedDisk Class

ManagedDisk.

Constructor

ManagedDisk(*, storage_account_type: str | _models.StorageAccountType | None = None, security_profile: _models.VMDiskSecurityProfile | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
storage_account_type

The storage account type for use in creating data disks or OS disk. Known values are: "Standard_LRS", "Premium_LRS", and "StandardSSD_LRS".

Default value: None
security_profile

Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.

Default value: None

Variables

Name Description
storage_account_type

The storage account type for use in creating data disks or OS disk. Known values are: "Standard_LRS", "Premium_LRS", and "StandardSSD_LRS".

security_profile

Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.