labels#
usage: awx labels [-h] action ...
positional arguments:
action
list
create
get
modify
optional arguments:
-h, --help show this help message and exit
awx labels: the following arguments are required: action
labels list#
usage: awx labels list [-h] [--all] [--order_by ORDER_BY]
[-f {json,yaml,jq,human}] [--filter TEXT]
[--conf.color BOOLEAN] [-v] [--type {label}]
[--created CREATED] [--modified MODIFIED] [--name 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 {label} only list labels with the specified type
--created CREATED only list labels with the specified created
--modified MODIFIED only list labels with the specified modified
--name TEXT only list labels with the specified name
--organization ID only list labels 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
labels create#
usage: awx labels create [-h] --name TEXT --organization ID
required arguments:
--name TEXT Name of this label.
--organization ID Organization this label belongs to.
optional arguments:
-h, --help show this help message and exit
awx labels create: the following arguments are required: --name, --organization
labels get#
usage: awx labels 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 labels get: the following arguments are required: id
labels modify#
usage: awx labels 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 labels modify: the following arguments are required: id