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

ImageStorageProfile Class

Describes a storage profile.

Inheritance
azure.mgmt.compute._serialization.Model
ImageStorageProfile

Constructor

ImageStorageProfile(*, os_disk: _models.ImageOSDisk | None = None, data_disks: List[_models.ImageDataDisk] | None = None, zone_resilient: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
os_disk

Specifies information about the operating system disk used by the virtual machine. <br>``<br> For more information about disks, see About disks and VHDs for Azure virtual machines.

data_disks

Specifies the parameters that are used to add a data disk to a virtual machine. <br>``<br> For more information about disks, see About disks and VHDs for Azure virtual machines.

zone_resilient

Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).

Variables

Name Description
os_disk

Specifies information about the operating system disk used by the virtual machine. <br>``<br> For more information about disks, see About disks and VHDs for Azure virtual machines.

data_disks

Specifies the parameters that are used to add a data disk to a virtual machine. <br>``<br> For more information about disks, see About disks and VHDs for Azure virtual machines.

zone_resilient

Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).