cloud hosted deployments update-deployment cli command

Destructive Auth required
elastic cloud hosted deployments update-deployment \
  --deployment-id <deployment-id> \
  --prune-orphans \
  [options]
		

Update Deployment

Behaviour flags:

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

--deployment-id string required
Identifier for the Deployment
--prune-orphans required
--hide-pruned-orphans
Whether or not to hide orphaned resources that were shut down (relevant if prune on the request is true)
--skip-snapshot
Whether or not to skip snapshots before shutting down orphaned resources (relevant if prune on the request is true)
--validate-only
If true, will just validate the Deployment definition but will not perform the update
--version string
If specified then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
--name string
--resources string
--settings string
--metadata string
--alias string
--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)
--yes
confirm destructive action without prompting
--json

output as JSON