Это не самая новая версия документации. Для изменения используйте переключатель версий или перейдите на новейшую версию!

teams#

usage: awx teams [-h] action ...

positional arguments:
  action
    list
    create
    get
    modify
    delete
    grant
    revoke

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

awx teams: the following arguments are required: action

teams list#

usage: awx teams list [-h] [--all] [--order_by ORDER_BY]
                      [-f {json,yaml,jq,human}] [--filter TEXT]
                      [--conf.color BOOLEAN] [-v] [--type {team}]
                      [--created CREATED] [--modified MODIFIED] [--name TEXT]
                      [--description TEXT] [--organization ID]

optional arguments:
  -h, --help            show this help message and exit
  --all                 fetch all pages of content from the API when returning
                        results (instead of just the first page)
  --order_by ORDER_BY   order results by given field name, prefix the field
                        name with a dash (-) to sort in reverse eg
                        --order_by='-name',multiple sorting fields may be
                        specified by separating the field names with a comma
                        (,)
  --type {team}         only list teams with the specified type
  --created CREATED     only list teams with the specified created
  --modified MODIFIED   only list teams with the specified modified
  --name TEXT           only list teams with the specified name
  --description TEXT    only list teams with the specified description
  --organization ID     only list teams with the specified organization

input/output formatting:
  -f {json,yaml,jq,human}, --conf.format {json,yaml,jq,human}
                        specify a format for the input and output
  --filter TEXT         specify an output filter (only valid with jq or human
                        format)
  --conf.color BOOLEAN  Display colorized output. Defaults to True
  -v, --verbose         print debug-level logs, including requests made

teams create#

usage: awx teams create [-h] --name TEXT [--description TEXT] --organization
                        ID

required arguments:
  --name TEXT         Name of this team.
  --organization ID   the ID of the associated organization

optional arguments:
  -h, --help          show this help message and exit
  --description TEXT  Optional description of this team.

awx teams create: the following arguments are required: --name, --organization

teams get#

usage: awx teams get [-h] [-f {json,yaml,jq,human}] [--filter TEXT]
                     [--conf.color BOOLEAN] [-v]
                     id

positional arguments:
  id                    the ID (or unique name) of the resource

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

input/output formatting:
  -f {json,yaml,jq,human}, --conf.format {json,yaml,jq,human}
                        specify a format for the input and output
  --filter TEXT         specify an output filter (only valid with jq or human
                        format)
  --conf.color BOOLEAN  Display colorized output. Defaults to True
  -v, --verbose         print debug-level logs, including requests made

awx teams get: the following arguments are required: id

teams modify#

usage: awx teams modify [-h] id

positional arguments:
  id          the ID (or unique name) of the resource

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

awx teams modify: the following arguments are required: id

teams delete#

usage: awx teams delete [-h] id

positional arguments:
  id          the ID (or unique name) of the resource

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

awx teams delete: the following arguments are required: id

teams grant#

usage: awx teams grant [-h]
                       (--organization ID | --project ID | --inventory ID | --team ID | --credential ID | --job_template ID | --workflow_job_template ID | --instance_group ID)
                       --role
                       {read,notification_admin,workflow_admin,job_template_admin,adhoc,auditor,execute,update,approval,inventory_admin,execution_environment_admin,credential_admin,admin,project_admin,member,use}
                       id

positional arguments:
  id                    The ID (or name) of the teams to grant access to/from

optional arguments:
  -h, --help            show this help message and exit
  --organization ID     The ID (or name) of the target organization
  --project ID          The ID (or name) of the target project
  --inventory ID        The ID (or name) of the target inventory
  --team ID             The ID (or name) of the target team
  --credential ID       The ID (or name) of the target credential
  --job_template ID     The ID (or name) of the target job_template
  --workflow_job_template ID
                        The ID (or name) of the target workflow_job_template
  --instance_group ID   The ID (or name) of the target instance_group
  --role {read,notification_admin,workflow_admin,job_template_admin,adhoc,auditor,execute,update,approval,inventory_admin,execution_environment_admin,credential_admin,admin,project_admin,member,use}
                        The name of the role to grant

awx teams grant: the following arguments are required: id, --role

teams revoke#

usage: awx teams revoke [-h]
                        (--organization ID | --project ID | --inventory ID | --team ID | --credential ID | --job_template ID | --workflow_job_template ID | --instance_group ID)
                        --role
                        {workflow_admin,approval,credential_admin,notification_admin,update,inventory_admin,execute,job_template_admin,read,use,admin,auditor,adhoc,execution_environment_admin,member,project_admin}
                        id

positional arguments:
  id                    The ID (or name) of the teams to revoke access to/from

optional arguments:
  -h, --help            show this help message and exit
  --organization ID     The ID (or name) of the target organization
  --project ID          The ID (or name) of the target project
  --inventory ID        The ID (or name) of the target inventory
  --team ID             The ID (or name) of the target team
  --credential ID       The ID (or name) of the target credential
  --job_template ID     The ID (or name) of the target job_template
  --workflow_job_template ID
                        The ID (or name) of the target workflow_job_template
  --instance_group ID   The ID (or name) of the target instance_group
  --role {workflow_admin,approval,credential_admin,notification_admin,update,inventory_admin,execute,job_template_admin,read,use,admin,auditor,adhoc,execution_environment_admin,member,project_admin}
                        The name of the role to revoke

awx teams revoke: the following arguments are required: id, --role