ObjectStorageManager
- class SoftLayer.managers.ObjectStorageManager(client)[source]
Manager for SoftLayer Object Storage accounts.
See product information here: https://www.ibm.com/cloud/object-storage
- Parameters:
client (SoftLayer.API.BaseClient) – the client instance
Methods
__init__
(client)create_credential
(identifier)Create object storage credential.
delete_credential
(identifier[, credential_id])Delete the object storage credential.
limit_credential
(identifier)Limit object storage credentials.
list_accounts
([object_mask, object_filter, ...])Lists your object storage accounts.
list_credential
(identifier)List the object storage credentials.
list_endpoints
(identifier)Lists the known object storage endpoints.
resolve_ids
(identifier)Takes a string and tries to resolve to a list of matching ids.
Attributes
resolvers
- create_credential(identifier)[source]
Create object storage credential.
- Parameters:
identifier (int) – The object storage account identifier.
- delete_credential(identifier, credential_id=None)[source]
Delete the object storage credential.
- Parameters:
id (int) – The object storage account identifier.
credential_id (int) – The credential id to be deleted.
- limit_credential(identifier)[source]
Limit object storage credentials.
- Parameters:
identifier (int) – The object storage account identifier.
- list_accounts(object_mask=None, object_filter=None, limit=10)[source]
Lists your object storage accounts.
- list_credential(identifier)[source]
List the object storage credentials.
- Parameters:
identifier (int) – The object storage account identifier.
- resolve_ids(identifier)
Takes a string and tries to resolve to a list of matching ids.
What exactly ‘identifier’ can be depends on the resolvers
- Parameters:
identifier (string) – identifying string
- Returns list: