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 #145 background imageLoading...
Page #145 background image
VMware, Inc. 145
Chapter 8 XML Representations in the vCloud API
XML Namespace Identifiers
ElementsusedasrequestorresponsebodiescontainasetofattributesthatenableXMLvalidation.Thebody
ofaPUTorPOSTrequestmustcontainallXMLnamespaceidentifiersrequiredtovalidatetheXMLit
contains.AresponsebodytypicallyincludesalltheXMLnamespaceidentifiersthattheserverused
tovalidate
it,inadditiontootherattributesthatspecifytheschemalocationssearchedduringvalidation.Table 85
summarizestheseattributesandshowsthenamespaceidentifiersandprefixesusedintheexamplesinthis
guide.
XMLnamespaceidentifiersareomittedfrommostoftheexampleresponses(see“A b o u t theExamples”on
page 19).Example 81showshowtheyappearinatypicalresponsebody.
Example 8-1. Response Body Showing XML Namespace Identifiers
<VApp xmlns="http://www.vmware.com/vcloud/v1" status="8" name="Linux FTP server"
type="application/vnd.vmware.vcloud.vApp+xml"
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7"
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1
http://vcloud.example.com/api/v1.0/schema/master.xsd">
...
</vApp>
8Theobjectispoweredoff. YES YES
YES
9Theobjectisinaninconsistentstate. No YES YES
10 Childrendonotallhavethesamestatus. YES Y ES No
11 Uploadinitiated,OVFdescriptorpending YES No No
12 Uploadinitiated,copyingcontents YES No No
13 Uploadinitiated,diskcontentspending YES No No
14 Uploadhasbeenquarantined YES No No
15 Uploadquarantineperiodhasexpired YES No No
IndicatesthatallChildrenhavethisstatus
Table 8-4. vAppTemplate, vApp, and Vm status Attribute Values (Continued)
Value Description vAppTemplate vApp Vm
Table 8-5. XML Namespace Identifiers
Name Value Requirement
xmlns http://www.vmware.com/vcloud/v1.0 Requiredinallrequestbodies.
xmlns:vmext http://www.vmware.com/vcloud/extension/v1 Requiredinrequestbodiesthat
includeelementsfromthevSphere
PlatformExtensions
xmlns:ovf http://schemas.dmtf.org/ovf/envelope/1 Requiredinrequestbodiesthat
includeelementsprefixedwithovf:
xmlns:rasd http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/
CIM_ResourceAllocationSettingData
Requiredinrequestbodiesthat
includeelementsprefixedwithrasd:
xmlns:vssd http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/
CIM_VirtualSystemSettingData
Notrequiredinrequestbodies.
xsi:schemaLocation Aninstallationdependent
schemalocationsearchpath.
Formoreinformation,see
http://www.w3.org/TR/xmlschema0/#schemaLocation
Notrequiredinrequestbodies.
xmlns:xsi http://www.w3.org/2001/XMLSchemainstance Notrequiredinrequestbodies.

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