2.0

The final call in the sequence requests the DB Group creation, using a 'payload' of data that you submit to a
web service. This is often included as application code in an application such as Python or JavaScript.
POST https://example.aurora.com\
/datadirector/api/dbgroups
{
"cpuAlloc": {
"reservation": 500,
"shareLevel": "NORMAL",
"share": 100,
"limit": -1,
"reservationExpandable": true
},
"networkRefId": "null:Network:network-1464",
"resourceBundleId": 81,
"name": "AuroraDbgroup",
"organizationId": 82,
"dataStorageAlloc": {
"reservation": 50000,
"shareLevel": "NORMAL",
"share": 100,
"limit": -1,
"reservationExpandable": false
},
"backupStorageAlloc": {
"reservation": 50000,
"shareLevel": "NORMAL",
"share": 100,
"limit": -1,
"reservationExpandable":false
},
"memAlloc": {
"reservation": 500,
"shareLevel": "NORMAL",
"share": 100,
"limit": -1,
"reservationExpandable": true
}
}
The following is an example of the corresponding response.
202 Accepted
location : https://example.aurora.com\
/datadirector/api/task/59
Creating a Database
Use this call to create a new database.
The call in this example uses an iterative process that is common in REST APIs, where you make a call to
retrieve data that you will need in the next call.
The first call retrieves data about the DB Groups.
GET https://example.aurora.com\
/datadirector/api/dbgroups
VMware vFabric Data Director API Programming Guide
22 VMware, Inc.