1.0

Table Of Contents
vCloud API Programming Guide
144 VMware, Inc.
name
Everyobjectrequiresanameattributewhosestringvalueprovidesthedisplaynamefortheobject.Thevalue
ofnamemustbeuniquewithinagivenscope,asshowninTable 83.
href
EveryobjecthasuniquereferenceencodedinthehrefattributeofitsXMLrepresentation.See“Object
ReferencePrototype”onpage 142.
type
EveryobjectallowsatypeattributeinitsXMLrepresentation.Thevalueofthisattributeistheobjecttype
expressedasastring,whichclientsshouldinterpretasthemediatype(HTTPContentType)ofthe
representation.Thisstringiscaseinsensitiveinrequests,andcanbereturnedineithermixed
caseorlowercase
charactersinresponses.Formoreinformation,see“ContentTypeonpage 142.
status
ObjectssuchasvAppTemplate,vApp,andVm,thatextendtheResourceEntitytypehaveastatusattribute
whosevalueindicatesthestateoftheobject,asshowninTable 84,whereYESindicatesthatastatusvalueis
allowedfortheobjectlistedinthecolumnheader.Statusforan
object,suchasavAppTemplateorvApp,whose
Children(Vmobjects)eachhaveastatusoftheirown,iscomputedfromthestatusoftheChildren.
Table 8-3. Requirements for Unique Object Names
Object Type Name Scope
ProviderVdc vCloud
Org,AdminOrg vCloud
Vdc Containingorganization
Catalog Containingorganization
CatalogItem Containingcatalog
vAppTemplate Notconstrained
vApp Containingorganization
Vm ContainingvApp
Media Notconstrained
Network Container(Org,vApp,orvCloud)
NOTEThedeploymentstatusofanobjectisindicatedbythevalueofitsdeployedattribute.
Table 8-4. vAppTemplate, vApp, and Vm status Attribute Values
Value Description vAppTemplate vApp Vm
1Theobjectcouldnotbecreated. YES YES YES
0Theobjectisunresolved. YES YES YES
1Theobjectisresolved. YES YES YES
2Theobjectisdeployed. No No No
3Theobjectissuspended. No YES
YES
4Theobjectispoweredon. No YES
YES
5Theobjectiswaitingforuserinput. No YES
YES
6Theobjectisinanunknownstate. YES YES YES
7Theobjectisinanunrecognizedstate. YES YES YES