vm-snapshot¶
vm-snapshot create¶
Usage
usage: symp vm-snapshot 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 ...]]]
name vm_id
Description
Create a VM snapshot.
Returns
Returns dict: Details of the new VM snapshot
Mandatory
positional arguments:
name Name for the VM snapshot
vm_id VM ID to snapshot
Optional
optional arguments:
-h, --help show this help message and exit
--description DESCRIPTION
Description for the VM snapshot
--project-id PROJECT_ID
Project id to create the snapshot in
--tags [TAGS [TAGS ...]]
Tags to apply during snapshot creation
vm-snapshot delete¶
Usage
usage: symp vm-snapshot delete
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[-m [NAME=VALUE [NAME=VALUE ...]]] [--force]
[--skip-external] [--override-protection]
vm_snapshot_id
Description
Delete local VM snapshot.
Mandatory
positional arguments:
vm_snapshot_id The ID of the VM snapshot
Optional
optional arguments:
-h, --help show this help message and exit
--force If True, will delete also if the VM-snapshot is in creating state
--skip-external If True, will pass the flag top Volume VSC
--override-protection
If True, will override the protection
vm-snapshot get¶
Usage
usage: symp vm-snapshot get
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
[-m [NAME=VALUE [NAME=VALUE ...]]]
vm_snapshot_id
Description
Retrieve VM snapshot metadata.
Returns
Returns dict: Details of the VM snapshot
Mandatory
positional arguments:
vm_snapshot_id The ID of the VM snapshot
Optional
optional arguments:
-h, --help show this help message and exit
vm-snapshot list¶
Usage
usage: symp vm-snapshot 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 ...]]]
[--account-ids [ACCOUNT_IDS [ACCOUNT_IDS ...]]]
[--project-ids [PROJECT_IDS [PROJECT_IDS ...]]]
[--user-ids [USER_IDS [USER_IDS ...]]]
[--names [NAMES [NAMES ...]]]
[--statuses [STATUSES [STATUSES ...]]]
[--source-vm-ids [SOURCE_VM_IDS [SOURCE_VM_IDS ...]]]
[--protection-group-ids [PROTECTION_GROUP_IDS [PROTECTION_GROUP_IDS ...]]]
[--ids [IDS [IDS ...]]] [--detailed]
Description
List VM snapshots.
Returns
Returns list: List of VM snapshots
Optional
optional arguments:
-h, --help show this help message and exit
--account-ids [ACCOUNT_IDS [ACCOUNT_IDS ...]]
Return VM snapshots with any of the specified account IDs
--project-ids [PROJECT_IDS [PROJECT_IDS ...]]
Return VM snapshots with any of the specified project IDs
--user-ids [USER_IDS [USER_IDS ...]]
Return VM snapshots with any of the specified user IDs
--names [NAMES [NAMES ...]]
Return VM snapshots with any of the specified names
--statuses [STATUSES [STATUSES ...]]
Return VM snapshots with any of the specified statuses
--source-vm-ids [SOURCE_VM_IDS [SOURCE_VM_IDS ...]]
Return VM snapshots with any of the specified source VM IDs
--protection-group-ids [PROTECTION_GROUP_IDS [PROTECTION_GROUP_IDS ...]]
Return VM snapshots created by any of the specified protection group IDs
--ids [IDS [IDS ...]]
Return VM snapshots with any of the specified ID
--detailed Also return the parameters of the VM itself
vm-snapshot update¶
Usage
usage: symp vm-snapshot 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]
vm_snapshot_id
Description
Update the VM snapshot.
Returns
Returns dict: Details of the new VM snapshot
Mandatory
positional arguments:
vm_snapshot_id The ID of the VM snapshot
Optional
optional arguments:
-h, --help show this help message and exit
--name NAME Name for the VM snapshot
--description DESCRIPTION
Description for the VM snapshot