snapshot_v4¶
snapshot_v4 create¶
Usage
usage: symp snapshot_v4 create
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[-m [NAME=VALUE [NAME=VALUE ...]]]
[--description DESCRIPTION]
[--project-id PROJECT_ID]
[--tags [TAGS [TAGS ...]]]
[--protection-group-id PROTECTION_GROUP_ID]
volume_id name
Description
Create a new snapshot from the specified volume
Returns
Returns dict: New snapshot
Mandatory
positional arguments:
volume_id Volume ID to snapshot
name Name for the snapshot
Optional
optional arguments:
-h, --help show this help message and exit
--description DESCRIPTION
Description for the snapshot
--project-id PROJECT_ID
The project ID of this snapshot (admin-only)
--tags [TAGS [TAGS ...]]
Tags to apply during snapshot creation
--protection-group-id PROTECTION_GROUP_ID
The ID of the protection group responsible for creating this snapshot. for internal usage.
snapshot_v4 delete¶
Usage
usage: symp snapshot_v4 delete
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[-m [NAME=VALUE [NAME=VALUE ...]]]
snapshot_id
Description
Delete the snapshot
Mandatory
positional arguments:
snapshot_id The ID of the snapshot
Optional
optional arguments:
-h, --help show this help message and exit
snapshot_v4 get¶
Usage
usage: symp snapshot_v4 get
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
[-m [NAME=VALUE [NAME=VALUE ...]]]
snapshot_id
Description
Retrieve snapshot metadata
Returns
Returns dict: Snapshot metadata
Mandatory
positional arguments:
snapshot_id The ID of the snapshot
Optional
optional arguments:
-h, --help show this help message and exit
snapshot_v4 list¶
Usage
usage: symp snapshot_v4 list
[-f {adaptive_table,csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[-m [NAME=VALUE [NAME=VALUE ...]]] [--sort SORT]
[--tag-key [TAG_KEY [TAG_KEY ...]]]
[--description [DESCRIPTION [DESCRIPTION ...]]]
[--tags [TAGS [TAGS ...]]]
[--source-volume-id [SOURCE_VOLUME_ID [SOURCE_VOLUME_ID ...]]]
[--created-at [CREATED_AT [CREATED_AT ...]]]
[--state [STATE [STATE ...]]] [--limit LIMIT]
[--offset OFFSET]
[--project-id [PROJECT_ID [PROJECT_ID ...]]]
[--protection-group-id [PROTECTION_GROUP_ID [PROTECTION_GROUP_ID ...]]]
[--id [ID [ID ...]]]
Description
Retrieves all snapshots
Returns
Returns list: List of snapshots
Optional
optional arguments:
-h, --help show this help message and exit
--sort SORT The fields to sort by (can provide multiple values). Use "-" to reverse the order.
--tag-key [TAG_KEY [TAG_KEY ...]]
Return snapshots with the specified tag key regardless of the tag value (multiple values possible).
--description [DESCRIPTION [DESCRIPTION ...]]
Return snapshots with the specified description (multiple values possible).
--tags [TAGS [TAGS ...]]
Tags to filter by.
--source-volume-id [SOURCE_VOLUME_ID [SOURCE_VOLUME_ID ...]]
Return snapshots with the specified source volume ID (multiple values possible).
--created-at [CREATED_AT [CREATED_AT ...]]
Return snapshots with the specified created at time (multiple values possible).
--state [STATE [STATE ...]]
Return snapshots with the specified state (multiple values possible).
--limit LIMIT Specify the number of entities that you want to retrieve.
--offset OFFSET Specify the first entity that you wan to retrieve.
--project-id [PROJECT_ID [PROJECT_ID ...]]
Return snapshots with the specified project ID (multiple values possible).
--protection-group-id [PROTECTION_GROUP_ID [PROTECTION_GROUP_ID ...]]
Return snapshots with the specified snapshot protection group ID (multiple values possible).
--id [ID [ID ...]] Return snapshots with the specified snapshot ID (multiple values possible).
snapshot_v4 transform¶
Usage
usage: symp snapshot_v4 transform
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[-m [NAME=VALUE [NAME=VALUE ...]]]
[--description DESCRIPTION]
[--project-id PROJECT_ID]
[--tags [TAGS [TAGS ...]]]
[--snapshot-id SNAPSHOT_ID]
resource_id name resource_type
Description
Transform a resource (physical snapshot / volume) into a new snapshot (the original resource will be hidden)
Returns
Returns dict: New snapshot
Mandatory
positional arguments:
resource_id Resource ID to transform to snapshot
name Name for the snapshot
resource_type the resource type to transform
Optional
optional arguments:
-h, --help show this help message and exit
--description DESCRIPTION
Description for the snapshot
--project-id PROJECT_ID
The project ID of this snapshot (admin-only)
--tags [TAGS [TAGS ...]]
Tags to apply during snapshot creation
--snapshot-id SNAPSHOT_ID
Snapshot ID to set for the snapshot
snapshot_v4 update¶
Usage
usage: symp snapshot_v4 update
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[-m [NAME=VALUE [NAME=VALUE ...]]]
[--name NAME] [--description DESCRIPTION]
snapshot_id
Description
Update metadata of an existing snapshot
Returns
Returns dict: Snapshot info
Mandatory
positional arguments:
snapshot_id The ID of the snapshot
Optional
optional arguments:
-h, --help show this help message and exit
--name NAME Name for the volume
--description DESCRIPTION
Description for the volume