CreateInstanceConsoleConnection

POST {{baseUrl}}/instanceConsoleConnections

Creates a new console connection to the specified instance. After the console connection has been created and is available, you connect to the console using SSH.

For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections.

Request Body

{"instanceId"=>"voluptate nulla qui in quis", "publicKey"=>"pariatur velit"}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA 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-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"compartmentId":"esse","connectionString":"sunt exercitation proident anim elit","definedTags":{},"fingerprint":"ut dolor in Duis ullamco","freeformTags":{},"id":"ea ut aute Lorem","instanceId":"dolor ","lifecycleState":"ACTIVE","serviceHostKeyFingerprint":"est Lorem quis et","vncConnectionString":"amet consequat ut quis"}