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 #127 background imageLoading...
Page #127 background image
VMware, Inc. 127
Chapter 7 VMware vSphere Platform Operations
Example 7-14. Repair a Host
Request:
POST http://vcloud.example.com/api/v1.0/admin/extension/host/1/action/repair
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... >
...
</Task>
Upgrade a Host Agent
NewreleasesofvCenterCloudDirectormayincludeanewversionofthehostagent.Asystemadministrator
canupgradethehostagentonahosttotheversionincludedinthecurrentinstallationofCloudDirectorby
makingaPOSTrequesttothehost’saction/upgradeURL.Example 715upgradesthe
hostagentforthehost
referencedbyhttp://vcloud.example.com/api/v1.0/admin/extension/host/1.
Example 7-15. Upgrade a Host Agent
Request:
POST http://vcloud.example.com/api/v1.0/admin/extension/host/1/action/upgrade
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... operation="Upgrading Host (1)" ...>
...
</Task>
Create a Provider vDC
AnVMWProviderVdcisanextendedrepresentationofaProviderVdcobject.Itincludeselementsthatallow
asystemadministratortospecifyresourcessuchasdatastoresandresourcepoolsprovidedbyavCenter
instanceregisteredtothevCloud.OnlyasystemadministratorcanviewormodifyaVMWProviderVdc.An
organizationadministratoror
otherprivilegedusercanexamineallotherpropertiesofaprovidervDC(see
“ExaminetheContentsofaProvidervDC”onpage 103).
AfterasystemadministratorcreatesaVMWProviderVdc,itbecomesvisibleasamemberofthe
ProviderVdcReferenceselementofaVCloud.See“GetanAdministrativeViewofaCloud”
onpage 93.
Asystemadministratorcanusetherel="add"linkforprovidervdcsinaVMWExtensionbodytoadda
providervDCtoavCloud.Example 718doesthisbymakingaPOSTrequesttotheprovidervdcslink
returnedinExample 71.
ToretrievethevaluesyouneedfortheDataStoreRefs
andResourcePoolRefelementsintherequestbody,
startbylistingthevCenterServersregisteredtothisvCloud(see“ListvCenterServersRegisteredtoavCloud”
onpage 120),thenGEToneofthevCenterServerURLslistedintheresponse.TheresultisaVimServer
element,asshowninExample 716.

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