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 #141 background imageLoading...
Page #141 background image
VMware, Inc. 141
8
ThevCloud APIrepresentsobjectsinavCloudasXMLdocumentsinwhichobjectpropertiesareencodedas
elementsandattributeswithtypedvaluesandanexplicitobjecthierarchydefinedbyanXMLschema.This
chapterprovidesreferenceinformationabouthowthevCloud APIusesXMLtorepresentvCloudobjects.
Thischapterincludes
thefollowingtopics:
“A b o u t ObjectRepresentations”onpage 141
“CommonDatatypes”onpage 142
“CommonAttributes”onpage 143
“CommonElements”onpage 146
“A P I Versioning”onpage 147
“Extensibility”onpage 148
About Object Representations
ClientprogramsofRESTfulWebservicesmustbeabletorequestobjectrepresentationsfromtheserver,parse
theserversresponsestoextracttheinformationtheycontain,andcomposerequeststhat,inmanycases,are
basedontheinformationextractedfromaresponse.Developersofsuchclientsmustunderstandthestructure
of
eachrepresentationthatmightbepartofarequestorresponse,aswellasanyrequirementsthatthenetwork
protocol(HTTP)placesonclientserverinteraction.Inthisguide,referenceinformationoneachobject
representationincludestheXMLschemaoftheelementthatrepresentstheobject,theobjecttype(encoded
as
theMIMEcontenttypeoftherequestorresponse),andaprototypeoftheobjectreference(aURL).
Schema
EachvCloud APIobjectisdefinedinanXMLschemadocument.Someobjectsaredefinedintheirownschema
documents.Othersaredefinedinthecontextofthelargerschemainwhichtheyareused.Stillothersare
definedinacommonschemadocument,fromwhichotherschemasinherit.Thisguidepresents
reference
informationaboutXMLschemasintabularform,asshowninTable 81.
XML Representations in the
vCloud API
8
Table 8-1. Schema Reference Table Columns
Name Min Max Type Description
Nameofanelementor
attributecontained.
Elementnamesbegin
withanuppercase
character.Attribute
namesbeginwitha
lowercasecharacter.
Minimumnumberof
thisattributeor
elementrequiredby
theschema.
Maximumnumberof
thisattributeor
elementallowedbythe
schema.Avalueofn
meansthatthe
maximum
numberis
unlimited.
Typeoftheattributeor
element,eithera
primitiveXML
datatypeoracomplex
typedefinedbythe
vCloud API.
Descriptionofthe
attributeorelement

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