forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 2
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 06 01 preview chang…
…es (Azure#15166) * Adds base for updating Microsoft.HealthcareApis from version stable/2021-01-11 to version 2021-06-01-preview * Updates readme * Updates API version in new specs and examples * Initial 2021-06-01-preview API * Address linter and avocado errors * Add DICOM to custom words list. * Add additional missing custom words * Fix prettier errors * Address additional linter error Address incorrect param name on FHIR Destination examples * Add missing fhirdestination to custom words list * Fix invalid parameter name * Fix IoT FHIR Destination examples * Fix incorrect path variable in swagger * Fix missing iotFhirDestination in Create example * Fix prettier errors * Update readme default version back to GAed version * Remove body from delete methods of all new resource types per PR feedback * * Remove 202's from PUTs on new resource types * Add missing resource states * Replace ACR with Azure container repository in property descriptions for clarity * Fix model as string being false for fhirServiceKind. * Fix prettier error
- Loading branch information
1 parent
56444d6
commit 2a6c840
Showing
44 changed files
with
5,935 additions
and
3 deletions.
There are no files selected for viewing
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
19 changes: 19 additions & 0 deletions
19
...crosoft.HealthcareApis/preview/2021-06-01-preview/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-06-01-preview", | ||
"subscriptionId": "subid", | ||
"checkNameAvailabilityInputs": { | ||
"type": "Microsoft.HealthcareApis/services", | ||
"name": "serviceName" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "Service name is not available." | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ger/Microsoft.HealthcareApis/preview/2021-06-01-preview/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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01-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", | ||
"properties": {} | ||
} | ||
} | ||
} | ||
} |
113 changes: 113 additions & 0 deletions
113
...-manager/Microsoft.HealthcareApis/preview/2021-06-01-preview/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-06-01-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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...ealthcareApis/preview/2021-06-01-preview/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-06-01-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 | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ealthcareApis/preview/2021-06-01-preview/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-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...t.HealthcareApis/preview/2021-06-01-preview/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-06-01-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
....HealthcareApis/preview/2021-06-01-preview/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-06-01-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.