VMware Cloud Director API - PUT-VsmManager
PUT /admin/extension/vsm/{id}
- Operation:
- PUT /admin/extension/vsm/{id}
- Description:
- Update vShield Manager configuration details, including administrator credentials.
- Since:
- 5.1
- Input parameters
-
changed.
- Consume media type(s):
-
application/vnd.vmware.admin.vshieldmanager+xml
application/vnd.vmware.admin.vshieldmanager+json
- Input type:
- ShieldManagerType
- Output parameters
-
Reference to the started update VSM task.
- 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/admin/extension/vsm/f7dce68f-cb59-403a-a1a4-bb575932af9f
Headers:
Content-Length: 662
Content-Type: application/vnd.vmware.admin.vshieldmanager+xml; charset=ISO-8859-1
x-vcloud-authorization: X600Twh81GezzqBm3B3GXTe8r9U8+U5kIrA3X4H2ctE=
Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:ShieldManager
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
name="vshield-name"
operationKey="vsmOperationKey">
<vcloud:Description>Description</vcloud:Description>
<vmext:Username>admin</vmext:Username>
<vmext:Password>default</vmext:Password>
<vmext:Url>http://10.26.61.37</vmext:Url>
<vmext:AssociatedVimServer
href="https://vcloud.example.com/api/admin/extension/vimServer/5b2f648b-9da7-4d7b-8212-6ed8a83f2102"
name="ConfigWizard Configured vCenter"
type="application/vnd.vmware.admin.vmwvirtualcenter+xml"/>
</vmext:ShieldManager>
- Response
-
HTTP/1.1 202 Accepted
Headers:
Content-Length: 1413
Content-Type: application/vnd.vmware.vcloud.task+xml;version=5.1
Location: https://vcloud.example.com/api/task/c5a8b70b-053f-4a68-8e28-d04c6db54b4d
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><Task
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
cancelRequested="false"
expiryTime="2013-05-13T16:53:40.443+03:00"
href="https://vcloud.example.com/api/task/c5a8b70b-053f-4a68-8e28-d04c6db54b4d"
id="urn:vcloud:task:c5a8b70b-053f-4a68-8e28-d04c6db54b4d"
name="task"
operation="Updating VirtualCenter ConfigWizard Configured vCenter(5b2f648b-9da7-4d7b-8212-6ed8a83f2102)"
operationName="systemUpdateVimserver"
serviceNamespace="com.vmware.vcloud"
startTime="2013-02-12T16:53:40.443+02:00"
status="running"
type="application/vnd.vmware.vcloud.task+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/task/c5a8b70b-053f-4a68-8e28-d04c6db54b4d/action/cancel"
rel="task:cancel"/>
<Owner
href="https://vcloud.example.com/api/admin/extension/vimServer/5b2f648b-9da7-4d7b-8212-6ed8a83f2102"
name="ConfigWizard Configured vCenter"
type="application/vnd.vmware.admin.vmwvirtualcenter+xml"/>
<User
href="https://vcloud.example.com/api/admin/user/1260efee-6915-494c-8afa-84e7e6d8a310"
name="vcloud"
type="application/vnd.vmware.admin.user+xml"/>
<Organization
href="https://vcloud.example.com/api/org/a93c9db9-7471-3192-8d09-a8f7eeda85f9"
name="System"
type="application/vnd.vmware.vcloud.org+xml"/>
<Details/>
</Task>