Snapshot¶
Snapshots are point in time backups of a volume. This class inherits from TopLevelResource and has direct access to the resource’s database object.
Attribute |
Description |
|---|---|
organization_service_id |
The ID of the parent organization service (cloud) |
region_name |
The region that the snapshot resides in |
snapshot_id |
The provider ID of the snapshot |
volume_resource_id |
The resource ID of the volume this snapshot was created from |
name |
The name of the volume’s snapshot |
description |
Description of the snapshot |
state |
The current lifecycle state of the snapshot |
progress |
The creation progress of the snapshot |
size |
The size in gigabytes of the volume |
public |
Denotes whether the snapshot is publicly available |
create_time |
The time when the snapshot was created |
encrypted |
Denotes whether the snapshot is encrypted |
Snapshot Operations
delete(user_resource_id=None)get_date_created()static get_db_class()
get_parent_resource_id()
get_private_images()static get_provider_id_field()
get_resource_dependencies()static get_resource_type()
get_size()get_supported_actions()handle_resource_created(user_resource_id=None)handle_resource_destroyed(user_resource_id=None, project_resource_id=None)handle_resource_modified(resource, *args, **kwargs)is_backup()snapshot
snapshot_id
top_level_resource = True