Oracle Cloud Infrastructure Documentation

Services that Produce Events

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

As more services begin 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.

Block Volume

Block Volume resources that emit events:

Block Volume Event Types

These are the event types that block volumes emit:

Friendly Name Event Type
Change Volume Compartment Begin
com.oraclecloud.blockvolumes.changevolumecompartment.begin
Change Volume Compartment End
com.oraclecloud.blockvolumes.changevolumecompartment.end
Create Volume Begin
com.oraclecloud.blockvolumes.createvolume.begin
Create Volume End
com.oraclecloud.blockvolumes.createvolume.end
Delete Volume Begin
com.oraclecloud.blockvolumes.deletevolume.begin
Delete Volume End
com.oraclecloud.blockvolumes.deletevolume.end
Delete Volume Kms Key Begin
com.oraclecloud.blockvolumes.deletevolumekmskey.begin
Update Volume
com.oraclecloud.blockvolumes.updatevolume
Update Volume Begin
com.oraclecloud.blockvolumes.updatevolume.begin
Update Volume End
com.oraclecloud.blockvolumes.updatevolume.end
Update Volume Kms Key Begin
com.oraclecloud.blockvolumes.updatevolumekmskey.begin
Update Volume Kms Key End
com.oraclecloud.blockvolumes.updatevolumekmskey.end

Block Volume Example

This is a reference event for block volumes:

{
   "eventType": "com.oraclecloud.blockvolumes.createvolume.begin",
   "cloudEventsVersion": "0.1",
   "eventTypeVersion": "2.0",
   "source": "BlockVolumes",
   "eventTime": "2019-01-10T21:19:24Z",
   "contentType": "application/json",
   "data": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
      "compartmentName": "example_name",
      "resourceName": "my_volume",
      "resourceId": "ocid1.volume.oc1..<unique_ID>",
      "availabilityDomain": "<availability_domain>",
   }
   "eventID": "<unique_ID>",
   "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
   }
}

Block Volume Backup Event Types

These are the event types that block volume backups emit:

Friendly Name Event Type
Change Volume Backup Compartment
com.oraclecloud.blockvolumes.changevolumebackupcompartment
Copy Volume Backup Begin
com.oraclecloud.blockvolumes.copyvolumebackup.begin
Copy Volume Backup End
com.oraclecloud.blockvolumes.copyvolumebackup.end
Create Volume Backup Begin
com.oraclecloud.blockvolumes.createvolumebackup.begin
Create Volume Backup End
com.oraclecloud.blockvolumes.createvolumebackup.end
Create Volume Backup Policy Assignment
com.oraclecloud.blockvolumes.createvolumebackuppolicyassignment
Delete Volume Backup Begin
com.oraclecloud.blockvolumes.deletevolumebackup.begin
Delete Volume Backup End
com.oraclecloud.blockvolumes.deletevolumebackup.end
Delete Volume Backup Policy Assignment
com.oraclecloud.blockvolumes.deletevolumebackuppolicyassignment
Update Volume Backup
com.oraclecloud.blockvolumes.updatevolumebackup
Update Volume Backup Policy
com.oraclecloud.blockvolumes.updatevolumebackuppolicy

Block Volume Backup Example

This is a reference event for block volume backups:

{
   "eventType": "com.oraclecloud.blockvolumes.createvolumebackup.end",
   "cloudEventsVersion": "0.1",
   "eventTypeVersion": "2.0",
   "source": "BlockVolumes",
   "eventTime": "2019-01-10T21:19:24Z",
   "contentType": "application/json",
   "data": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
      "compartmentName": "example_name",
      "resourceName": "my_volumebackup via policy:gold",
      "resourceId": "ocid1.volumebackup.oc1..<unique_ID>",
      "additionalDetails": {
         "sourceType": "SCHEDULED",
         "volumeId": ""ocid1.volume.oc1..<unique_ID>"
      }
   }
   "eventID": "<unique_ID>",
   "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
   }
}

Boot Volume Event Types

These are the event types that boot volumes emit:

Friendly Name Event Type
Change Boot Volume Compartment Begin
com.oraclecloud.blockvolumes.changebootvolumecompartment.begin
Change Boot Volume Compartment End
com.oraclecloud.blockvolumes.changebootvolumecompartment.end
Create Boot Volume Begin
com.oraclecloud.blockvolumes.createbootvolume.begin
Create Boot Volume End
com.oraclecloud.blockvolumes.createbootvolume.end
Delete Boot Volume Begin
com.oraclecloud.blockvolumes.deletebootvolume.begin
Delete Boot Volume End
com.oraclecloud.blockvolumes.deletebootvolume.end
Delete Boot Volume Kms Key Begin
com.oraclecloud.blockvolumes.deletebootvolumekmskey.begin
Update Boot Volume
com.oraclecloud.blockvolumes.updatebootvolume
Update Boot Volume Begin
com.oraclecloud.blockvolumes.updatebootvolume.begin
Update Boot Volume End
com.oraclecloud.blockvolumes.updatebootvolume.end
Update Boot Volume Kms Key Begin
com.oraclecloud.blockvolumes.updatebootvolumekmskey.begin
Update Boot Volume Kms Key End
com.oraclecloud.blockvolumes.updatebootvolumekmskey.end

Boot Volume Example

This is a reference event for boot volumes:

{
   "eventType": "com.oraclecloud.blockvolumes.createbootvolume.begin",
   "cloudEventsVersion": "0.1",
   "eventTypeVersion": "2.0",
   "source": "BlockVolumes",
   "eventTime": "2019-01-10T21:19:24Z",
   "contentType": "application/json",
   "data": {
		"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
		"compartmentName": "example_name",
		"resourceName": "my_volume",
		"resourceId": "ocid1.volume.oc1..<unique_ID>",
		"availabilityDomain": "<availability_domain>",
	}
   "eventID": "<unique_ID>",
   "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
   }
}

Boot Volume Backup Event Types

These are the event types that boot volume backups emit:

Friendly Name Event Type
Change Boot Volume Backup Compartment
com.oraclecloud.blockvolumes.changebootvolumebackupcompartment
Create Boot Volume Backup Begin
com.oraclecloud.blockvolumes.createbootvolumebackup.begin
Create Boot Volume Backup End
com.oraclecloud.blockvolumes.createbootvolumebackup.end
Delete Boot Volume Backup Begin
com.oraclecloud.blockvolumes.deletebootvolumebackup.begin
Delete Boot Volume Backup End
com.oraclecloud.blockvolumes.deletebootvolumebackup.end
Update Boot Volume Backup
com.oraclecloud.blockvolumes.updatebootvolumebackup

Boot Volume Backup Example

This is a reference event for boot volume backups:

{
   "eventType": "com.oraclecloud.blockvolumes.createbootvolume.end",
   "cloudEventsVersion": "0.1",
   "eventTypeVersion": "2.0",
   "source": "BlockVolumes",
   "eventTime": "2019-01-10T21:19:24Z",
   "contentType": "application/json",
   "data": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
      "compartmentName": "example_name",
      "resourceName": "my_volumebackup via policy:gold",
      "resourceId": "ocid1.volumebackup.oc1..<unique_ID>",
      "additionalDetails": {
         "sourceType": "SCHEDULED",
         "volumeId": ""ocid1.volume.oc1..<unique_ID>"
      }
   }
   "eventID": "<unique_ID>",
   "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
   }
}

Volume Groups and Volume Group Backups

These are the event types that volume groups and volume group backups emit:

Friendly Name Event Type
Change Volume Group Compartment
com.oraclecloud.blockvolumes.changevolumegroupcompartment
Change Volume Group Backup Compartment
com.oraclecloud.blockvolumes.changevolumegroupbackupcompartment
Create Volume Group
com.oraclecloud.blockvolumes.createvolumegroup
Create Volume Group Begin
com.oraclecloud.blockvolumes.createvolumegroup.begin
Create Volume Group End
com.oraclecloud.blockvolumes.createvolumegroup.end
Create Volume Group Backup Begin
com.oraclecloud.blockvolumes.createvolumegroupbackup.begin
Create Volume Group Backup End
com.oraclecloud.blockvolumes.createvolumegroupbackup.end
Delete Volume Group Begin
com.oraclecloud.blockvolumes.deletevolumegroup.begin
Delete Volume Group End
com.oraclecloud.blockvolumes.deletevolumegroup.end
Delete Volume Group Backup Begin
com.oraclecloud.blockvolumes.deletevolumegroupbackup.begin
Delete Volume Group Backup End
com.oraclecloud.blockvolumes.deletevolumegroupbackup.end
Update Volume Group
com.oraclecloud.blockvolumes.updatevolumegroup
Update Volume Group Backup
com.oraclecloud.blockvolumes.updatevolumegroupbackup

Volume Group Example

This is a reference event for volume groups:

{
  "eventType": "com.oraclecloud.blockvolumes.createvolumegroup",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "BlockVolumes",
  "eventTime": "2019-01-10T21:19:24Z",
  "contentType": "application/json",
  "data": {
    "resourceName": "my_volumegroup",
    "resourceId": "ocid1.volumegroup.oc1..<unique_ID>",
     "availabilityDomain": "<availability_domain>",
   }
   "eventID": "<unique_ID>",
   "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
   }
}

Compute

Compute resources that emit events:

Autoscaling Event Types

These are the event types that autoscaling configurations and autoscaling policies emit:

Friendly Name Event Type
Change Autoscaling Configuration Compartment
com.oraclecloud.autoscaling.changeautoscalingconfigurationcompartment
Create Autoscaling Configuration
com.oraclecloud.autoscaling.createautoscalingconfiguration
Delete Autoscaling Configuration
com.oraclecloud.autoscaling.deleteautoscalingconfiguration
Scaling Action
com.oraclecloud.autoscaling.scalingaction
Update Autoscaling Configuration
com.oraclecloud.autoscaling.updateautoscalingconfiguration
Update Autoscaling Policy
com.oraclecloud.autoscaling.updateautoscalingpolicy

Autoscaling Example

This is a reference event for autoscaling:

{
  "eventType": "com.oraclecloud.autoscaling.scalingaction",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "autoscaling",
  "eventTime": "2019-08-21T04:00:10.046Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceName": "example autoscaling configuration",
    "resourceId": "ocid1.autoscalingconfiguration.oc1.phx.<unique_ID>",
    "additionalDetails": {
      "policyName": "my_policy_name",
      "ruleName": "my_scale_up_condition",
      "actionType": "SCALE_OUT",
      "previousSize": 1,
      "newSize": 2
    }
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  }

Cluster Network Event Types

These are the event types that cluster networks emit:

Friendly Name Event Type
Change Cluster Network Compartment
com.oraclecloud.computemanagement.changeclusternetworkcompartment
Create Cluster Network Begin
com.oraclecloud.computemanagement.createclusternetwork.begin
Create Cluster Network End
com.oraclecloud.computemanagement.createclusternetwork.end
Terminate Cluster Network Begin
com.oraclecloud.computemanagement.terminateclusternetwork.begin
Terminate Cluster Network End
com.oraclecloud.computemanagement.terminateclusternetwork.end

Cluster Networks Example

This is a reference event for most cluster network events:

{
  "eventType": "com.oraclecloud.computemanagement.createclusternetwork.begin",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "ComputeManagement",
  "eventTime": "2019-09-12T21:45:09.036Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceName": "my_cluster_network",
    "resourceId": "ocid1.clusternetwork.oc1.uk-london-1.<unique_ID>",
    "availabilityDomain": "<availability_domain>"
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  }
}

Create cluster network end and terminate cluster network end don't include the availability domain.

Console History Event Types

These are the event types that console histories emit:

Friendly Name Event Type
Capture Console History Begin
com.oraclecloud.computeapi.captureconsolehistory.begin
Capture Console History End
com.oraclecloud.computeapi.captureconsolehistory.end
Delete Console History
com.oraclecloud.computeapi.deleteconsolehistory
Update Console History
com.oraclecloud.computeapi.updateconsolehistory

Console History Example

This is a reference event for console histories:

{
  "eventType": "com.oraclecloud.computeapi.captureconsolehistory.begin",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "ComputeApi",
  "eventTime": "2019-08-20T21:58:13.554Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceId": "ocid1.consolehistory.oc1.iad.<unique_ID>",
    "availabilityDomain": "SoSC:PHX-AD-3"
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  }

Image Event Types

These are the event types that images emit:

Friendly Name Event Type
Add Image Shape Compatibility
com.oraclecloud.computeapi.addimageshapecompatibility
Change Image Compartment
com.oraclecloud.computeapi.moveimage
Create Image Begin
com.oraclecloud.computeapi.createimage.begin
Create Image End
com.oraclecloud.computeapi.createimage.end
Delete Image
com.oraclecloud.computeapi.deleteimage
Export Image Begin
com.oraclecloud.computeapi.exportimage.begin
Export Image End
com.oraclecloud.computeapi.exportimage.end
Remove Image Shape Compatibility
com.oraclecloud.computeapi.removeimageshapecompatibility
Update Image
com.oraclecloud.computeapi.updateimage

Image Example

This is a reference event for most image events:

{
  "eventType": "com.oraclecloud.computeapi.exportimage.begin",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "ComputeApi",
  "eventTime": "2019-08-27T04:12:37.397Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.tenancy.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceName": "my_image",
    "resourceId": "ocid1.image.oc1.iad.<unique_ID>",
    "availabilityDomain": "SoSC:PHX-AD-3"
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.tenancy.oc1..<unique_ID>"
  }
}

Change image compartment doesn't include the resource name or availability domain.

Instance Event Types

These are the event types that Compute instances and instance attachments emit:

Friendly Name Event Type
Attach Boot Volume Begin
com.oraclecloud.computeapi.attachbootvolume.begin
Attach Boot Volume End
com.oraclecloud.computeapi.attachbootvolume.end
Attach Secondary VNIC Begin
com.oraclecloud.computeapi.attachvnic.begin
Attach Secondary VNIC End
com.oraclecloud.computeapi.attachvnic.end
Attach Volume Begin
com.oraclecloud.computeapi.attachvolume.begin
Attach Volume End
com.oraclecloud.computeapi.attachvolume.end
Change Instance Compartment Begin
com.oraclecloud.computeapi.changeinstancecompartment.begin
Change Instance Compartment End
com.oraclecloud.computeapi.changeinstancecompartment.end
Detach Boot Volume Begin
com.oraclecloud.computeapi.detachbootvolume.begin
Detach Boot Volume End
com.oraclecloud.computeapi.detachbootvolume.end
Detach Secondary VNIC Begin
com.oraclecloud.computeapi.detachvnic.begin
Detach Secondary VNIC End
com.oraclecloud.computeapi.detachvnic.end
Detach Volume Begin
com.oraclecloud.computeapi.detachvolume.begin
Detach Volume End
com.oraclecloud.computeapi.detachvolume.end
Instance Action Begin
com.oraclecloud.computeapi.instanceaction.begin
Instance Action End
com.oraclecloud.computeapi.instanceaction.end
Launch Instance Begin
com.oraclecloud.computeapi.launchinstance.begin
Launch Instance End
com.oraclecloud.computeapi.launchinstance.end
Terminate Instance Begin
com.oraclecloud.computeapi.terminateinstance.begin
Terminate Instance End
com.oraclecloud.computeapi.terminateinstance.end
Update Instance
com.oraclecloud.computeapi.updateinstance

Compute Instance Example

This is a reference event for most instance events (attach/detach volume and boot volume events don't include additional details):

{
  "eventType": "com.oraclecloud.computeapi.launchinstance.begin",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "ComputeApi",
  "eventTime": "2019-08-15T21:21:48.586Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceName": "my_instance",
    "resourceId": "ocid1.instance.oc1.phx.<unique_ID>",
    "availabilityDomain": "SoSC:PHX-AD-3",
    "additionalDetails": {
      "imageId": "ocid1.image.oc1.phx.<unique_ID>",
      "shape": "VM.Standard2.1",
      "type": "CustomerVmi"
    }
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  }
}

This is a reference event for attach/detatch VNIC events: 

{
  "eventType": "com.oraclecloud.computeapi.attachvnic.end",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "ComputeApi",
  "eventTime": "2019-08-15T21:21:48.586Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceName": "my_instance",
    "resourceId": "ocid1.instance.oc1.phx.<unique_ID>",
    "availabilityDomain": "SoSC:PHX-AD-3",
    "additionalDetails": {
      "subnetId": "ocid1.subnet.oc1.phx.<unique_ID>"
    }
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  }
}

Instance Configuration Event Types

These are the event types that Compute instance configurations emit:

Friendly Name Event Type
Change Instance Configuration Compartment
com.oraclecloud.computemanagement.changeinstanceconfigurationcompartment
Create Instance Configuration
com.oraclecloud.computemanagement.createinstanceconfiguration
Delete Instance Configuration
com.oraclecloud.computemanagement.deleteinstanceconfiguration
Launch Instance Configuration Begin
com.oraclecloud.computemanagement.launchinstanceconfiguration.begin
Launch Instance Configuration End
com.oraclecloud.computemanagement.launchinstanceconfiguration.end
Update Instance Configuration
com.oraclecloud.computemanagement.updateinstanceconfiguration

Compute Instance Configuration Example

This is a reference event for most instance configuration events:

{
  "eventType": "com.oraclecloud.computemanagement.createinstanceconfiguration",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "ComputeManagement",
  "eventTime": "2019-08-12T22:52:01.062Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceName": "my_instance_configuration",
    "resourceId": "ocid1.instanceconfiguration.oc1.phx.<unique_ID>",
    "availabilityDomain": "<availability_domain>"
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  }

Launch instance configuration end doesn't include the availability domain.

Instance Console Connection Event Types

These are the event types that Compute instance console connections emit:

Friendly Name Event Type
Create Instance Console Connection Begin
com.oraclecloud.computeapi.createinstanceconsoleconnection.begin
Create Instance Console Connection End
com.oraclecloud.computeapi.createinstanceconsoleconnection.end
Delete Instance Console Connection Begin
com.oraclecloud.computeapi.deleteinstanceconsoleconnection.begin
Delete Instance Console Connection End
com.oraclecloud.computeapi.deleteinstanceconsoleconnection.end

Compute Instance Console Connection Example

This is a reference event for instance console connections:

{
  "eventType": "com.oraclecloud.computeapi.createinstanceconsoleconnection.begin",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "ComputeApi",
  "eventTime": "2019-08-12T14:47:35.762Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceId": "ocid1.instanceconsoleconnection.oc1.phx.<unique_ID>",
    "availabilityDomain": "SoSC:PHX-AD-3"
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  }
}

Instance Pool Event Types

These are the event types that Compute instance pools emit:

Friendly Name Event Type
Attach Load Balancer Begin
com.oraclecloud.computemanagement.attachloadbalancer.begin
Attach Load Balancer End
com.oraclecloud.computemanagement.attachloadbalancer.end
Change Instance Pool Compartment
com.oraclecloud.computemanagement.changeinstancepoolcompartment
Create Instance Pool Begin
com.oraclecloud.computemanagement.createinstancepool.begin
Create Instance Pool End
com.oraclecloud.computemanagement.createinstancepool.end
Detach Load Balancer Begin
com.oraclecloud.computemanagement.detachloadbalancer.begin
Detach Load Balancer End
com.oraclecloud.computemanagement.detachloadbalancer.end
Reset Instance Pool Begin
com.oraclecloud.computemanagement.resetinstancepool.begin
Reset Instance Pool End
com.oraclecloud.computemanagement.resetinstancepool.end
Soft Reset Instance Pool Begin
com.oraclecloud.computemanagement.softresetinstancepool.begin
Soft Reset Instance Pool End
com.oraclecloud.computemanagement.softresetinstancepool.end
Start Instance Pool Begin
com.oraclecloud.computemanagement.startinstancepool.begin
Start Instance Pool End
com.oraclecloud.computemanagement.startinstancepool.end
Stop Instance Pool Begin
com.oraclecloud.computemanagement.stopinstancepool.begin
Stop Instance Pool End
com.oraclecloud.computemanagement.stopinstancepool.end
Terminate Instance Pool Begin
com.oraclecloud.computemanagement.terminateinstancepool.begin
Terminate Instance Pool End
com.oraclecloud.computemanagement.terminateinstancepool.end
Update Instance Pool Begin
com.oraclecloud.computemanagement.updateinstancepool.begin
Update Instance Pool End
com.oraclecloud.computemanagement.updateinstancepool.end

Compute Instance Pools Example

This is a reference event for most instance pool events:

{
  "eventType": "com.oraclecloud.computemanagement.createinstancepool.begin",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "ComputeManagement",
  "eventTime": "2019-08-12T22:52:01.343Z",
  "contentType": "application/json",
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_compartment",
    "resourceName": "my_instance_pool",
    "resourceId": "ocid1.instancepool.oc1.phx.<unique_ID>",
    "availabilityDomain": "<availability_domain>"
  },
  "eventID": "<unique_id>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  }
}

These instance pool events don't include the availability domain: create instance pool end, detach load balancer end, reset instance pool end, soft reset instance pool end, start instance pool end, stop instance pool end, terminate instance pool end, and update instance pool end.

Database

Database resources that emit events: 

Autonomous Database Event Types

These are the event types that Autonomous Databases emit:

Friendly Name Event Type
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": "com.oraclecloud.databaseservice.autonomous.database.backup.begin",
  "source": "databaseservice",
  "eventTypeVersion": "<version>",
  "eventTime": "2019-07-10T14:06:23Z",
  "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:

Friendly Name Event Type
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": "com.oraclecloud.databaseservice.autonomous.container.database.backup.begin",
  "source": "databaseservice",
  "eventTypeVersion": "<version>",
  "eventTime": "2019-06-27T21:16:04Z",
  "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: 

Friendly Name Event Type
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": "com.oraclecloud.databaseservice.autonomous.exadata.infrastructure.instance.create.begin",
  "source": "databaseservice",
  "eventTypeVersion": "<version>",
  "eventTime": "2019-07-10T23:28:12Z",
  "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
    }
  }
}

Exadata Infrastructure Event Types

These are the event types that Exadata Infrastructure instances emit:

Friendly Name Event Type
Create Begin
com.oraclecloud.databaseservice.createexadatainfrastructure.begin
Create End
com.oraclecloud.databaseservice.createexadatainfrastructure.end
Configuration File Download
com.oraclecloud.databaseservice.downloadexadatainfrastructureconfigfile
Activate Begin
com.oraclecloud.databaseservice.activateexadatainfrastructure.begin
Activate End
com.oraclecloud.databaseservice.activateexadatainfrastructure.end
Delete Begin
com.oraclecloud.databaseservice.deleteexadatainfrastructure.begin
Delete End
com.oraclecloud.databaseservice.deleteexadatainfrastructure.end
Update Begin
com.oraclecloud.databaseservice.updateexadatainfrastructure.begin
Update End
com.oraclecloud.databaseservice.updateexadatainfrastructure.end
Change Compartment
com.oraclecloud.databaseservice.changeexadatainfrastructurecompartment

Exadata Infrastructure Example

This is a reference event for Exadata Infrastructure instances:

 {
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.createexadatainfrastructure.begin",
    "source": "databaseservice",
    "eventTypeVersion": "<version>",
    "eventTime": "2019-08-29T21:16:04Z",
    "contentType": "application/json",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
    },
    "data": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
      "compartmentName": "example_name",
      "resourceName": "my_exadata_infra",
      "resourceId": "ExadataInfra-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...<unique_ID>",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-08-29T12:00:00.000Z",
        "timeUpdated": "2019-08-29T12:30:00.000Z",
        "lifecycleDetails": "detail message",
        "shape": "ExadataCC.Base3.48",
        "timeZone": "US/Pacific",
        "displayName": "testDisplayName"
      }
    }
  }

VM Cluster Network Event Types

These are the event types that VM cluster networks emit:

Friendly Name Event Type
Create Begin
com.oraclecloud.databaseservice.createvmclusternetwork.begin
Create End
com.oraclecloud.databaseservice.createvmclusternetwork.end
Update Begin
com.oraclecloud.databaseservice.createvmclusternetwork.begin
Update End
com.oraclecloud.databaseservice.createvmclusternetwork.end
Validate Begin
com.oraclecloud.databaseservice.validatevmclusternetwork.begin
Validate End
com.oraclecloud.databaseservice.validatevmclusternetwork.end
Network Validation File Download
com.oraclecloud.databaseservice.downloadvmclusternetworkconfigfile
Terminate Begin
com.oraclecloud.databaseservice.deletevmclusternetwork.begin
Terminate End
com.oraclecloud.databaseservice.deletevmclusternetwork.end

VM Cluster Network Example

This is a reference event for VM cluster networks:

 {
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.createvmclusternetwork.begin",
    "source": "databaseservice",
    "eventTypeVersion": "<version>",
    "eventTime": "2019-08-29T21:16:04Z",
    "contentType": "application/json",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
    },
    "data": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
      "compartmentName": "example_name",
      "resourceName": "my_vmcluster_network",
      "resourceId": "VmClusterNetwork-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...<unique_ID>",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-08-29T12:00:00.000Z",
        "timeUpdated": "2019-08-29T12:30:00.000Z",
        "lifecycleDetails": "detail message",
        "exadataInfrastructureId": "ExadataInfra-unique_ID",
        "displayName": "testDisplayName"
      }
    }
  }

VM Cluster Event Types

These are the event types that VM clusters emit:

Friendly Name Event Type
Change Compartment
com.oraclecloud.databaseservice.changevmclustercompartment
Create Begin
com.oraclecloud.databaseservice.createvmcluster.begin
Create End
com.oraclecloud.databaseservice.createvmcluster.end
Update Begin
com.oraclecloud.databaseservice.updatevmcluster.begin
Update End
com.oraclecloud.databaseservice.updatevmcluster.end
Terminate Begin
com.oraclecloud.databaseservice.deletevmcluster.begin
Terminate End
com.oraclecloud.databaseservice.deletevmcluster.end

VM Cluster Example

This is a reference event for VM clusters:

 {
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.createvmclusternetwork.begin",
    "source": "databaseservice",
    "eventTypeVersion": "<version>",
    "eventTime": "2019-08-29T21:16:04Z",
    "contentType": "application/json",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
    },
    "data": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
      "compartmentName": "example_name",
      "resourceName": "my_vmcluster_network",
      "resourceId": "VmClusterNetwork-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...<unique_ID>",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-08-29T12:00:00.000Z",
        "timeUpdated": "2019-08-29T12:30:00.000Z",
        "lifecycleDetails": "detail message",
        "exadataInfrastructureId": "ExadataInfra-unique_ID",
        "displayName": "testDisplayName"
      }
    }
  }

Backup Destination Event Types

These are the event types that backup destinations emit:

Friendly Name Event Type
Create
com.oraclecloud.databaseservice.createbackupdestination
Update
com.oraclecloud.databaseservice.updatebackupdestination
Change Compartment
com.oraclecloud.databaseservice.changebackupdestinationcompartment
Terminate
com.oraclecloud.databaseservice.deletebackupdestination

Backup Destination Example

This is a reference event for backup destinations:

{
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.createbackupdestination",
    "source": "databaseservice",
    "eventTypeVersion": "<version>",
    "eventTime": "2019-08-29T21:16:04Z",
    "contentType": "application/json",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
    },
    "data": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
      "compartmentName": "example_name",
      "resourceName": "my_backupdestination",
      "resourceId": "BackupDestination-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {}
    }
  }

DB Node Event Types

These are the event types that DB nodes emit:

Friendly Name Event Type
Update Begin
com.oraclecloud.databaseservice.dbnodeaction.begin
Update End
com.oraclecloud.databaseservice.dbnodeaction.end

DB Node Example

This is a reference event for DB nodes:

{
  "cloudEventsVersion": "0.1",
  "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
  "eventType": "com.oraclecloud.databaseservice.dbnodeaction.begin",
  "source": "databaseservice",
  "eventTypeVersion": "<version>",
  "eventTime": "2019-06-27T21:16:04Z",
  "contentType": "application/json",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  },
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_name",
    "resourceName": "my_dbnode",
    "resourceId": "DbNode-unique_ID",
    "availabilityDomain": "all",
    "freeFormTags": {},
    "definedTags": {},
    "additionalDetails": {
      "id": "ocid1.id..oc1...<unique_ID>",
      "lifecycleState": "AVAILABLE",
      "timeCreated": "2019-08-26T12:00:00.000Z",
      "timeUpdated": "2019-08-26T12:30:00.000Z",
      "dbSystemId": "ocid1.dbsystem.oc1.phx.<unique_ID>",
      "lifecycleDetails": "detail message",
      "vmClusterId": "VmCluster-unique_ID",
      "dbHostId": "dbHost-unique_ID",
      "nodeNumber": 2,
      "powerAction": "HardReset",
      "hostName": "testHostName"
    }
  }
}

Database Home Event Types

These are the event types that Database Homes emit:

Friendly Name Event Type
Create Begin
com.oraclecloud.databaseservice.createdbhome.begin
Create End
com.oraclecloud.databaseservice.createdbhome.end
Terminate Begin
com.oraclecloud.databaseservice.deletedbhome.begin
Terminate End
com.oraclecloud.databaseservice.deletedbhome.end

Database Home Example

This is a reference event for Database Homes:

{
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.createdbhome.begin",
    "source": "databaseservice",
    "eventTypeVersion": "<version>",
    "eventTime": "2019-08-29T21:16:04Z",
    "contentType": "application/json",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
    },
    "data": {
      "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
      "compartmentName": "example_name",
      "resourceName": "my_dbhome",
      "resourceId": "DbHome-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...<unique_ID>",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-08-29T12:00:00.000Z",
        "timeUpdated": "2019-08-29T12:30:00.000Z",
        "lifecycleDetails": "detail message",
        "dbSystemId": "DbSystem-unique_ID",
        "dbVersion": "19.0.0.0",
        "recordVersion": 4,
        "displayName": "testDisplayName"
      }
    }
  }

Database Event Types

These are the event types that databases emit:

Friendly Name Event Type
Automatic Backup Begin
com.oraclecloud.databaseservice.automaticbackupdatabase.begin
Automatic Backup End
com.oraclecloud.databaseservice.automaticbackupdatabase.end
Create Begin
com.oraclecloud.databaseservice.createdatabase.begin
Create End
com.oraclecloud.databaseservice.createdatabase.end
Restore Begin
com.oraclecloud.databaseservice.restoredatabase.begin
Restore End
com.oraclecloud.databaseservice.restoredatabase.end
Terminate Begin
com.oraclecloud.databaseservice.deletedatabase.begin
Terminate End
com.oraclecloud.databaseservice.deletedatabase.end
Update Begin
com.oraclecloud.databaseservice.updatedatabase.begin
Update End
com.oraclecloud.databaseservice.updatedatabase.end

Database Example

This is a reference event for databases:

{
  "cloudEventsVersion": "0.1",
  "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
  "eventType": "com.oraclecloud.databaseservice.restoredatabase.begin",
  "source": "databaseservice",
  "eventTypeVersion": "<version>",
  "eventTime": "2019-06-27T21:16:04Z",
  "contentType": "application/json",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>"
  },
  "data": {
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "example_name",
    "resourceName": "my_database",
    "resourceId": "Database-unique_ID",
    "availabilityDomain": "all",
    "freeFormTags": {},
    "definedTags": {},
    "additionalDetails": {
      "id": "ocid1.id..oc1...<unique_ID>",
      "lifecycleState": "AVAILABLE",
      "timeCreated": "2019-08-26T12:00:00.000Z",
      "timeUpdated": "2019-08-26T12:30:00.000Z",
      "dbSystemId": "dbSystem-unique_ID",
      "displayName": "testDisplayName",
      "lifecycleDetails": "detail message",
      "vmClusterId": "VmCluster-<unique_ID>",
      "backupType": "FULL",
      "dbHomeId": "dbHome-<unique_ID>",
      "dbVersion": "19.0.0.0",
      "databaseEdition": "ENTERPRISE_EDITION_EXTREME",
      "autoBackupsEnabled": "true",
      "recoveryWindow": 30,
      "backupDestinationId": "backupDestination-<unique_ID>",
      "backupDestinationType": "OBJECT_STORAGE",
      "backupDestinationName": "my_backup_destination_name",
      "exadataInfrastructureId": "ExadataInfrastructure-<unique_ID>",
      "dbUniqueName": "akv_tgh_unqna"
    }
  }
}

Networking

Networking resources that emit events:

NAT Gateway Event Types

These are the event types that NAT gateways emit:

Friendly Name Event Type
Create NAT Gateway
com.oraclecloud.natgateway.createnatgateway
Delete NAT Gateway
com.oraclecloud.natgateway.deletenatgateway
Update NAT Gateway
com.oraclecloud.natgateway.updatenatgateway
Change NAT Gateway Compartment
com.oraclecloud.natgateway.changenatgatewaycompartment

NAT Gateway Example

This is a reference event for NAT gateways:

{
  "eventType": "com.oraclecloud.natgateway.createnatgateway",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "natgateway",
  "eventTime": "2019-08-12T17:51:42.789Z",
  "contentType": "application\/json",
  "data": {
    "compartmentId": "ocid1.compartment.oci..<unique_ID>",
    "compartmentName": "example_name",
    "resourceName": "example_name",
    "resourceId": "ocid1.natgateway.oci.phx.<unique_ID>",
    "availabilityDomain": "XXIT:PHX-AD-1",
    "freeFormTags": {
      "Department": "Finance"
    },
    "definedTags": {
      "Operations": {
        "CostCenter": "42"
      }
    }
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oci..<unique_ID>"
  }
}

Service Gateway Event Types

These are the event types that service gateways emit:

Friendly Name Event Type
Create Service Gateway
com.oraclecloud.servicegateway.createservicegateway
Delete Service Gateway Start
com.oraclecloud.servicegateway.deleteservicegateway.begin 
Delete Service Gateway End
com.oraclecloud.servicegateway.deleteservicegateway.end
Update Service Gateway
com.oraclecloud.servicegateway.updateservicegateway
Change Service Gateway Compartment
com.oraclecloud.servicegateway.changeservicegatewaycompartment
Attach Service
com.oraclecloud.servicegateway.attachserviceid
Detach Service
com.oraclecloud.servicegateway.detachserviceid

Service Gateway Example

This is a reference event for service gateways:

{
  "eventType": "com.oraclecloud.servicegateway.createservicegateway",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "servicegateway",
  "eventTime": "2019-08-12T17:51:42.789Z",
  "contentType": "application\/json",
  "data": {
    "compartmentId": "ocid1.compartment.oci..<unique_ID>",
    "compartmentName": "example_name",
    "resourceName": "example_name",
    "resourceId": "ocid1.servicegateway.oci.phx.<unique_ID>",
    "availabilityDomain": "XXIT:PHX-AD-1",
    "freeFormTags": {
      "Department": "Finance"
    },
    "definedTags": {
      "Operations": {
        "CostCenter": "42"
      }
    }
  },
  "eventID": "<unique_ID>",
  "extensions": {
    "compartmentId": "ocid1.compartment.oci..<unique_ID>"
  }
}

Notifications

Notifications resources that emit events:

Subscriptions Event Types

These are the event types that subscriptions emit: 

Friendly Name Event Type
Create Subscription
com.oraclecloud.notification.createsubscription
Delete Subscription
com.oraclecloud.notification.deletesubscription
Move Subscription
com.oraclecloud.notification.movesubscription
Resend Subscription Confirmation
com.oraclecloud.notification.resendsubscriptionconfirmation
Update Subscription
com.oraclecloud.notification.updatesubscription

Subscription Example

This is a reference event for subscriptions:

{
  "eventType": "com.oraclecloud.notification.createsubscription", 
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "notification",
  "eventTime": "2019-01-10T21:19:24Z",
  "contentType": "application/json",
  "data":{
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "my_compartment",
    "resourceName": "ons-subscription",
    "resourceId": "ocid1.onssubscription.oc1..<unique_ID>",
    "availabilityDomain": "AD3"
  },
  "eventID": "<unique_ID>",
  "extensions":{
    "compartmentId":"ocid1.compartment.oc1..<unique_ID>"
  }
}

Topics Event Types

These are the event types that topics emit: 

Friendly Name Event Type
Create Topic
com.oraclecloud.notification.createtopic
Delete Topic
com.oraclecloud.notification.deletetopic
Move Topic
com.oraclecloud.notification.movetopic
Update Topic
com.oraclecloud.notification.updatetopic

Topic Example

This is a reference event for topics:

{
  "eventType": "com.oraclecloud.notification.createtopic", 
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "2.0",
  "source": "notification",
  "eventTime": "2019-01-10T21:19:24Z",
  "contentType": "application/json",
  "data":{
    "compartmentId": "ocid1.compartment.oc1..<unique_ID>",
    "compartmentName": "my_compartment",
    "resourceName": "my_topic",
    "resourceId": "ocid1.onstopic.oc1..<unique_ID>",
    "availabilityDomain": "AD3"
  },
  "eventID": "<unique_ID>",
  "extensions":{
    "compartmentId":"ocid1.compartment.oc1..<unique_ID>"
  }
}

Object Storage

Object Storage resources that emit events: 

Buckets Event Types

These are the event types that buckets emit: 

Friendly Name Event Type
Create Bucket
com.oraclecloud.objectstorage.createbucket
Delete Bucket
com.oraclecloud.objectstorage.deletebucket
Update Bucket
com.oraclecloud.objectstorage.updatebucket

Bucket Example

This is an example event for buckets:

{
  "cloudEventsVersion": "0.1",
  "eventID": "<unique_ID>",
  "eventType": "com.oraclecloud.objectstorage.createbucket",
  "source": "objectstorage",
  "eventTypeVersion": "2.0",
  "eventTime": "2019-01-10T21:19:24Z",
  "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

Events for objects are handled differently than other resources. Objects do not emit events by default. Use the Console, CLI, or API to enable a bucket to emit events for object state changes. You can enable events for object state changes during or after bucket creation.

These are the event types that objects emit: 

Friendly Name Event Type
Create Object
com.oraclecloud.objectstorage.createobject
Delete Object
com.oraclecloud.objectstorage.deleteobject
Update Object
com.oraclecloud.objectstorage.updateobject

Object Example

This is an example event for objects:

{
  "cloudEventsVersion": "0.1",
  "eventID": "<unique_ID>",
  "eventType": "com.oraclecloud.objectstorage.createobject",
  "source": "objectstorage",
  "eventTypeVersion": "2.0",
  "eventTime": "2019-07-10T13:37:11Z",
  "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",
    "additionalDetails": {
      "eTag": "8162db5b-50d7-4947-a576-4401798ed2fa",
      "namespace": "my_namespace",
      "archivalState": null,
      "bucketName": "my_bucket",
      "bucketId": "ocid1.bucket.oc1.<unique_ID>"
    }
  }
}