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-id string required
Identifier for the Deployment.
--ref-id string required
User-specified RefId for the Resource (or '_main' if there is only one).
--enabled required
--input-file string
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