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 #107 background imageLoading...
Page #107 background image
VMware, Inc. 107
Chapter 6 Administrative Operations
<ComputeCapacity>
<Cpu>
<Units>MHz</Units>
<Allocated>4096</Allocated>
<Limit>4096</Limit>
</Cpu>
...
</ComputeCapacity>
...
</AdminVdc>
Enable or Disable a vDC
AnadministratorcanusetheenableordisableactionlinksinanAdminVdcbodytoenableordisableavDC.
TherequestandresponsearesimilartothoseshowninExample 67onpage 98.Theenablementstateofthe
vDCisshowninitsIsEnabledelement.
Remove a vDC
BeforeyoucanremoveavDC,youmustdisableit.AfterthevDChasbeendisabled,itsrepresentationincludes
arel="remove"link.AnadministratorcanmakeaDELETErequesttothatlinktoremoveavDCfroman
organization.
Example 6-18. Remove a vDC
Request:
DELETE http://vcloud.example.com/api/v1.0/admin/vdc/6
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... operation="Deleted Virtual Datacenter (6)" ...>
...
</Task>
Catalog Administration
Anewlycreatedorganizationhasnocatalogsinit.Anorganizationadministratormustcreatethemand
specifytheirscopebeforeitemscanbecatalogued.Youdonothavetobeanadministratortoaddorremove
CatalogItemelements.See“CatalogingvAppTemplatesandMediaImages”onpage 54.
Create a Catalog
EveryorganizationhasanaddURLforcatalogs.AnadministratorcancreateacatalogbyPOSTingaCatalog
bodytothisURL.Example 619doesthis,usingtheURLinthisLinkshowninExample 63.
<Link rel="add" type="application/vnd.vmware.admin.catalog+xml"
href="http://vcloud.example.com/api/v1.0/admin/org/26/catalogs"/>
Theresponseechoestherequest,andincludestheseadditionscreatedbytheserver.
AURL(thevalueofthehrefattributeoftheresponsebody)thatreferencesthenewcatalog.
Linksthataclientcanusetorequestoperationslikeaddanitemtothecatalog,editcatalogproperties,or
removethecatalog.
Alinktothealternate(user)viewofthiscatalog
AnemptyCatalogItemselement

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