cloud hosted deployments set-appsearch-read-only-mode cli command
Destructive
Auth required
elastic cloud hosted deployments set-appsearch-read-only-mode \
--deployment-id <deployment-id> \
--ref-id <ref-id> \
--enabled \
[options]
Set AppSearch read-only status
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--deployment-idstringrequired- Identifier for the Deployment.
--ref-idstringrequired- User-specified RefId for the Resource (or '_main' if there is only one).
--enabledrequired--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