Database Tools Events

Oracle Cloud Infrastructure Database Tools service emits events in Oracle Cloud Infrastructure (OCI), which are structured messages that indicate changes in resources.

You can define rules in the OCI Events Service to get notified of events happening in an OCI service, and use the Notification Service (ONS) to send emails or other notifications from these events. For example, you might define a rule that sends a notification to administrators when someone updates a private endpoint.

Database Tools Connection Event Types

Event Name Event Type
Database Tools Connection - Create
com.oraclecloud.dbtoolsserviceapi.createdatabasetoolsconnection.begin
Database Tools Connection - Update
com.oraclecloud.dbtoolsserviceapi.updatedatabasetoolsconnection.begin
Database Tools Connection - Change Compartment
com.oraclecloud.dbtoolsserviceapi.changedatabasetoolsconnectioncompartment.begin
Database Tools Connection - Delete
com.oraclecloud.dbtoolsserviceapi.deletedatabasetoolsconnection.begin

Database Tools Private Endpoint Event Types

Event Name Event Type
Database Tools Private Endpoint - Create
com.oraclecloud.dbtoolsserviceapi.createdatabasetoolsprivateendpoint.begin
Database Tools Private Endpoint - Update
com.oraclecloud.dbtoolsserviceapi.updatedatabasetoolsprivateendpoint.begin
Database Tools Private Endpoint - Change Compartment
com.oraclecloud.dbtoolsserviceapi.changedatabasetoolsprivateendpointcompartment.begin
Database Tools Private Endpoint - Delete
com.oraclecloud.dbtoolsserviceapi.deletedatabasetoolsprivateendpoint.begin

Sample Event

This example shows information provided by the Database Tools Private Endpoint - Update event.

{
  "eventType": "com.oraclecloud.dbtoolsserviceapi.updatedatabasetoolsprivateendpoint.begin",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "dbtools-service-api",
  "eventID": "unique_ID",
  "eventTime": "2021-09-09T17:29:43.858Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..unique_ID",
    "compartmentName": "compartment_name",
    "resourceName": "TestPrivateEndpoint",
    "resourceId": "ocid1.compartment.oc1..unique_ID",
    "availabilityDomain": "AD1",
    "freeformTags": {},
    "definedTags": {},
    "additionalDetails": {
      "X-Real-Port": 59962
    }
  }
}