StorageProfile Class
Specifies the storage settings for the virtual machine disks.
- Inheritance
-
azure.mgmt.compute._serialization.ModelStorageProfile
Constructor
StorageProfile(*, image_reference: _models.ImageReference | None = None, os_disk: _models.OSDisk | None = None, data_disks: List[_models.DataDisk] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
image_reference
|
Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. |
os_disk
|
Specifies information about the operating system disk used by the virtual
machine. |
data_disks
|
Specifies the parameters that are used to add a data disk to a virtual
machine. |
Variables
Name | Description |
---|---|
image_reference
|
Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. |
os_disk
|
Specifies information about the operating system disk used by the virtual
machine. |
data_disks
|
Specifies the parameters that are used to add a data disk to a virtual
machine. |
Azure SDK for Python