Class AccountMetastoresAPI


  • @Generated
    public class AccountMetastoresAPI
    extends Object
    These APIs manage Unity Catalog metastores for an account. A metastore contains catalogs that can be associated with workspaces
    • Constructor Detail

      • AccountMetastoresAPI

        public AccountMetastoresAPI​(ApiClient apiClient)
        Regular-use constructor
    • Method Detail

      • create

        public AccountsMetastoreInfo create​(AccountsCreateMetastore request)
        Create metastore.

        Creates a Unity Catalog metastore. Please add a header X-Databricks-Account-Console-API-Version: 2.0 to access this API.

      • delete

        public void delete​(String metastoreId)
      • delete

        public void delete​(DeleteAccountMetastoreRequest request)
        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.

      • get

        public AccountsMetastoreInfo get​(GetAccountMetastoreRequest request)
        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.

      • list

        public ListMetastoresResponse list()
        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.

      • update

        public AccountsMetastoreInfo update​(AccountsUpdateMetastore request)
        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.