api:private-networks:update-vpn
Create or update a VPN for a Private Network.
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:private-networks:update-vpn [--id ID] [--tunnel1 TUNNEL1] [--tunnel2 TUNNEL2] [--task-wait] [--] <vpnId> <privateNetworkId> <name> <gateway_ip> <routes>...
acli api:private-networks:update-vpn "vpn1" "10.10.10.11" "127.0.0.1/32" "127.0.0.2/32" "192.168.3.0/24" --tunnel1="{"shared_key":"updatedSharedKey1","internal_cidr":"192.1.1.0\/24","ike_versions":"1","startup_action":"start","dpd_timeout_action":"stop"}"" --tunnel2="{"shared_key":"updatedSharedKey2","internal_cidr":"192.1.2.0\/24","ike_versions":"2","startup_action":"start","dpd_timeout_action":"stop"}""
Arguments
vpnId
Required
ID of the VPN
privateNetworkId
Required
ID of the private network
name
Required
No description provided for this parameter
gateway_ip
Required
No description provided for this parameter
routes
Required
No description provided for this parameter
Defaults to
[]
Options
--id
Required
id
--tunnel1
Required
tunnel1
--tunnel2
Required
tunnel2
--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