VMware Cloud Director API - PUT-NetworkConnectionSystemSection-vAppTemplate
PUT /vAppTemplate/{id}/networkConnectionSection
- Operation:
- PUT /vAppTemplate/{id}/networkConnectionSection
- Description:
- Update the network connection section of a VM.
- Since:
- 0.9
- Input parameters
-
- Consume media type(s):
-
application/vnd.vmware.vcloud.networkConnectionSection+xml
application/vnd.vmware.vcloud.networkConnectionSection+json
- Input type:
- NetworkConnectionSectionType
- Output parameters
-
TaskType
This operation is asynchronous and returns a task that you can monitor to track the progress of the request.
- Produce media type(s):
-
application/vnd.vmware.vcloud.task+xml
application/vnd.vmware.vcloud.task+json
- Output type:
- TaskType
- Examples
-
- Request
-
HTTP 1.1
PUT /api/vAppTemplate/vm-673bcc0c-20f5-442f-9127-2dfe8b9f9fb8/networkConnectionSection/
Headers:
x-vcloud-authorization: AKC637Wfo+oM6vNrx8wTlp0265H8v1orDCiuhpYQtfk=
Body:
- Response
-
HTTP/1.1 202 Accepted
Headers:
Content-Length: 1301
Content-Type: application/vnd.vmware.vcloud.task+xml; version=5.5
Location: https://vcloud.example.com/api/task/62c27085-4d7e-4802-931e-a05c562aea26
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?>
<Task
xmlns="http://www.vmware.com/vcloud/v1.5"
status="running"
startTime="2013-03-22T09:54:54.017+02:00"
serviceNamespace="com.vmware.vcloud"
operationName="templateUpdateVm"
operation="Updating Virtual Machine 2hdd(673bcc0c-20f5-442f-9127-2dfe8b9f9fb8)"
expiryTime="2013-06-20T09:54:54.017+03:00"
cancelRequested="false"
name="task"
id="urn:vcloud:task:62c27085-4d7e-4802-931e-a05c562aea26"
type="application/vnd.vmware.vcloud.task+xml"
href="https://vcloud.example.com/api/task/62c27085-4d7e-4802-931e-a05c562aea26"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link
rel="task:cancel"
href="https://vcloud.example.com/api/task/62c27085-4d7e-4802-931e-a05c562aea26/action/cancel"/>
<Owner
type="application/vnd.vmware.vcloud.vm+xml"
name="2hdd"
href="https://vcloud.example.com/api/vApp/vm-673bcc0c-20f5-442f-9127-2dfe8b9f9fb8"/>
<User
type="application/vnd.vmware.admin.user+xml"
name="system"
href="https://vcloud.example.com/api/admin/user/4b36181e-b32d-456e-ad94-8e0a568b1346"/>
<Organization
type="application/vnd.vmware.vcloud.org+xml"
name="Default"
href="https://vcloud.example.com/api/org/710affad-0212-4e55-b6ae-4818d6e9166e"/>
<Details/>
</Task>