cloud hosted deployments create-deployment cli command
Auth required
elastic cloud hosted deployments create-deployment [options]
Create Deployment
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--request-idstring- An optional idempotency token - if two create requests share the same request_id token (min size 32 characters, max 128) then only one deployment will be created, the second request will return the info of that deployment (in the same format described below, but with blanks for auth-related fields)
--validate-only- If true, will just validate the Deployment definition but will not perform the creation
--template-idstring- An optional template id - if present, the referenced template will be used to fill in the resources field of the deployment creation request. If any resources are present in the request together with the template, the ones coming in the request will prevail and no merging with the template will be performed.
--namestring--resourcesstring--settingsstring--metadatastring--aliasstring--regionstring--versionstring--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)
--json-
output as JSON