Class OSDiskImageSecurityProfile
java.lang.Object
com.azure.resourcemanager.compute.models.OSDiskImageSecurityProfile
Contains security profile for an OS disk image.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the confidentialVMEncryptionType property: confidential VM encryption types.Get the secureVMDiskEncryptionSetId property: secure VM disk encryption set id.voidvalidate()Validates the instance.withConfidentialVMEncryptionType(ConfidentialVMEncryptionType confidentialVMEncryptionType) Set the confidentialVMEncryptionType property: confidential VM encryption types.withSecureVMDiskEncryptionSetId(String secureVMDiskEncryptionSetId) Set the secureVMDiskEncryptionSetId property: secure VM disk encryption set id.
-
Constructor Details
-
OSDiskImageSecurityProfile
public OSDiskImageSecurityProfile()
-
-
Method Details
-
confidentialVMEncryptionType
Get the confidentialVMEncryptionType property: confidential VM encryption types.- Returns:
- the confidentialVMEncryptionType value.
-
withConfidentialVMEncryptionType
public OSDiskImageSecurityProfile withConfidentialVMEncryptionType(ConfidentialVMEncryptionType confidentialVMEncryptionType) Set the confidentialVMEncryptionType property: confidential VM encryption types.- Parameters:
confidentialVMEncryptionType- the confidentialVMEncryptionType value to set.- Returns:
- the OSDiskImageSecurityProfile object itself.
-
secureVMDiskEncryptionSetId
Get the secureVMDiskEncryptionSetId property: secure VM disk encryption set id.- Returns:
- the secureVMDiskEncryptionSetId value.
-
withSecureVMDiskEncryptionSetId
public OSDiskImageSecurityProfile withSecureVMDiskEncryptionSetId(String secureVMDiskEncryptionSetId) Set the secureVMDiskEncryptionSetId property: secure VM disk encryption set id.- Parameters:
secureVMDiskEncryptionSetId- the secureVMDiskEncryptionSetId value to set.- Returns:
- the OSDiskImageSecurityProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-