Class ManagedIdentity
java.lang.Object
com.azure.resourcemanager.synapse.models.ManagedIdentity
The workspace managed identity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The principal ID of the workspace managed identity.tenantId()
Get the tenantId property: The tenant ID of the workspace managed identity.type()
Get the type property: The type of managed identity for the workspace.Get the userAssignedIdentities property: The user assigned managed identities.void
validate()
Validates the instance.withType
(ResourceIdentityType type) Set the type property: The type of managed identity for the workspace.withUserAssignedIdentities
(Map<String, UserAssignedManagedIdentity> userAssignedIdentities) Set the userAssignedIdentities property: The user assigned managed identities.
-
Constructor Details
-
ManagedIdentity
public ManagedIdentity()Creates an instance of ManagedIdentity class.
-
-
Method Details
-
principalId
Get the principalId property: The principal ID of the workspace managed identity.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: The tenant ID of the workspace managed identity.- Returns:
- the tenantId value.
-
type
Get the type property: The type of managed identity for the workspace.- Returns:
- the type value.
-
withType
Set the type property: The type of managed identity for the workspace.- Parameters:
type
- the type value to set.- Returns:
- the ManagedIdentity object itself.
-
userAssignedIdentities
Get the userAssignedIdentities property: The user assigned managed identities.- Returns:
- the userAssignedIdentities value.
-
withUserAssignedIdentities
public ManagedIdentity withUserAssignedIdentities(Map<String, UserAssignedManagedIdentity> userAssignedIdentities) Set the userAssignedIdentities property: The user assigned managed identities.- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the ManagedIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-