User`s guide
Table 3-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.
This chapter includes the following topics:
n
“Summary of SDK Objects, Containers, and Methods,” on page 22
n
“Create an SDK Object,” on page 24
n
“Create a Data Object,” on page 25
n
“Create a Root Object,” on page 25
n
“Use a Different HTTP Library,” on page 25
Summary of SDK Objects, Containers, and Methods
Every SDK object is associated with a container type and an object reference creation method.
To create an SDK object, you use an SDK object creation method to retrieve an object reference from an object
container. This table summarizes the types of SDK objects you can create and, for each object, lists the container
object and the method for retrieving a reference from the container. The table omits the VMware_VCloud_SDK_
part of the package names in the SDK Object and Container columns.
NOTE Rows where SDK Object is listed as None indicate operations that return a read-only object, such as a
RightReference, that you might need when you create other objects.
Table 3-3. Summary of SDK Objects, Containers, and Methods
SDK Object Container Method
None Admin getRightRefs()
ProviderVdc Admin getProviderVdcRefs()
None Extension_VMWProviderVdc getNetworkPoolRefs()
None Extension_VimServer getResourcePoolRefs()
Admin None See “Create a Root Object,” on
page 25
AdminCatalog AdminOrg getAdminCatalogRefs()
AdminNetwork AdminOrg getAdminNetworkRefs()
AdminOrg Admin getAdminOrgRefs() ,
getSystemOrgRef()
AdminVdc AdminOrg getAdminVdcsRefs()
Catalog Org getCatalogRefs()
Task Org getTasks()
CatalogItem Catalog getCatalogItemRefs()
CatalogItem AdminCatalog getCatalogItemRefs()
vCloud SDK for PHP Developer's Guide
22 VMware, Inc.