WebLogic Management Events

Some WebLogic Management resources emit events as part of the Oracle Cloud Infrastructure Events service.

Important

You can create automation based on state changes of resources by using event types, rules, and actions. You can define rules that trigger a specific action when an event occurs. For more information, see Overview of Events and Get Started with Events. For information about managing rules for events, see Managing Rules for Events.

WebLogic Management resources that emit events include:

Domain Event Types

These are the event types that the WebLogic Management domain resource emits:

Friendly Name Event Type
Change Compartment
com.oraclecloud.weblogicmanagement.changewlsdomaincompartment
Create Agreement Record
com.oraclecloud.weblogicmanagement.createagreementrecord
Create Domain
com.oraclecloud.weblogicmanagement.createwlsdomain
Delete
com.oraclecloud.weblogicmanagement.deletewlsdomain
Install Latest Patches Begin
com.oraclecloud.weblogicmanagement.installlatestpatchesonwlsdomain.begin
Install Latest Patches End
com.oraclecloud.weblogicmanagement.installlatestpatchesonwlsdomain.end
Restart Begin
com.oraclecloud.weblogicmanagement.restartwlsdomain.begin
Restart End
com.oraclecloud.weblogicmanagement.restartwlsdomain.end
Scan Begin
com.oraclecloud.weblogicmanagement.scanwlsdomain.begin
Scan End
com.oraclecloud.weblogicmanagement.scanwlsdomain.end
Set Restart Order
com.oraclecloud.weblogicmanagement.setrestartorder
Start Begin
com.oraclecloud.weblogicmanagement.startwlsdomain.end
Start End
com.oraclecloud.weblogicmanagement.startwlsdomain.end
Stop Begin
com.oraclecloud.weblogicmanagement.stopwlsdomain.begin
Stop End
com.oraclecloud.weblogicmanagement.stopwlsdomain.end
Uninstall Latest Patches Begin
com.oraclecloud.weblogicmanagement.uninstalllatestpatchesfromwlsdomain.begin
Uninstall Latest Patches End
com.oraclecloud.weblogicmanagement.uninstalllatestpatchesfromwlsdomain.end
Update
com.oraclecloud.weblogicmanagement.updatewlsdomain
Update Credential
com.oraclecloud.weblogicmanagement.updatewlsdomaincredential

WebLogic Domain Example

This is a reference event for a WebLogic domain:

{
    "eventType": "com.oraclecloud.weblogicmanagement.createagreementrecord",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "weblogicmanagement",
    "eventTime": "2024-11-01T00:00:00.000Z",
    "contentType": "application/json",
    "data": {
      "compartmentId": "ocid1.compartment.oc1..unique_ID",
      "compartmentName": "example_compartment",
      "resourceName": "example_domain_name",
      "resourceId": "ocid1.wlmswlsdomain.oc1.iad.unique_ID",
      "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..unique_ID"
    }

Managed Instance Event Types

These are the event types that the WebLogic Management managed instance resource emits:

Friendly Name Event Type
Scan Begin
com.oraclecloud.weblogicmanagement.scanmanagedinstance.begin
Scan End
com.oraclecloud.weblogicmanagement.scanmanagedinstance.end
Update
com.oraclecloud.weblogicmanagement.updatemanagedinstance

Managed Instance Example

This is a reference event for a managed instance:

{
    "eventType": "com.oraclecloud.weblogicmanagement.updatemanagedinstance",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "weblogicmanagement",
    "eventTime": "2024-11-01T00:00:00.000Z",
    "contentType": "application/json",
    "data": {
      "compartmentId": "ocid1.compartment.oc1..unique_ID",
      "compartmentName": "example_compartment",
      "resourceName": "example_instance_name",
      "resourceId": "ocid1.instance.oc1.iad.unique_ID",
      "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
      "compartmentId": "ocid1.compartment.oc1..unique_ID"
    }

Service Configuration Event Types

The WebLogic Management service configuration resource emits the following event type:

Friendly Name Event Type
Update
com.oraclecloud.weblogicmanagement.updateconfiguration

Service Configuration Example

This is a reference service configuration event:

{
    "eventType": "com.oraclecloud.weblogicmanagement.updateconfiguration",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "weblogicmanagement",
    "eventTime": "2024-11-01T00:00:00.000Z",
    "contentType": "application/json",
    "data": {
      "compartmentId": "ocid1.compartment.oc1..unique_ID",
      "compartmentName": "example_compartment",
      "resourceName": "",
      "resourceId": null,
      "availabilityDomain": "availability_domain"
    },