EasyManuals Logo

VMware VCLOUD API 1.0 - API User Manual

VMware VCLOUD API 1.0 - API
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #143 background imageLoading...
Page #143 background image
VMware, Inc. 143
Chapter 8 XML Representations in the vCloud API
Complex Types
XMLelementsdefinedbythevCloud APIareinstancesofcomplextypes.Formostelements,thecomplextype
nameistheelementnameconcatenatedwiththestringType(forexample,theOrgelementisaninstanceof
OrgType,thevDCelementisaninstanceofVdcType,andsoon).Inmost
ofthesecases,theschema
representationoftheelementprovidesanadequatereferencefortheunderlyingcomplextype.
Therearealsoafewgenerictypesofwhichmanydifferentkindsofelementcanbeaninstance.Becausethese
typesarenotassociatedwithaparticularkindofelement,weprovide
schemainformationforthemhere.
EntityType
ThisisthebasecomplextypeforelementssuchasOrg,vDC,andvApp.
IpAddressType
TheIpAddressTypeimposesapatternontheprimitivexs:stringtype.ThepatterndefinesanIPv4address:
<xs:pattern value =
"((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0
-9][0-9]|[1-9][0-9]|[0-9])"/>
Attributesofthistypeareinvalidunlesstheyconformtothepattern
ReferenceType
Manycontainerelementsarepopulatedwithreferencestocontainedobjects.Eachreferenceconsistsofa
hyperlink,anoptionalmediatype,andaname.
Common Attributes
ElementssuchasOrg,Catalog,andvDChaveanumberofcommonattributes.Withtheexceptionofname,
noneoftheseattributesarerequiredinrequestbodies,andareignoredifincluded.Allofthemareincluded
inresponsebodies.
xs:long Numericvalueintherange‐9223372036854775808to9223372036854775807.
xs:int Numericvalueintherange‐2147483648to2147483647.
xs:string Anycharacterdata.
Table 8-2. Primitive XML Data Types Used by the vCloud API (Continued)
Value Description
Schema
Name Min Max Type Description
name 11 xs:string Nameoftheobject
Description 0 1 xs:string Optionaldescriptionoftheobject
Tasks 0 1 TasksInProgressType ReadonlycontainerforTaskelements.Eachelementin
thecontainerrepresentsaqueued,running,orfailedtask
ownedbythisobject.Successfullycompletedtasksarenot
listed.
Schema
Name Min Max Type Description
href 1 1 xs:anyURI Hyperlinktothereferencedobject
type 0 1 xs:string Objecttype,expressedasthemediatypeoftheXML
representingoftheobject
name 01 xs:string Nameofthereferencedobject.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VMware VCLOUD API 1.0 - API and is the answer not in the manual?

VMware VCLOUD API 1.0 - API Specifications

General IconGeneral
BrandVMware
ModelVCLOUD API 1.0 - API
CategorySoftware
LanguageEnglish

Related product manuals