vCloud SDK for PHP Developer’s Guide
18
VMware, Inc.
Table 4
‐
1
lists
the
example
programs
that
do
not
require
system
administrator
privileges
to
run,
and
provides
brief
descriptions
of
what
they
do.
Table 4
‐
2
lists
the
example
programs
that
require
system
administrator
privileges
to
run.
Table 4-1.
Example Programs That Do Not Require System Administrator Privileges
Example Name
Description
addCatalogItem.php
Adds
an
item
to
a
catalog
config.php
Provides
parameter
values
for
all
examples
createCatalog.php
Creates
a
catalog
deployPowerOnVApp.php
Deploys
and
powers
on
a
vApp
helloVCloud.php
A
structured
workflow
example
that
uses
command
‐
line
parameters
instantiateVAppTemplateDefault.php
Instantiates
a
vApp
template
using
organization
defaults
login.php
Authenticates
a
user
sampleHelper.php
Used
by
all
example
code
updateVmMemory.php
Edits
the
memory
required
by
a
virtual
machine
and
reduces
the
existing
value
by
half
uploadVAppTemplate.php
Uploads
an
OVF
package
to
create
a
vApp
template.
Table 4-2.
Example Programs That Require System Administrator Privileges
Example Name
Description
addOrgNetwork.php
Adds
a
network
to
an
organization
createAdminOrg.php
Creates
an
organization
createAdminVdc.php
Creates
a
vDC
extCreateExternalNetwork.php
Creates
an
external
network
from
vSphere
resources
extCreateNetworkPool_PG.php
Creates
a
network
pool
from
vSphere
resources
extCreateProviderVdc.php
Creates
a
provider
vDC
from
vSphere
resources
extDisableVimServer.php
Disables
a
vCenter
server
registered
for
use
with
vCloud
Director
extImportVmAsVApp.php
Imports
a
virtual
machine
from
vCenter
to
create
a
vApp
in
the
specified
vDC
extPrepareHost.php
Prepares
an
ESX/ESXi
host
for
use
with
vCloud
Director
extRegisterVimServer.php
Registers
a
vCenter
server
for
use
with
vCloud
Director