-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev healthcareapis microsoft.healthcare apis 2021 11 01 changes (#16108)
* 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.
- Loading branch information
1 parent
6cae16d
commit 6722814
Showing
49 changed files
with
6,781 additions
and
2 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...anager/Microsoft.HealthcareApis/stable/2021-11-01/examples/CheckNameAvailabilityPost.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01", | ||
"subscriptionId": "subid", | ||
"checkNameAvailabilityInputs": { | ||
"type": "Microsoft.HealthcareApis/services", | ||
"name": "serviceName" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "Service name is not available." | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...urce-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/OperationResultsGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01", | ||
"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": {} | ||
} | ||
} | ||
} | ||
} |
113 changes: 113 additions & 0 deletions
113
.../resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/OperationsList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01" | ||
}, | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...crosoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "2021-11-01", | ||
"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 | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...crosoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "2021-11-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
.../Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "2021-11-01" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "testRG", | ||
"workspaceName": "workspace1", | ||
"api-version": "2021-11-01" | ||
}, | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...icrosoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Patch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "2021-11-01", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.