@Generated public interface StorageService
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
Modifier and Type | Method and Description |
---|---|
StorageConfiguration |
create(CreateStorageConfigurationRequest createStorageConfigurationRequest)
Create new storage configuration.
|
void |
delete(DeleteStorageRequest deleteStorageRequest)
Delete storage configuration.
|
StorageConfiguration |
get(GetStorageRequest getStorageRequest)
Get storage configuration.
|
Collection<StorageConfiguration> |
list()
Get all storage configurations.
|
StorageConfiguration create(CreateStorageConfigurationRequest createStorageConfigurationRequest)
Creates new storage configuration for an account, specified by ID. Uploads a storage configuration object that represents the root AWS S3 bucket in your account. Databricks stores related workspace assets including DBFS, cluster logs, and job results. For the AWS S3 bucket, you need to configure the required bucket policy.
For information about how to create a new workspace with this API, see [Create a new workspace using the Account API]
[Create a new workspace using the Account API]: http://docs.databricks.com/administration-guide/account-api/new-workspace.html
void delete(DeleteStorageRequest deleteStorageRequest)
Deletes a Databricks storage configuration. You cannot delete a storage configuration that is associated with any workspace.
StorageConfiguration get(GetStorageRequest getStorageRequest)
Gets a Databricks storage configuration for an account, both specified by ID.
Collection<StorageConfiguration> list()
Gets a list of all Databricks storage configurations for your account, specified by ID.
Copyright © 2023. All rights reserved.