VMware, Inc.
161
Chapter 9 User API Reference
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.
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
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.vAppTxml
Object href prototype
API
‐
URL
/vAppTemplate/vAppTemplate
‐
id
Schema
Name
Min
Max
Type
Description
key
1
1
xs:string
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.
Schema
Name
Min
Max
Type
Description
name
1
1
xs:string
Common
object
name
attribute
any
attribute
name
0
n
any
Includes
type
,
href
,
XML
namespace
identifiers
status
0
1
xs:int
Creation
status
of
the
object
imageType
1
1
ImageType
One
of:
iso
Specifies
ISO
‐
9660
media
type
floppy
Specifies
3.5”
floppy
media
type
size
1
1
xs:long
Size
of
the
media
file
in
bytes
Description
0
1
xs:string
Optional
description
Files
0
1
FilesListType
Read
‐
only
container
for
File
elements
Schema
Name
Min
Max
Type
Description
status
0
1
xs:int
Creation
status
of
the
VAppTemplate.
name
1
1
xs:string
Common
object
name
attribute
Содержание VCLOUD API 1.0 - TECHNICAL NOTE
Страница 10: ...vCloud API Programming Guide 10 VMware Inc...
Страница 20: ...vCloud API Programming Guide 20 VMware Inc...
Страница 32: ...vCloud API Programming Guide 32 VMware Inc...
Страница 90: ...vCloud API Programming Guide 90 VMware Inc...
Страница 150: ...vCloud API Programming Guide 150 VMware Inc...
Страница 170: ...vCloud API Programming Guide 170 VMware Inc...
Страница 202: ...vCloud API Programming Guide 202 VMware Inc...
Страница 212: ...vCloud API Programming Guide 212 VMware Inc...