project

project create

Usage

usage: -c project create [-h]
                      [-f {adaptive_table,json,shell,table,value,yaml}]
                      [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                      [--max-width <integer>] [--noindent]
                      [--prefix PREFIX] [--domain-id DOMAIN_ID]
                      [--disabled] [--description DESCRIPTION]
                      [--custom-project-id CUSTOM_PROJECT_ID]
                      name

Description

Create a new project in a domain.

Return

Returns dict: Details of the project

Optional

 optional arguments:
-h, --help            show this help message and exit
--domain-id DOMAIN_ID
                      Domain to create the project in
--disabled            Whether the new project is disabled
--description DESCRIPTION
                      Description for the new project
--custom-project-id CUSTOM_PROJECT_ID
                      Force custom id for the created project

project delete

Usage

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

Description

Delete a project.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--force               When provided by a system admin, skip resource validation

project get

Usage

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

Description

Get details of a project.

Return

Returns dict: Details of the project

Optional

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

project grant-group-role

Usage

usage: -c project grant-group-role [-h]
                                [-f {adaptive_table,json,shell,table,value,yaml}]
                                [-c COLUMN]
                                [-m [NAME=VALUE [NAME=VALUE ...]]]
                                [--max-width <integer>] [--noindent]
                                [--prefix PREFIX]
                                project_id group_id role_id

Description

Grant a group a role in a project (for LDAP use).

Return

None

Optional

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

project grant-role

Usage

usage: -c project grant-role [-h]
                          [-f {adaptive_table,json,shell,table,value,yaml}]
                          [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                          [--max-width <integer>] [--noindent]
                          [--prefix PREFIX]
                          project_id user_id role_id

Description

Grant a user a role in a project.

Return

None

Optional

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

project list

Usage

usage: -c project 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}]
                    [--domain-id DOMAIN_ID] [--parent-id PARENT_ID]
                    [--name NAME] [--enabled ENABLED]

Description

List projects in domain.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--domain-id DOMAIN_ID
                      Filters by a domain ID
--parent-id PARENT_ID
                      Filters the response by a parent ID
--name NAME           Filters by a project name
--enabled ENABLED     Filters by either enabled (true) or disabled (false) projects

project list-group-roles-on-project

Usage

usage: -c project list-group-roles-on-project [-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}]
                                           project_id group_id

Description

List group’s roles in a project.

Return

None

Optional

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

project list-roles-on-project

Usage

usage: -c project list-roles-on-project [-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}]
                                     project_id user_id

Description

List user’s roles in a project.

Return

None

Optional

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

project revoke-group-role

Usage

usage: -c project revoke-group-role [-h]
                                 [-f {adaptive_table,json,shell,table,value,yaml}]
                                 [-c COLUMN]
                                 [-m [NAME=VALUE [NAME=VALUE ...]]]
                                 [--max-width <integer>] [--noindent]
                                 [--prefix PREFIX]
                                 project_id group_id role_id

Description

Revoke a group’s role from a project (for LDAP use).

Return

None

Optional

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

project revoke-role

Usage

usage: -c project revoke-role [-h]
                           [-f {adaptive_table,json,shell,table,value,yaml}]
                           [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                           [--max-width <integer>] [--noindent]
                           [--prefix PREFIX]
                           project_id user_id role_id

Description

Revoke a user’s role from a project.

Return

None

Optional

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

project update

Usage

usage: -c project update [-h]
                      [-f {adaptive_table,json,shell,table,value,yaml}]
                      [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                      [--max-width <integer>] [--noindent]
                      [--prefix PREFIX] [--name NAME]
                      [--description DESCRIPTION] [--domain-id DOMAIN_ID]
                      [--enabled ENABLED]
                      project_id

Description

Update project’s attributes.

Return

Returns dict: The project’s details after the update

Optional

 optional arguments:
-h, --help            show this help message and exit
--name NAME           The project's name
--description DESCRIPTION
                      The project's description
--domain-id DOMAIN_ID
                      The ID of the domain of the project
--enabled ENABLED     Whether the project is enabled