cloud hosted deployments shutdown-deployment-stateless-resource cli command
Destructive
Auth required
elastic cloud hosted deployments shutdown-deployment-stateless-resource \
--deployment-id <deployment-id> \
--stateless-resource-kind <stateless-resource-kind> \
--ref-id <ref-id> \
[options]
Shutdown Deployment Stateless Resource
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--deployment-idstringrequired- Identifier for the Deployment.
--stateless-resource-kindstringrequired- The kind of stateless resource
--ref-idstringrequired- User-specified RefId for the Resource (or '_main' if there is only one).
--hide- Hide cluster on shutdown. Hidden clusters are not listed by default. Only applicable for Platform administrators.
--skip-snapshot- If true, will skip taking a snapshot of the cluster before shutting the cluster down (if even possible)
--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)
--yes- confirm destructive action without prompting
--json-
output as JSON