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 : Microsoft.Azure.Management.Compute.Models.ImageDisk
type ImageDataDisk = class
inherit ImageDisk
Public Class ImageDataDisk
Inherits ImageDisk
- Inheritance
Constructors
ImageDataDisk() |
Initializes a new instance of the ImageDataDisk class. |
ImageDataDisk(Int32, SubResource, SubResource, String, Nullable<CachingTypes>, Nullable<Int32>, String, DiskEncryptionSetParameters) |
Initializes a new instance of the ImageDataDisk class. |
Properties
BlobUri |
Gets or sets the Virtual Hard Disk. (Inherited from ImageDisk) |
Caching |
Gets or sets specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.. Possible values include: 'None', 'ReadOnly', 'ReadWrite' (Inherited from ImageDisk) |
DiskEncryptionSet |
Gets or sets specifies the customer managed disk encryption set resource id for the managed image disk. (Inherited from ImageDisk) |
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. This value cannot be larger than 1023 GB. (Inherited from ImageDisk) |
Lun |
Gets or sets 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. |
ManagedDisk |
Gets or sets the managedDisk. (Inherited from ImageDisk) |
Snapshot |
Gets or sets the snapshot. (Inherited from ImageDisk) |
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', 'Premium_ZRS', 'StandardSSD_ZRS', 'PremiumV2_LRS' (Inherited from ImageDisk) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기