Apache CloudStack v4.2.0 Domain Admin API Reference
listVpnConnections
Lists site to site vpn connection gateways
Request parameters
| Parameter Name | Description | Required |
| account | list resources by account. Must be used with the domainId parameter. | false |
| domainid | list only resources belonging to the domain specified | false |
| id | id of the vpn connection | false |
| isrecursive | defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves. | false |
| keyword | List by keyword | false |
| listall | If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false | false |
| page | false | |
| pagesize | false | |
| projectid | list objects by project | false |
| vpcid | id of vpc | false |
Response Tags
| Response Name | Description |
| id | the vpn gateway ID |
| account | the owner |
| cidrlist | guest cidr list of the customer gateway |
| created | the date and time the host was created |
| domain | the domain name of the owner |
| domainid | the domain id of the owner |
| dpd | if DPD is enabled for customer gateway |
| esplifetime | Lifetime of ESP SA of customer gateway |
| esppolicy | ESP policy of the customer gateway |
| gateway | public ip address id of the customer gateway |
| ikelifetime | Lifetime of IKE SA of customer gateway |
| ikepolicy | IKE policy of the customer gateway |
| ipsecpsk | IPsec Preshared-Key of the customer gateway |
| project | the project name |
| projectid | the project id |
| publicip | the public IP address |
| removed | the date and time the host was removed |
| s2scustomergatewayid | the customer gateway ID |
| s2svpngatewayid | the vpn gateway ID |
| state | State of vpn connection |