Media; Vapptemplate - VMware VCLOUD API 1.0 - API Programming Manual

Table of Contents

Advertisement

Property
Each CatalogItem can have up to ten Property elements, each of which expresses a key=value relationship. 
The key is an attribute value, and the value is the content of the Property element itself. This element can be 
used to hold arbitrary metadata attached to a CatalogItem. The vCloud API itself makes no use of this 
information.
Schema
Name
key
Example
9‐1 illustrates the use of the Property element in a CatalogItem.
Example 9-1. CatalogItem With Property Elements
<CatalogItem
...
<Property key="Originator">Example Corp.</Property>
<Property key="Project">Redwood</Property>
</CatalogItem>

Media

The Media element represents virtual media, such as an ISO or floppy image.
Content-Type application/vnd.vmware.vcloud.media+xml
Object href prototype API‐URL/media/id
Schema
Name
name
any attribute name
status
imageType
size
Description
Files

VAppTemplate

A VAppTemplate is an abstract description of a vApp. It is created when you upload an OVF package to a vDC.
Content-Type application/vnd.vmware.vcloud.vAppTemplate+xml
Object href prototype API‐URL/vAppTemplate/vAppTemplate‐id
Schema
Name
status
name
VMware, Inc.
Min
Max
Type
1
1
xs:string
Min
Max
Type
1
1
xs:string
0
n
any
0
1
xs:int
1
1
ImageType
1
1
xs:long
0
1
xs:string
0
1
FilesListType
Min
Max
Type
0
1
xs:int
1
1
xs:string
Description
Key associated with the string value contained in the 
element. The length of the key cannot exceed 80 
characters. The length of the value cannot exceed 256 
characters.
Description
Common object name attribute
Includes type, href, XML namespace identifiers
Creation status of the object
One of:
iso Specifies ISO‐9660 media type
floppy Specifies 3.5" floppy media type
Size of the media file in bytes
Optional description
Read‐only container for File elements
Description
Creation status of the VAppTemplate.
Common object name attribute
Chapter 9 User API Reference
161

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VCLOUD API 1.0 - API and is the answer not in the manual?

Questions and answers

Table of Contents