Skip to content

Commit 10f65bd

Browse files
authored
[EG] may system events (#41093)
* update * run black
1 parent 92c683a commit 10f65bd

File tree

4 files changed

+27
-7
lines changed

4 files changed

+27
-7
lines changed

sdk/eventgrid/azure-eventgrid/CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Release History
22

3-
## 4.21.1 (Unreleased)
3+
## 4.22.0 (2025-05-14)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Added new enum values to `SystemEventNames` related to Azure Communication Services and Azure Edge.
128

139
## 4.21.0 (2024-11-19)
1410

sdk/eventgrid/azure-eventgrid/azure/eventgrid/_legacy/_event_mappings.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta):
6161

6262
AcsAdvancedMessageReceivedEventName = "Microsoft.Communication.AdvancedMessageReceived"
6363

64+
AcsCallEndedEventName = "Microsoft.Communication.CallEnded"
65+
66+
AcsCallParticipantAddedEventName = "Microsoft.Communication.CallParticipantAdded"
67+
68+
AcsCallParticipantRemovedEventName = "Microsoft.Communication.CallParticipantRemoved"
69+
70+
AcsCallStartedEventName = "Microsoft.Communication.CallStarted"
71+
72+
AcsChatAzureBotCommandReceivedInThreadEventName = "Microsoft.Communication.ChatAzureBotCommandReceivedInThread"
73+
6474
AcsChatMessageDeletedEventName = "Microsoft.Communication.ChatMessageDeleted"
6575

6676
AcsChatMessageDeletedInThreadEventName = "Microsoft.Communication.ChatMessageDeletedInThread"
@@ -95,6 +105,8 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta):
95105

96106
AcsChatThreadWithUserDeletedEventName = "Microsoft.Communication.ChatThreadWithUserDeleted"
97107

108+
AcsChatTypingIndicatorReceivedInThreadEventName = "Microsoft.Communication.ChatTypingIndicatorReceivedInThread"
109+
98110
AcsEmailDeliveryReportReceivedEventName = "Microsoft.Communication.EmailDeliveryReportReceived"
99111

100112
AcsEmailEngagementTrackingReportReceivedEventName = "Microsoft.Communication.EmailEngagementTrackingReportReceived"
@@ -169,6 +181,10 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta):
169181

170182
ApiManagementApiUpdatedEventName = "Microsoft.ApiManagement.APIUpdated"
171183

184+
ApiManagementCircuitBreakerClosedEventName = "Microsoft.ApiManagement.CircuitBreaker.Closed"
185+
186+
ApiManagementCircuitBreakerOpenedEventName = "Microsoft.ApiManagement.CircuitBreaker.Opened"
187+
172188
ApiManagementGatewayApiAddedEventName = "Microsoft.ApiManagement.GatewayAPIAdded"
173189

174190
ApiManagementGatewayApiRemovedEventName = "Microsoft.ApiManagement.GatewayAPIRemoved"
@@ -201,6 +217,10 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta):
201217
"Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated"
202218
)
203219

220+
ApiManagementGatewayTokenExpiredEventName = "Microsoft.ApiManagement.GatewayTokenExpired"
221+
222+
ApiManagementGatewayTokenNearExpiryEventName = "Microsoft.ApiManagement.GatewayTokenNearExpiry"
223+
204224
ApiManagementGatewayUpdatedEventName = "Microsoft.ApiManagement.GatewayUpdated"
205225

206226
ApiManagementProductCreatedEventName = "Microsoft.ApiManagement.ProductCreated"
@@ -279,6 +299,8 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta):
279299

280300
DataBoxOrderCompletedEventName = "Microsoft.DataBox.OrderCompleted"
281301

302+
EdgeSolutionVersionPublishedEventName = "Microsoft.Edge.SolutionVersionPublished"
303+
282304
EventGridMQTTClientCreatedOrUpdatedEventName = "Microsoft.EventGrid.MQTTClientCreatedOrUpdated"
283305

284306
EventGridMQTTClientDeletedEventName = "Microsoft.EventGrid.MQTTClientDeleted"

sdk/eventgrid/azure-eventgrid/azure/eventgrid/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "4.21.1"
9+
VERSION = "4.22.0"

sdk/eventgrid/azure-eventgrid/swagger/_constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json",
3131
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json",
3232
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.ApiCenter/stable/2018-01-01/ApiCenter.json",
33+
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Edge/stable/2018-01-01/Edge.json",
3334
]
3435

3536

@@ -80,6 +81,7 @@
8081
"AvsPrivateCloudEventData",
8182
"AvsScriptExecutionEventData",
8283
"AcsMessageEventData",
84+
"AcsCallParticipantEventData",
8385
]
8486

8587
NAMING_CHANGES = ["AcsMessageDeliveryStatusUpdatedEventName", "AcsMessageReceivedEventName"]

0 commit comments

Comments
 (0)