vCloud API Programming Guide
160 VMware, Inc.
Protocol
TheProtocolelementofaVmRuleelementspecifiesthenetworkprotocoltowhichthisruleapplies.Table 9‐6
showspermittedvaluesforelementcontentandtheresultstheyproduce.
Catalog
ACatalogelementisacontainerforCatalogItems.Anorganizationcancontainzeroormorecatalogs. Users
withappropriateprivilegescanaddorremoveCatalogItemelementsfromacatalog.
Content-Type application/vnd.vmware.vcloud.catalog+xml
Object href prototype API‐URL/catalog/id
CatalogItems
TheCatalogItemselementisaread‐onlycontainerforindividualCatalogItemelements.
CatalogItem
TheCatalogItemelementcontainsareferencetoamediaimageorvApptemplateandoptionalrelated
metadata.
Content-Type application/vnd.vmware.vcloud.catalogItem+xml
Object href prototype API‐URL/catalogItem/id
Table 9-6. VmRule Protocol Element Values
Value Result
TCP TheruleappliestotheTCPprotocol
UDP TheruleappliestotheUDPprotocol
TCP_UDP TheruleappliestotheTCPandUDPprotocols
Schema
Name Min Max Type Description
name 11 xs:string Commonobjectnameattribute
anyattributename 0 n any Includestype,href,XMLnamespaceidentifiers
Link 0 n LinkType Linkstoactionsandcontainedobjects
Description 0 1 xs:string Optionaldescription
Tasks 0 1 TasksInProgressType Read‐onlycontainerforTaskelements.Each
elementinthecontainerrepresentsaqueued,
running,orfailedtaskownedbythisobject.
CatalogItems 01 CatalogItemsType Read‐onlycontainerforCatalogItem
elements.
IsPublished 0 1 xs:boolean Read‐onlyelement,trueifthecatalogispublished
Schema
Name Min Max Type Description
Entity 1 1 ReferenceType Referencetothecataloguedobject
Property 0 n PropertyType Expressesakey=valuerelationship.(Inthisrelease,
themaximumnumberoftheseelementsina
CatalogItemislimitedtoten).