Apache CloudStack 4.20.0.0 Root Admin API Reference

updateVpnCustomerGateway

Update site to site vpn customer gateway

Request parameters

Parameter NameDescriptionRequired
idid of customer gatewaytrue
cidrlistguest cidr of the customer gateway. Multiple entries must be separated by a single comma character (,).true
esppolicyESP policy of the customer gatewaytrue
gatewaypublic ip address id of the customer gatewaytrue
ikepolicyIKE policy of the customer gatewaytrue
ipsecpskIPsec Preshared-Key of the customer gateway. Cannot contain newline or double quotes.true
accountthe account associated with the gateway. Must be used with the domainId parameter.false
domainidthe domain ID associated with the gateway. If used with the account parameter returns the gateway associated with the account for the specified domain.false
dpdIf DPD is enabled for VPN connectionfalse
esplifetimeLifetime of phase 2 VPN connection to the customer gateway, in secondsfalse
forceencapForce encapsulation for Nat Traversalfalse
ikelifetimeLifetime of phase 1 VPN connection to the customer gateway, in secondsfalse
ikeversionWhich IKE Version to use, one of ike (autoselect), ikev1, or ikev2.Connections marked with 'ike' will use 'ikev2' when initiating, but accept any protocol version when responding. Defaults to ikefalse
namename of this customer gatewayfalse
splitconnectionsFor IKEv2, whether to split multiple right subnet cidrs into multiple connection statements.false

Response Tags

Response NameDescription
idthe vpn gateway ID
accountthe owner
cidrlistguest cidr list of the customer gateway. Multiple entries are separated by a single comma character (,).
domainthe domain name of the owner
domainidthe domain id of the owner
domainpaththe domain path of the owner
dpdif DPD is enabled for customer gateway
esplifetimeLifetime of ESP SA of customer gateway
esppolicyIPsec policy of customer gateway
forceencapif Force NAT Encapsulation is enabled for customer gateway
gatewaypublic ip address id of the customer gateway
ikelifetimeLifetime of IKE SA of customer gateway
ikepolicyIKE policy of customer gateway
ikeversionWhich IKE Version to use, one of ike (autoselect), ikev1, or ikev2. Defaults to ike
ipaddressguest ip of the customer gateway
ipsecpskIPsec preshared-key of customer gateway
namename of the customer gateway
projectthe project name
projectidthe project id
removedthe date and time the host was removed
splitconnectionsFor IKEv2, whether to split multiple right subnet cidrs into multiple connection statements.