Tip of the Day: Using the API to List Databases

  • 1
  • Announcement
  • Updated 4 years ago
  • (Edited)
To obtain a list of dSources and VDBs, list available Container (also known as database) objects on the system:

$ curl -X GET -k http://delphix-server/resources/json/... \

     -b ~/cookies.txt -H "Content-Type: application/json"



For more information on the structure of a database object, see the /api/#Container reference on your local Delphix Engine. The following sub-types are available depending on the type of database:

  • OracleDatabaseContainer
  • MSSqlDatabaseContainer
Each database has zero or one source associated with it. This source could be a linked source, indicating that the database is a dSource, or it could be a virtual source, indicating that it is a VDB. If there are no sources, it is a detached dSource. The parentContainer property indicates the reference to the parent container, also indicating that the database is a VDB. To get runtime information about the source associated with the dSource or VDB, use the Source API with a database parameter set to the reference of the database in question.
Photo of Delphix FAQs

Delphix FAQs, Official Rep

  • 4,000 Points 4k badge 2x thumb

Posted 4 years ago

  • 1

Be the first to post a reply!