要塞イベント

Oracle Cloud Infrastructureイベントを使用すると、リソースの状態が変化したときに開発チームが自動的に対応できるようになります。要塞リソースは次のイベントを発行します。

「イベントの開始」を参照してください。

要塞イベント・タイプ

わかりやすい名前 イベント・タイプ
要塞 - 要塞の作成開始
com.oraclecloud.bastion.createbastion.begin
要塞 - 要塞の作成終了
com.oraclecloud.bastion.createbastion.end
要塞 - 要塞の更新開始
com.oraclecloud.bastion.updatebastion.begin
要塞 - 要塞の更新終了
com.oraclecloud.bastion.updatebastion.end
要塞 - 要塞コンパートメントの変更
com.oraclecloud.bastion.changebastioncompartment
要塞 - 要塞の削除開始
com.oraclecloud.bastion.deletebastion.begin
要塞 - 要塞の削除終了
com.oraclecloud.bastion.deletebastion.end

サンプル・イベント:

{
  "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": {}
  }
}

セッション・イベント・タイプ

わかりやすい名前 イベント・タイプ
要塞 - セッションの作成開始
com.oraclecloud.bastion.createsession.begin
要塞 - セッションの作成終了
com.oraclecloud.bastion.createsession.end
要塞 - セッションの削除開始
com.oraclecloud.bastion.deletesession.begin
要塞 - セッションの削除終了
com.oraclecloud.bastion.deletesession.end

サンプル・イベント:

{
  "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": {}
  }
}