Secure Desktops Events
Create automation based on state changes for your Oracle Cloud Infrastructure resources by using event types, rules, and actions.
Secure Desktops resources that emit events:
Events may also emitted for other Secure Desktops service resources. Event schemas, however, are not defined for these resources because only list and get operations can be performed on them.
Desktop Pool Event Types
These are the event types that the desktop pool resource emits:
Friendly Name | Event Type |
---|---|
Change Compartment |
|
Create |
|
Delete |
|
Start |
|
Stop |
|
Update |
|
Desktop Pool Example 🔗
This is a reference event for desktop pool:
{
"id": "ocid1.eventschema.oc1..<unique_ID>",
"exampleEvent": {
"eventType": "com.oraclecloud.ocidesktopservice.createdesktoppool",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "OciDesktopService",
"eventTime": "2023-04-24T06:56:48.156Z",
"contentType": "application/json",
"data": {
"eventName": "CreateDesktopPool",
"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
"resourceName": "example_resource",
"resourceId": "ocid1.desktoppool.oc1.us-ashburn-1.<unique_ID>",
"compartmentName": "example_compartment",
"availabilityDomain": "availability_domain"
},
"eventID": "unique_ID",
"extensions": {
"compartmentId": "ocid1.compartment.oc1..<unique_ID>"
}
},
"serviceName": "Secure Desktops",
"displayName": "Desktop Pool - Create",
"additionalDetails": [
],
"timeCreated": "2023-04-26T12:00:00.000Z"
}
Desktop Event Types 🔗
These are the event types that the desktop resource emits:
Friendly Name | Event Type |
---|---|
Delete |
|
Start |
|
Stop |
|
Desktop Example 🔗
This is a reference event for desktop:
{
"id": "ocid1.eventschema.oc1..<unique_ID>",
"exampleEvent": {
"eventType": "com.oraclecloud.ocidesktopservice.startdesktop",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "OciDesktopService",
"eventTime": "2023-04-24T06:56:48.156Z",
"contentType": "application/json",
"data": {
"eventName": "StartDesktop",
"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
"resourceName": "example_resource",
"resourceId": "unique_ID",
"compartmentName": "example_compartment",
"availabilityDomain": "availability_domain"
},
"eventID": "unique_ID",
"extensions": {
"compartmentId": "ocid1.compartment.oc1..<unique_ID>"
}
},
"serviceName": "Secure Desktops",
"displayName": "Desktop - Start",
"additionalDetails": [
],
"timeCreated": "2023-04-26T12:00:00.000Z"
}