stack kb synthetics post-private-location cli command

Auth required
elastic stack kb synthetics post-private-location \
  --agent-policy-id <agent-policy-id> \
  --label <label> \
  [options]
		

Create a private location

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--agent-policy-id string required
The ID of the agent policy associated with the private location.
--label string required
A label for the private location.
--geo string
Geographic coordinates (WGS84) for the location.
--spaces string[]

An array of space IDs where the private location is available. If it is not provided, the private location is available in all spaces.

Repeatable: pass --spaces multiple times to supply more than one value

--tags string[]

An array of tags to categorize the private location.

Repeatable: pass --tags multiple times to supply more than one value

--input-file string
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-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON