2.7
Table Of Contents
4 Create the resource bundle.
Create an Organization and Assign a Resource Bundle
1 Read qualified resource pools.
2 Read the datastores of the selected resource pool.
3 Read the networks of the selected resource pool.
4 Create a resource bundle.
5 Create an organization.
6 Assign the resource bundle to the organization.
Create a Database
1 Create an organization and assign a resource bundle. See “Create an Organization and Assign a
Resource Bundle,” on page 10 above.
2 Create a database group.
3 Read available resource templates in the organization.
4 Read available base DB templates in the resource bundle that is assigned to the database group.
5 Read available backup templates of the organization.
6 Create the database.
When you later want to delete items, you make corresponding calls in reverse order. For example, you
delete all databases that belong to a database group before you delete the database group itself.
Create a User and Grant a Role to the User
If you are working with Data Director users, be aware that Data Director supports two user management
modes.
Global
All users in the system are visible to all organizations. This mode is best for
use within an enterprise. In Global mode, users do not need to register for an
organization to get a role from that organization.
Organization
Users are visible only to the organizations to which they have been granted
access. This mode is best for service providers that host multiple enterprises.
In this mode, users have to register for an organization before they can get a
role from that organization.
To create a user and grant a role to the user, follow these steps.
1 Register or approve the user for an organization.
2 Create a role in the organization.
3 Grant permissions to the user associated with the organization, database group, or database.
4 Grant permissions to the role associated with the organization, database group, or database.
5 Grant the role to the user.
When you later want to delete items, you make corresponding calls in reverse order. For users, you
unregister the user from the organization and you also disable the user before you can delete the user.
VMware vFabric Data Director Programming Guide
10 VMware, Inc.