stack kb elastic-agent-policies get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status cli command
Auth required
Idempotent
Scope: global
elastic stack kb elastic-agent-policies get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status \
--agent-policy-id <agent-policy-id> \
[options]
Get auto upgrade agent status
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--agent-policy-idstringrequired- The agentPolicyId parameter
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON