stack kb apm-agent-configuration get-environments-for-service cli command
Auth required
Idempotent
Scope: global
elastic stack kb apm-agent-configuration get-environments-for-service [options]
Get environments for service
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--service-namestring- The name of the service. If omitted, environments across all services are returned.
--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)
--json-
output as JSON