Storage Container
Storage Containers are scalable data storage. An example of this would be Amazon S3 buckets. This class inherits from TopLevelResource and has direct access to the resource’s database object.
Attribute |
Description |
---|---|
resource_id |
The primary resource identifier that takes the form of a prefix followed by numbers and letters |
organization_service_id |
The ID of the parent organization service (cloud) |
region_name |
The region that the storage container resides in |
name |
The name of the storage container |
creation_date |
The date that the the storage container was created |
last_modified |
The date that the storage container was last modified |
object_count |
The total number of objects within storage container |
total_size |
The total size of the storage container (bytes) |
policy |
Denotes whether a container or user policy is associated with this storage container |
encrypted |
Denotes whether this storage container is encrypted |
logging |
Denotes whether access logging is enabled |
versioning |
Denotes whether object versioning is enabled |
Storage Container Operations
delete(user_resource_id=None)
get_date_created()
static get_db_class()
classmethod get_encrypted_status(policy)
get_merged_permissions(new_permissions, delete=False)
static get_provider_id_field()
static get_resource_type()
get_supported_actions()
handle_resource_created(user_resource_id=None, project_resource_id=None)
handle_resource_destroyed(user_resource_id=None)
handle_resource_modified(resource, *args, **kwargs)
properties
storage_container
top_level_resource = True