2.5
Table Of Contents
You learn that the template ID for the base DB template is 5.
You can now make an HTTP POST call that includes payload data. The payload data might be included
as application code in a Python or JavaScript application.
4 Create the resource bundle by making an HTTP POST call and specifying network settings, storage
settings, the base DB template, and other attributes.
POST https://example.aurora.com/datadirector/api/resourcebundles
{
"networkSetting": {
"instance": [{
"networkRefId": "null:Network:network-1464","ipAllocType": "DHCP"
}]
},
"dataDataStoreRefId": "null:Datastore:datastore-3803",
"name": "AuroraRB",
"minStorageAlpha": 1.0,
"dataStorageSize": 100000,
"backupDataStoreRefId": "null:Datastore:datastore-3803",
"baseDbTemplateId": {
"instance": [{
"templateId": 5
}]
},
"resourcePoolRefId": "null:ResourcePool:resgroup-9673",
"backupStorageSize": 100000
}
The response that the system returns might look as follows.
202 Accepted location: https://example.aurora.com/datadirector/api/task/57
What to do next
Create an organization.
Create an Organization
The Data Director hierarchy consists of organizations, each with its own discrete database groups and
databases. You create organizations to allow organization administrators independent management of their
database groups and databases.
Prerequisites
Create one or more resource bundles to allocate to the organization. See “Create a Resource Bundle,” on
page 17.
Procedure
1 Retrieve the available administrator IDs so you can use the ID to specify the administrator for the
organization.
GET https://example.aurora.com/datadirector/api/users
VMware vFabric Data Director Programming Guide
18 VMware, Inc.