host_metrics#
usage: awx host_metrics [-h] action ...
positional arguments:
action
list
get
delete
optional arguments:
-h, --help show this help message and exit
awx host_metrics: the following arguments are required: action
host_metrics list#
usage: awx host_metrics list [-h] [--all] [--order_by ORDER_BY]
[-f {json,yaml,jq,human}] [--filter TEXT]
[--conf.color BOOLEAN] [-v] [--hostname TEXT]
[--first_automation FIRST_AUTOMATION]
[--last_automation LAST_AUTOMATION]
[--last_deleted LAST_DELETED]
[--automated_counter INTEGER]
[--deleted_counter INTEGER] [--deleted BOOLEAN]
[--used_in_inventories INTEGER]
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
(,)
--hostname TEXT only list host_metrics with the specified hostname
--first_automation FIRST_AUTOMATION
only list host_metrics with the specified
first_automation
--last_automation LAST_AUTOMATION
only list host_metrics with the specified
last_automation
--last_deleted LAST_DELETED
only list host_metrics with the specified last_deleted
--automated_counter INTEGER
only list host_metrics with the specified
automated_counter
--deleted_counter INTEGER
only list host_metrics with the specified
deleted_counter
--deleted BOOLEAN only list host_metrics with the specified deleted
--used_in_inventories INTEGER
only list host_metrics with the specified
used_in_inventories
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
host_metrics get#
usage: awx host_metrics 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 host_metrics get: the following arguments are required: id
host_metrics delete#
usage: awx host_metrics 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 host_metrics delete: the following arguments are required: id