อีเวนต์ของบริการ

การดำเนินการที่คุณทำในอีเวนต์ของอินสแตนซ์ Oracle Content Management คุณสามารถใช้ Infrastructure Console เพื่อกำหนดกฎที่ทริกเกอร์การดำเนินการเฉพาะเมื่อมีอีเวนต์เกิดขึ้น ตัวอย่างเช่น คุณอาจกำหนดกฎที่ส่งการแจ้งไปยังผู้ดูแลระบบเมื่อมีผู้ลบอินสแตนซ์ โปรดดู ภาพรวมของอีเวนต์ และ เริ่มต้นใช้งานอีเวนต์

ตารางนี้แสดงอีเวนต์ Oracle Content Management ที่คุณสามารถอ้างอิงได้

ชื่ออีเวนต์ ประเภทอีเวนต์
GetOceInstance com.oraclecloud.oce.GetOceInstance
ListOceInstances com.oraclecloud.oce.ListOceInstances
ChangeOceInstanceCompartment (เริ่มต้น) com.oraclecloud.oce.ChangeOceInstanceCompartment.begin
ChangeOceInstanceCompartment (สิ้นสุด) com.oraclecloud.oce.ChangeOceInstanceCompartment.end
CreateOceInstance (เริ่มต้น) com.oraclecloud.oce.CreateOceInstance.begin
CreateOceInstance (สิ้นสุด) com.oraclecloud.oce.CreateOceInstance.end
DeleteOceInstance (เริ่มต้น) com.oraclecloud.oce.DeleteOceInstance.begin
DeleteOceInstance (สิ้นสุด) com.oraclecloud.oce.DeleteOceInstance.end
UpdateOceInstance (เริ่มต้น) com.oraclecloud.oce.UpdateOceInstance.begin
UpdateOceInstance (สิ้นสุด) com.oraclecloud.oce.UpdateOceInstance.end

ตัวอย่าง

ตัวอย่างนี้แสดงข้อมูลที่เชื่อมโยงกับอีเวนต์ CreateOceInstance (เริ่มต้น)

{
  "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
    },
...