public final class GalleryDataDiskImage extends GalleryDiskImage
Constructor and Description |
---|
GalleryDataDiskImage() |
Modifier and Type | Method and Description |
---|---|
int |
lun()
Get the lun property: This property specifies the logical unit number of the data disk.
|
void |
validate()
Validates the instance.
|
GalleryDataDiskImage |
withLun(int lun)
Set the lun property: This property specifies the logical unit number of the data disk.
|
hostCaching, sizeInGB, source, withHostCaching, withSource
public int lun()
public GalleryDataDiskImage withLun(int lun)
lun
- the lun value to set.public void validate()
validate
in class GalleryDiskImage
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.