EasyManua.ls Logo

VMware VCLOUD API 1.0 - API

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
Loading...
vCloud API Programming Guide
122 VMware, Inc.
<vmext:VimObjectType>RESOURCE_POOL</vmext:VimObjectType>
<vmext:DataStoreRefs>
<vmext:VimObjectRef>
<vmext:MoRef>datastore-10</vmext:MoRef>
<vmext:VimObjectType>DATASTORE</vmext:VimObjectType>
</vmext:VimObjectRef>
<vmext:VimObjectRef>
<vmext:MoRef>datastore-11</vmext:MoRef>
<vmext:VimObjectType>DATASTORE</vmext:VimObjectType>
</vmext:VimObjectRef>
<vmext:VimObjectRef>
<vmext:MoRef>datastore-12</vmext:MoRef>
<vmext:VimObjectType>DATASTORE</vmext:VimObjectType>
</vmext:VimObjectRef>
</vmext:DataStoreRefs>
</vmext:ResourcePool>
</vmext:ResourcePoolList>
Modify vCenter Server Settings
Asystemadministratorcanchangethevaluesofname,Description,andIsEnabledforavCenterserverby
makingaPUTrequesttotheserverseditURL.Asystemadministratormustalsomodifythevaluesof
Username,Password,andURLwhenanyofthosearechangedontheserverhost.You
cannotchangethose
valuesforthevCenterserverbymodifyingitsVimServerelement,butyoumustupdatetheelementifyou
makethesechangestotheserver.
Example 75disablesthevCenterservershowninExample 73andalsochangesitsDescription.
Example 7-5. Modify vCenter Server Settings
Request:
PUT http://vcloud.example.com/api/v1.0/admin/extension/vimServer/100
Content-Type: application/vnd.vmware.admin.vmwvirtualcenter+xml
...
<vmext:VimServer xmlns:vmext="http://www.vmware.com/vcloud/extension/v1"
xmlns:vcloud="http://www.vmware.com/vcloud/v1" name="VC-02"
type="application/vnd.vmware.admin.vmwvirtualcenter+xml">
<vcloud:Description>Temporarily disabled for maintenance</vcloud:Description>
<vmext:Username>administrator</vmext:Username>
<vmext:Url>http://10.147.40.234:443</vmext:Url>
<vmext:IsEnabled>false</vmext:IsEnabled>
</vmext:VimServer>
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... operation="Updating VirtualCenter (100)" ...>
...
</Task>
Register a vCenter Server and vShield Manager
AsystemadministratorcanregisteravCenterserverandacompanionvShieldmanagerserverforusewitha
vCloudbymakingaPOSTrequesttothevCloud’saction/registervimserverURLandsupplyinga
RegisterVimServerParamsrequestbody,asshowninExample 76.

Table of Contents

Related product manuals