diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs
index 36bbe3accadf..58a84858cd63 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs
@@ -144,14 +144,21 @@ public static StorageDirectoryRenamedEventData StorageDirectoryRenamedEventData(
/// Initializes a new instance of .
/// The time the policy task was scheduled.
+ /// The execution status of policy on account.
/// Execution statistics of a specific policy action in a Blob Management cycle.
/// Execution statistics of a specific policy action in a Blob Management cycle.
/// Execution statistics of a specific policy action in a Blob Management cycle.
/// Execution statistics of a specific policy action in a Blob Management cycle.
/// A new instance for mocking.
- public static StorageLifecyclePolicyCompletedEventData StorageLifecyclePolicyCompletedEventData(string scheduleTime = null, StorageLifecyclePolicyActionSummaryDetail deleteSummary = null, StorageLifecyclePolicyActionSummaryDetail tierToCoolSummary = null, StorageLifecyclePolicyActionSummaryDetail tierToColdSummary = null, StorageLifecyclePolicyActionSummaryDetail tierToArchiveSummary = null)
- {
- return new StorageLifecyclePolicyCompletedEventData(scheduleTime, deleteSummary, tierToCoolSummary, tierToColdSummary, tierToArchiveSummary);
+ public static StorageLifecyclePolicyCompletedEventData StorageLifecyclePolicyCompletedEventData(string scheduleTime = null, string policyRunSummary = null, StorageLifecyclePolicyActionSummaryDetail deleteSummary = null, StorageLifecyclePolicyActionSummaryDetail tierToCoolSummary = null, StorageLifecyclePolicyActionSummaryDetail tierToColdSummary = null, StorageLifecyclePolicyActionSummaryDetail tierToArchiveSummary = null)
+ {
+ return new StorageLifecyclePolicyCompletedEventData(
+ scheduleTime,
+ policyRunSummary,
+ deleteSummary,
+ tierToCoolSummary,
+ tierToColdSummary,
+ tierToArchiveSummary);
}
/// Initializes a new instance of .
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/StorageLifecyclePolicyCompletedEventData.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/StorageLifecyclePolicyCompletedEventData.Serialization.cs
index 9004c16737e7..6c441c9f9424 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/StorageLifecyclePolicyCompletedEventData.Serialization.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/StorageLifecyclePolicyCompletedEventData.Serialization.cs
@@ -21,6 +21,7 @@ internal static StorageLifecyclePolicyCompletedEventData DeserializeStorageLifec
return null;
}
string scheduleTime = default;
+ string policyRunSummary = default;
StorageLifecyclePolicyActionSummaryDetail deleteSummary = default;
StorageLifecyclePolicyActionSummaryDetail tierToCoolSummary = default;
StorageLifecyclePolicyActionSummaryDetail tierToColdSummary = default;
@@ -32,6 +33,11 @@ internal static StorageLifecyclePolicyCompletedEventData DeserializeStorageLifec
scheduleTime = property.Value.GetString();
continue;
}
+ if (property.NameEquals("policyRunSummary"u8))
+ {
+ policyRunSummary = property.Value.GetString();
+ continue;
+ }
if (property.NameEquals("deleteSummary"u8))
{
if (property.Value.ValueKind == JsonValueKind.Null)
@@ -69,7 +75,13 @@ internal static StorageLifecyclePolicyCompletedEventData DeserializeStorageLifec
continue;
}
}
- return new StorageLifecyclePolicyCompletedEventData(scheduleTime, deleteSummary, tierToCoolSummary, tierToColdSummary, tierToArchiveSummary);
+ return new StorageLifecyclePolicyCompletedEventData(
+ scheduleTime,
+ policyRunSummary,
+ deleteSummary,
+ tierToCoolSummary,
+ tierToColdSummary,
+ tierToArchiveSummary);
}
/// Deserializes the model from a raw response.
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/StorageLifecyclePolicyCompletedEventData.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/StorageLifecyclePolicyCompletedEventData.cs
index 18e8da2d42ca..50a75271ee39 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/StorageLifecyclePolicyCompletedEventData.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/StorageLifecyclePolicyCompletedEventData.cs
@@ -17,13 +17,15 @@ internal StorageLifecyclePolicyCompletedEventData()
/// Initializes a new instance of .
/// The time the policy task was scheduled.
+ /// The execution status of policy on account.
/// Execution statistics of a specific policy action in a Blob Management cycle.
/// Execution statistics of a specific policy action in a Blob Management cycle.
/// Execution statistics of a specific policy action in a Blob Management cycle.
/// Execution statistics of a specific policy action in a Blob Management cycle.
- internal StorageLifecyclePolicyCompletedEventData(string scheduleTime, StorageLifecyclePolicyActionSummaryDetail deleteSummary, StorageLifecyclePolicyActionSummaryDetail tierToCoolSummary, StorageLifecyclePolicyActionSummaryDetail tierToColdSummary, StorageLifecyclePolicyActionSummaryDetail tierToArchiveSummary)
+ internal StorageLifecyclePolicyCompletedEventData(string scheduleTime, string policyRunSummary, StorageLifecyclePolicyActionSummaryDetail deleteSummary, StorageLifecyclePolicyActionSummaryDetail tierToCoolSummary, StorageLifecyclePolicyActionSummaryDetail tierToColdSummary, StorageLifecyclePolicyActionSummaryDetail tierToArchiveSummary)
{
ScheduleTime = scheduleTime;
+ PolicyRunSummary = policyRunSummary;
DeleteSummary = deleteSummary;
TierToCoolSummary = tierToCoolSummary;
TierToColdSummary = tierToColdSummary;
@@ -32,6 +34,8 @@ internal StorageLifecyclePolicyCompletedEventData(string scheduleTime, StorageLi
/// The time the policy task was scheduled.
public string ScheduleTime { get; }
+ /// The execution status of policy on account.
+ public string PolicyRunSummary { get; }
/// Execution statistics of a specific policy action in a Blob Management cycle.
public StorageLifecyclePolicyActionSummaryDetail DeleteSummary { get; }
/// Execution statistics of a specific policy action in a Blob Management cycle.
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md b/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md
index da4fb78ad757..7b434b83aa01 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md
@@ -4,7 +4,9 @@ Run `dotnet build /t:GenerateCode` to generate code.
``` yaml
title: EventGridClient
-require: https://github.com/Azure/azure-rest-api-specs/blob/012021c786c360e0c34faf7af888c7fd7dbe2df5/specification/eventgrid/data-plane/readme.md
+require:
+- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/eventgrid/data-plane/readme.md
+
generation1-convenience-client: true
model-factory-for-hlc:
- MediaJobOutputAsset
@@ -205,3 +207,4 @@ directive:
$.MediaLiveEventIngestHeartbeatEventData["properties"]["ingestDriftValue"]["x-ms-client-name"] = "IngestDriftValueInternal";
$.MediaLiveEventIngestHeartbeatEventData["properties"]["lastFragmentArrivalTime"]["format"] = "date-time";
```
+