Service Events

Certain actions that you perform on Java Management Service fleets emit events.

You can define rules that trigger a specific action when an event occurs. For example, you might define a rule that sends a notification to administrators when someone deletes an instance. See Overview of Events and Get Started with Events.

This table lists the event types that Java Management Service fleets emit.
Event Name Event Type
Fleet - Change Compartment Begin
com.oraclecloud.javamanagementservice.changefleetcompartment.begin
Fleet - Change Compartment End
com.oraclecloud.javamanagementservice.changefleetcompartment.end
Fleet - Create Begin
com.oraclecloud.javamanagementservice.createfleet.begin
Fleet - Create End
com.oraclecloud.javamanagementservice.createfleet.end
Fleet - Delete Begin
com.oraclecloud.javamanagementservice.deletefleet.begin
Fleet - Delete End
com.oraclecloud.javamanagementservice.deletefleet.end
Fleet - Update Begin
com.oraclecloud.javamanagementservice.updatefleet.begin
Fleet - Update End
com.oraclecloud.javamanagementservice.updatefleet.end

This is a reference event for Java Management Service fleets:

{
    "eventType": "com.oraclecloud.javamanagementservice.changefleetcompartment.begin",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "javamanagementservice",
    "eventID": "unique_ID",
    "eventTime": "2021-01-01T01:00:00.000Z",
    "contentType": "application/json",
    "data": {
      "eventGroupingId": "ocid1.jmsworkrequest.oc1.phx.unique_ID",
      "eventName": "ChangeFleetCompartment",
      "compartmentId": "ocid1.compartment.oc1..unique_ID",
      "compartmentName": "example-compartment-name",
      "resourceName": "example-fleet-name",
      "resourceId": "ocid1.jmsfleet.oc1.phx.unique_ID",
      "availabilityDomain": "AD1"
    }