Skip to content

Commit

Permalink
new Storage system event field (#41886)
Browse files Browse the repository at this point in the history
  • Loading branch information
billwert authored Sep 17, 2024
1 parent f777bba commit fbd7bf5
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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();
}
Expand Down Expand Up @@ -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);
Expand Down
54 changes: 27 additions & 27 deletions sdk/eventgrid/azure-messaging-eventgrid/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbd7bf5

Please sign in to comment.