9.3. Methods

9.3.1. Creating a New Data Center

Creation of a new data center requires the name, storage_type and version elements.

Example 9.2. Creating a data center

POST /api/datacenters HTTP/1.1
Accept: application/xml
Content-type: application/xml

<data_center>
    <name>NewDatacenter</name>
    <storage_type>nfs</storage_type>
    <version minor="1" major="3"/>
</data_center>