stack kb elastic-agent-binary-download-sources put-fleet-agent-download-sources-sourceid cli command
Auth required
Idempotent
Scope: global
elastic stack kb elastic-agent-binary-download-sources put-fleet-agent-download-sources-sourceid \
--source-id <source-id> \
--host <host> \
--name <name> \
[options]
Update an agent binary download source
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--source-idstringrequired- The ID of the download source
--hoststringrequired--namestringrequired--authstring--idstring--is-default--proxy-idstring- The ID of the proxy to use for this download source. See the proxies API for more information.
--reserve-diskspace- If
true, Elastic Agent reserves disk space equal to the size of the new agent package before an upgrade, so the upgrade fails early if there is not enough space. If not set, defaults totrueon the agent side. --secretsstring--sslstring--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON