instance¶
instance type access-add¶
Usage
usage: -c instance type access-add [-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}]
instance_type project_id
Description
Add a project to the access list of instance type.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
instance type access-list¶
Usage
usage: -c instance type access-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}]
instance_type
Description
Get the list of tenants that have access to the instance type.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
instance type access-remove¶
Usage
usage: -c instance type access-remove [-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}]
instance_type project_id
Description
Remove a project from the access list of instance type.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
instance type create¶
Usage
usage: -c instance type create [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX] [--is-public]
[--pci-device-requests [PCI_DEVICE_REQUESTS [PCI_DEVICE_REQUESTS ...]]]
[--sockets SOCKETS] [--cores CORES]
[--threads THREADS]
name memory_mb vcpus
Description
Create a new instance type.
Return
Returns dict: Details of new instance type
Optional
optional arguments:
-h, --help show this help message and exit
--is-public Whether instance type is public
--pci-device-requests [PCI_DEVICE_REQUESTS [PCI_DEVICE_REQUESTS ...]]
List of PCI devices where each contains vendor_id,
device_id and count
--sockets SOCKETS Number of CPU sockets, defaults to Number of vCPUs
--cores CORES Number of CPU cores per socket, defaults to 1
--threads THREADS Number of threads per CPU core, defaults to 1
instance type delete¶
Usage
usage: -c instance type delete [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX]
instance_type
Description
Deletes the specified instance type.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
instance type get¶
Usage
usage: -c instance type get [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX]
instance_type
Description
Returns details of the specified instance type.
Return
Returns dict: Details of instance type
Optional
optional arguments:
-h, --help show this help message and exit
instance type list¶
Usage
usage: -c instance type 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}]
[--show-disabled]
Description
Returns all instance types.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
--show-disabled By default, disabled instance types are not shown (relevant for admin only)
instance-profile add-role¶
Usage
usage: -c instance-profile add-role [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN]
[-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX]
instance_profile_id role_id
Description
Adds the specified role to the specified instance profile. An instance profile can contain only one role, and this limit cannot be increased. You can remove the existing role and then add a different role to an instance profile.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
instance-profile create¶
Usage
usage: -c instance-profile create [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN]
[-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX] [--path PATH]
name
Description
Creates a new instance profile.
Return
Returns dict: A structure containing details about the new instance profile
Optional
optional arguments:
-h, --help show this help message and exit
--path PATH The path to the instance profile
instance-profile get¶
Usage
usage: -c instance-profile get [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX]
instance_profile_id
Description
Retrieves information about the specified instance profile.
Return
Returns dict: A structure containing details about the instance profile
Optional
optional arguments:
-h, --help show this help message and exit
instance-profile list¶
Usage
usage: -c instance-profile 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}]
[--name NAME] [--project-id PROJECT_ID]
Description
Lists the instance profiles.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
--name NAME Only list instance profiles with the given name
--project-id PROJECT_ID
ID of project to list instance profiles for (only for admin)
instance-profile remove¶
Usage
usage: -c instance-profile remove [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN]
[-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX]
instance_profile_id
Description
Deletes the specified instance profile. The instance profile must not have an associated role.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit
instance-profile remove-role¶
Usage
usage: -c instance-profile remove-role [-h]
[-f {adaptive_table,json,shell,table,value,yaml}]
[-c COLUMN]
[-m [NAME=VALUE [NAME=VALUE ...]]]
[--max-width <integer>] [--noindent]
[--prefix PREFIX]
instance_profile_id role_id
Description
Removes the specified role from the specified instance profile.
Return
None
Optional
optional arguments:
-h, --help show this help message and exit