VMware Cloud Director API - GET-OrgVdcGateways
GET /admin/vdc/{id}/edgeGateways
- Operation:
- GET /admin/vdc/{id}/edgeGateways
- Description:
- List all gateways for this Org vDC.
- Since:
- 5.1
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
- Produce media type(s):
-
application/vnd.vmware.vcloud.query.records+xml
application/vnd.vmware.vcloud.query.records+json
application/vnd.vmware.vcloud.query.idrecords+xml
application/vnd.vmware.vcloud.query.idrecords+json
application/vnd.vmware.vcloud.query.references+xml
application/vnd.vmware.vcloud.query.references+json
- Output type:
- ContainerType
- Examples
-
- Request
-
HTTP 1.1
GET /api/admin/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42/edgeGateways
Headers:
x-vcloud-authorization: XRNaH2F+r/YvHG81NXAC/2N+smYdsJBcnFdgNt2ATbg=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 1488
Content-Type: application/vnd.vmware.vcloud.query.records+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><QueryResultRecords xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="https://vcloud.example.com/api/admin/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42/edgeGateways?page=1&pageSize=25&format=records" name="edgeGateway" page="1" pageSize="25" total="1" type="application/vnd.vmware.vcloud.query.records+xml" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link href="https://vcloud.example.com/api/admin/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42/edgeGateways?page=1&pageSize=25&format=references" rel="alternate" type="application/vnd.vmware.vcloud.query.references+xml"/>
<Link href="https://vcloud.example.com/api/admin/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42/edgeGateways?page=1&pageSize=25&format=idrecords" rel="alternate" type="application/vnd.vmware.vcloud.query.idrecords+xml"/>
<EdgeGatewayRecord
gatewayStatus="READY"
haStatus="NOT_ACTIVE"
href="https://vcloud.example.com/api/admin/edgeGateway/a5262305-d51d-4664-b380-827137a321f1"
isBusy="false"
isSyslogServerSettingInSync="true"
name="gateway"
numberOfExtNetworks="1"
numberOfOrgNetworks="0"
task="https://vcloud.example.com/api/task/a52858df-83bd-4788-b933-e796c4decad0"
taskDetails=" "
taskOperation="networkEdgeGatewayCreate"
taskStatus="success"
vdc="https://vcloud.example.com/api/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42"/>
</QueryResultRecords>