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...
VMware, Inc. 161
Chapter 9 User API Reference
Property
EachCatalogItemcanhaveuptotenPropertyelements,eachofwhichexpressesakey=valuerelationship.
Thekeyisanattributevalue,andthevalueisthecontentofthePropertyelementitself.Thiselementcanbe
usedtoholdarbitrarymetadataattachedtoaCatalogItem.ThevCloudAPI
itselfmakesnouseofthis
information.
Example 91illustratestheuseofthePropertyelementinaCatalogItem.
Example 9-1. CatalogItem With Property Elements
<CatalogItem
...
<Property key="Originator">Example Corp.</Property>
<Property key="Project">Redwood</Property>
</CatalogItem>
Media
TheMediaelementrepresentsvirtualmedia,suchasanISOorfloppyimage.
Content-Type application/vnd.vmware.vcloud.media+xml
Object href prototype APIURL/media/id
VAppTemplate
AVAppTemplateisanabstractdescriptionofavApp.ItiscreatedwhenyouuploadanOVFpackagetoavDC.
Content-Type application/vnd.vmware.vcloud.vAppTemplate+xml
Object href prototype APIURL/vAppTemplate/vAppTemplateid
Schema
Name Min Max Type Description
key 1 1 xs:string Keyassociatedwiththestringvaluecontainedinthe
element.Thelengthofthekeycannotexceed80
characters.Thelengthofthevaluecannotexceed256
characters.
Schema
Name Min Max Type Description
name 1 1 xs:string Commonobjectnameattribute
anyattributename 0 n any Includestype,href,XMLnamespaceidentifiers
status 01 xs:int Creationstatusoftheobject
imageType 1 1 ImageType Oneof:
iso SpecifiesISO9660mediatype
floppy Specifies3.5”floppymediatype
size 1 1 xs:long Sizeofthemediafileinbytes
Description 01 xs:string Optionaldescription
Files 0 1 FilesListType ReadonlycontainerforFileelements
Schema
Name Min Max Type Description
status 01 xs:int CreationstatusoftheVAppTemplate.
name 1 1 xs:string Commonobjectnameattribute

Table of Contents

Related product manuals