Class WorkspaceProviderAuthorization

java.lang.Object
com.azure.resourcemanager.databricks.models.WorkspaceProviderAuthorization

public final class WorkspaceProviderAuthorization extends Object
The workspace provider authorization.
  • Constructor Details

    • WorkspaceProviderAuthorization

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

    • principalId

      public UUID principalId()
      Get the principalId property: The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources.
      Returns:
      the principalId value.
    • withPrincipalId

      public WorkspaceProviderAuthorization withPrincipalId(UUID principalId)
      Set the principalId property: The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources.
      Parameters:
      principalId - the principalId value to set.
      Returns:
      the WorkspaceProviderAuthorization object itself.
    • roleDefinitionId

      public UUID roleDefinitionId()
      Get the roleDefinitionId property: The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group.
      Returns:
      the roleDefinitionId value.
    • withRoleDefinitionId

      public WorkspaceProviderAuthorization withRoleDefinitionId(UUID roleDefinitionId)
      Set the roleDefinitionId property: The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group.
      Parameters:
      roleDefinitionId - the roleDefinitionId value to set.
      Returns:
      the WorkspaceProviderAuthorization object itself.
    • validate

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