Class OSDiskImageSecurityProfile
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.OSDiskImageSecurityProfile
-
public final class OSDiskImageSecurityProfile extends Object
Contains security profile for an OS disk image.
-
-
Constructor Summary
Constructors Constructor Description OSDiskImageSecurityProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfidentialVMEncryptionTypeconfidentialVMEncryptionType()Get the confidentialVMEncryptionType property: confidential VM encryption types.StringsecureVMDiskEncryptionSetId()Get the secureVMDiskEncryptionSetId property: secure VM disk encryption set id.voidvalidate()Validates the instance.OSDiskImageSecurityProfilewithConfidentialVMEncryptionType(ConfidentialVMEncryptionType confidentialVMEncryptionType)Set the confidentialVMEncryptionType property: confidential VM encryption types.OSDiskImageSecurityProfilewithSecureVMDiskEncryptionSetId(String secureVMDiskEncryptionSetId)Set the secureVMDiskEncryptionSetId property: secure VM disk encryption set id.
-
-
-
Method Detail
-
confidentialVMEncryptionType
public ConfidentialVMEncryptionType 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
public String 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.
-
-