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 #37 background imageLoading...
Page #37 background image
VMware, Inc. 37
Chapter 3 Browsing
List the Contents of a vDC
TheresponseinExample 31alsocontainsseveralVdcelements,eachofwhichrepresentsavDCobject.
Example 34showsarequesttobrowseoneofthosevDCsandshowsasubsetoftheresponse.
Example 3-4. List the Contents of a vDC
Request:
GET http://vcloud.example.com/api/v1.0/vdc/5
Response:
200 OK
Content-Type: application/vnd.vmware.vcloud.vdc+xml
...
<Vdc name="ExampleVdc01" type="application/vnd.vmware.vcloud.vdc+xml"
href="http://vcloud.example.com/api/v1.0/vdc/5" ...>
<Link rel="up" type="application/vnd.vmware.vcloud.org+xml"
href="http://vcloud.example.com/api/v1.0/org/5"/>
<Link rel="add" type="application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml"
href="http://vcloud.example.com/api/v1.0/vdc/5/action/uploadVAppTemplate"/>
<Link rel="add" type="application/vnd.vmware.vcloud.media+xml"
href="http://vcloud.example.com/api/v1.0/vdc/5/media"/>
<Link rel="add" type="application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml"
href="http://vcloud.example.com/api/v1.0/vdc/5/action/instantiateVAppTemplate"
/>
<Link rel="add" type="application/vnd.vmware.vcloud.cloneVAppParams+xml"
href="http://vcloud.example.com/api/v1.0/vdc/5/action/cloneVApp"/>
<Link rel="add" type="application/vnd.vmware.vcloud.captureVAppParams+xml"
href="http://vcloud.example.com/api/v1.0/vdc/5/action/captureVApp"/>
<Link rel="add" type="application/vnd.vmware.vcloud.composeVAppParams+xml"
href="http://vcloud.example.com/api/v1.0/vdc/5/action/composeVApp"/>
<AllocationModel>AllocationPool</AllocationModel>
<Description>Example Corp. Primary vDC</Description>
<StorageCapacity>
<Units>MB</Units>
<Allocated>1000</Allocated>
<Limit>1000</Limit>
<Used>512</Used>
<Overhead>0</Overhead>
</StorageCapacity>
<ComputeCapacity>
<Cpu>
<Units>MHz</Units>
<Allocated>100</Allocated>
<Limit>100</Limit>
<Used>32</Used>
<Overhead>0</Overhead>
</Cpu>
<Memory>
<Units>MB</Units>
<Allocated>100</Allocated>
<Limit>100</Limit>
<Used>64</Used>
<Overhead>0</Overhead>
</Memory>
</ComputeCapacity>
<ResourceEntities>
<ResourceEntity href="http://vcloud.example.com/api/v1.0/vAppTemplate/vappTemplate-111"
type="application/vnd.vmware.vcloud.vAppTemplate+xml" name="Ubuntu
Template with vsftpd"/>
<ResourceEntity href="http://vcloud.example.com/api/v1.0/media/112"
type="application/vnd.vmware.vcloud.media+xml" name="Ubuntu Boot
Floppy"/>
<ResourceEntity href="http://vcloud.example.com/api/v1.0/media/113"
type="application/vnd.vmware.vcloud.media+xml" name="Ubuntu ISO Image"/>

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