Loading

cloud hosted deployments restart-deployment-es-resource cli command

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

Restart Deployment Elasticsearch Resource

--deployment-id string required
Identifier for the Deployment.
--ref-id string required
User-specified RefId for the Resource (or '_main' if there is only one).
--[no-]restore-snapshot
When set to true and restoring from shutdown, then will restore the cluster from the last snapshot (if available).
--[no-]skip-snapshot
If true, will not take a snapshot of the cluster before restarting.
--[no-]cancel-pending
If true, cancels any pending plans before restarting. If false and there are pending plans, returns an error.
--group-attribute string
Indicates the property or properties used to divide the list of instances to restart in groups. Valid options are: '__all__' (restart all at once), '__zone__' by logical zone, '__name__' one instance at a time, or a comma-separated list of attributes of the instances
--shard-init-wait-time number
The time, in seconds, to wait for shards that show no progress of initializing, before rolling the next group (default: 10 minutes)
--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