Xml Namespace Identifiers - VMware VCLOUD API 1.0 - API Programming Manual

Table of Contents

Advertisement

Table 8-4. vAppTemplate, vApp, and Vm status Attribute Values (Continued)
Value
Description
8
The object is powered off.
9
The object is in an inconsistent state.
10
Children do not all have the same status. 
11
Upload initiated, OVF descriptor pending
12
Upload initiated, copying contents
13
Upload initiated, disk contents pending
14
Upload has been quarantined
15
Upload quarantine period has expired
† Indicates that all Children have this status

XML Namespace Identifiers

Elements used as request or response bodies contain a set of attributes that enable XML validation. The body 
of a PUT or POST request must contain all XML namespace identifiers required to validate the XML it 
contains. A response body typically includes all the XML namespace identifiers that the server used to validate 
it, in addition to other attributes that specify the schema locations searched during validation. Table
summarizes these attributes and shows the namespace identifiers and prefixes used in the examples in this 
guide.
Table 8-5. XML Namespace Identifiers
Name
xmlns
xmlns:vmext
xmlns:ovf
xmlns:rasd
xmlns:vssd
xsi:schemaLocation
xmlns:xsi
XML namespace identifiers are omitted from most of the example responses (see "About the Examples" on 
page
19). Example
Example 8-1. Response Body Showing XML Namespace Identifiers
<VApp xmlns="http://www.vmware.com/vcloud/v1" status="8" name="Linux FTP server"
...
</vApp>
VMware, Inc.
Value
http://www.vmware.com/vcloud/v1.0
http://www.vmware.com/vcloud/extension/v1
http://schemas.dmtf.org/ovf/envelope/1 
http://schemas.dmtf.org/wbem/wscim/1/cim‐schema/2/
CIM_ResourceAllocationSettingData
http://schemas.dmtf.org/wbem/wscim/1/cim‐schema/2/
CIM_VirtualSystemSettingData
An installation‐dependent schema location search path. 
For more information, see 
http://www.w3.org/TR/xmlschema‐0/#schemaLocation
http://www.w3.org/2001/XMLSchema‐instance
8‐1 shows how they appear in a typical response body.
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">
Chapter 8 XML Representations in the vCloud API
vAppTemplate
vApp
YES
YES 
No
YES
YES
YES
YES
No
YES
No
YES
No
YES
No
YES
No
Requirement
Required in all request bodies.
Required in request bodies that 
include elements from the vSphere 
Platform Extensions
Required in request bodies that 
include elements prefixed with ovf:
Required in request bodies that 
include elements prefixed with rasd:
Not required in request bodies.
Not required in request bodies.
Not required in request bodies.
Vm
YES
YES
No
No
No
No
No
No
8‐5 
145

Advertisement

Table of Contents
loading

Table of Contents