Interface AccountMetastoreAssignmentsService
-
@Generated public interface AccountMetastoreAssignmentsService
These APIs manage metastore assignments to a workspace.This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<CreateMetastoreAssignmentsResponseItem>
create(AccountsCreateMetastoreAssignment accountsCreateMetastoreAssignment)
Assigns a workspace to a metastore.void
delete(DeleteAccountMetastoreAssignmentRequest deleteAccountMetastoreAssignmentRequest)
Delete a metastore assignment.AccountsMetastoreAssignment
get(GetAccountMetastoreAssignmentRequest getAccountMetastoreAssignmentRequest)
Gets the metastore assignment for a workspace.Collection<MetastoreAssignment>
list(ListAccountMetastoreAssignmentsRequest listAccountMetastoreAssignmentsRequest)
Get all workspaces assigned to a metastore.void
update(AccountsUpdateMetastoreAssignment accountsUpdateMetastoreAssignment)
Updates a metastore assignment to a workspaces.
-
-
-
Method Detail
-
create
Collection<CreateMetastoreAssignmentsResponseItem> create(AccountsCreateMetastoreAssignment accountsCreateMetastoreAssignment)
Assigns a workspace to a metastore.Creates an assignment to a metastore for a workspace Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
delete
void delete(DeleteAccountMetastoreAssignmentRequest deleteAccountMetastoreAssignmentRequest)
Delete a metastore assignment.Deletes a metastore assignment to a workspace, leaving the workspace with no metastore. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
get
AccountsMetastoreAssignment get(GetAccountMetastoreAssignmentRequest getAccountMetastoreAssignmentRequest)
Gets the metastore assignment for a workspace.Gets the metastore assignment, if any, for the workspace specified by ID. If the workspace is assigned a metastore, the mappig will be returned. If no metastore is assigned to the workspace, the assignment will not be found and a 404 returned. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
list
Collection<MetastoreAssignment> list(ListAccountMetastoreAssignmentsRequest listAccountMetastoreAssignmentsRequest)
Get all workspaces assigned to a metastore.Gets a list of all Databricks workspace IDs that have been assigned to given metastore. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API
-
update
void update(AccountsUpdateMetastoreAssignment accountsUpdateMetastoreAssignment)
Updates a metastore assignment to a workspaces.Updates an assignment to a metastore for a workspace. Currently, only the default catalog may be updated. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
-
-