ImageStorageProfile Class

Describes a storage profile.

Inheritance
ImageStorageProfile

Constructor

ImageStorageProfile(*, os_disk: Optional[azure.mgmt.compute.v2018_04_01.models._models_py3.ImageOSDisk] = None, data_disks: Optional[List[azure.mgmt.compute.v2018_04_01.models._models_py3.ImageDataDisk]] = None, zone_resilient: Optional[bool] = None, **kwargs)

Parameters

os_disk
ImageOSDisk
Required

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
list[ImageDataDisk]
Required

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
bool
Required

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).