你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SharedGalleryDiskImage Class
This is the disk image base class.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.compute._serialization.ModelSharedGalleryDiskImage
Constructor
SharedGalleryDiskImage(*, host_caching: str | _models.SharedGalleryHostCaching | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
host_caching
|
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Known values are: "None", "ReadOnly", and "ReadWrite". |
Variables
Name | Description |
---|---|
disk_size_gb
|
This property indicates the size of the VHD to be created. |
host_caching
|
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Known values are: "None", "ReadOnly", and "ReadWrite". |