Class EncryptionIdentity

java.lang.Object
com.azure.resourcemanager.netapp.models.EncryptionIdentity

public class EncryptionIdentity extends Object
Identity used to authenticate with key vault.
  • Constructor Details

    • EncryptionIdentity

      public EncryptionIdentity()
  • Method Details

    • principalId

      public String principalId()
      Get the principalId property: The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.
      Returns:
      the principalId value.
    • userAssignedIdentity

      public String userAssignedIdentity()
      Get the userAssignedIdentity property: The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities.
      Returns:
      the userAssignedIdentity value.
    • withUserAssignedIdentity

      public EncryptionIdentity withUserAssignedIdentity(String userAssignedIdentity)
      Set the userAssignedIdentity property: The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities.
      Parameters:
      userAssignedIdentity - the userAssignedIdentity value to set.
      Returns:
      the EncryptionIdentity object itself.
    • validate

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