vCloud API Programming Guide
186 VMware, Inc.
Catalog
ACatalogelementisacontainerforCatalogItems.AnOrgorAdminOrgmaycontainzeroormoreCatalog
elements.Tocreate,delete,ormodifyacatalog,anadministratormustaccessitusingtheadminURLand
contenttypeshownhere.
Content-Type application/vnd.vmware.vcloud.admin.catalog+xml
Object href prototype vCloud‐URL/admin/catalog/catalog‐id
FormoreinformationabouttheCatalog
elementschema,see“Catalog”onpage 160.Forinformationabout
useroperationsonCatalogs,see“CatalogingvAppTemplatesandMediaImages”onpage 54.
PublishCatalogParams
ThePublishCatalogParamselementformsthebodyofapublishrequestforacatalog.
Vdcs
TheVdcselementisaread‐onlycontainerforReferenceTypeelementsthatreferencevDCsinan
organization.ToaddavDCtoanorganization,see“AllocateavDCtoanOrganization”onpage 104.
ProviderVdc
AProviderVdcelementrepresentsaprovidervDCobject.
Content-Type application/vnd.vmware.admin.providervdc+xml
Object href prototype API‐URL/admin/providervdc/id
Schema
Name Min Max Type Description
IsPublished 1 1 xs:boolean Settotruetopublishacatalog(makeitvisibletoallorganizations).Setto
falsetounpublishacatalog.Thiselementcanbechangedonlyinapublish
request.ItisRead‐onlyinaCatalogbody.
Schema
Name Min Max Type Description
name 11 xs:string Commonobjectnameattribute
anyattributename 0 n any Includestype,href,XMLnamespace
identifiers
status 0 1 xs:int creationstatusoftheProviderVdc:
-1 Creationfailed
0 Notready
1 Ready
2 Unknown
3 Unrecognized
Description 0 1 xs:string Optionaldescription
Tasks 0 1 TasksInProgressType Read‐onlycontainerforTaskelements.Each
elementinthecontainerrepresentsa
queued,running,orfailedtaskownedby
thisobject
ComputeCapacity 0 1 RootComputeCapacityType Definesthecomputecapacityavailablein
thisprovidervDC
StorageCapacity 0 1 ProviderVdcCapacityType Definesthestoragecapacityavailableinthis
providervDC
AvailableNetworks 0 1 AvailableNetworksType Containerforreferencesto
ExternalNetworkobjectsprovisioned
from
thisprovidervDC.