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 #132 background imageLoading...
Page #132 background image
vCloud API Programming Guide
132 VMware, Inc.
</vcloud:Memory>
</vcloud:ComputeCapacity>
<vcloud:StorageCapacity>
<vcloud:Units>MB</vcloud:Units>
<vcloud:Allocation>18944</vcloud:Allocation>
<vcloud:Total>2260224</vcloud:Total>
</vcloud:StorageCapacity>
<vmext:DataStoreRefs>
<vmext:VimObjectRef>
<vmext:VimServerRef type="application/vnd.vmware.admin.vmwvirtualcenter+xml"
name="VC2"
href="http://vcloud.example.com/api/v1.0/admin/extension/vimServer/
101"/>
<vmext:MoRef>datastore-418</vmext:MoRef>
<vmext:VimObjectType>DATASTORE</vmext:VimObjectType>
</vmext:VimObjectRef>
</vmext:DataStoreRefs>
<vmext:ResourcePoolRef>
<vmext:VimServerRef type="application/vnd.vmware.admin.vmwvirtualcenter+xml" name="VC2"
href="http://vcloud.example.com/api/v1.0/admin/extension/vimServer/101"/>
<vmext:MoRef>resgroup-220</vmext:MoRef>
<vmext:VimObjectType>RESOURCE_POOL</vmext:VimObjectType>
</vmext:ResourcePoolRef>
<vmext:VimServer type="application/vnd.vmware.admin.vmwvirtualcenter+xml" name="VC2"
href="http://vcloud.example.com/api/v1.0/admin/extension/vimServer/101"/>
</vmext:VMWProviderVdc>
Response:
200 OK
Content-Type: application/vnd.vmware.admin.vmwprovidervdc+xml
...
<vmext:VMWProviderVdc xmlns:vmext="http://www.vmware.com/vcloud/extension/v1"
xmlns:vcloud="http://www.vmware.com/vcloud/v1" name="PvDC-VC2"
type="application/vnd.vmware.admin.vmwprovidervdc+xml" ... >
...
</vmext:VMWProviderVdc>
Theresponse,mostofwhichisnotshownhere,echoestherequest.
Enable or Disable a Provider vDC
AsystemadministratorcanusetheenableordisableactionlinksinaVMWProviderVdcelementtoenable
ordisableaprovidervDC,asshowninExample 720.TheenablementstateoftheVMWProviderVdcisshown
initsIsEnabledelement.
Example 7-20. Disable a Provider vDC
Request:
POST http://vcloud.example.com/api/v1.0/admin/extension/providervdc/43/action/disable
Response:
204 No Content
Remove a Provider vDC
BeforeyoucanremoveaprovidervDC,youmustdisableit.AftertheprovidervDChasbeendisabled,its
representationincludesarel="remove"link.AsystemadministratorcanmakeaDELETErequesttothatlink
toremoveaprovidervDCfromavCloud.TheresponsecontainsaTaskthattracksthe
deleteoperation.

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