你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ImageDataDisk Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a data disk.
public class ImageDataDisk : Azure.ResourceManager.Compute.Models.ImageDisk, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.ImageDataDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.ImageDataDisk>
type ImageDataDisk = class
inherit ImageDisk
interface IJsonModel<ImageDataDisk>
interface IPersistableModel<ImageDataDisk>
Public Class ImageDataDisk
Inherits ImageDisk
Implements IJsonModel(Of ImageDataDisk), IPersistableModel(Of ImageDataDisk)
- Inheritance
- Implements
Constructors
ImageDataDisk(Int32) |
Initializes a new instance of ImageDataDisk. |
Properties
BlobUri |
The Virtual Hard Disk. (Inherited from ImageDisk) |
Caching |
Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.. (Inherited from ImageDisk) |
DiskEncryptionSetId |
Gets or sets Id. (Inherited from ImageDisk) |
DiskSizeGB |
Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB. (Inherited from ImageDisk) |
Lun |
Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. |
ManagedDiskId |
Gets or sets Id. (Inherited from ImageDisk) |
SnapshotId |
Gets or sets Id. (Inherited from ImageDisk) |
StorageAccountType |
Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. (Inherited from ImageDisk) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ImageDisk) |