Output of this project is to check the status of a Data Box Disk order and trigger [something] when the copy process has completed.
- Azure Functions
- Data Box .NET API
- Azure Cosmos DB
- Azure Service Bus
- Azure Data Box
- Managed Identities
- Azure Function with Timer trigger uses .NET Data Box API to query for a list of all Data Box statuses for a given subscription
- The latest status of the Data Box order is captured in Cosmos DB
- If the stage is: - DataCopy and the state is: - Succeeded - SucceededWithErrors - SucceededWithWarnings then push an event to a Service Bus queue
- Azure Function with Service Bus trigger reacts to ASB messages:
- Retrieve details of the Data Box order (containing addititional metadata from List operation)
- Parse out Storage Account details
- If status indicates Errors or Warnings then:
- Parse out CopyLogDetails and provide hook to send alert for manual intervention