4.5.4.5. Get and Return the vCloud Networking and Security Edge Gateways
The following example shows how to get information about the vCloud Networking and Security Edge Gateway (Edge Gateway).
Request
$ curl -k -v -b cookie.txt -H "Accept:application/*+xml;version=5.1" https://<VCD-IP>/api/query?type=edgeGateway
Response
The following is a condensed format to show one Edge Gateway for this example, in this case Edge-Gateway-01.
<EdgeGatewayRecord vdc="https://<VCD-IP>/api/vdc/1d7f9e91-ef16-48ad-bae8-299bfe56a54c" numberOfOrgNetworks="1" numberOfExtNetworks="1" name="Edge-Gateway-01" isBusy="false" haStatus="UP" gatewayStatus="READY" href="https://<VCD-IP>/api/admin/edgeGateway/0cf71e84-fdf6-4fa0-ae85-bdd688a64963" isSyslogServerSettingInSync="true" taskStatus="success" taskOperation="networkEdgeGatewayCreate" task="https://<VCD-IP>/api/task/62928cf9-937b-4f06-ba55-01f032a32ace" taskDetails=" "/>