VMware, Inc.
9
Chapter 1 About the vCloud SDK for PHP
Virtual Systems and Media Images in a vCloud
Virtual
systems
and
media
images
are
stored
in
a
vDC
and
can
be
included
in
a
catalog.
Media
images
are
stored
in
their
native
representation
(ISO
or
floppy).
Virtual
systems
are
stored
as
templates,
using
an
open
standard
format
(OVF
1.0).
These
templates
can
be
retrieved
from
catalogs
and
transformed
into
virtual
systems,
called
vApps,
through
a
process
called
instantiation,
which
binds
a
template’s
abstract
resource
requirements
to
resources
available
in
a
vDC.
A
vApp
contains
one
or
more
individual
virtual
machines
(
Vm
elements),
along
with
parameters
that
define
operational
details
such
as:
How
the
contained
virtual
machines
are
connected
to
each
other
and
to
external
networks.
The
order
in
which
individual
virtual
machines
are
powered
on
or
off.
End
‐
user
license
agreement
terms
for
each
virtual
machine.
Deployment
lease
terms
(typically
inherited
from
the
containing
organization)
that
constrain
the
vApp’s
consumption
of
vDC
resources.
Access
control
information
specifying
which
users
and
groups
can
perform
operations
such
as
deploy,
power
on,
modify,
and
suspend
on
the
vApp
and
the
virtual
machines
it
contains.
vCloud SDK for PHP Design
The
vCloud
SDK
for
PHP
includes
the
following
packages:
API
packages,
listed
in
Table 1
‐
1
.
These
packages
contain
classes
that
represent
complex
types
defined
in
vCloud
API,
vCloud
administrative
API
and
vCloud
vSphere
platform
API
extensions.
Classes
in
this
package
are
generated
from
the
vCloud
API
XML
schema
files.
Each
class
maps
to
a
complex
type
defined
in
those
files.
Objects
of
these
classes
are
referred
to
as
vCloud
data
objects.
SDK
packages,
listed
in
Table 1
‐
2
.
These
packages
contain
classes
that
implement
vCloud
API
operations.
Each
of
the
classes
maps
to
a
vCloud
resource
entity.
Classes
manage
the
resource
entity
lifecycle
(create,
retrieve,
update,
and
delete,
often
abbreviated
as
CRUD).
This
package
also
implements
various
utility
functions
associated
with
connecting
to
a
vCloud
instance,
marshalling
requests,
unmarshalling
responses,
and
so
on.
Objects
of
these
classes
are
referred
to
as
vCloud
SDK
objects.
Table 1-1.
VMware_VCloud_API Packages
Package Name
Package Contents
VMware_VCloud_API
Classes
representing
objects
defined
in
the
vCloud
user
API
and
administrative
API
VMware_VCloud_API_OVF
Classes
representing
objects
defined
in
the
OVF
specification
VMware_VCloud_API_Extension
Classes
representing
objects
defined
in
the
vCloud
API
vSphere
Platform
Extensions
VMware_VCloud_API_Version
Classes
representing
objects
that
contain
vCloud
API
version
information
Table 1-2.
VMware_VCloud_SDK Packages
Package Name
Package Contents
VMware_VCloud_SDK
Classes
that
implement
operations
defined
in
the
vCloud
user
API
and
administrative
API
VMware_VCloud_SDK_Extension
Classes
that
implement
operations
defined
in
the
vCloud
API
vSphere
Platform
Extensions
VMware_VCloud_SDK_HTTP
Classes
that
support
HTTP
client
operations.