public final class DataDiskImageEncryption extends DiskImageEncryption
Constructor and Description |
---|
DataDiskImageEncryption() |
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.
|
DataDiskImageEncryption |
withLun(int lun)
Set the lun property: This property specifies the logical unit number of the data disk.
|
diskEncryptionSetId, withDiskEncryptionSetId
public int lun()
public DataDiskImageEncryption withLun(int lun)
lun
- the lun value to set.public void validate()
validate
in class DiskImageEncryption
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.