EasyManuals Logo

VMware VCLOUD API 1.0 - API User Manual

VMware VCLOUD API 1.0 - API
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #124 background imageLoading...
Page #124 background image
vCloud API Programming Guide
124 VMware, Inc.
Example 7-7. Unregister a vCenter Server and vShield Manager
Request:
POST http://vcloud.example.com/api/v1.0/admin/extension/vimServer/100/action/unregister
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... >
...
</Task>
Force Reconnection to a vCenter Server
IfCloudDirectorlosesitconnectiontoavCenterServer,orifyouchangetheconnectionsettings,asystem
administratorcanmakeaPOSTrequesttotheserversaction/forcevimserverreconnectlinktotryforcing
areconnection,asshowninExample 78.
Example 7-8. Force Reconnection to a vCenter Server
Request:
POST http://vcloud.example.com/api/v1.0/admin/extension/vimServer/100/action/
forcevimserverreconnect
Response:
204 No Content
List ESX/ESXi Hosts in a vCloud
AsystemadministratorcanusethehostReferenceslinkreturnedinaVMWExtensionresponsetorequesta
listofallESX/ESXihostsinthevCloud.Example 79makessucharequest,usingthehostReferenceslink
returnedinExample 71.
Example 7-9. List ESX/ESXi Hosts in a vCloud
Request:
GET http://vcloud.example.com/api/v1.0/admin/extension/hostReferences
Response:
200 OK
Content-Type: application/vnd.vmware.admin.vmwhostreferences+xml
...
<vmext:VMWHostReferences xmlns:vmext="http://www.vmware.com/vcloud/extension/v1" ... >
<vcloud:Link rel="up" type="application/vnd.vmware.admin.vmwExtension+xml"
href="http://vcloud.example.com/api/v1.0/admin/extension"/>
<vmext:HostReference type="application/vnd.vmware.admin.host+xml" name="10.115.121.12"
href="http://vcloud.example.com/api/v1.0/admin/extension/host/180"/>
<vmext:HostReference ... >
<vmext:HostReference ... >
</vmext:VMWHostReferences>
Get Information About a Host
AsystemadministratorcanusethehrefattributevalueofanyHostReferenceinaVMWHostReferences
elementtogetdetailedinformationaboutaspecifichost,asshowninExample 710.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VMware VCLOUD API 1.0 - API and is the answer not in the manual?

VMware VCLOUD API 1.0 - API Specifications

General IconGeneral
BrandVMware
ModelVCLOUD API 1.0 - API
CategorySoftware
LanguageEnglish

Related product manuals