VMware Cloud Director API - GET-NetworkSection-vApp
GET /vApp/{id}/networkSection
- Operation:
- GET /vApp/{id}/networkSection
- Description:
- Retrieve the network section of a vApp or vApp template.
- Since:
- 0.9
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
ovf:NetworkSection_Type
- Produce media type(s):
-
application/vnd.vmware.vcloud.networkSection+xml
application/vnd.vmware.vcloud.networkSection+json
- Output type:
- NetworkSection_Type
- Examples
-
- Request
-
HTTP 1.1
GET /api/vApp/vapp-bba47763-0ce1-45b9-8470-ea29ba58c52f/networkSection/
Headers:
x-vcloud-authorization: uJ13vBx80VGzZ0KcClBqxHNDJr3QI0K5KaQ0YKn2YZ0=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 771
Content-Type: application/vnd.vmware.vcloud.networksection+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><ovf:NetworkSection
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
vcloud:href="https://vcloud.example.com/api/vApp/vapp-bba47763-0ce1-45b9-8470-ea29ba58c52f/networkSection/"
vcloud:type="application/vnd.vmware.vcloud.networkSection+xml"
xsi:schemaLocation="http://schemas.dmtf.org/ovf/envelope/1 http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<ovf:Info>The list of logical networks</ovf:Info>
<ovf:Network
ovf:name="VM Network">
<ovf:Description>VM Network</ovf:Description>
</ovf:Network>
</ovf:NetworkSection>