Skip to content

Commit

Permalink
[EventGrid] Update System Events, Prepare for Release
Browse files Browse the repository at this point in the history
Update our swagger reference commit to pull in some new system events
and add them to our mappings.
  • Loading branch information
ellismg committed Oct 1, 2021
1 parent da46250 commit f25089d
Show file tree
Hide file tree
Showing 7 changed files with 722 additions and 75 deletions.
33 changes: 31 additions & 2 deletions sdk/eventgrid/eventgrid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,39 @@
# Release History

## 4.5.0 (Unreleased)
## 4.5.0 (2021-10-05)

### Features Added

- Added new System Event: `Microsoft.ContainerService.NewKubernetesVersionAvailable`
- Added new properties for the `Microsoft.Media.LiveEventIngestHeartbeat` System Event:

- `ingestDriftValue`
- `lastFragmentArrivalTime`
- `transcriptionLanguage`
- `transcriptionState`

- Added new System Events:
- API Management:
- `Microsoft.ApiManagement.APICreated`
- `Microsoft.ApiManagement.APIDeleted`
- `Microsoft.ApiManagement.APIReleaseCreated`
- `Microsoft.ApiManagement.APIReleaseDeleted`
- `Microsoft.ApiManagement.APIReleaseUpdated`
- `Microsoft.ApiManagement.APIUpdated`
- `Microsoft.ApiManagement.ProductCreated`
- `Microsoft.ApiManagement.ProductDeleted`
- `Microsoft.ApiManagement.ProductUpdated`
- `Microsoft.ApiManagement.SubscriptionCreated`
- `Microsoft.ApiManagement.SubscriptionDeleted`
- `Microsoft.ApiManagement.SubscriptionUpdated`
- `Microsoft.ApiManagement.UserCreated`
- `Microsoft.ApiManagement.UserDeleted`
- `Microsoft.ApiManagement.UserUpdated`
- Container Service:
- `Microsoft.ContainerService.NewKubernetesVersionAvailable`
- Communication:
- `Microsoft.Communication.UserDisconnected`
- Media Streaming:
- `Microsoft.Media.LiveEventChannelArchiveHeartbeat`

## 4.4.0 (2021-07-19)

Expand Down
107 changes: 107 additions & 0 deletions sdk/eventgrid/eventgrid/review/eventgrid.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,86 @@ export type AcsSmsReceivedEventData = AcsSmsEventBase & {
receivedTimestamp: string;
};

// @public
export interface AcsUserDisconnectedEventData {
userCommunicationIdentifier: CommunicationIdentifierModel;
}

// @public
export interface ApiManagementApiCreatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementApiDeletedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementApiReleaseCreatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementApiReleaseDeletedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementApiReleaseUpdatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementApiUpdatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementProductCreatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementProductDeletedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementProductUpdatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementSubscriptionCreatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementSubscriptionDeletedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementSubscriptionUpdatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementUserCreatedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementUserDeletedEventData {
resourceUri: string;
}

// @public
export interface ApiManagementUserUpdatedEventData {
resourceUri: string;
}

// @public
export type AppAction = string;

Expand Down Expand Up @@ -841,6 +921,12 @@ export interface MediaJobStateChangeEventData {
readonly state: MediaJobState;
}

// @public
export interface MediaLiveEventChannelArchiveHeartbeatEventData {
readonly channelLatencyMs: string;
readonly latencyResultCode: string;
}

// @public
export interface MediaLiveEventConnectionRejectedEventData {
readonly encoderIp: string;
Expand Down Expand Up @@ -915,13 +1001,17 @@ export interface MediaLiveEventIngestHeartbeatEventData {
readonly discontinuityCount: number;
readonly healthy: boolean;
readonly incomingBitrate: number;
readonly ingestDriftValue: string;
readonly lastFragmentArrivalTime: string;
readonly lastTimestamp: string;
readonly nonincreasingCount: number;
readonly overlapCount: number;
readonly state: string;
readonly timescale: string;
readonly trackName: string;
readonly trackType: string;
readonly transcriptionLanguage: string;
readonly transcriptionState: string;
readonly unexpectedBitrate: boolean;
}

Expand Down Expand Up @@ -1310,6 +1400,21 @@ export interface SubscriptionValidationEventData {

// @public
export interface SystemEventNameToEventData {
"Microsoft.ApiManagement.APICreated": ApiManagementApiCreatedEventData;
"Microsoft.ApiManagement.APIDeleted": ApiManagementApiDeletedEventData;
"Microsoft.ApiManagement.APIReleaseCreated": ApiManagementApiReleaseCreatedEventData;
"Microsoft.ApiManagement.APIReleaseDeleted": ApiManagementApiReleaseDeletedEventData;
"Microsoft.ApiManagement.APIReleaseUpdated": ApiManagementApiReleaseUpdatedEventData;
"Microsoft.ApiManagement.APIUpdated": ApiManagementApiUpdatedEventData;
"Microsoft.ApiManagement.ProductCreated": ApiManagementProductCreatedEventData;
"Microsoft.ApiManagement.ProductDeleted": ApiManagementProductDeletedEventData;
"Microsoft.ApiManagement.ProductUpdated": ApiManagementProductUpdatedEventData;
"Microsoft.ApiManagement.SubscriptionCreated": ApiManagementSubscriptionCreatedEventData;
"Microsoft.ApiManagement.SubscriptionDeleted": ApiManagementSubscriptionDeletedEventData;
"Microsoft.ApiManagement.SubscriptionUpdated": ApiManagementSubscriptionUpdatedEventData;
"Microsoft.ApiManagement.UserCreated": ApiManagementUserCreatedEventData;
"Microsoft.ApiManagement.UserDeleted": ApiManagementUserDeletedEventData;
"Microsoft.ApiManagement.UserUpdated": ApiManagementUserUpdatedEventData;
"Microsoft.AppConfiguration.KeyValueDeleted": AppConfigurationKeyValueDeletedEventData;
"Microsoft.AppConfiguration.KeyValueModified": AppConfigurationKeyValueModifiedEventData;
"Microsoft.Communication.ChatMessageDeleted": AcsChatMessageDeletedEventData;
Expand All @@ -1328,6 +1433,7 @@ export interface SystemEventNameToEventData {
"Microsoft.Communication.RecordingFileStatusUpdated": AcsRecordingFileStatusUpdatedEventData;
"Microsoft.Communication.SMSDeliveryReportReceived": AcsSmsDeliveryReportReceivedEventData;
"Microsoft.Communication.SMSReceived": AcsSmsReceivedEventData;
"Microsoft.Communication.UserDisconnected": AcsUserDisconnectedEventData;
"Microsoft.ContainerRegistry.ChartDeleted": ContainerRegistryChartDeletedEventData;
"Microsoft.ContainerRegistry.ChartPushed": ContainerRegistryChartPushedEventData;
"Microsoft.ContainerRegistry.ImageDeleted": ContainerRegistryImageDeletedEventData;
Expand Down Expand Up @@ -1374,6 +1480,7 @@ export interface SystemEventNameToEventData {
"Microsoft.Media.JobProcessing": MediaJobProcessingEventData;
"Microsoft.Media.JobScheduled": MediaJobScheduledEventData;
"Microsoft.Media.JobStateChange": MediaJobStateChangeEventData;
"Microsoft.Media.LiveEventChannelArchiveHeartbeat": MediaLiveEventChannelArchiveHeartbeatEventData;
"Microsoft.Media.LiveEventConnectionRejected": MediaLiveEventConnectionRejectedEventData;
"Microsoft.Media.LiveEventEncoderConnected": MediaLiveEventEncoderConnectedEventData;
"Microsoft.Media.LiveEventEncoderDisconnected": MediaLiveEventEncoderDisconnectedEventData;
Expand Down
134 changes: 132 additions & 2 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.

Loading

0 comments on commit f25089d

Please sign in to comment.