Aktionen, die Sie auf Oracle Content Management-Instanzen ausführen, geben Ereignisse aus. Sie können mit der Infrastructure-Konsole Regeln definieren, die eine bestimmte Aktion auslösen, wenn ein Ereignis auftritt. Beispiel: Sie definieren eine Regel, mit der eine Benachrichtigung an Administratoren gesendet wird, sobald eine Instanz gelöscht wird. Siehe Überblick über Ereignisse und Erste Schritte mit Ereignissen.
In dieser Tabelle sind die Oracle Content Management-Ereignisse aufgelistet, die Sie referenzieren können.
| Ereignisname | Ereignistyp |
|---|---|
| GetOceInstance | com.oraclecloud.oce.GetOceInstance |
| ListOceInstances | com.oraclecloud.oce.ListOceInstances |
| ChangeOceInstanceCompartment (begin) | com.oraclecloud.oce.ChangeOceInstanceCompartment.begin |
| ChangeOceInstanceCompartment (end) | com.oraclecloud.oce.ChangeOceInstanceCompartment.end |
| CreateOceInstance (begin) | com.oraclecloud.oce.CreateOceInstance.begin |
| CreateOceInstance (end) | com.oraclecloud.oce.CreateOceInstance.end |
| DeleteOceInstance (begin) | com.oraclecloud.oce.DeleteOceInstance.begin |
| DeleteOceInstance (end) | com.oraclecloud.oce.DeleteOceInstance.end |
| UpdateOceInstance (begin) | com.oraclecloud.oce.UpdateOceInstance.begin |
| UpdateOceInstance (end) | com.oraclecloud.oce.UpdateOceInstance.end |
Beispiel
Dieses Beispiel zeigt Informationen zum Ereignis CreateOceInstance (begin):
{
"eventType": "com.oraclecloud.oce.CreateOceInstance.begin",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "oce",
"eventId": "<unique_ID>",
"eventTime": "2019-10-10T04:33:06.133Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "ocid1.coreservicesworkrequest.oc1..<unique_ID>",
"eventName": "CreateOceInstance",
"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
"compartmentName": "my_compartment",
"resourceName": "my_oce",
"resourceId": "ocid1.contentexperiencecloudservice.oc1..<unique_ID>",
"availabilityDomain": "<availability_domain>",
"freeformTags": null,
"definedTags": null,
"identity": {
"principalName": "admin",
"principalId": "ocid1.user.oc1..<unique_ID>",
"authType": "natv",
"callerName": null,
"callerId": null,
"tenantId": "ocid1.tenancy.oc1..<unique_ID>",
"ipAddress": "<ip_address>",
"credentials": "ocid1.tenancy.oc1..<unique_ID>/ocid1.user.oc1..<unique_ID>",
"userAgent": null,
"consoleSessionId": null
},
...