diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp index 04a3fa971556..916c1346b648 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp @@ -183,6 +183,9 @@ namespace Microsoft.EventGrid.SystemEvents { /** The time the policy task was scheduled. */ scheduleTime?: string; + /** Policy execution summary which shows the completion status of a LCM run" */ + policyRunSummary: StorageLifecyclePolicyRunSummary; + /** Execution statistics of a specific policy action in a Blob Management cycle. */ deleteSummary: StorageLifecyclePolicyActionSummaryDetail; @@ -208,6 +211,12 @@ namespace Microsoft.EventGrid.SystemEvents { errorList?: string; } + /** Policy run status of an account in a Blob Management cycle. */ + model StorageLifecyclePolicyRunSummary { + /** Policy status can be Completed/CompletedWithError/Incomplete. */ + completionStatus?: string; + } + /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobTierChanged event. */ model StorageBlobTierChangedEventData { /** The name of the API/operation that triggered this event. */ diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json index 6d2ef8958c3b..3a404b444ce9 100644 --- a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json +++ b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json @@ -8526,6 +8526,10 @@ "type": "string", "description": "The time the policy task was scheduled." }, + "policyRunSummary": { + "$ref": "#/definitions/StorageLifecyclePolicyRunSummary", + "description": "Policy execution summary which shows the completion status of a LCM run\"" + }, "deleteSummary": { "$ref": "#/definitions/StorageLifecyclePolicyActionSummaryDetail", "description": "Execution statistics of a specific policy action in a Blob Management cycle." @@ -8544,12 +8548,23 @@ } }, "required": [ + "policyRunSummary", "deleteSummary", "tierToCoolSummary", "tierToArchiveSummary", "tierToColdSummary" ] }, + "StorageLifecyclePolicyRunSummary": { + "type": "object", + "description": "Policy run status of an account in a Blob Management cycle.", + "properties": { + "completionStatus": { + "type": "string", + "description": "Policy status can be Completed/CompletedWithError/Incomplete." + } + } + }, "StorageTaskAssignmentCompletedEventData": { "type": "object", "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentCompleted event.", diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json index 2686688afd8b..f1da10cfea9a 100644 --- a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json +++ b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json @@ -8670,6 +8670,10 @@ "type": "string", "description": "The time the policy task was scheduled." }, + "policyRunSummary": { + "$ref": "#/definitions/StorageLifecyclePolicyRunSummary", + "description": "Policy execution summary which shows the completion status of a LCM run\"" + }, "deleteSummary": { "$ref": "#/definitions/StorageLifecyclePolicyActionSummaryDetail", "description": "Execution statistics of a specific policy action in a Blob Management cycle." @@ -8688,12 +8692,23 @@ } }, "required": [ + "policyRunSummary", "deleteSummary", "tierToCoolSummary", "tierToArchiveSummary", "tierToColdSummary" ] }, + "StorageLifecyclePolicyRunSummary": { + "type": "object", + "description": "Policy run status of an account in a Blob Management cycle.", + "properties": { + "completionStatus": { + "type": "string", + "description": "Policy status can be Completed/CompletedWithError/Incomplete." + } + } + }, "StorageTaskAssignmentCompletedEventData": { "type": "object", "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentCompleted event.", diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json index e1ea14629d5a..68598d25ac48 100644 --- a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json @@ -314,6 +314,9 @@ "description": "The time the policy task was scheduled.", "type": "string" }, + "policyRunSummary": { + "$ref": "#/definitions/StorageLifecyclePolicyRunSummary" + }, "deleteSummary": { "$ref": "#/definitions/StorageLifecyclePolicyActionSummaryDetail" },