Bastion-Ereignisse
Mit Oracle Cloud Infrastructure Events können Ihre Entwicklungsteams automatisch reagieren, wenn sich der Status einer Ressource ändert. Bastion-Ressourcen geben die folgenden Ereignisse aus.
Bastion-Ereignistypen
Anzeigename | Ereignistyp |
---|---|
Bastion - Bastion erstellen - Beginn |
|
Bastion - Bastion erstellen - Ende |
|
Bastion - Bastion aktualisieren - Beginn |
|
Bastion - Bastion aktualisieren - Ende |
|
Bastion - Bastion-Compartment ändern |
|
Bastion - Bastion löschen - Beginn |
|
Bastion - Bastion löschen - Ende |
|
Beispielereignis:
{
"eventType": "com.oraclecloud.bastion.createbastion.end",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "bastion",
"eventID": "unique_ID",
"eventTime": "2020-09-18T20:52:59.032Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "ocid1.bastionworkrequest.oc1.phx.unique_ID",
"eventName": "CreateBastion",
"compartmentId": "ocid1.compartment.oc1..unique_ID",
"compartmentName": "TestCompartment",
"resourceName": "Bastion-20200918-1352",
"resourceId": "ocid1.bastion.oc1.phx.unique_ID",
"availabilityDomain": "AD1"
},
"stateChange": {
"previous": {},
"current": {}
}
}
Sessionereignistypen
Anzeigename | Ereignistyp |
---|---|
Bastion - Session erstellen - Beginn |
|
Bastion - Session erstellen - Ende |
|
Bastion - Session löschen - Beginn |
|
Bastion - Session löschen - Ende |
|
Beispielereignis:
{
"eventType": "com.oraclecloud.bastion.createsession.end",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "bastion",
"eventID": "unique_ID",
"eventTime": "2020-09-18T20:53:12.800Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "ocid1.bastionworkrequest.oc1.phx.unique_ID",
"eventName": "CreateSession",
"compartmentId": "ocid1.compartment.oc1..unique_ID",
"compartmentName": "TestCompartment",
"resourceName": "Session-20200918-1353",
"resourceId": "ocid1.bastionsession.oc1.phx.unique_ID",
"availabilityDomain": "AD1"
},
"stateChange": {
"previous": {},
"current": {}
}
}