Class OSDiskImageEncryption
java.lang.Object
com.azure.resourcemanager.compute.models.DiskImageEncryption
com.azure.resourcemanager.compute.models.OSDiskImageEncryption
Contains encryption settings for an OS disk image.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the securityProfile property: This property specifies the security profile of an OS disk image.voidvalidate()Validates the instance.withDiskEncryptionSetId(String diskEncryptionSetId) Set the diskEncryptionSetId property: A relative URI containing the resource ID of the disk encryption set.withSecurityProfile(OSDiskImageSecurityProfile securityProfile) Set the securityProfile property: This property specifies the security profile of an OS disk image.Methods inherited from class com.azure.resourcemanager.compute.models.DiskImageEncryption
diskEncryptionSetId
-
Constructor Details
-
OSDiskImageEncryption
public OSDiskImageEncryption()
-
-
Method Details
-
securityProfile
Get the securityProfile property: This property specifies the security profile of an OS disk image.- Returns:
- the securityProfile value.
-
withSecurityProfile
Set the securityProfile property: This property specifies the security profile of an OS disk image.- Parameters:
securityProfile- the securityProfile value to set.- Returns:
- the OSDiskImageEncryption object itself.
-
withDiskEncryptionSetId
Set the diskEncryptionSetId property: A relative URI containing the resource ID of the disk encryption set.- Overrides:
withDiskEncryptionSetIdin classDiskImageEncryption- Parameters:
diskEncryptionSetId- the diskEncryptionSetId value to set.- Returns:
- the DiskImageEncryption object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classDiskImageEncryption- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-