api:v3:environments:create-domain-pattern
Creates a domain pattern for the specified environment. [development]
For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.
Usage
acli api:v3:environments:create-domain-pattern [--task-wait] [--] <environmentId> <pattern>
acli api:v3:environments:create-domain-pattern myapp.dev
Arguments
environmentId
Required
Unique identifier for the environment. You may also use an environment alias or UUID.
pattern
Required
The domain pattern to apply to all associated sites in this environment, optionally followed by a single path segment. The [site-name] token is mandatory; [environment-name] is optional. Domain ≤ 200 chars excluding token placeholders; optional path max 255 chars matching ^/[A-Za-z0-9._-]+$. Additional semantic rules (no IPs, no forbidden suffixes, no wildcards, one pattern per environment) are enforced at the service layer.
Options
--task-wait
Optional
Wait for this task to complete
Defaults to
false--help | -h
Optional
Display help for the given command. When no command is given display help for the `list` command
Defaults to
false--quiet | -q
Optional
Do not output any message
Defaults to
false--verbose | -v|-vv|-vvv
Optional
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Defaults to
false--version | -V
Optional
Display this application version
Defaults to
false--ansi
Optional
Force (or disable --no-ansi) ANSI output
--no-ansi
Optional
Negate the "--ansi" option
--no-interaction | -n
Optional
Do not ask any interactive question
Defaults to
false