-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.HealthcareApis to add ve…
…rsion stable/2022-05-15 (#18855) * Adds base for updating Microsoft.HealthcareApis from version stable/2021-11-01 to version 2022-05-15 * Updates readme * Updates API version in new specs and examples * Updated to add cors settings * Fixed the PR Co-authored-by: Pooja Adhikari <poadhika@microsoft.com>
- Loading branch information
Showing
49 changed files
with
6,920 additions
and
3 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...anager/Microsoft.HealthcareApis/stable/2022-05-15/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": "2022-05-15", | ||
"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/2022-05-15/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": "2022-05-15", | ||
"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/2022-05-15/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": "2022-05-15" | ||
}, | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
90 changes: 90 additions & 0 deletions
90
...crosoft.HealthcareApis/stable/2022-05-15/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,90 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "testRG", | ||
"workspaceName": "workspace1", | ||
"dicomServiceName": "blue", | ||
"api-version": "2022-05-15", | ||
"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" | ||
] | ||
}, | ||
"corsConfiguration": { | ||
"origins": [ | ||
"*" | ||
], | ||
"headers": [ | ||
"*" | ||
], | ||
"methods": [ | ||
"DELETE", | ||
"GET", | ||
"OPTIONS", | ||
"PATCH", | ||
"POST", | ||
"PUT" | ||
], | ||
"maxAge": 1440, | ||
"allowCredentials": false | ||
}, | ||
"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/2022-05-15/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": "2022-05-15" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
.../Microsoft.HealthcareApis/stable/2022-05-15/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,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "testRG", | ||
"workspaceName": "workspace1", | ||
"dicomServiceName": "blue", | ||
"api-version": "2022-05-15" | ||
}, | ||
"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" | ||
] | ||
}, | ||
"corsConfiguration": { | ||
"origins": [ | ||
"*" | ||
], | ||
"headers": [ | ||
"*" | ||
], | ||
"methods": [ | ||
"DELETE", | ||
"GET", | ||
"OPTIONS", | ||
"PATCH", | ||
"POST", | ||
"PUT" | ||
], | ||
"maxAge": 1440, | ||
"allowCredentials": false | ||
}, | ||
"provisioningState": "Succeeded", | ||
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com" | ||
} | ||
} | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
...Microsoft.HealthcareApis/stable/2022-05-15/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,67 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "testRG", | ||
"workspaceName": "workspace1", | ||
"api-version": "2022-05-15" | ||
}, | ||
"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" | ||
] | ||
}, | ||
"corsConfiguration": { | ||
"origins": [ | ||
"*" | ||
], | ||
"headers": [ | ||
"*" | ||
], | ||
"methods": [ | ||
"DELETE", | ||
"GET", | ||
"OPTIONS", | ||
"PATCH", | ||
"POST", | ||
"PUT" | ||
], | ||
"maxAge": 1440, | ||
"allowCredentials": false | ||
}, | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.