CreatePluggableDatabase
POST {{baseUrl}}/pluggableDatabases
Creates and starts a pluggable database in the specified container database. Pluggable Database can be created using different operations (e.g. LocalClone, RemoteClone, Relocate ) with this API. Use the StartPluggableDatabase and StopPluggableDatabase APIs to start and stop the pluggable database.
Request Body
{"pdbName"=>"<string>", "containerDatabaseId"=>"<string>", "containerDatabaseAdminPassword"=>"<string>", "freeformTags"=>{"inaf"=>"<string>", "ipsumc"=>"<string>"}, "pdbAdminPassword"=>"<string>", "pdbCreationTypeDetails"=>{"creationType"=>"LOCAL_CLONE_PDB"}, "shouldCreatePdbBackup"=>"<boolean>", "shouldPdbAdminAccountBeLocked"=>false, "tdeWalletPassword"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations (for example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
may be rejected). | |||
opc-request-id | string | Unique identifier for the request. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","lifecycleState":"DISABLED","pdbName":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e","containerDatabaseId":"\u003cstring\u003e","openMode":"MIGRATE","compartmentId":"\u003cstring\u003e","connectionStrings":{"allConnectionStrings":{"consequat5cb":"\u003cstring\u003e","sunt_3":"\u003cstring\u003e"},"pdbDefault":"\u003cstring\u003e","pdbIpDefault":"\u003cstring\u003e"},"definedTags":{"irure_d8":{"amet2cd":{},"qui_9":{}},"magna7":{"do7":{},"et657":{},"eu_0b":{}}},"freeformTags":{"ex_ab":"\u003cstring\u003e","cillum50b":"\u003cstring\u003e"},"isRestricted":"\u003cboolean\u003e","lifecycleDetails":"\u003cstring\u003e","pdbNodeLevelDetails":[{"nodeName":"\u003cstring\u003e","openMode":"READ_ONLY"},{"nodeName":"\u003cstring\u003e","openMode":"READ_ONLY"}],"refreshableCloneConfig":{"isRefreshableClone":"\u003cboolean\u003e"}}