Update a Database Connection.
PUT {{baseUrl}}/connections/:connectionId
Update Database Connection resource details.
Request Body
{"adminCredentials"=>{"password"=>"<string>", "username"=>"<string>"}, "certificateTdn"=>"<string>", "connectDescriptor"=>{"connectString"=>"<string>", "databaseServiceName"=>"<string>", "host"=>"<string>", "port"=>"<integer>"}, "databaseId"=>"<string>", "displayName"=>"<string>", "freeformTags"=>{"do_f"=>"<string>", "in_c"=>"<string>"}, "nsgIds"=>["<string>", "<string>"], "privateEndpoint"=>{"compartmentId"=>"<string>", "subnetId"=>"<string>", "vcnId"=>"<string>"}, "sshDetails"=>{"host"=>"<string>", "sshkey"=>"<string>", "sudoLocation"=>"<string>", "user"=>"<string>"}, "tlsKeystore"=>"<string>", "tlsWallet"=>"<string>", "vaultDetails"=>{"compartmentId"=>"<string>", "keyId"=>"<string>", "vaultId"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
if-match | string | For optimistic concurrency control. In the PUT or DELETE call | |
for a resource, set the if-match parameter to the value of the | |||
etag from a previous GET or POST response for that resource. | |||
The resource will be updated or deleted only if the etag you | |||
provide matches the resource's current etag value. | |||
Content-Type | string | ||
Accept | string |