cloud hosted deployments restart-deployment-stateless-resource cli command
Auth required
elastic cloud hosted deployments restart-deployment-stateless-resource \
--deployment-id <deployment-id> \
--stateless-resource-kind <stateless-resource-kind> \
--ref-id <ref-id> \
[options]
Restart Deployment Stateless Resource
--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).
--[no-]cancel-pending- If true, cancels any pending plans before restarting. If false and there are pending plans, returns an error.
--input-filestring- 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