Adds a lock to a DatabaseToolsConnection resource.
POST {{baseUrl}}/databaseToolsConnections/:databaseToolsConnectionId/actions/addLock
Adds a lock to a DatabaseToolsConnection resource.
Request Body
{"type"=>"FULL", "message"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique 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 |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","displayName":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","lifecycleState":"INACTIVE","timeCreated":"\u003cdateTime\u003e","timeUpdated":"\u003cdateTime\u003e","type":"POSTGRESQL","runtimeSupport":"SUPPORTED","definedTags":{"aliquip_9":{"deserunt72":{},"Duis_e":{}},"sunt__":{"sint_ef":{}}},"freeformTags":{"quis6a0":"\u003cstring\u003e","magna73c":"\u003cstring\u003e","aliquip_19":"\u003cstring\u003e"},"lifecycleDetails":"\u003cstring\u003e","locks":[{"type":"DELETE","message":"\u003cstring\u003e","relatedResourceId":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e"},{"type":"DELETE","message":"\u003cstring\u003e","relatedResourceId":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e"}],"systemTags":{"irure_de":{"tempor_70":{}}}}