From ebb768c9251883d461dd9e4609bf20e2de330243 Mon Sep 17 00:00:00 2001 From: Bill Wert Date: Tue, 17 Sep 2024 10:39:50 -0700 Subject: [PATCH] new Storage system event field --- ...rageLifecyclePolicyCompletedEventData.java | 30 +++++++++++ .../swagger/README.md | 54 +++++++++---------- 2 files changed, 57 insertions(+), 27 deletions(-) diff --git a/sdk/eventgrid/azure-messaging-eventgrid/src/main/java/com/azure/messaging/eventgrid/systemevents/StorageLifecyclePolicyCompletedEventData.java b/sdk/eventgrid/azure-messaging-eventgrid/src/main/java/com/azure/messaging/eventgrid/systemevents/StorageLifecyclePolicyCompletedEventData.java index c2492d44462f6..4234380d017e5 100644 --- a/sdk/eventgrid/azure-messaging-eventgrid/src/main/java/com/azure/messaging/eventgrid/systemevents/StorageLifecyclePolicyCompletedEventData.java +++ b/sdk/eventgrid/azure-messaging-eventgrid/src/main/java/com/azure/messaging/eventgrid/systemevents/StorageLifecyclePolicyCompletedEventData.java @@ -32,6 +32,11 @@ public final class StorageLifecyclePolicyCompletedEventData */ private StorageLifecyclePolicyActionSummaryDetail tierToCoolSummary; + /* + * Execution statistics of a specific policy action in a Blob Management cycle. + */ + private StorageLifecyclePolicyActionSummaryDetail tierToColdSummary; + /* * Execution statistics of a specific policy action in a Blob Management cycle. */ @@ -105,6 +110,27 @@ public StorageLifecyclePolicyActionSummaryDetail getTierToCoolSummary() { return this; } + /** + * Get the tierToColdSummary property: Execution statistics of a specific policy action in a Blob Management cycle. + * + * @return the tierToColdSummary value. + */ + public StorageLifecyclePolicyActionSummaryDetail getTierToColdSummary() { + return this.tierToColdSummary; + } + + /** + * Set the tierToColdSummary property: Execution statistics of a specific policy action in a Blob Management cycle. + * + * @param tierToColdSummary the tierToColdSummary value to set. + * @return the StorageLifecyclePolicyCompletedEventData object itself. + */ + public StorageLifecyclePolicyCompletedEventData + setTierToColdSummary(StorageLifecyclePolicyActionSummaryDetail tierToColdSummary) { + this.tierToColdSummary = tierToColdSummary; + return this; + } + /** * Get the tierToArchiveSummary property: Execution statistics of a specific policy action in a Blob Management * cycle. @@ -134,6 +160,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("scheduleTime", this.scheduleTime); jsonWriter.writeJsonField("deleteSummary", this.deleteSummary); jsonWriter.writeJsonField("tierToCoolSummary", this.tierToCoolSummary); + jsonWriter.writeJsonField("tierToColdSummary", this.tierToColdSummary); jsonWriter.writeJsonField("tierToArchiveSummary", this.tierToArchiveSummary); return jsonWriter.writeEndObject(); } @@ -162,6 +189,9 @@ public static StorageLifecyclePolicyCompletedEventData fromJson(JsonReader jsonR } else if ("tierToCoolSummary".equals(fieldName)) { deserializedStorageLifecyclePolicyCompletedEventData.tierToCoolSummary = StorageLifecyclePolicyActionSummaryDetail.fromJson(reader); + } else if ("tierToColdSummary".equals(fieldName)) { + deserializedStorageLifecyclePolicyCompletedEventData.tierToColdSummary + = StorageLifecyclePolicyActionSummaryDetail.fromJson(reader); } else if ("tierToArchiveSummary".equals(fieldName)) { deserializedStorageLifecyclePolicyCompletedEventData.tierToArchiveSummary = StorageLifecyclePolicyActionSummaryDetail.fromJson(reader); diff --git a/sdk/eventgrid/azure-messaging-eventgrid/swagger/README.md b/sdk/eventgrid/azure-messaging-eventgrid/swagger/README.md index 117cae70f57f8..f43f01cbcec65 100644 --- a/sdk/eventgrid/azure-messaging-eventgrid/swagger/README.md +++ b/sdk/eventgrid/azure-messaging-eventgrid/swagger/README.md @@ -83,33 +83,33 @@ model-override-setter-from-superclass: true input-file: -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/EventHub.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/Maps.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/RedisCache.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/ContainerService.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.DataBox/stable/2018-01-01/DataBox.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/common.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/Resources.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.AVS/stable/2018-01-01/PrivateCloud.json -- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0d023bd802cde559706b5865f685a10a88516e09/specification/eventgrid/data-plane/Microsoft.ApiCenter/stable/2018-01-01/ApiCenter.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/EventHub.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/Maps.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/RedisCache.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/ContainerService.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.DataBox/stable/2018-01-01/DataBox.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/common.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/Resources.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.AVS/stable/2018-01-01/PrivateCloud.json +- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/Microsoft.ApiCenter/stable/2018-01-01/ApiCenter.json ``` ### KeyVault updates