cloud hosted deployments get-deployment-apm-resource-info cli command
Auth required
elastic cloud hosted deployments get-deployment-apm-resource-info \
--deployment-id <deployment-id> \
--ref-id <ref-id> \
[options]
Get Deployment APM Resource Info
--deployment-idstringrequired- Identifier for the Deployment
--ref-idstringrequired- User-specified RefId for the Resource (or '_main' if there is only one).
--[no-]show-metadata- Whether to include the full cluster metadata in the response - can be large per cluster and also include credentials.
--[no-]show-plans- Whether to include the full current and pending plan information in the response - can be large per cluster.
--[no-]show-plan-logs- Whether to include with the current and pending plan information the attempt log - can be very large per cluster.
--[no-]show-plan-history- Whether to include with the current and pending plan information the plan history- can be very large per cluster.
--[no-]show-plan-defaults- If showing plans, whether to show values that are left at their default value (less readable but more informative).
--[no-]show-settings- Whether to show cluster settings in the response.
--[no-]clear-transient- If set (defaults to false) then removes the transient section from all child resources, making it safe to reapply via an update
--input-filestring- path to a JSON file to use as command input
-V--[no-]version- Print the Elastic CLI version
--config-filestring- path to a config file (default: ~/.elasticrc.yml)
--use-contextstring- override the active context from the config file
--command-profilestring- restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json- output as JSON
--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}}")
--[no-]dry-run-
validate all inputs and exit without performing any action (preview changes without applying them)