create_storage
imerit_ango.sdk.SDK.
create_storage(storage_data)
Integrate a cloud storage provider to your organization with the required credentials and configuration.
Parameters
storage_data: Storage
A Storage object containing the following attributes:
name: string
The name of the storage instance.
provider: StorageProvider
The cloud storage provider. Options:
StorageProvider.AWS
StorageProvider.GCP
StorageProvider.AZURE
public_key: string
The public access key for your cloud storage account.
private_key: string
The private access key for your cloud storage account.
region: string, default "eu-central-1"
The geographical region where your storage is located.
credentials: string
Additional credentials required for accessing the cloud storage.
Returns:
output: dict
A dictionary containing the result of the operation.
Including a
statusfield indicating whether the request was successful and adatafield containing the response payload with updated resources produced by the operation.
How to verify in Ango Hub?
After successfully executing the create_storage function, you can validate the changes directly in Ango Hub.
Navigate to: Organization → Storages
Confirm that the newly created storage appears in the list.
Ensure that the storage credentials have been configured correctly
Changes made via the SDK are reflected in Ango Hub in near real-time. If updates are not immediately visible, please refresh the page.
Example
See also
Last updated