Service Mesh Events

Oracle Cloud Infrastructure Events are JSON files that are emitted with some service operations and carry information about that operation.

Oracle Cloud Infrastructure Service Mesh emits events when you perform on of the following operations on a service mesh resource:

  • Create an object.
  • Update an object.
  • Move an object to a new compartment.
  • Delete an object

Service Mesh includes the following objects:

  • Meshes
  • Virtual Services
  • Virtual Service Route Tables
  • Virtual Deployments
  • Ingress Gateways
  • Ingress Gateway Route Tables
  • Access Policies

Mesh Events

When you create, update, change compartment for, or delete a mesh, Service Mesh creates an event.

Here are the event types that meshes emit:

Friendly Name Event Type
Mesh Create Begin
com.oraclecloud.servicemesh.createmesh.begin
Mesh Create End
com.oraclecloud.servicemesh.createmesh.end
Mesh Change Compartment Begin
com.oraclecloud.servicemesh.changemeshcompartment.begin
Mesh Change Compartment End
com.oraclecloud.servicemesh.changemeshcompartment.end
Mesh Delete Begin
com.oraclecloud.servicemesh.deletemesh.begin
Mesh Delete End
com.oraclecloud.servicemesh.deletemesh.end
Mesh Update Begin
com.oraclecloud.servicemesh.updatemesh.begin
Mesh Update End
com.oraclecloud.servicemesh.updatemesh.end

Example for Creating a Mesh:

{
    "eventType": "com.oraclecloud.servicemesh.createmesh.end",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "servicemesh",
    "eventTime": "2022-03-04T10:36:06.133Z",
    "contentType": "application/json",
    "data": {
        "compartmentId": "ocid1.compartment.oc1..unique_ID",
        "compartmentName": "example_compartment",
        "resourceName": "example_resource",
        "resourceId": "ocid1.mesh.oc1.phx.unique_ID",
        "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
        "compartmentId": "ocid1.compartment.oc1.phx..unique_ID"
    }
}

Virtual Service Events

When you create, update, change compartment for, or delete a virtual service, Service Mesh creates an event.

Here are the event types that virtual services emit:

Friendly Name Event Type
Virtual Service Create Begin
com.oraclecloud.servicemesh.createvirtualservice.begin
Virtual Service Create End
com.oraclecloud.servicemesh.createvirtualservice.end
Virtual Service Change Compartment Begin
com.oraclecloud.servicemesh.changevirtualservicecompartment.begin
Virtual Service Change Compartment End
com.oraclecloud.servicemesh.changevirtualservicecompartment.end
Virtual Service Delete Begin
com.oraclecloud.servicemesh.deletevirtualservice.begin
Virtual Service Delete End
com.oraclecloud.servicemesh.deletevirtualservice.end
Virtual Service Update Begin
com.oraclecloud.servicemesh.updatevirtualservice.begin
Virtual Service Update End
com.oraclecloud.servicemesh.updatevirtualservice.end

Example for Changing a Virtual Service Compartment:

{
    "eventType": "com.oraclecloud.servicemesh.changevirtualservicecompartment.end",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "servicemesh",
    "eventTime": "2022-03-04T10:36:06.133Z",
    "contentType": "application/json",
    "data": {
        "compartmentId": "ocid1.compartment.oc1..unique_ID",
        "compartmentName": "example_compartment",
        "resourceName": "example_resource",
        "resourceId": "ocid1.meshvirtualservice.oc1.phx.unique_ID",
        "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
        "compartmentId": "ocid1.compartment.oc1.phx..unique_ID"
    }
}

Virtual Service Route Table Events

When you create, update, change compartment for, or delete a virtual service route table, Service Mesh creates an event.

Here are the event types that virtual service route tables emit:

Friendly Name Event Type
Virtual Service Route Table Create Begin
com.oraclecloud.servicemesh.createvirtualserviceroutetable.begin
Virtual Service Route Table Create End
com.oraclecloud.servicemesh.createvirtualserviceroutetable.end
Virtual Service Route Table Change Compartment Begin
com.oraclecloud.servicemesh.changevirtualserviceroutetablecompartment.begin
Virtual Service Route Table Change Compartment End
com.oraclecloud.servicemesh.changevirtualserviceroutetablecompartment.end
Virtual Service Route Table Delete Begin
com.oraclecloud.servicemesh.deletevirtualserviceroutetable.begin
Virtual Service Route Table Delete End
com.oraclecloud.servicemesh.deletevirtualserviceroutetable.end
Virtual Service Route Table Update Begin
com.oraclecloud.servicemesh.updatevirtualserviceroutetable.begin
Virtual Service Route Table Update End
com.oraclecloud.servicemesh.updatevirtualserviceroutetable.end

Example for Deleting a Virtual Service Route Table:

{
    "eventType": "com.oraclecloud.servicemesh.deletevirtualserviceroutetable.end",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "servicemesh",
    "eventTime": "2022-03-04T10:36:06.133Z",
    "contentType": "application/json",
    "data": {
        "compartmentId": "ocid1.compartment.oc1..unique_ID",
        "compartmentName": "example_compartment",
        "resourceName": "example_resource",
        "resourceId": "ocid1.meshvirtualserviceroutetable.oc1.phx.unique_ID",
        "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
        "compartmentId": "ocid1.compartment.oc1.phx..unique_ID"
    }
}

Virtual Deployment Events

When you create, update, change compartment for, or delete a virtual deployment, Service Mesh creates an event.

Here are the event types that virtual deployments emit:

Friendly Name Event Type
Virtual Deployment Create Begin
com.oraclecloud.servicemesh.createvirtualdeployment.begin
Virtual Deployment Create End
com.oraclecloud.servicemesh.createvirtualdeployment.end
Virtual Deployment Change Compartment Begin
com.oraclecloud.servicemesh.changevirtualdeploymentcompartment.begin
Virtual Deployment Change Compartment End
com.oraclecloud.servicemesh.changevirtualdeploymentcompartment.end
Virtual Deployment Delete Begin
com.oraclecloud.servicemesh.deletevirtualdeployment.begin
Virtual Deployment Delete End
com.oraclecloud.servicemesh.deletevirtualdeployment.end
Virtual Deployment Update Begin
com.oraclecloud.servicemesh.updatevirtualdeployment.begin
Virtual Deployment Update End
com.oraclecloud.servicemesh.updatevirtualdeployment.end

Example for Updating a Virtual Deployment:

{
    "eventType": "com.oraclecloud.servicemesh.updatevirtualdeployment.begin",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "servicemesh",
    "eventTime": "2022-03-04T10:36:06.133Z",
    "contentType": "application/json",
    "data": {
        "compartmentId": "ocid1.compartment.oc1..unique_ID",
        "compartmentName": "example_compartment",
        "resourceName": "example_resource",
        "resourceId": "ocid1.meshvirtualdeployment.oc1.phx.unique_ID",
        "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
        "compartmentId": "ocid1.compartment.oc1.phx..unique_ID"
    }
}

Ingress Gateway Events

When you create, update, change compartment for, or delete an ingress gateway, Service Mesh creates an event.

Here are the event types that ingress gateways emit:

Friendly Name Event Type
Ingress Gateway Create Begin
com.oraclecloud.servicemesh.createingressgateway.begin
Ingress Gateway Create End
com.oraclecloud.servicemesh.createingressgateway.end
Ingress Gateway Change Compartment Begin
com.oraclecloud.servicemesh.changeingressgatewaycompartment.begin
Ingress Gateway Change Compartment End
com.oraclecloud.servicemesh.changeingressgatewaycompartment.end
Ingress Gateway Delete Begin
com.oraclecloud.servicemesh.deleteingressgateway.begin
Ingress Gateway Delete End
com.oraclecloud.servicemesh.deleteingressgateway.end
Ingress Gateway Update Begin
com.oraclecloud.servicemesh.updateingressgateway.begin
Ingress Gateway Update End
com.oraclecloud.servicemesh.updateingressgateway.end

Example for Creating an Ingress Gateway:

{
    "eventType": "com.oraclecloud.servicemesh.createingressgateway.end",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "servicemesh",
    "eventTime": "2022-03-04T10:36:06.133Z",
    "contentType": "application/json",
    "data": {
        "compartmentId": "ocid1.compartment.oc1..unique_ID",
        "compartmentName": "example_compartment",
        "resourceName": "example_resource",
        "resourceId": "ocid1.meshingressgateway.oc1.phx.unique_ID",
        "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
        "compartmentId": "ocid1.compartment.oc1.phx..unique_ID"
    }
}

Ingress Gateway Route Table Events

When you create, update, change compartment for, or delete an ingress gateway route table, Service Mesh creates an event.

Here are the event types that ingress gateway route tables emit:

Friendly Name Event Type
Ingress Gateway Route Table Create Begin
com.oraclecloud.servicemesh.createingressgatewayroutetable.begin
Ingress Gateway Route Table Create End
com.oraclecloud.servicemesh.createingressgatewayroutetable.end
Ingress Gateway Route Table Change Compartment Begin
com.oraclecloud.servicemesh.changeingressgatewayroutetablecompartment.begin
Ingress Gateway Route Table Change Compartment End
com.oraclecloud.servicemesh.changeingressgatewayroutetablecompartment.end
Ingress Gateway Route Table Delete Begin
com.oraclecloud.servicemesh.deleteingressgatewayroutetable.begin
Ingress Gateway Route Table Delete End
com.oraclecloud.servicemesh.deleteingressgatewayroutetable.end
Ingress Gateway Route Table Update Begin
com.oraclecloud.servicemesh.updateingressgatewayroutetable.begin
Ingress Gateway Route Table Update End
com.oraclecloud.servicemesh.updateingressgatewayroutetable.end

Example for Deleting an Ingress Gateway Route Table:

{
    "eventType": "com.oraclecloud.servicemesh.deleteingressgatewayroutetable.end",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "servicemesh",
    "eventTime": "2022-03-04T10:36:06.133Z",
    "contentType": "application/json",
    "data": {
        "compartmentId": "ocid1.compartment.oc1..unique_ID",
        "compartmentName": "example_compartment",
        "resourceName": "example_resource",
        "resourceId": "ocid1.meshingressgatewayroutetable.oc1.phx.unique_ID",
        "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
        "compartmentId": "ocid1.compartment.oc1.phx..unique_ID"
    }
}

Access Policy Events

When you create, update, change compartment for, or delete an access policy, Service Mesh creates an event.

Here are the event types that access policies emit:

Friendly Name Event Type
Access Policy Create Begin
com.oraclecloud.servicemesh.createaccesspolicy.begin
Access Policy Create End
com.oraclecloud.servicemesh.createaccesspolicy.end
Access Policy Change Compartment Begin
com.oraclecloud.servicemesh.changeaccesspolicycompartment.begin
Access Policy Change Compartment End
com.oraclecloud.servicemesh.changeaccesspolicycompartment.end
Access Policy Delete Begin
com.oraclecloud.servicemesh.deleteaccesspolicy.begin
Access Policy Delete End
com.oraclecloud.servicemesh.deleteaccesspolicy.end
Access Policy Update Begin
com.oraclecloud.servicemesh.updateaccesspolicy.begin
Access Policy Update End
com.oraclecloud.servicemesh.updateaccesspolicy.end

Example for Updating an Access Policy:

{
    "eventType": "com.oraclecloud.servicemesh.updateaccesspolicy.end",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "2.0",
    "source": "servicemesh",
    "eventTime": "2022-03-04T10:36:06.133Z",
    "contentType": "application/json",
    "data": {
        "compartmentId": "ocid1.compartment.oc1..unique_ID",
        "compartmentName": "example_compartment",
        "resourceName": "example_resource",
        "resourceId": "ocid1.meshaccesspolicy.oc1.phx.unique_ID",
        "availabilityDomain": "availability_domain"
    },
    "eventID": "unique_ID",
    "extensions": {
        "compartmentId": "ocid1.compartment.oc1.phx..unique_ID"
    }
}