machine-images

machine-images add-tags

Usage

  usage: symp machine-images add-tags
[-f {adaptive_table,json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--noindent] [--prefix PREFIX]
                                      [-m [NAME=VALUE [NAME=VALUE ...]]]
                                      [--project-id PROJECT_ID] [--system-tag]
                                      machine_image_id --tags [--tags ...]

Description

Add tags to a machine image.

Mandatory

positional arguments:
  machine_image_id      ID of image to which to add the tags
  --tags                Tags to add to the machine image

Optional

optional arguments:
  -h, --help            show this help message and exit
  --project-id PROJECT_ID
                        Project ID
  --system-tag          System tag, will be added to all provided tags

machine-images bdms add-from-file

Usage

  usage: symp machine-images bdms add-from-file
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                [-c COLUMN]
                                                [--max-width <integer>]
                                                [--noindent] [--prefix PREFIX]
                                                [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                [--storage-pool STORAGE_POOL]
                                                [--volume-size-gib VOLUME_SIZE_GIB]
                                                [--bus-type BUS_TYPE]
                                                [--disk-type DISK_TYPE]
                                                [--file FILE]
                                                machine_image_id boot_index

Description

Add bdm from file to image.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  machine_image_id
  boot_index

Optional

optional arguments:
  -h, --help            show this help message and exit
  --storage-pool STORAGE_POOL
  --volume-size-gib VOLUME_SIZE_GIB
  --bus-type BUS_TYPE
  --disk-type DISK_TYPE
  --file FILE

machine-images bdms add-from-snapshot

Usage

  usage: symp machine-images bdms add-from-snapshot
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                    [-c COLUMN]
                                                    [--max-width <integer>]
                                                    [--noindent]
                                                    [--prefix PREFIX]
                                                    [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                    [--duplicate-snapshot]
                                                    machine_image_id
                                                    block_device_mapping
                                                    boot_index

Description

Add bdm from snapshot to image.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  machine_image_id
  block_device_mapping  Block device mapping
  boot_index            Boot index for the bdm

Optional

optional arguments:
  -h, --help            show this help message and exit
  --duplicate-snapshot  Duplicate snapshot before creating the bdm

machine-images bdms add-from-url

Usage

  usage: symp machine-images bdms add-from-url
[-f {adaptive_table,json,shell,table,value,yaml}]
                                               [-c COLUMN]
                                               [--max-width <integer>]
                                               [--noindent] [--prefix PREFIX]
                                               [-m [NAME=VALUE [NAME=VALUE ...]]]
                                               machine_image_id
                                               block_device_mapping boot_index

Description

Add bdm from url to image.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  machine_image_id
  block_device_mapping  Block device mapping
  boot_index            Boot index for the bdm

Optional

optional arguments:
  -h, --help            show this help message and exit

machine-images create-machine-image-from-file

Usage

  usage: symp machine-images create-machine-image-from-file
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                            [-c COLUMN]
                                                            [--max-width <integer>]
                                                            [--noindent]
                                                            [--prefix PREFIX]
                                                            [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                            [--machine-image-id MACHINE_IMAGE_ID]
                                                            [--description DESCRIPTION]
                                                            [--guest-os GUEST_OS]
                                                            [--scope SCOPE]
                                                            [--project-id PROJECT_ID]
                                                            [--tags [TAGS [TAGS ...]]]
                                                            [--os-type-id OS_TYPE_ID]
                                                            [--storage-pool STORAGE_POOL]
                                                            [--volume-size-gib VOLUME_SIZE_GIB]
                                                            [--bus-type BUS_TYPE]
                                                            [--disk-type DISK_TYPE]
                                                            [--firmware FIRMWARE]
                                                            [--file FILE]
                                                            name

Description

Creates a new machine image from file.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  name                  Name of the machine image

Optional

optional arguments:
  -h, --help            show this help message and exit
  --machine-image-id MACHINE_IMAGE_ID
  --description DESCRIPTION
  --guest-os GUEST_OS
  --scope SCOPE
  --project-id PROJECT_ID
  --tags [TAGS [TAGS ...]]
  --os-type-id OS_TYPE_ID
  --storage-pool STORAGE_POOL
  --volume-size-gib VOLUME_SIZE_GIB
  --bus-type BUS_TYPE
  --disk-type DISK_TYPE
  --firmware FIRMWARE
  --file FILE

machine-images create-machine-image-from-snapshot

Usage

usage: symp machine-images create-machine-image-from-snapshot
       [-h] [-f {adaptive_table,json,shell,table,value,yaml}] [-c COLUMN]
       [--max-width <integer>] [--noindent] [--prefix PREFIX]
       [-m [NAME=VALUE [NAME=VALUE ...]]]
       [--machine-image-id MACHINE_IMAGE_ID] [--description DESCRIPTION]
       [--guest-os GUEST_OS] [--scope SCOPE] [--project-id PROJECT_ID]
       [--tags [TAGS [TAGS ...]]] [--os-type-id OS_TYPE_ID]
       [--firmware FIRMWARE] [--duplicate-snapshot]
       name block_device_mapping

Description

Creates a new machine image from existing snapshot(s).

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  name                  Name of the machine image
  block_device_mapping  Block device mapping

Optional

optional arguments:
  -h, --help            show this help message and exit
  --machine-image-id MACHINE_IMAGE_ID
                        ID of the machine image, shouldn't collide with existing ones
  --description DESCRIPTION
                        Description of the machine image
  --guest-os GUEST_OS   Guest OS of the machine image
  --scope SCOPE         Scope of the machine image
  --project-id PROJECT_ID
                        Project ID of the machine image
  --tags [TAGS [TAGS ...]]
                        Tags to add to the machine image
  --os-type-id OS_TYPE_ID
                        OS type ID of the machine image
  --firmware FIRMWARE   Firmware of the machine image
  --duplicate-snapshot  Duplicate snapshot before creating the image

machine-images create-machine-image-from-vm

Usage

  usage: symp machine-images create-machine-image-from-vm
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                          [-c COLUMN]
                                                          [--max-width <integer>]
                                                          [--noindent]
                                                          [--prefix PREFIX]
                                                          [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                          [--machine-image-id MACHINE_IMAGE_ID]
                                                          [--description DESCRIPTION]
                                                          [--guest-os GUEST_OS]
                                                          [--scope SCOPE]
                                                          [--project-id PROJECT_ID]
                                                          [--tags [TAGS [TAGS ...]]]
                                                          [--os-type-id OS_TYPE_ID]
                                                          [--block-device-mapping BLOCK_DEVICE_MAPPING]
                                                          [--no-reboot]
                                                          name vm_id

Description

Creates a new machine image from existing VM.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  name                  Name of the machine image
  vm_id                 ID of the VM

Optional

optional arguments:
  -h, --help            show this help message and exit
  --machine-image-id MACHINE_IMAGE_ID
                        ID of the machine image, shouldn't collide with existing ones
  --description DESCRIPTION
                        Description of the machine image
  --guest-os GUEST_OS   Guest OS of the machine image
  --scope SCOPE         Scope of the machine image
  --project-id PROJECT_ID
                        Project ID of the machine image
  --tags [TAGS [TAGS ...]]
                        Tags to add to the machine image
  --os-type-id OS_TYPE_ID
                        OS type ID of the machine image
  --block-device-mapping BLOCK_DEVICE_MAPPING
                        Block device mapping
  --no-reboot           Do not reboot the VM before creating the image

machine-images delete

Usage

  usage: symp machine-images delete
[-f {adaptive_table,json,shell,table,value,yaml}]
                                    [-c COLUMN] [--max-width <integer>]
                                    [--noindent] [--prefix PREFIX]
                                    [-m [NAME=VALUE [NAME=VALUE ...]]]
                                    [--override-protection OVERRIDE_PROTECTION]
                                    [--delete-image-snapshot DELETE_IMAGE_SNAPSHOT]
                                    machine_image_id

Description

Deletes a machine image with the given ID.

Mandatory

positional arguments:
  machine_image_id

Optional

optional arguments:
  -h, --help            show this help message and exit
  --override-protection OVERRIDE_PROTECTION
  --delete-image-snapshot DELETE_IMAGE_SNAPSHOT

machine-images get

Usage

  usage: symp machine-images get
[-f {adaptive_table,json,shell,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--noindent] [--prefix PREFIX]
                                 [-m [NAME=VALUE [NAME=VALUE ...]]]
                                 machine_image_id

Description

Returns machine image with the given ID.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  machine_image_id

Optional

optional arguments:
  -h, --help            show this help message and exit

machine-images import-machine-image-from-url

Usage

  usage: symp machine-images import-machine-image-from-url
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                           [-c COLUMN]
                                                           [--max-width <integer>]
                                                           [--noindent]
                                                           [--prefix PREFIX]
                                                           [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                           [--machine-image-id MACHINE_IMAGE_ID]
                                                           [--description DESCRIPTION]
                                                           [--guest-os GUEST_OS]
                                                           [--scope SCOPE]
                                                           [--project-id PROJECT_ID]
                                                           [--tags [TAGS [TAGS ...]]]
                                                           [--os-type-id OS_TYPE_ID]
                                                           [--firmware FIRMWARE]
                                                           name
                                                           block_device_mapping

Description

Imports a new machine image from URL.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  name                  Name of the machine image
  block_device_mapping  Block device mapping

Optional

optional arguments:
  -h, --help            show this help message and exit
  --machine-image-id MACHINE_IMAGE_ID
                        ID of the machine image, shouldn't collide with existing ones
  --description DESCRIPTION
                        Description of the machine image
  --guest-os GUEST_OS   Guest OS of the machine image
  --scope SCOPE         Scope of the machine image
  --project-id PROJECT_ID
                        Project ID of the machine image
  --tags [TAGS [TAGS ...]]
                        Tags to add to the machine image
  --os-type-id OS_TYPE_ID
                        OS type ID of the machine image
  --firmware FIRMWARE

machine-images list

Usage

  usage: symp machine-images 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 ...]]]
                                  [--id [ID [ID ...]]]
                                  [--user-id [USER_ID [USER_ID ...]]]
                                  [--project-id [PROJECT_ID [PROJECT_ID ...]]]
                                  [--account-id [ACCOUNT_ID [ACCOUNT_ID ...]]]
                                  [--name [NAME [NAME ...]]]
                                  [--description [DESCRIPTION [DESCRIPTION ...]]]
                                  [--firmware [FIRMWARE [FIRMWARE ...]]]
                                  [--guest-os [GUEST_OS [GUEST_OS ...]]]
                                  [--block-device-mapping-snapshot-id [BLOCK_DEVICE_MAPPING_SNAPSHOT_ID [BLOCK_DEVICE_MAPPING_SNAPSHOT_ID ...]]]
                                  [--block-device-mapping-volume-size-gib [BLOCK_DEVICE_MAPPING_VOLUME_SIZE_GIB [BLOCK_DEVICE_MAPPING_VOLUME_SIZE_GIB ...]]]
                                  [--block-device-mapping-bus-type [BLOCK_DEVICE_MAPPING_BUS_TYPE [BLOCK_DEVICE_MAPPING_BUS_TYPE ...]]]
                                  [--block-device-mapping-disk-type [BLOCK_DEVICE_MAPPING_DISK_TYPE [BLOCK_DEVICE_MAPPING_DISK_TYPE ...]]]
                                  [--state [STATE [STATE ...]]]
                                  [--scope [SCOPE [SCOPE ...]]]
                                  [--tag-keys [TAG_KEYS [TAG_KEYS ...]]]
                                  [--tag-values [TAG_VALUES [TAG_VALUES ...]]]
                                  [--tag [TAG [TAG ...]]] [--with-tags]

Description

Returns all machine images.

Returns

Returns list: Successful Response

Optional

optional arguments:
  -h, --help            show this help message and exit
  --id [ID [ID ...]]    Filter images by id, multiple allowed
  --user-id [USER_ID [USER_ID ...]]
                        Filter images by user id, multiple allowed
  --project-id [PROJECT_ID [PROJECT_ID ...]]
                        Filter images by project id, multiple allowed
  --account-id [ACCOUNT_ID [ACCOUNT_ID ...]]
                        Filter images by account id, multiple allowed
  --name [NAME [NAME ...]]
                        Filter images by name, multiple allowed
  --description [DESCRIPTION [DESCRIPTION ...]]
                        Filter images by description, multiple allowed
  --firmware [FIRMWARE [FIRMWARE ...]]
                        Filter images by firmware, multiple allowed
  --guest-os [GUEST_OS [GUEST_OS ...]]
                        Filter images by guest_os, multiple allowed
  --block-device-mapping-snapshot-id [BLOCK_DEVICE_MAPPING_SNAPSHOT_ID [BLOCK_DEVICE_MAPPING_SNAPSHOT_ID ...]]
                        Filter images by bdm snapshot id, multiple allowed
  --block-device-mapping-volume-size-gib [BLOCK_DEVICE_MAPPING_VOLUME_SIZE_GIB [BLOCK_DEVICE_MAPPING_VOLUME_SIZE_GIB ...]]
                        Filter images by bdm volume size, multiple allowed
  --block-device-mapping-bus-type [BLOCK_DEVICE_MAPPING_BUS_TYPE [BLOCK_DEVICE_MAPPING_BUS_TYPE ...]]
                        Filter images by bdm bus type, multiple allowed
  --block-device-mapping-disk-type [BLOCK_DEVICE_MAPPING_DISK_TYPE [BLOCK_DEVICE_MAPPING_DISK_TYPE ...]]
                        Filter images by bdm disk type, multiple allowed
  --state [STATE [STATE ...]]
                        Filter images by state, multiple allowed
  --scope [SCOPE [SCOPE ...]]
                        Filter images by scope, multiple allowed
  --tag-keys [TAG_KEYS [TAG_KEYS ...]]
                        Filter images by tag keys
  --tag-values [TAG_VALUES [TAG_VALUES ...]]
                        Filter images by tag values
  --tag [TAG [TAG ...]]
                        Filter images by tag, multiple allowed
  --with-tags           Return response with tags

machine-images list-tags

Usage

  usage: symp machine-images list-tags
[-f {adaptive_table,csv,json,table,value,yaml}]
                                       [-c COLUMN] [--max-width <integer>]
                                       [--noindent]
                                       [--quote {all,minimal,none,nonnumeric}]
                                       [-m [NAME=VALUE [NAME=VALUE ...]]]

Description

List tags of all machine images (restricted by user scope).

Returns

Returns list: Successful Response

Optional

optional arguments:
  -h, --help            show this help message and exit

machine-images os-types add

Usage

  usage: symp machine-images os-types add
[-f {adaptive_table,json,shell,table,value,yaml}]
                                          [-c COLUMN] [--max-width <integer>]
                                          [--noindent] [--prefix PREFIX]
                                          [-m [NAME=VALUE [NAME=VALUE ...]]]
                                          type distro version display_name

Description

Add new OS-type to the system.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  type                  The type of the OS-type: linux, windows, or other (the default)
  distro                The distro of the OS-type
  version               The version of the OS-type
  display_name          The display name of the OS-type

Optional

optional arguments:
  -h, --help            show this help message and exit

machine-images os-types delete

Usage

  usage: symp machine-images os-types delete
[-f {adaptive_table,json,shell,table,value,yaml}]
                                             [-c COLUMN] [--max-width <integer>]
                                             [--noindent] [--prefix PREFIX]
                                             [-m [NAME=VALUE [NAME=VALUE ...]]]
                                             os_type_id

Description

Deletes an OS-type with the given ID.

Mandatory

positional arguments:
  os_type_id

Optional

optional arguments:
  -h, --help            show this help message and exit

machine-images os-types detect

Usage

  usage: symp machine-images os-types detect
[-f {adaptive_table,json,shell,table,value,yaml}]
                                             [-c COLUMN] [--max-width <integer>]
                                             [--noindent] [--prefix PREFIX]
                                             [-m [NAME=VALUE [NAME=VALUE ...]]]
                                             volume_id

Description

Detect OS-Type.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  volume_id

Optional

optional arguments:
  -h, --help            show this help message and exit

machine-images os-types find-closest-match

Usage

  usage: symp machine-images os-types find-closest-match
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                         [-c COLUMN]
                                                         [--max-width <integer>]
                                                         [--noindent]
                                                         [--prefix PREFIX]
                                                         [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                         [--distro DISTRO]
                                                         [--version VERSION]
                                                         os_type

Description

Find the closest matching OS type based on the provided type, distro, and version. If no match is found, the default OS type is returned.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  os_type

Optional

optional arguments:
  -h, --help            show this help message and exit
  --distro DISTRO
  --version VERSION

machine-images os-types get

Usage

  usage: symp machine-images os-types get
[-f {adaptive_table,json,shell,table,value,yaml}]
                                          [-c COLUMN] [--max-width <integer>]
                                          [--noindent] [--prefix PREFIX]
                                          [-m [NAME=VALUE [NAME=VALUE ...]]]
                                          os_type_id

Description

Get OS-type by ID.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  os_type_id

Optional

optional arguments:
  -h, --help            show this help message and exit

machine-images os-types list

Usage

  usage: symp machine-images os-types 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 ...]]]
                                           [--ids [IDS [IDS ...]]]
                                           [--types [TYPES [TYPES ...]]]
                                           [--distros [DISTROS [DISTROS ...]]]
                                           [--versions [VERSIONS [VERSIONS ...]]]

Description

Returns all OS-types

Returns

Returns list: Successful Response

Optional

optional arguments:
  -h, --help            show this help message and exit
  --ids [IDS [IDS ...]]
  --types [TYPES [TYPES ...]]
  --distros [DISTROS [DISTROS ...]]
  --versions [VERSIONS [VERSIONS ...]]

machine-images os-types update

Usage

  usage: symp machine-images os-types update
[-f {adaptive_table,json,shell,table,value,yaml}]
                                             [-c COLUMN] [--max-width <integer>]
                                             [--noindent] [--prefix PREFIX]
                                             [-m [NAME=VALUE [NAME=VALUE ...]]]
                                             os_type_id display_name

Description

Updates an OS-type with the given ID.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  os_type_id
  display_name          The display name of the OS-type

Optional

optional arguments:
  -h, --help            show this help message and exit

machine-images remove-tags

Usage

  usage: symp machine-images remove-tags
[-f {adaptive_table,json,shell,table,value,yaml}]
                                         [-c COLUMN] [--max-width <integer>]
                                         [--noindent] [--prefix PREFIX]
                                         [-m [NAME=VALUE [NAME=VALUE ...]]]
                                         [--project-id PROJECT_ID]
                                         [--system-tag]
                                         machine_image_id --tags [--tags ...]

Description

Remove tags from a machine image.

Mandatory

positional arguments:
  machine_image_id      ID of image to which to add the tags
  --tags                List of tags to remove

Optional

optional arguments:
  -h, --help            show this help message and exit
  --project-id PROJECT_ID
  --system-tag

machine-images update

Usage

  usage: symp machine-images 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]
                                    [--firmware FIRMWARE] [--guest-os GUEST_OS]
                                    [--scope SCOPE] [--override-protection]
                                    [--os-type-id OS_TYPE_ID]
                                    machine_image_id

Description

Update machine image’s parameters.

Returns

Returns dict: Successful Response

Mandatory

positional arguments:
  machine_image_id

Optional

optional arguments:
  -h, --help            show this help message and exit
  --name NAME           Update name of the machine image
  --description DESCRIPTION
                        Update description of the machine image
  --firmware FIRMWARE   Update firmware of the machine image
  --guest-os GUEST_OS   Update guest OS of the machine image
  --scope SCOPE         Update scope of the machine image
  --override-protection
                        Override protection of managed machine image
  --os-type-id OS_TYPE_ID
                        Update OS type ID of the machine image