Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,73 @@
"type": "string"
}
}
},
"StorageTaskQueuedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskQueued event.",
"type": "object",
"properties": {
"queuedDateTime": {
"description": "The time at which a storage task was queued.",
"format": "date-time",
"type": "string"
},
"taskExecutionId": {
"description": "The execution id for a storage task.",
"type": "string"
}
},
"x-ms-examples": {
"StorageTaskQueuedCloudEventsSchema": {
"$ref": "./examples/cloud-events-schema/storage_task_queued.json"
},
"StorageTaskQueuedEventGridSchema": {
"$ref": "./examples/event-grid-schema/storage_task_queued.json"
}
}
},
"StorageTaskCompletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskCompleted event.",
"type": "object",
"properties": {
"status": {
"description": "The status for a storage task.",
"type": "string",
"enum": [
"Succeeded",
"Failed"
],
"x-ms-enum": {
"name": "StorageTaskCompletedStatus",
"modelAsString": true
}
},
"completedDateTime": {
"description": "The time at which a storage task was completed.",
"format": "date-time",
"type": "string"
},
"taskExecutionId": {
"description": "The execution id for a storage task.",
"type": "string"
},
"taskName": {
"description": "The task name for a storage task.",
"type": "string"
},
"summaryReportBlobUrl": {
"description": "The summary report blob url for a storage task",
"format": "url",
"type": "string"
}
},
"x-ms-examples": {
"StorageTaskCompletedCloudEventsSchema": {
"$ref": "./examples/cloud-events-schema/storage_task_completed.json"
},
"StorageTaskCompletedEventGridSchema": {
"$ref": "./examples/event-grid-schema/storage_task_completed.json"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"source": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shulin-rg/providers/Microsoft.Storage/storageAccounts/shulinstcanest2",
"subject": "DataManagement/StorageTasks",
"type": "Microsoft.Storage.StorageTaskCompleted",
"time": "2023-03-23T16:52:58Z",
"id": "b34b3b93-a64d-41ea-aba4-d55f2d29190b",
"data": {
"status": "Succeeded",
"completedDateTime": "2023-03-23T16:52:58Z",
"taskExecutionId": "deletetest-2023-03-23T16:42:33.8658256Z_2023-03-23T16:42:58.8983000Z",
"taskName": "delete123",
"summaryReportBlobUrl": "https://shulinstcanest2.blob.core.windows.net/report/delete123_deletetest_2023-03-23T16:43:50/SummaryReport.json"
},
"specversion": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"source": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shulin-rg/providers/Microsoft.Storage/storageAccounts/shulinstcanest2",
"subject": "DataManagement/StorageTasks",
"type": "Microsoft.Storage.StorageTaskQueued",
"time": "2023-03-23T16:43:50Z",
"id": "7fddaf06-24e8-4d57-9b66-5b7ab920a626",
"data": {
"queuedDateTime": "2023-03-23T16:43:50Z",
"taskExecutionId": "deletetest-2023-03-23T16:42:33.8658256Z_2023-03-23T16:42:58.8983000Z"
},
"specversion": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"topic": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shulin-rg/providers/Microsoft.Storage/storageAccounts/shulinstcanest2",
"subject": "DataManagement/StorageTasks",
"eventType": "Microsoft.Storage.StorageTaskCompleted",
"id": "b34b3b93-a64d-41ea-aba4-d55f2d29190b",
"data": {
"status": "Succeeded",
"completedDateTime": "2023-03-23T16:52:58Z",
"taskExecutionId": "deletetest-2023-03-23T16:42:33.8658256Z_2023-03-23T16:42:58.8983000Z",
"taskName": "delete123",
"summaryReportBlobUrl": "https://shulinstcanest2.blob.core.windows.net/report/delete123_deletetest_2023-03-23T16:43:50/SummaryReport.json"
},
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2023-03-23T16:52:58Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"topic": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shulin-rg/providers/Microsoft.Storage/storageAccounts/shulinstcanest2",
"subject": "DataManagement/StorageTasks",
"eventType": "Microsoft.Storage.StorageTaskQueued",
"id": "7fddaf06-24e8-4d57-9b66-5b7ab920a626",
"data": {
"queuedDateTime": "2023-03-23T16:43:50Z",
"taskExecutionId": "deletetest-2023-03-23T16:42:33.8658256Z_2023-03-23T16:42:58.8983000Z"
},
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2023-03-23T16:43:50Z"
}