EncryptionImages Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. EncryptionImages
- com.
public final class EncryptionImages
Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
Constructor Summary
Constructor | Description |
---|---|
EncryptionImages() |
Creates an instance of Encryption |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Data |
dataDiskImages()
Get the data |
OSDisk |
osDiskImage()
Get the os |
void |
validate()
Validates the instance. |
Encryption |
withDataDiskImages(List<DataDiskImageEncryption> dataDiskImages)
Set the data |
Encryption |
withOsDiskImage(OSDiskImageEncryption osDiskImage)
Set the os |
Methods inherited from java.lang.Object
Constructor Details
EncryptionImages
public EncryptionImages()
Creates an instance of EncryptionImages class.
Method Details
dataDiskImages
public List
Get the dataDiskImages property: A list of encryption specifications for data disk images.
Returns:
osDiskImage
public OSDiskImageEncryption osDiskImage()
Get the osDiskImage property: Contains encryption settings for an OS disk image.
Returns:
validate
public void validate()
Validates the instance.
withDataDiskImages
public EncryptionImages withDataDiskImages(List
Set the dataDiskImages property: A list of encryption specifications for data disk images.
Parameters:
Returns:
withOsDiskImage
public EncryptionImages withOsDiskImage(OSDiskImageEncryption osDiskImage)
Set the osDiskImage property: Contains encryption settings for an OS disk image.
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