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 Details

    • OSDiskImageSecurityProfile

      public OSDiskImageSecurityProfile()
  • Method Details

    • 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.