GET /vApp/{id}/networkConnectionSection

Operation:
GET /vApp/{id}/networkConnectionSection
Description:
Retrieve the network connection section of a VM.
Since:
0.9
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
NetworkConnectionSectionType

Produce media type(s):
application/vnd.vmware.vcloud.networkConnectionSection+xml
application/vnd.vmware.vcloud.networkConnectionSection+json
Output type:
NetworkConnectionSectionType
Examples
Request
HTTP 1.1
GET /api/vApp/vm-89c84bd6-c6f2-4e4c-8a7d-c44a3489e2e4/networkConnectionSection/

Headers:
x-vcloud-authorization: uJ13vBx80VGzZ0KcClBqxHNDJr3QI0K5KaQ0YKn2YZ0=

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 1283
Content-Type: application/vnd.vmware.vcloud.networkconnectionsection+xml;version=5.5
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?><NetworkConnectionSection
    xmlns="http://www.vmware.com/vcloud/v1.5"
    xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    href="https://vcloud.example.com/api/vApp/vm-89c84bd6-c6f2-4e4c-8a7d-c44a3489e2e4/networkConnectionSection/"
    ovf:required="false"
    type="application/vnd.vmware.vcloud.networkConnectionSection+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>Specifies the available VM network connections</ovf:Info>
    <PrimaryNetworkConnectionIndex>0</PrimaryNetworkConnectionIndex>
    <NetworkConnection
        needsCustomization="true"
        network="VM Network">
        <NetworkConnectionIndex>0</NetworkConnectionIndex>
        <IsConnected>false</IsConnected>
        <MACAddress>00:50:56:8d:7f:21</MACAddress>
        <IpAddressAllocationMode>DHCP</IpAddressAllocationMode>
    </NetworkConnection>
    <Link
        href="https://vcloud.example.com/api/vApp/vm-89c84bd6-c6f2-4e4c-8a7d-c44a3489e2e4/networkConnectionSection/"
        rel="edit"
        type="application/vnd.vmware.vcloud.networkConnectionSection+xml"/>
</NetworkConnectionSection>