CreateConsoleConnection
POST {{baseUrl}}/dbNodes/:dbNodeId/consoleConnections
Creates a new console connection to the specified database node. After the console connection has been created and is available, you connect to the console using SSH.
Request Body
{"publicKey"=>"<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). | |||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","dbNodeId":"\u003cstring\u003e","connectionString":"\u003cstring\u003e","fingerprint":"\u003cstring\u003e","lifecycleState":"ACTIVE"}