共用方式為


作為事件方格來源的 Azure 資料箱

本文提供 Azure 資料箱事件的屬性和結構描述。 如需事件結構描述的簡介,請參閱 Azure Event Grid 事件結構描述

資料箱事件

事件名稱 描述
Microsoft.DataBox.CopyStarted 從裝置啟動複本,並複製第一個字節的資料複製時觸發。
Microsoft.DataBox.CopyCompleted 從裝置完成複製時觸發。
Microsoft.DataBox.OrderCompleted 當訂單完成複製和複製記錄時觸發。

範例事件

Microsoft.DataBox.CopyStarted 事件

[{
  "topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.DataBox/jobs/{your-resource}",
  "subject": "/jobs/{your-resource}",
  "eventType": "Microsoft.DataBox.CopyStarted",
  "id": "049ec3f6-5b7d-4052-858e-6f4ce6a46570",
  "data": {
    "serialNumber": "SampleSerialNumber",
    "stageName": "CopyStarted",
    "stageTime": "2022-10-12T19:38:08.0218897Z"
  },
  "dataVersion": "1",
  "metadataVersion": "1",
  "eventTime": "2022-10-16T02:51:26.4248221Z"
}]

Microsoft.DataBox.CopyCompleted 事件

[{
  "topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.DataBox/jobs/{your-resource}",
  "subject": "/jobs/{your-resource}",
  "eventType": "Microsoft.DataBox.CopyCompleted",
  "id": "759c892a-a628-4e48-a116-2e1d54c555ce",
  "data": {
    "serialNumber": "SampleSerialNumber",
    "stageName": "CopyCompleted",
    "stageTime": "2022-10-12T19:38:08.0218897Z"
  },
  "dataVersion": "1",
  "metadataVersion": "1",
  "eventTime": "2022-10-16T02:58:18.503829Z"
}]

Microsoft.DataBox.OrderCompleted 事件

{
  "topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.DataBox/jobs/{your-resource}",
  "subject": "/jobs/{your-resource}",
  "eventType": "Microsoft.DataBox.OrderCompleted",
  "id": "5eb07c79-39a8-439c-bb4b-bde1f6267c37",
  "data": {
    "serialNumber": "SampleSerialNumber",
    "stageName": "OrderCompleted",
    "stageTime": "2022-10-12T19:38:08.0218897Z"
  },
  "dataVersion": "1",
  "metadataVersion": "1",
  "eventTime": "2022-10-16T02:51:26.4248221Z"
}

下一步