cloud hosted deployments start-deployment-resource-instances-all-maintenance-mode cli command
Destructive
Auth required
elastic cloud hosted deployments start-deployment-resource-instances-all-maintenance-mode \
--deployment-id <deployment-id> \
--resource-kind <resource-kind> \
--ref-id <ref-id> \
[options]
Start maintenance mode (all instances)
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--deployment-idstringrequired- Identifier for the Deployment.
--resource-kindstringrequired- The kind of resource (one of elasticsearch, kibana, apm, or integrations_server).
--ref-idstringrequired- User-specified RefId for the Resource (or '_main' if there is only one).
--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