Oracle Exadata Cloud@Customer Events

The Oracle Database resources emit events, which are structured messages that indicate changes in resources.

Exadata Infrastructure Event Types

Review the list of event types that Exadata Infrastructure instances emit.

Table 19-1 Exadata Infrastructure Event Types

Friendly Name Event Type

Activate Begin

com.oraclecloud.databaseservice.activateexadatainfrastructure.begin

Activate End

com.oraclecloud.databaseservice.activateexadatainfrastructure.end

Change Compartment

com.oraclecloud.databaseservice.changeexadatainfrastructurecompartment

Configuration File Download

com.oraclecloud.databaseservice.downloadexadatainfrastructureconfigfile

Create Begin

com.oraclecloud.databaseservice.createexadatainfrastructure.begin

Create End

com.oraclecloud.databaseservice.createexadatainfrastructure.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

Exadata Infrastructure - Connectivity Status

com.oraclecloud.databaseservice.exadatainfrastructureconnectstatus

Example 19-1 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"
      }
    }
  }
This is a reference event for Exadata Infrastructure - Connectivity Status:
{
  "eventType" : "com.oraclecloud.databaseservice.exadatainfrastructureconnectstatus",
  "cloudEventsVersion" : "0.1",
  "eventTypeVersion" : "2.0",
  "source" : "DatabaseService",
  "eventTime" : "2020-06-02T06:07:40.141Z",
  "contentType" : "application/json",
  "data" : {
    "compartmentId" : "ocid1.compartment.oc1..aaaaaaaayrygl4guhplo5rtiumx3eh4mk7grrkrqspzaltmvbxecnbvhkrga",
    "compartmentName" : "DBaaSInteg20160918ExaccTest",
    "resourceName" : "MVM_HR",
    "resourceId" : "ocid1.exadatainfrastructure.oc1.ap-hyderabad-1.abuhsljrp2vzzenmqmctqciwro6euhhsmlrewiiemiktov5xyfsu5hiufjsq",
    "availabilityDomain" : "",
    "additionalDetails" : {
      "timeCreated" : "2020-05-28T00:23:18Z",
      "timeUpdated" : "2020-06-02T06:07:40Z",
      "lifecycleState" : "DISCONNECTED",
      "lifecycleDetails" : "Exadata Infrastructure is not reachable. Please lodge a Service Request (SR) with Oracle Support and provide Infrastructure-id: ocid1.exadatainfrastructure.oc1.ap-hyderabad-1.abuhsljrp2vzzenmqmctqciwro6euhhsmlrewiiemiktov5xyfsu5hiufjsq.",
      "shape" : "ExadataCC.Half3.200",
      "timeZone" : "UTC"
    },
    "definedTags" : {
      "Oracle-Tags" : {
        "CreatedBy" : "test-user@example.com",
        "CreatedOn" : "2020-05-28T00:23:18.291Z"
      }
    }
  },
  "eventID" : "cde92d45-a06b-4b69-a125-6005dd8c2f0c",
  "extensions" : {
    "compartmentId" : "ocid1.compartment.oc1..aaaaaaaayrygl4guhplo5rtiumx3eh4mk7grrkrqspzaltmvbxecnbvhkrga"
  }
}

VM Cluster Network Event Types

Review the list of event types that VM cluster networks emit.

Table 19-2 VM Cluster Network Event Types

Friendly Name Event Type

Create Begin

com.oraclecloud.databaseservice.createvmclusternetwork.begin

Create End

com.oraclecloud.databaseservice.createvmclusternetwork.end

Network Validation File Download

com.oraclecloud.databaseservice.downloadvmclusternetworkconfigfile

Terminate Begin

com.oraclecloud.databaseservice.deletevmclusternetwork.begin

Terminate End

com.oraclecloud.databaseservice.deletevmclusternetwork.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

Example 19-2 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

Review the list of event types that VM clusters emit.

Table 19-3 VM Cluster Event Types

Friendly Name Event Type

Change Compartment

com.oraclecloud.databaseservice.changevmclustercompartment

Create Begin

com.oraclecloud.databaseservice.createvmcluster.begin

Create End

com.oraclecloud.databaseservice.createvmcluster.end

Terminate Begin

com.oraclecloud.databaseservice.deletevmcluster.begin

Terminate End

com.oraclecloud.databaseservice.deletevmcluster.end

Update Begin

com.oraclecloud.databaseservice.updatevmcluster.begin

Update End

com.oraclecloud.databaseservice.updatevmcluster.end

Example 19-3 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"
      }
    }
  }

This is a reference event for VM Cluster Create Begin:

{
  "cloudEventsVersion": "0.1",
  "eventId": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
  "eventType": "com.oraclecloud.databaseservice.createvmcluster.begin",
  "source": "databaseservice",
  "eventTypeVersion": "1.0",
  "eventTime": "2019-06-27T21:16:04.000Z",
  "contentType": "application/json",
  "extensions": {
    "compartmentId": "ocid1.compartment.oc1..unique_ID"
  },
  "data": {
    "compartmentId": "ocid1.compartment.oc1..unique_ID",
    "compartmentName": "example_name",
    "resourceName": "my_database",
    "resourceId": "Vmcluster-unique_ID",
    "availabilityDomain": "all",
    "freeFormTags": {},
    "definedTags": {},
    "additionalDetails": {
      "id": "ocid1.id..oc1...unique_ID",
      "lifecycleState": "AVAILABLE",
      "timeCreated": "2019-09-03T12:00:00.000Z",
      "timeUpdated": "2019-09-03T12:30:00.000Z",
      "displayName": "testDisplayName",
      "lifecycleDetails": "detail message",
      "exadataInfrastructureId": "ExatraInfra-unique_ID",
      "vmClusterNetworkId": "VmCluster-unique_ID",
      "cpuCoreCount": 2,
      "dataStorageSizeInTBs": 4,
      "dbVersion": "19.0.0.0",
      "licenseType": "BRING_YOUR_OWN_LICENSE",
      "giVersion": "19.0.0.0",
      "dbNodeIds": "[ocid1.dbnode.1, ocid1.dbnode.2,...]",
      "timeZone": "US/Pacific"
    }
  }
}

Backup Destination Event Types

Review the list of event types that backup destinations emit.

Table 19-4 Backup Destination Event Types

Friendly Name Event Type

Change Compartment

com.oraclecloud.databaseservice.changebackupdestinationcompartment

Create

com.oraclecloud.databaseservice.createbackupdestination

Terminate

com.oraclecloud.databaseservice.deletebackupdestination

Update

com.oraclecloud.databaseservice.updatebackupdestination

Example 19-4 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": {}
    }
  }

Database Node Event Types (Cloud@Customer)

Review the list of event types that database nodes emit.

Table 19-5 Database Node Event Types

Friendly Name Event Type

Update Begin

com.oraclecloud.databaseservice.dbnodeaction.begin

Update End

com.oraclecloud.databaseservice.dbnodeaction.end

Example 19-5 Database Node Example

This is a reference event for database 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 (Cloud@Customer)

Review the list of event types that Database Homes emit.

Table 19-6 Database Home Event Types

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

Update Begin

com.oraclecloud.databaseservice.updatedbhome.begin

Update End

com.oraclecloud.databaseservice.updatedbhome.end

Example 19-6 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 (Cloud@Customer)

Review the list of event types that databases emit.

Table 19-7 Database Event Types

Friendly Name Event Type

Create Begin

com.oraclecloud.databaseservice.createdatabase.begin

Create End

com.oraclecloud.databaseservice.createdatabase.end

Delete Backup Begin

com.oraclecloud.databaseservice.deletebackup.begin

Delete Backup End

com.oraclecloud.databaseservice.deletebackup.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

Example 19-7 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"
    }
  }
}

Database and Grid Infrastructure Patching Event Types

Review the list of event types that Database and Grid Infrastructure Patching emit.

Table 19-8 Database and Grid Infrastructure Patching Events

Friendly Name Event Type

VM Cluster - Patch Begin

com.oraclecloud.databaseservice.patchvmcluster.begin

VM Cluster - Patch End

com.oraclecloud.databaseservice.patchvmcluster.end

DB Home - Patch Begin

com.oraclecloud.databaseservice.patchdbhome.begin

DB Home - Patch End

com.oraclecloud.databaseservice.patchdbhome.end

Database - Move Begin

com.oraclecloud.databaseservice.movedatabase.end

Database - Move End

com.oraclecloud.databaseservice.movedatabase.end

Example 19-8 Database Example

This is a reference event for VM Cluster - Patch Begin:
{
    "cloudEventsVersion": "0.1",
    "eventId": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.patchvmcluster.begin",
    "source": "databaseservice",
    "eventTypeVersion": "1.0",
    "eventTime": "2019-06-27T21:16:04.000Z",
    "contentType": "application/json",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..unique_ID"
    },
    "data": {
      "compartmentId": "ocid1.compartment.oc1..unique_ID",
      "compartmentName": "example_name",
      "resourceName": "my_database",
      "resourceId": "Vmcluster-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...unique_ID",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-09-03T12:00:00.000Z",
        "timeUpdated": "2019-09-03T12:30:00.000Z",
        "displayName": "testDisplayName",
        "lifecycleDetails": "detail message",
        "exadataInfrastructureId": "ExatraInfra-unique_ID",
        "vmClusterNetworkId": "VmCluster-unique_ID",
        "cpuCoreCount": 2,
        "dataStorageSizeInTBs": 4,
        "dbVersion": "19.0.0.0",
        "licenseType": "BRING_YOUR_OWN_LICENSE",
        "giVersion": "19.0.0.0",
        "dbNodeIds": "[ocid1.dbnode.1, ocid1.dbnode.2,...]",
        "timeZone": "US/Pacific"
      }
    }
  }
This is a reference event for DB Home - Patch Begin:
{
    "cloudEventsVersion": "0.1",
    "eventId": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.patchdbhome.begin",
    "source": "databaseservice",
    "eventTypeVersion": "1.0",
    "eventTime": "2019-08-29T21:16:04.000Z",
    "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"
      }
    }
  }
This is a reference event for Database - Move Begin:
{
    "cloudEventsVersion": "0.1",
    "eventId": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.movedatabase.begin",
    "source": "databaseservice",
    "eventTypeVersion": "1.0",
    "eventTime": "2019-06-27T21:16:04.000Z",
    "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": "ocid1.dbsystem.oc1.phx.unique_ID",
        "displayName": "testDisplayName",
        "lifecycleDetails": "detail message",
        "vmClusterId": "VmCluster-unique_ID",
        "dbSystemId": "dbSystem-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"
      }
    }
  }

Autonomous VM Cluster Event Types

Review the list of event types that Autonomous VM clusters emit.

Table 19-9 Autonomous VM Cluster Events

Friendly Name Event Type

Autonomous VM Cluster - Change Compartment

com.oraclecloud.databaseservice.changeautonomousvmclustercompartment

Autonomous VM Cluster - Create Begin

com.oraclecloud.databaseservice.createautonomousvmcluster.begin

Autonomous VM Cluster - Create End

com.oraclecloud.databaseservice.createautonomousvmcluster.end

Autonomous VM Cluster - Terminate Begin

com.oraclecloud.databaseservice.deleteautonomousvmcluster.begin

Autonomous VM Cluster - Terminate End

com.oraclecloud.databaseservice.deleteautonomousvmcluster.end

Autonomous VM Cluster - Update Begin

com.oraclecloud.databaseservice.updateautonomousvmcluster.begin

Autonomous VM Cluster - Update End

com.oraclecloud.databaseservice.updateautonomousvmcluster.end

Example 19-9 Autonomous VM Cluster Examples

This is a reference event for Autonomous VM Cluster - Change Compartment:
{
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.changeautonomousvmclustercompartment",
    "source": "databaseservice",
    "eventTypeVersion": "1.0",
    "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": "AutonomousVmCluster-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...unique_ID",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-09-03T12:00:00.000Z",
        "timeUpdated": "2019-09-03T12:30:00.000Z",
        "displayName": "testDisplayName",
        "lifecycleDetails": "detail message",
        "exadataInfrastructureId": "ExatraInfra-unique_ID",
        "vmClusterNetworkId": "VmClusterNetwork-unique_ID",
        "cpuCoreCount": "2",
        "availableCpus": "1",
        "dataStorageSizeInTBs": "4",
        "availableDataStorageSizeInTBs": "1",
        "licenseType": "BRING_YOUR_OWN_LICENSE",
        "timeZone": "US/Pacific"
      }
    }
  }
This is a reference event for Autonomous VM Cluster - Create Begin
{
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.createautonomousvmcluster.begin",
    "source": "databaseservice",
    "eventTypeVersion": "1.0",
    "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": "AutonomousVmCluster-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...unique_ID",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-09-03T12:00:00.000Z",
        "timeUpdated": "2019-09-03T12:30:00.000Z",
        "displayName": "testDisplayName",
        "lifecycleDetails": "detail message",
        "exadataInfrastructureId": "ExatraInfra-unique_ID",
        "vmClusterNetworkId": "VmClusterNetwork-unique_ID",
        "cpuCoreCount": "2",
        "availableCpus": "1",
        "dataStorageSizeInTBs": "4",
        "availableDataStorageSizeInTBs": "1",
        "licenseType": "BRING_YOUR_OWN_LICENSE",
        "timeZone": "US/Pacific"
      }
    }
  }
This is a reference event for Autonomous VM Cluster - Terminate Begin
{
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.deleteautonomousvmcluster.begin",
    "source": "databaseservice",
    "eventTypeVersion": "1.0",
    "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": "AutonomousVmCluster-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...unique_ID",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-09-03T12:00:00.000Z",
        "timeUpdated": "2019-09-03T12:30:00.000Z",
        "displayName": "testDisplayName",
        "lifecycleDetails": "detail message",
        "exadataInfrastructureId": "ExatraInfra-unique_ID",
        "vmClusterNetworkId": "VmClusterNetwork-unique_ID",
        "cpuCoreCount": "2",
        "availableCpus": "1",
        "dataStorageSizeInTBs": "4",
        "availableDataStorageSizeInTBs": "1",
        "licenseType": "BRING_YOUR_OWN_LICENSE",
        "timeZone": "US/Pacific"
      }
    }
  }
This is a reference event for Autonomous VM Cluster - Update Begin
{
    "cloudEventsVersion": "0.1",
    "eventID": "60600c06-d6a7-4e85-b56a-1de3e6042f57",
    "eventType": "com.oraclecloud.databaseservice.updateautonomousvmcluster.begin",
    "source": "databaseservice",
    "eventTypeVersion": "1.0",
    "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": "AutonomousVmCluster-unique_ID",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.id..oc1...unique_ID",
        "lifecycleState": "AVAILABLE",
        "timeCreated": "2019-09-03T12:00:00.000Z",
        "timeUpdated": "2019-09-03T12:30:00.000Z",
        "displayName": "testDisplayName",
        "lifecycleDetails": "detail message",
        "exadataInfrastructureId": "ExatraInfra-unique_ID",
        "vmClusterNetworkId": "VmClusterNetwork-unique_ID",
        "cpuCoreCount": "2",
        "availableCpus": "1",
        "dataStorageSizeInTBs": "4",
        "availableDataStorageSizeInTBs": "1",
        "licenseType": "BRING_YOUR_OWN_LICENSE",
        "timeZone": "US/Pacific"
      }
    }
  }

Autonomous Container Database Event Types

Review the list of event types that Autonomous Container Database emit.

Table 19-10 Autonomous Container Database Events

Friendly Name Event Type

Change Compartment

com.oraclecloud.databaseservice.changeautonomouscontainerdatabasecompartment

Create Backup Begin

com.oraclecloud.databaseservice.autonomous.container.database.backup.begin

Create Backup End

com.oraclecloud.databaseservice.autonomous.container.database.backup.end

Create Begin

com.oraclecloud.databaseservice.autonomous.container.database.instance.create.begin

Create 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

Restart Begin

com.oraclecloud.databaseservice.restartautonomouscontainerdatabase.begin

Restart End

com.oraclecloud.databaseservice.restartautonomouscontainerdatabase.end

Restore Begin

com.oraclecloud.databaseservice.autonomous.container.database.restore.begin

Restore End

com.oraclecloud.databaseservice.autonomous.container.database.restore.end

Terminate Begin

com.oraclecloud.databaseservice.terminateautonomouscontainerdatabase.begin

Terminate End

com.oraclecloud.databaseservice.terminateautonomouscontainerdatabase.end

Update Begin

com.oraclecloud.databaseservice.autonomous.container.database.instance.update.begin

Update End

com.oraclecloud.databaseservice.autonomous.container.database.instance.update.begin

Example 19-10 Autonomous Container Database Examples

This is a reference event for create Autonomous Container Database:
{lifecycleState=AVAILABLE, 
autonomousVmClusterId=ocid1.autonomousvmcluster.oc1.sea.abzwkljrevsjcfuskw7mgi6ulzfg2epjjxhbnhwj63q7q3kzvuwg3djqnd2a,
displayName=CDB2-NFS, 
dbName=wqxtzzfn, 
dbUniqueName=wqxtzzfn_sea1td, 
freeTags={}, 
autonomousContainerDatabaseId=ocid1.autonomouscontainerdatabase.oc1.sea.abzwkljrxkuruqe3qzgw432adr5ug7ridmwi4ifvjlsahcdqdhbhzbf543xa, 
compartmentId=ocid1.compartment.region1..aaaaaaaass5x4witduxzgrs7qmzqk3m5kmoguve7urwploqef6763w3o42ta, 
timeUpdated=2020-06-15 21:52:24.085,
tenantId=ocid1.tenancy.region1..aaaaaaaagyw5okosjg54csr3u5qgaxvtjufz55537h44mjy2umiqur4z5w3a, 
timeCreated=2020-06-15 19:08:03.797,
id=ocid1.autonomouscontainerdatabase.oc1.sea.abzwkljrxkuruqe3qzgw432adr5ug7ridmwi4ifvjlsahcdqdhbhzbf543xa,
definedTags={}}

Autonomous Database Event Types

Review the list of event types that Autonomous Database emit.

Table 19-11 Autonomous Database Events

Friendly Name Event Type

Change Compartment Begin

com.oraclecloud.databaseservice.changeautonomousdatabasecompartment.begin

Change Compartment End

com.oraclecloud.databaseservice.changeautonomousdatabasecompartment.end

Create Backup Begin

com.oraclecloud.databaseservice.autonomous.database.backup.begin

Create Backup End

com.oraclecloud.databaseservice.autonomous.database.backup.end

Create Begin

com.oraclecloud.databaseservice.autonomous.database.instance.create.begin

Create 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

Start Begin

com.oraclecloud.databaseservice.startautonomousdatabase.begin

Start End

com.oraclecloud.databaseservice.startautonomousdatabase.end

Stop Begin

com.oraclecloud.databaseservice.stopautonomousdatabase.begin

Stop End

com.oraclecloud.databaseservice.stopautonomousdatabase.end

Terminate Begin

com.oraclecloud.databaseservice.deleteautonomousdatabase.begin

Terminate End

com.oraclecloud.databaseservice.deleteautonomousdatabase.end

Update Begin

com.oraclecloud.databaseservice.updateautonomousdatabase.begin

Update End

com.oraclecloud.databaseservice.updateautonomousdatabase.end

Data Guard Event Types

Review the list of event types that Data Guard associations emit.

Table 19-12 Data Guard Association Events

Friendly Name Event Type

Data Guard Association - Create Begin

com.oraclecloud.databaseservice.createdataguardassociation.begin

Data Guard Association - Create End

com.oraclecloud.databaseservice.createdataguardassociation.end

Switchover Begin

com.oraclecloud.databaseservice.switchoverdataguardassociation.begin

Switchover End

com.oraclecloud.databaseservice.switchoverdataguardassociation.end

Failover Begin

com.oraclecloud.databaseservice.failoverdataguardassociation.begin

Failover End

com.oraclecloud.databaseservice.failoverdataguardassociation.end

Reinstate Begin

com.oraclecloud.databaseservice.reinstatedataguardassociation.begin

Reinstate End

com.oraclecloud.databaseservice.reinstatedataguardassociation.end

Example 19-11 Data Guard Associations Examples

This is a reference event for Data Guard Association - Create Begin:
{
    "eventId": "022a63a4-ff77-11e9-a0af-f45c89b1cb17",
    "eventTime": "2019-11-05T02:50:21.000Z",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..unique_id"
    },
    "eventType": "com.oraclecloud.databaseservice.createdataguardassociation.begin",
    "eventTypeVersion": "2.0",
    "cloudEventsVersion": "0.1",
    "source": "databaseservice",
    "contentType": "application/json",
    "definedTags": {},
    "data": {
      "compartmentId": "ocid1.compartment.oc1..unique_id",
      "compartmentName": "example_name",
      "resourceName": "my_container_database",
      "resourceId": "ocid1.dataguard.oc1.phx.unique_id",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.dataguard.oc1.phx.unique_id",
        "timeCreated": "2019-06-27T21:15:59.000Z",
        "timeUpdated": "2019-06-27T21:16:04.389Z",
        "lifecycleState": "ACTIVE",
        "lifecycleMessage": "",
        "dbSystemId": "ocid1.vmcluster.oc1.phx.unique_id",
        "DatabaseId": "ocid1.database.oc1.phx.unique_id",
        "DbHomeId": "ocid1.dbhome.oc1.phx.unique_id",
        "DGConfigId": "022a67c8-ff77-11e9-af6e-f45c89b1cb17",
        "DGConfigState": "SUCCESS",
        "LastSyncedTime": "2019-06-27T21:16:04.389Z",
        "ApplyLag": "2 hours",
        "SyncState": "SYNCED",
        "dcsDgUpdateTimestamp": "2019-06-27T21:16:04.389Z",
        "lastUpdatedIdentifier": "022a6912-ff77-11e9-9e77-f45c89b1cb17",
        "displayName": "Data Guard Association - Create Begin",
        "licenseType": "BRING_YOUR_OWN_LICENSE",
        "workloadType": "Transaction Processing"
      }
    }
  }
This is a reference event for Data Guard Association - Create End:
{
    "eventId": "022aa7cc-ff77-11e9-90cd-f45c89b1cb17",
    "eventTime": "2019-11-05T02:50:21.000Z",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..unique_id"
    },
    "eventType": "com.oraclecloud.databaseservice.createdataguardassociation.end",
    "eventTypeVersion": "2.0",
    "cloudEventsVersion": "0.1",
    "source": "databaseservice",
    "contentType": "application/json",
    "definedTags": {},
    "data": {
      "compartmentId": "ocid1.compartment.oc1..unique_id",
      "compartmentName": "example_name",
      "resourceName": "my_container_database",
      "resourceId": "ocid1.dataguard.oc1.phx.unique_id",
      "availabilityDomain": "all",
      "freeFormTags": {},
      "definedTags": {},
      "additionalDetails": {
        "id": "ocid1.dataguard.oc1.phx.unique_id",
        "timeCreated": "2019-06-27T21:15:59.000Z",
        "timeUpdated": "2019-06-27T21:16:04.389Z",
        "lifecycleState": "ACTIVE",
        "lifecycleMessage": "",
        "dbSystemId": "ocid1.vmcluster.oc1.phx.unique_id",
        "DatabaseId": "ocid1.database.oc1.phx.unique_id",
        "DbHomeId": "ocid1.dbhome.oc1.phx.unique_id",
        "DGConfigId": "022aab34-ff77-11e9-b89c-f45c89b1cb17",
        "DGConfigState": "SUCCESS",
        "LastSyncedTime": "2019-06-27T21:16:04.389Z",
        "ApplyLag": "2 hours",
        "SyncState": "SYNCED",
        "dcsDgUpdateTimestamp": "2019-06-27T21:16:04.389Z",
        "lastUpdatedIdentifier": "022aac10-ff77-11e9-8041-f45c89b1cb17",
        "displayName": "Data Guard Association - Create End",
        "licenseType": "BRING_YOUR_OWN_LICENSE",
        "workloadType": "Transaction Processing"
      }
    }
  }