Skip to content

Commit

Permalink
Healthcareapis microsoft.healthcare apis 2022 01 31 preview (#17920)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.HealthcareApis from version preview/2021-06-01-preview to version 2021-11-01

* Updates readme

* Updates API version in new specs and examples

* Initial updates for 2021-11-01 version

* Fix prettier errors and resolve systemData error

* Add missing type definitions

* Remove pattern for validating Cors Origin.  Regex was found to have DDoS issues.  New correct pattern triggeres backwards breaking change alerts.  Removing patterns in latest iteration to avoid error.  Regexes are validated service side with updated logic already.

* Add missing endtime from OperationResult

* Revert CorsOriginEntry pattern removal to avoid false positive cross version breaking change

* Add definition for Properties property in operation definition that was missing.

* Test updating default verison per recommendation

* Update services and workspaces to use some provisioning state to remove .NET SDK error

* Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned

* Revert "Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned"

This reverts commit d44373c.

* Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned"

* Change default back to 2021-01-11 version

* Change default version back in 2021-11-01 in anticipation of new release

* Revert changes that removed common-type references for local references

* Add async headers to patch examples

* Add managed identity settings to dicomservices

* Add resourceVersionPolicyCOnfiguration to workspaces/fhirservices

* Fix prettier errors

* Add missing description for resourceTypeOverrides

* Add missing  "x-ms-identifiers" property for arrays.

* add preview version 2021-11-01

* add api version 2022-01-31-preview

* fix path

* trigger GitHub actions

* fix path

Co-authored-by: Dustin Burson <47367432+dustinburson@users.noreply.github.com>
Co-authored-by: Dustin Burson <duburson@microsoft.com>
  • Loading branch information
3 people committed Apr 22, 2022
1 parent f93d734 commit 8f67d56
Show file tree
Hide file tree
Showing 49 changed files with 6,849 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2022-01-31-preview",
"subscriptionId": "subid",
"checkNameAvailabilityInputs": {
"type": "Microsoft.HealthcareApis/services",
"name": "serviceName"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "Service name is not available."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"api-version": "2022-01-31-preview",
"subscriptionId": "subid",
"locationName": "westus",
"operationResultId": "exampleid"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/providers/Microsoft.HealthcareApis/locations/westus/operationresults/exampleid",
"name": "servicename",
"status": "Requested",
"startTime": "2019-01-21T06:03:30.2716301Z",
"endTime": "2019-01-21T06:04:12.3413202Z",
"properties": {}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"parameters": {
"api-version": "2022-01-31-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.HealthcareApis/services/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/services/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/services/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/locations/operationresults/read",
"display": {
"provider": "Microsoft.HealthcareApis",
"resource": "operationresults",
"operation": "read",
"description": "Get the status of an asynchronous operation"
},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/checkNameAvailability/post",
"display": {},
"origin": "user"
},
{
"name": "Microsoft.HealthcareApis/Operations/read",
"display": {
"provider": "Microsoft.HealthcareApis",
"resource": "operations",
"operation": "read",
"description": "Get the list of operations supported by this Resource Provider."
},
"origin": "user,system"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"dicomServiceName": "blue",
"api-version": "2022-01-31-preview",
"dicomservice": {
"location": "westus",
"properties": {}
}
},
"responses": {
"200": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"location": "westus",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Succeeded",
"serviceUrl": null
}
}
},
"201": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"location": "westus",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Creating",
"serviceUrl": null
}
}
},
"202": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"location": "westus",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Accepted",
"serviceUrl": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"dicomServiceName": "blue",
"api-version": "2022-01-31-preview"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"dicomServiceName": "blue",
"api-version": "2022-01-31-preview"
},
"responses": {
"200": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Succeeded",
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"api-version": "2022-01-31-preview"
},
"responses": {
"200": {
"body": {
"nextLink": "string",
"value": [
{
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Succeeded",
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com"
}
},
{
"name": "red",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/red",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Succeeded",
"serviceUrl": "https://workspace1-red.dicom.azurehealthcareapis.com"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"dicomServiceName": "blue",
"api-version": "2022-01-31-preview",
"dicomservicePatchResource": {
"tags": {
"tagKey": "tagValue"
}
}
},
"responses": {
"200": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"tags": {
"tagKey": "tagValue"
},
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Succeeded",
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com"
}
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/westus/operationresults/f7eb8g4f1ncj3jgk6bg8jlqf8?api-version=2021-11-01"
},
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"tags": {
"tagKey": "tagValue"
},
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Succeeded",
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com"
}
}
}
}
}
Loading

0 comments on commit 8f67d56

Please sign in to comment.