Oracle Cloud Infrastructure Documentation

Services that Produce Events

This topic lists the Oracle Cloud Infrastructure services that emit events: 

As more services being emitting events, this reference will be updated.

About Event Types and Example Reference Events

Services emit event messages by resource type. Event messages use a combination of an event type and a data payload (from the resource) to identify state changes.

In this section: 

  • Event types are organized by service, then by resource type
  • There is one reference example per resource type if the payload contains the same attributes for all event types

See Matching Events with Filters and Contents of an Event Message.

Database

Database resources that emit events: 

Autonomous Database Event Types

These are the event types that Autonomous Databases emit:

Event type Code
Create Backup Begin
com.oraclecloud.databaseservice.autonomous.database.backup.begin
Create Backup End
com.oraclecloud.databaseservice.autonomous.database.backup.end
Create Instance Begin
com.oraclecloud.databaseservice.autonomous.database.instance.create.begin
Create Instance End
com.oraclecloud.databaseservice.autonomous.database.instance.create.end
Restore Begin
com.oraclecloud.databaseservice.autonomous.database.restore.begin
Restore End
com.oraclecloud.databaseservice.autonomous.database.restore.end

Autonomous Database Example

This is a reference event for Autonomous Databases: 

{
 	"cloudEventsVersion": "0.1",
 	"eventID": "<unique_ID>",
 	"eventType": "<Autonomous_Database_event_type>",
 	"source": "databaseservice",
 	"eventTypeVersion": "1.0",
 	"eventTime": "2019-07-10T14:06:23Z",
 	"schemaURL": null,
 	"contentType": "application/json",
 	"extensions": {
 		"compartmentId": "ocid1.compartment.oc1..<unique_ID>"
 	},
 	"data": {
 		"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
 		"compartmentName": "example_name",
 		"resourceName": "my_database",
 		"resourceId": "ocid1.autonomousdatabase.oc1.phx.<unique_ID>",
 		"availabilityDomain": "SoSC:PHX-AD-3",
 		"freeFormTags": {},
 		"definedTags": {},
 		"additionalDetails": {
 			"cpuCoreCount": 1,
 			"lifecycleState": "PROVISIONING",
 			"dataStorageSizeInTBs": 1,
 			"timeCreated": "2019-07-10T14:06:10.905Z",
 			"timeUpdated": "2019-07-10T14:06:10.905Z",
 			"serviceConsoleUrl": null,
 			"licenseType": null,
 			"workloadType": "<Data Warehouse | Transaction Processing>",
 			"autonomousDatabaseType": "<Dedicated Infrastructure | Severless>"
 		}
 	}
 }

Autonomous Container Database Event Types

These are the event types that Autonomous Container Databases emit:

Event type Code
Create Backup Begin
com.oraclecloud.databaseservice.autonomous.container.database.backup.begin
Create Backup End
com.oraclecloud.databaseservice.autonomous.container.database.backup.end
Create Instance Begin
com.oraclecloud.databaseservice.autonomous.container.database.instance.create.begin
Create Instance End
com.oraclecloud.databaseservice.autonomous.container.database.instance.create.end
Maintenance Begin
com.oraclecloud.databaseservice.autonomous.container.database.maintenance.begin
Maintenance End
com.oraclecloud.databaseservice.autonomous.container.database.maintenance.end
Maintenance Reminder
com.oraclecloud.databaseservice.autonomous.container.database.maintenance.reminder
Maintenance Scheduled
com.oraclecloud.databaseservice.autonomous.container.database.maintenance.scheduled
Restore Begin
com.oraclecloud.databaseservice.autonomous.container.database.restore.begin
Restore End
com.oraclecloud.databaseservice.autonomous.container.database.restore.end
Update Instance Begin
com.oraclecloud.databaseservice.autonomous.container.database.instance.update.begin
Update Instance End
com.oraclecloud.databaseservice.autonomous.container.database.instance.update.end

Autonomous Container Database Example

This is a reference event for Autonomous Container Databases:

{
 	"cloudEventsVersion": "0.1",
 	"eventID": "<unique_ID>",
 	"eventType": "<Autonomous_Container_Database_event_type>",
 	"source": "databaseservice",
 	"eventTypeVersion": "1.0",
 	"eventTime": "2019-06-27T21:16:04Z",
 	"schemaURL": null,
 	"contentType": "application/json",
 	"extensions": {
 		"compartmentId": "ocid1.compartment.oc1..<unique_ID>"
 	},
 	"data": {
 		"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
 		"compartmentName": "example_name",
 		"resourceName": "my_container_database",
 		"resourceId": "<unique_ID>",
 		"availabilityDomain": "all",
 		"freeFormTags": {},
 		"definedTags": {},
 		"additionalDetails": {
 			"cpuCoreCount": null,
 			"lifecycleState": "ACTIVE",
 			"dataStorageSizeInTBs": null,
 			"timeCreated": "2019-06-27T21:15:59.000Z",
 			"timeUpdated": "2019-06-27T21:16:04.389Z",
 			"dbUniqueName": "dwrrdtsr_phx289",
 			"dbHomeId": "ocid1.autonomoushome.oc1.phx.<unique_ID>",
 			"dbName": "dwrrdtsr"
			"autonomousContainerDatabaseId": "ocid1.autonomouscontainerdatabase.oc1.phx.<unique_ID>"
 		}
 	}
 }

Autonomous Exadata Infrastructure Event Types

These are the event types that Autonomous Exadata Infrastructure instances emit: 

Event type Code
Create Instance Begin
com.oraclecloud.databaseservice.autonomous.exadata.infrastructure.instance.create.begin
Create Instance End
com.oraclecloud.databaseservice.autonomous.exadata.infrastructure.instance.create.end
Maintenance Begin
com.oraclecloud.databaseservice.autonomous.exadata.infrastructure.maintenance.begin
Maintenance End
com.oraclecloud.databaseservice.autonomous.exadata.infrastructure.maintenance.end
Maintenance Reminder
com.oraclecloud.databaseservice.autonomous.exadata.infrastructure.maintenance.reminder
Maintenance Scheduled
com.oraclecloud.databaseservice.autonomous.exadata.infrastructure.maintenance.scheduled

Autonomous Exadata Infrastructure Example

This is a reference event for Autonomous Exadata Infrastructure instances:

{
  “cloudEventsVersion”:“0.1",
  “eventID”:“<unique_ID>”,
  “eventType”:“<Autonomous_Exadata_Infrastructure_event_type>”,
  “source”:“databaseservice”,
  “eventTypeVersion”:“1.0",
  “eventTime”:“2019-07-10T23:28:12Z”,
  “schemaURL”:null,
  “contentType”:“application/json”,
  “extensions”:{
     “compartmentId”:“ocid1.compartment.oc1..<unique_ID>”
  },
  “data”:{
     “compartmentId”:“ocid1.compartment.oc1..<unique_ID>”,
     “compartmentName”:“example_name”,
     “resourceName”:“my_exadata_instance”,
     “resourceId”:“ocid1.autonomousexainfrastructure.oc1.phx.<unique_ID>”,
     “availabilityDomain”:“XXIT:PHX-AD-3”,
     “freeFormTags”:{},
     “definedTags”:{},
     “additionalDetails”:{
             “cpuCoreCount”:92,
             “lifecycleState”:“TERMINATED”,
             “dataStorageSizeInTBs”:null,
             “timeCreated”:“2019-07-10T23:13:43.136Z”,
             “timeUpdated”:“2019-07-10T23:28:12.390Z”,
             “serviceConsoleUrl”:null,
             “licenseType”:null,
             “dbName”:null
     }
  }
}

Object Storage

Object Storage resources that emit events: 

Buckets Event Types

These are the event types that buckets emit: 

Event type Code
Create Bucket
com.oraclecloud.objectstorage.createbucket
Delete Bucket
com.oraclecloud.objectstorage.deletebucket
Update Bucket
com.oraclecloud.objectstorage.updatebucket

Bucket Example

This is a reference event for buckets:

{
	"cloudEventsVersion": "0.1",
	"eventID": "<unique_ID>",
	"eventType": "<Bucket_event_type>",
	"source": "objectstorage",
	"eventTypeVersion": "1.0",
	"eventTime": "2019-01-10T21:19:24Z",
	"schemaURL": null,
	"contentType": "application/json",
	"extensions": {
		"compartmentId": "ocid1.compartment.oc1..<unique_ID>"
	},
	"data": {
		"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
		"compartmentName": "example_name",
		"resourceName": "my_bucket",
		"resourceId": "ocid1.compartment.oc1..<unique_ID>",
		"availabilityDomain": "all",
		"freeFormTags": {
			"Department": "Finance"
		},
		"definedTags": {
			"Operations": {
				"CostCenter": "42"
			}
		},
		"additionalDetails": {
			"namespace": "example_namespace",
			"publicAccessType": "NoPublicAccess",
			"eTag": "f8ffb6e9-f602-460f-a6c0-00b5abfa24c7"
		}
	}
}

Objects Event Types

Important

Events for objects are handled differently than all other resources. To receive events for objects, you must open a ticket with Oracle support and provide certain information. See Object Events and the Events Service.

These are the event types that objects emit: 

Event type Code
Create Object
com.oraclecloud.objectstorage.createobject
Delete Object
com.oraclecloud.objectstorage.deleteobject
Update Object
com.oraclecloud.objectstorage.updateobject

Object Example

This is a reference event for objects:

{
	"cloudEventsVersion": "0.1",
	"eventID": "<unique_ID>",
	"eventType": "<Object_event_type>",
	"source": "objectstorage",
	"eventTypeVersion": "1.0",
	"eventTime": "2019-07-10T13:37:11Z",
	"schemaURL": null,
	"contentType": "application/json",
	"extensions": {
		"compartmentId": "ocid1.compartment.oc1..<unique_ID>"
	},
	"data": {
		"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
		"compartmentName": "Example_Compartment,
		"resourceName": "v1/log/10.0.6.166",
		"resourceId": "",
		"availabilityDomain": "all",
		"freeFormTags": {},
		"definedTags": {},
		"additionalDetails": {
			"eTag": "8162db5b-50d7-4947-a576-4401798ed2fa",
			"namespace": "my_namespace",
			"archivalState": null,
			"bucketName": "my_bucket",
			"bucketId": "ocid1.bucket.oc1.<unique_ID>"
		}
	}
}