Class DiskSecurityProfile


  • public final class DiskSecurityProfile
    extends Object
    Contains the security related information for the resource.
    • Constructor Detail

      • DiskSecurityProfile

        public DiskSecurityProfile()
    • Method Detail

      • securityType

        public DiskSecurityTypes securityType()
        Get the securityType property: Specifies the SecurityType of the VM. Applicable for OS disks only.
        Returns:
        the securityType value.
      • withSecurityType

        public DiskSecurityProfile withSecurityType​(DiskSecurityTypes securityType)
        Set the securityType property: Specifies the SecurityType of the VM. Applicable for OS disks only.
        Parameters:
        securityType - the securityType value to set.
        Returns:
        the DiskSecurityProfile object itself.
      • secureVMDiskEncryptionSetId

        public String secureVMDiskEncryptionSetId()
        Get the secureVMDiskEncryptionSetId property: ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key.
        Returns:
        the secureVMDiskEncryptionSetId value.
      • withSecureVMDiskEncryptionSetId

        public DiskSecurityProfile withSecureVMDiskEncryptionSetId​(String secureVMDiskEncryptionSetId)
        Set the secureVMDiskEncryptionSetId property: ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key.
        Parameters:
        secureVMDiskEncryptionSetId - the secureVMDiskEncryptionSetId value to set.
        Returns:
        the DiskSecurityProfile object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.