CreateDatabase
POST {{baseUrl}}/databases
Creates a new database in the specified Database Home. If the database version is provided, it must match the version of the Database Home. Applies to Exadata and Exadata Cloud@Customer systems.
Request Body
{"dbHomeId"=>"<string>", "source"=>"NONE", "dbVersion"=>"<string>", "kmsKeyId"=>"<string>", "kmsKeyVersionId"=>"<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","compartmentId":"\u003cstring\u003e","lifecycleState":"UPGRADING","dbName":"\u003cstring\u003e","dbUniqueName":"\u003cstring\u003e","characterSet":"\u003cstring\u003e","connectionStrings":{"allConnectionStrings":{"proidente86":"\u003cstring\u003e","ut86":"\u003cstring\u003e","ad_f":"\u003cstring\u003e"},"cdbDefault":"\u003cstring\u003e","cdbIpDefault":"\u003cstring\u003e"},"databaseManagementConfig":{"managementStatus":"FAILED_ENABLING","managementType":"BASIC"},"databaseSoftwareImageId":"\u003cstring\u003e","dbBackupConfig":{"autoBackupEnabled":"\u003cboolean\u003e","autoBackupWindow":"SLOT_TEN","autoFullBackupDay":"SUNDAY","autoFullBackupWindow":"SLOT_ONE","backupDeletionPolicy":"DELETE_IMMEDIATELY","backupDestinationDetails":[{"type":"NFS","dbrsPolicyId":"\u003cstring\u003e","id":"\u003cstring\u003e","internetProxy":"\u003cstring\u003e","vpcPassword":"\u003cstring\u003e","vpcUser":"\u003cstring\u003e"},{"type":"OBJECT_STORE","dbrsPolicyId":"\u003cstring\u003e","id":"\u003cstring\u003e","internetProxy":"\u003cstring\u003e","vpcPassword":"\u003cstring\u003e","vpcUser":"\u003cstring\u003e"}],"recoveryWindowInDays":"\u003cinteger\u003e","runImmediateFullBackup":true},"dbHomeId":"\u003cstring\u003e","dbSystemId":"\u003cstring\u003e","dbWorkload":"\u003cstring\u003e","definedTags":{"laboris_24":{"ut9ae":{}}},"freeformTags":{"exercitation4a":"\u003cstring\u003e","laborum35":"\u003cstring\u003e"},"isCdb":"\u003cboolean\u003e","kmsKeyId":"\u003cstring\u003e","kmsKeyVersionId":"\u003cstring\u003e","lastBackupDurationInSeconds":"\u003cinteger\u003e","lastBackupTimestamp":"\u003cdateTime\u003e","lastFailedBackupTimestamp":"\u003cdateTime\u003e","lifecycleDetails":"\u003cstring\u003e","ncharacterSet":"\u003cstring\u003e","pdbName":"\u003cstring\u003e","sidPrefix":"\u003cstring\u003e","sourceDatabasePointInTimeRecoveryTimestamp":"\u003cdateTime\u003e","timeCreated":"\u003cdateTime\u003e","vaultId":"\u003cstring\u003e","vmClusterId":"\u003cstring\u003e"}