5.5

Table Of Contents
<vmext:MimeType>application/vnd.example.vcd-backup.backupList+xml</vmext:MimeType>
<vmext:Rel>down</vmext:Rel>
<vmext:ResourceType>application/vnd.example.vcd-backup.vApp+xml</vmext:ResourceType>
</vmext:ServiceLink>
<vmext:ServiceLink>
<vmext:LinkHref>{baseUri}vApp/vapp-{resourceId}/action/backup</vmext:LinkHref>
<vmext:MimeType>application/vnd.example.vcd-backup.createBackupParams
+xml</vmext:MimeType>
<vmext:Rel>backup</vmext:Rel>
<vmext:ResourceType>application/vnd.example.vcd-backup.vApp+xml</vmext:ResourceType>
</vmext:ServiceLink>
</vmext:ServiceLinks>
</vmext:Service>
The server registers the service and returns a Service element that includes information derived from the
contents you POSTed, and a set of Link elements that you can use to access, remove, disable, or modify the
extension service.
Response:
201 Created
Content Type: application/vnd.vmware.admin.service+xml
...
<vmext:Service
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
name="SDK-BackupExtension"
id="urn:vcloud:externalService:45"
type="application/vnd.vmware.admin.service+xml"
href="https://vcloud.example.com/api/admin/extension/service/45"
... >
<vcloud:Link
rel="remove"
href="https://vcloud.example.com/api/admin/extension/service/45" />
<vcloud:Link
rel="edit"
type="application/vnd.vmware.admin.service+xml"
href="https://vcloud.example.com/api/admin/extension/service/45" />
<vcloud:Link
rel="rights"
type="application/vnd.vmware.admin.rights+xml"
href="https://vcloud.example.com/api/admin/extension/service/45/rights" />
<vcloud:Link
rel="down:serviceLinks"
type="application/vnd.vmware.vcloud.query.records+xml"
href="https://vcloud.example.com/api/admin/extension/service/45/links" />
<vcloud:Link
rel="bundle:upload"
type="application/vnd.vmware.admin.bundleUploadParams+xml"
href="https://vcloud.example.com/api/admin/extension/service/45/localizationbundles" />
<vcloud:Link
rel="add"
type="application/vnd.vmware.admin.serviceLink+xml"
href="https://vcloud.example.com/api/admin/extension/service/45/links" />
<vcloud:Link
rel="down:apiFilters"
type="application/vnd.vmware.vcloud.query.records+xml"
vCloud API Programming Guide
334 VMware, Inc.