DataDiskImageEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DiskImageEncryption - com.
azure. resourcemanager. compute. models. DataDiskImageEncryption
- com.
- com.
public final class DataDiskImageEncryption
extends DiskImageEncryption
Contains encryption settings for a data disk image.
Constructor Summary
Constructor | Description |
---|---|
DataDiskImageEncryption() |
Creates an instance of Data |
Method Summary
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. |
Data |
withDiskEncryptionSetId(String diskEncryptionSetId)
Set the disk |
Data |
withLun(int lun)
Set the lun property: This property specifies the logical unit number of the data disk. |
Methods inherited from DiskImageEncryption
Methods inherited from java.lang.Object
Constructor Details
DataDiskImageEncryption
public DataDiskImageEncryption()
Creates an instance of DataDiskImageEncryption class.
Method Details
lun
public int lun()
Get the lun property: This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
DataDiskImageEncryption.validate()withDiskEncryptionSetId
public DataDiskImageEncryption withDiskEncryptionSetId(String diskEncryptionSetId)
Set the diskEncryptionSetId property: A relative URI containing the resource ID of the disk encryption set.
Overrides:
DataDiskImageEncryption.withDiskEncryptionSetId(String diskEncryptionSetId)Parameters:
withLun
public DataDiskImageEncryption withLun(int lun)
Set the lun property: This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for