Skip to content

Latest commit

 

History

History
144 lines (120 loc) · 4.3 KB

File metadata and controls

144 lines (120 loc) · 4.3 KB
title Azure Data Box as Event Grid source
description Describes the properties that are provided for Data Box events with Azure Event Grid.
ms.topic reference
ms.date 02/09/2023

Azure Data Box as an Event Grid source

This article provides the properties and schema for Azure Data Box events. For an introduction to event schemas, see Azure Event Grid event schema.

Data Box events

Event name Description
Microsoft.DataBox.CopyStarted Triggered when the copy has started from the device and the first byte of data copy is copied.
Microsoft.DataBox.CopyCompleted Triggered when the copy has completed from device.
Microsoft.DataBox.OrderCompleted Triggered when the order has completed copying and copy logs are available.

Example events

Microsoft.DataBox.CopyStarted event

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

Microsoft.DataBox.CopyCompleted event

{
  "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.DataBox/jobs/{your-resource}",
  "subject": "/jobs/{your-resource}",
  "type": "Microsoft.DataBox.CopyCompleted",
  "time": "2022-10-16T02:51:26.4248221Z",
  "id": "759c892a-a628-4e48-a116-2e1d54c555ce",
  "data": {
    "serialNumber": "SampleSerialNumber",
    "stageName": "CopyCompleted",
    "stageTime": "2022-10-12T19:38:08.0218897Z"
  },
  "specVersion": "1.0"
}

Microsoft.DataBox.OrderCompleted event

[{
  "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.DataBox/jobs/{your-resource}",
  "subject": "/jobs/{your-resource}",
  "type": "Microsoft.DataBox.OrderCompleted",
  "time": "2022-10-16T02:51:26.4248221Z",
  "id": "5eb07c79-39a8-439c-bb4b-bde1f6267c37",
  "data": {
    "serialNumber": "SampleSerialNumber",
    "stageName": "OrderCompleted",
    "stageTime": "2022-10-12T19:38:08.0218897Z"
  },
  "specVersion": "1.0"
}]

Microsoft.DataBox.CopyStarted event

[{
  "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 event

[{
  "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 event

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

Next steps