서비스 이벤트

Oracle Content Management 인스턴스에 수행한 작업은 이벤트를 내보냅니다. Infrastructure 콘솔을 사용하여 이벤트가 발생할 때 특정 동작을 트리거하는 규칙을 정의할 수 있습니다. 예를 들어, 누군가 인스턴스를 삭제할 때 관리자에게 통지를 보내는 규칙을 정의할 수 있습니다. Overview of EventsGet Started with Events를 참조하십시오.

이 표는 참조할 수 있는 Oracle Content Management 이벤트를 나열합니다.

이벤트 이름 이벤트 유형
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

예제

이 예제는 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
    },
...