Skip to content

Commit bac9504

Browse files
authored
Add healthcare API enum (Azure#23705)
* Add healthcare API enum * lint * sb * sb2
1 parent a4aa521 commit bac9504

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

sdk/eventgrid/azure-eventgrid/CHANGELOG.md

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

3-
## 4.7.2 (Unreleased)
3+
## 4.8.0 (2022-04-05)
44

55
- This version and all future versions will require Python 3.6+. Python 2.7 is no longer supported.
66

77
### Features Added
88

9-
### Breaking Changes
10-
11-
### Bugs Fixed
12-
13-
### Other Changes
9+
- Added new enum values to `SystemEventNames` related to health care APIs.
1410

1511
## 4.7.1 (2021-11-18)
1612

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ class SystemEventNames(str, Enum):
150150

151151
EventHubCaptureFileCreatedEventName = 'Microsoft.EventHub.CaptureFileCreated'
152152

153+
FhirResourceCreatedEventName = 'Microsoft.HealthcareApis.FhirResourceCreated'
154+
155+
FhirResourceDeletedEventName = 'Microsoft.HealthcareApis.FhirResourceDeleted'
156+
157+
FhirResourceUpdatedEventName = 'Microsoft.HealthcareApis.FhirResourceUpdated'
158+
153159
IotHubDeviceConnectedEventName = 'Microsoft.Devices.DeviceConnected'
154160

155161
IotHubDeviceCreatedEventName = 'Microsoft.Devices.DeviceCreated'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "4.7.2"
12+
VERSION = "4.8.0"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json",
2222
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json",
2323
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json",
24+
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json",
2425
]
2526

2627

0 commit comments

Comments
 (0)