Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new events for Storage - StorageTasks #26887

Merged
merged 20 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,76 @@
"$ref": "./examples/event-grid-schema/storage_task_completed.json"
}
}
},
"StorageTaskAssignmentQueuedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentQueued event.",
"type": "object",
"properties": {
"queuedDateTime": {
JoshLove-msft marked this conversation as resolved.
Show resolved Hide resolved
"description": "The time at which a storage task was queued.",
"format": "date-time",
"type": "string",
"x-ms-client-name": "queuedOn"
},
"taskExecutionId": {
"description": "The execution id for a storage task.",
"type": "string"
}
},
"x-ms-examples": {
"StorageTaskAssignmentQueuedCloudEventsSchema": {
"$ref": "./examples/cloud-events-schema/storage_task_assignment_queued.json"
},
"StorageTaskAssignmentQueuedEventGridSchema": {
"$ref": "./examples/event-grid-schema/storage_task_assignment_queued.json"
}
}
},
"StorageTaskAssignmentCompletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentCompleted event.",
"type": "object",
"properties": {
"status": {
"description": "The status for a storage task.",
"type": "string",
"enum": [
"Succeeded",
"Failed"
],
"x-ms-enum": {
"name": "StorageTaskAssignmentCompletedStatus",
"modelAsString": true
}
},
"completedDateTime": {
JoshLove-msft marked this conversation as resolved.
Show resolved Hide resolved
"description": "The time at which a storage task was completed.",
"format": "date-time",
"type": "string",
"x-ms-client-name": "completedOn"
},
"taskExecutionId": {
"description": "The execution id for a storage task.",
"type": "string"
},
"taskName": {
"description": "The task name for a storage task.",
"type": "string"
},
"summaryReportBlobUrl": {
JoshLove-msft marked this conversation as resolved.
Show resolved Hide resolved
"description": "The summary report blob url for a storage task",
"format": "url",
"type": "string",
"x-ms-client-name": "summaryReportBlobUri"
}
},
"x-ms-examples": {
"StorageTaskAssignmentCompletedCloudEventsSchema": {
"$ref": "./examples/cloud-events-schema/storage_task_assignment_completed.json"
},
"StorageTaskAssignmentCompletedEventGridSchema": {
"$ref": "./examples/event-grid-schema/storage_task_assignment_completed.json"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"source": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shubhajTestRG/providers/Microsoft.Storage/storageAccounts/canaryfns",
"subject": "DataManagement/StorageActions/StorageTaskAssignments",
"type": "Microsoft.Storage.StorageTaskAssignmentCompleted",
"time": "2023-11-27T23:09:21Z",
"id": "dd17c35c-e68a-437d be15-5417820310d2",
"data": {
"status": "Succeeded",
"completedDateTime": "2023-11-27T23:09:21Z",
"taskExecutionId": "testtest2-2023-11-27T21:16:43.4491131Z",
"taskName": "dizbbcanary2",
"summaryReportBlobUrl": "https://canaryfns.blob.core.windows.net/reports/dizbbcanary2/testtest2/2023-11-27T21:17:53/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/shubhajTestRG/providers/Microsoft.Storage/storageAccounts/canaryfns",
"subject": "DataManagement/StorageActions/StorageTaskAssignments",
"type": "Microsoft.Storage.StorageTaskAssignmentQueued",
"time": "2023-11-27T21:17:53Z",
"id": "59ff3f6f-696c-4cd2-a206-8012fc1a73f2",
"data": {
"queuedDateTime": "2023-11-27T21:17:53Z",
"taskExecutionId": "testtest2-2023-11-27T21:16:43.4491131Z"
},
"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/shubhajTestRG/providers/Microsoft.Storage/storageAccounts/canaryfns",
"subject": "DataManagement/StorageActions/StorageTaskAssignments",
"eventType": "Microsoft.Storage.StorageTaskAssignmentCompleted",
"id": "dd17c35c-e68a-437d be15-5417820310d2",
"data": {
"status": "Succeeded",
"completedDateTime": "2023-11-27T23:09:21Z",
"taskExecutionId": "testtest2-2023-11-27T21:16:43.4491131Z",
"taskName": "dizbbcanary2",
"summaryReportBlobUrl": "https://canaryfns.blob.core.windows.net/reports/dizbbcanary2/testtest2/2023-11-27T21:17:53/SummaryReport.json"
},
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2023-11-27T23:09:21Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"topic": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shubhajTestRG/providers/Microsoft.Storage/storageAccounts/canaryfns",
"subject": "DataManagement/StorageActions/StorageTaskAssignments",
"eventType": "Microsoft.Storage.StorageTaskAssignmentQueued",
"id": "59ff3f6f-696c-4cd2-a206-8012fc1a73f2",
"data": {
"queuedDateTime": "2023-11-27T21:17:53Z",
"taskExecutionId": "testtest2-2023-11-27T21:16:43.4491131Z"
},
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2023-11-27T21:17:53Z"
}