共用方式為


ImageDisk Class

Definition

Describes a image disk.

public class ImageDisk
type ImageDisk = class
Public Class ImageDisk
Inheritance
ImageDisk
Derived

Constructors

ImageDisk()

Initializes a new instance of the ImageDisk class.

ImageDisk(SubResource, SubResource, String, Nullable<CachingTypes>, Nullable<Int32>, StorageAccountTypes, SubResource)

Initializes a new instance of the ImageDisk class.

Properties

BlobUri

Gets or sets the Virtual Hard Disk.

Caching

Gets or sets specifies the caching requirements. &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt; None &lt;br&gt;&lt;br&gt; ReadOnly &lt;br&gt;&lt;br&gt; ReadWrite &lt;br&gt;&lt;br&gt; Default: None for Standard storage. ReadOnly for Premium storage. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

DiskEncryptionSet

Gets or sets specifies the customer managed disk encryption set resource id for the managed image disk.

DiskSizeGB

Gets or sets 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. &lt;br&gt;&lt;br&gt; This value cannot be larger than 1023 GB

ManagedDisk

Gets or sets the managedDisk.

Snapshot

Gets or sets the snapshot.

StorageAccountType

Gets or sets 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. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'

Applies to