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

[@azure/eventgrid] Update System events for EG Version 5.9.0 #32011

Merged
merged 1 commit into from
Dec 2, 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
9 changes: 6 additions & 3 deletions sdk/eventgrid/eventgrid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# Release History

## 5.8.1 (Unreleased)
## 5.9.0 (2024-12-02)

### Features Added

### Breaking Changes
- Added new System Events:

### Bugs Fixed
- `Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted`

### Other Changes

- A new property `policyRunSummary` has been added to `StorageLifecyclePolicyCompletedEventData` interface.
- New properties `StorageLifecycleCompletionStatus` and `KnownStorageLifecycleCompletionStatus` have been added.

## 5.8.0 (2024-10-14)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventgrid/eventgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "client",
"author": "Microsoft Corporation",
"description": "An isomorphic client library for the Azure Event Grid service.",
"version": "5.8.1",
"version": "5.9.0",
"keywords": [
"node",
"azure",
Expand Down
23 changes: 23 additions & 0 deletions sdk/eventgrid/eventgrid/review/eventgrid.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1846,6 +1846,16 @@ export const enum KnownStampKind {
Public = "Public"
}

// @public
export const enum KnownStorageLifecycleCompletionStatus {
// (undocumented)
Completed = "Completed",
// (undocumented)
CompletedWithError = "CompletedWithError",
// (undocumented)
Incomplete = "Incomplete"
}

// @public
export const enum KnownStorageTaskAssignmentCompletedStatus {
// (undocumented)
Expand Down Expand Up @@ -2340,6 +2350,9 @@ export interface ResourceHttpRequest {
url: string;
}

// @public
export type ResourceNotificationsContainerServiceEventResourcesScheduledEventData = ResourceNotificationsResourceUpdatedEventData & {};

// @public
export type ResourceNotificationsHealthResourcesAnnotatedEventData = ResourceNotificationsResourceUpdatedEventData & {};

Expand Down Expand Up @@ -2614,6 +2627,9 @@ export interface StorageDirectoryRenamedEventData {
storageDiagnostics: any;
}

// @public
export type StorageLifecycleCompletionStatus = string;

// @public
export interface StorageLifecyclePolicyActionSummaryDetail {
errorList: string;
Expand All @@ -2624,12 +2640,18 @@ export interface StorageLifecyclePolicyActionSummaryDetail {
// @public
export interface StorageLifecyclePolicyCompletedEventData {
deleteSummary: StorageLifecyclePolicyActionSummaryDetail;
policyRunSummary: StorageLifecyclePolicyRunSummary;
scheduleTime: string;
tierToArchiveSummary: StorageLifecyclePolicyActionSummaryDetail;
tierToColdSummary: StorageLifecyclePolicyActionSummaryDetail;
tierToCoolSummary: StorageLifecyclePolicyActionSummaryDetail;
}

// @public
export interface StorageLifecyclePolicyRunSummary {
completionStatus: StorageLifecycleCompletionStatus;
}

// @public
export interface StorageTaskAssignmentCompletedEventData {
completedOn: string;
Expand Down Expand Up @@ -2847,6 +2869,7 @@ export interface SystemEventNameToEventData {
"Microsoft.PolicyInsights.PolicyStateChanged ": PolicyInsightsPolicyStateChangedEventData;
"Microsoft.PolicyInsights.PolicyStateCreated": PolicyInsightsPolicyStateCreatedEventData;
"Microsoft.PolicyInsights.PolicyStateDeleted": PolicyInsightsPolicyStateDeletedEventData;
"Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted": ResourceNotificationsContainerServiceEventResourcesScheduledEventData;
"Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged": ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData;
"Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated": ResourceNotificationsHealthResourcesAnnotatedEventData;
"Microsoft.ResourceNotifications.Resources.CreatedOrUpdated": ResourceNotificationsResourceManagementCreatedOrUpdatedEventData;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions sdk/eventgrid/eventgrid/src/generated/models/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions sdk/eventgrid/eventgrid/src/generated/models/mappers.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions sdk/eventgrid/eventgrid/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,4 +369,8 @@ export {
AcsChatThreadPropertiesUpdatedEventData,
AcsChatThreadEventInThreadBase,
StorageBlobAccessTier,
ResourceNotificationsContainerServiceEventResourcesScheduledEventData,
StorageLifecyclePolicyRunSummary,
StorageLifecycleCompletionStatus,
KnownStorageLifecycleCompletionStatus,
} from "./generated/models/index.js";
3 changes: 3 additions & 0 deletions sdk/eventgrid/eventgrid/src/predicates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ import type {
AcsChatThreadDeletedEventData,
AcsChatThreadCreatedEventData,
AcsChatThreadPropertiesUpdatedEventData,
ResourceNotificationsContainerServiceEventResourcesScheduledEventData,
} from "./generated/models/index.js";

import type { CloudEvent, EventGridEvent } from "./models.js";
Expand Down Expand Up @@ -646,6 +647,8 @@ export interface SystemEventNameToEventData {
"Microsoft.Communication.ChatThreadDeleted": AcsChatThreadDeletedEventData;
/** An interface for the event data of a "Microsoft.Communication.ChatThreadPropertiesUpdated" event. */
"Microsoft.Communication.ChatThreadPropertiesUpdated": AcsChatThreadPropertiesUpdatedEventData;
/** An interface for the event data of a "Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted" event. */
"Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted": ResourceNotificationsContainerServiceEventResourcesScheduledEventData;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventgrid/eventgrid/src/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ import { createTracingClient } from "@azure/core-tracing";
export const tracingClient = createTracingClient({
namespace: "Microsoft.Messaging.EventGrid",
packageName: "@azure/event-grid",
packageVersion: "5.8.1",
packageVersion: "5.9.0",
});
4 changes: 2 additions & 2 deletions sdk/eventgrid/eventgrid/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
## Configuration

```yaml
require: "https://github.com/Azure/azure-rest-api-specs/blob/012021c786c360e0c34faf7af888c7fd7dbe2df5/specification/eventgrid/data-plane/readme.md"
require: "https://github.com/Azure/azure-rest-api-specs/blob/fb64eaa0dfc7ee8abc8e10369495729d5b3c1cc5/specification/eventgrid/data-plane/readme.md"
package-name: "@azure/eventgrid"
package-version: "5.8.1"
package-version: "5.9.0"
title: GeneratedClient
description: EventGrid Client
generate-metadata: false
Expand Down
Loading