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 ...]]]
                                 [--enable-incremental-backup]
                                 [--description DESCRIPTION]
                                 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
  --enable-incremental-backup
                        Allows creating incremental backups to a remote target
  --description DESCRIPTION
                        Description for the VM snapshot

vm-snapshot create-from-remote-vm

Usage

  usage: symp vm-snapshot create-from-remote-vm
[-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]
                                                remote_vm_snapshot_id pool_id

Description

Create VM snapshot from a remote VM snapshot.

Returns

Returns dict: Details of the local VM snapshot

Mandatory

positional arguments:
  remote_vm_snapshot_id
                        ID of a remote VM snapshot to create from
  pool_id               The pool to create the VM's volumes in

Optional

optional arguments:
  -h, --help            show this help message and exit
  --name NAME           Name of the new local VM snapshot. The default name is the remote VM snapshot name
  --description DESCRIPTION
                        Description of the new local VM snapshot

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]
                                 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

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