Class ManagedIdentity

java.lang.Object
com.azure.resourcemanager.synapse.models.ManagedIdentity

public class ManagedIdentity extends Object
The workspace managed identity.
  • Constructor Details

    • ManagedIdentity

      public ManagedIdentity()
      Creates an instance of ManagedIdentity class.
  • Method Details

    • principalId

      public String principalId()
      Get the principalId property: The principal ID of the workspace managed identity.
      Returns:
      the principalId value.
    • tenantId

      public UUID tenantId()
      Get the tenantId property: The tenant ID of the workspace managed identity.
      Returns:
      the tenantId value.
    • type

      public ResourceIdentityType type()
      Get the type property: The type of managed identity for the workspace.
      Returns:
      the type value.
    • withType

      public ManagedIdentity withType(ResourceIdentityType type)
      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

      public Map<String,UserAssignedManagedIdentity> 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.