services

services create

Usage

usage: -c services create [-h]
                       [-f {adaptive_table,json,shell,table,value,yaml}]
                       [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                       [--max-width <integer>] [--noindent]
                       [--prefix PREFIX] [--network-id NETWORK_ID]
                       [--storage-pool-id STORAGE_POOL_ID]
                       [--floating-ip-id FLOATING_IP_ID] [--is-external]
                       [--data-vol-size DATA_VOL_SIZE]
                       name engine_version_id instance_type

Description

Creates a new services object.

Return

Returns dict: Services response

Optional

 optional arguments:
-h, --help            show this help message and exit
--network-id NETWORK_ID
                      Network to connect the service to
--storage-pool-id STORAGE_POOL_ID
                      Storage pool ID for the volumes
--floating-ip-id FLOATING_IP_ID
                      Floating IP to expose the service with
--is-external         Should the service be exposed externally
--data-vol-size DATA_VOL_SIZE
                      Size for the data volume of the service VM

services delete

Usage

usage: -c services delete [-h]
                       [-f {adaptive_table,json,shell,table,value,yaml}]
                       [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                       [--max-width <integer>] [--noindent]
                       [--prefix PREFIX] [--force]
                       services_id

Description

Deletes a single services object based on the ID supplied.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--force               Should the service be deleted in any state

services get

Usage

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

Description

Returns a services based on a services ID.

Return

Returns dict: Services response

Optional

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

services list

Usage

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

Description

Returns all services objects.

Return

None

Optional

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