public final class ImageDataDisk extends ImageDisk
| Constructor and Description |
|---|
ImageDataDisk() |
| Modifier and Type | Method and Description |
|---|---|
int |
lun()
Get the lun property: Specifies the logical unit number of the data disk.
|
void |
validate()
Validates the instance.
|
ImageDataDisk |
withLun(int lun)
Set the lun property: Specifies the logical unit number of the data disk.
|
blobUri, caching, diskEncryptionSet, diskSizeGB, managedDisk, snapshot, storageAccountType, withBlobUri, withCaching, withDiskEncryptionSet, withDiskSizeGB, withManagedDisk, withSnapshot, withStorageAccountTypepublic int lun()
public ImageDataDisk withLun(int lun)
lun - the lun value to set.public void validate()
validate in class ImageDiskIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.