Class Identity
java.lang.Object
com.azure.resourcemanager.purview.models.Identity
The Managed Identity of the resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: Service principal object Id.tenantId()
Get the tenantId property: Tenant Id.type()
Get the type property: Identity Type.Get the userAssignedIdentities property: User Assigned Identities.void
validate()
Validates the instance.Set the type property: Identity Type.withUserAssignedIdentities
(Map<String, UserAssignedIdentity> userAssignedIdentities) Set the userAssignedIdentities property: User Assigned Identities.
-
Constructor Details
-
Identity
public Identity()Creates an instance of Identity class.
-
-
Method Details
-
principalId
Get the principalId property: Service principal object Id.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: Tenant Id.- Returns:
- the tenantId value.
-
type
Get the type property: Identity Type.- Returns:
- the type value.
-
withType
Set the type property: Identity Type.- Parameters:
type
- the type value to set.- Returns:
- the Identity object itself.
-
userAssignedIdentities
Get the userAssignedIdentities property: User Assigned Identities.- Returns:
- the userAssignedIdentities value.
-
withUserAssignedIdentities
Set the userAssignedIdentities property: User Assigned Identities.- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the Identity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-