
com.databricks.sdk.service.catalog.AccountMetastoresService Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.catalog;
import com.databricks.sdk.support.Generated;
/**
* These APIs manage Unity Catalog metastores for an account. A metastore contains catalogs that can
* be associated with workspaces
*
* This is the high-level interface, that contains generated methods.
*
*
Evolving: this interface is under development. Method signatures may change.
*/
@Generated
public interface AccountMetastoresService {
/**
* Create metastore.
*
*
Creates a Unity Catalog metastore. Please add a header
* X-Databricks-Account-Console-API-Version: 2.0 to access this API.
*/
MetastoreInfo create(AccountsCreateMetastore accountsCreateMetastore);
/**
* Delete a metastore.
*
*
Deletes a Unity Catalog metastore for an account, both specified by ID. Please add a header
* X-Databricks-Account-Console-API-Version: 2.0 to access this API.
*/
void delete(DeleteAccountMetastoreRequest deleteAccountMetastoreRequest);
/**
* Get a metastore.
*
*
Gets a Unity Catalog metastore from an account, both specified by ID. Please add a header
* X-Databricks-Account-Console-API-Version: 2.0 to access this API.
*/
MetastoreInfo get(GetAccountMetastoreRequest getAccountMetastoreRequest);
/**
* Get all metastores associated with an account.
*
*
Gets all Unity Catalog metastores associated with an account specified by ID. Please add a
* header X-Databricks-Account-Console-API-Version: 2.0 to access this API.
*/
ListMetastoresResponse list();
/**
* Update a metastore.
*
*
Updates an existing Unity Catalog metastore. Please add a header
* X-Databricks-Account-Console-API-Version: 2.0 to access this API.
*/
MetastoreInfo update(AccountsUpdateMetastore accountsUpdateMetastore);
}