Class EncryptionIdentity
java.lang.Object
com.azure.resourcemanager.netapp.models.EncryptionIdentity
Identity used to authenticate with key vault.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The principal ID (object ID) of the identity used to authenticate with key vault.Get the userAssignedIdentity property: The ARM resource identifier of the user assigned identity used to authenticate with key vault.void
validate()
Validates the instance.withUserAssignedIdentity
(String userAssignedIdentity) Set the userAssignedIdentity property: The ARM resource identifier of the user assigned identity used to authenticate with key vault.
-
Constructor Details
-
EncryptionIdentity
public EncryptionIdentity()
-
-
Method Details
-
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
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
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.
-