Loading

cloud hosted deployments restore-deployment-resource cli command

Auth required
elastic cloud hosted deployments restore-deployment-resource \
  --deployment-id <deployment-id> \
  --resource-kind <resource-kind> \
  --ref-id <ref-id> \
  [options]
		

Restores a shutdown resource

--deployment-id string required
Identifier for the Deployment
--resource-kind string required
The kind of resource
--ref-id string required
User-specified RefId for the Resource (or '_main' if there is only one)
--[no-]restore-snapshot
Whether or not to restore a snapshot for those resources that allow it.
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON