Skip to content

Commit

Permalink
Dev healthcareapis microsoft.healthcare apis 2021 06 01 preview chang…
Browse files Browse the repository at this point in the history
…es (#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
dustinburson authored Jul 22, 2021
1 parent 56444d6 commit 2a6c840
Show file tree
Hide file tree
Showing 44 changed files with 5,935 additions and 3 deletions.
11 changes: 11 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,11 @@ dewpoint
dhcp
diagnosticcontext
diarization
DICOM
Dicom
dicom
dicomservice
dicomservices
digitaltwins
DIMM
Directline
Expand Down Expand Up @@ -686,6 +691,10 @@ featurized
Featurizer
feedbacktype
FHIR
fhirdestination
fhirdestinations
fhirservice
fhirservices
filegroup
filepath
fileserver
Expand Down Expand Up @@ -895,6 +904,8 @@ INVALIDARG
IOPS
IOSMAM
iotcentral
iotconnector
iotconnectors
iotdps
iothub
iothubprovisioningservices
Expand Down
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."
}
}
}
}
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": {}
}
}
}
}
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"
}
]
}
}
}
}
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
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
Loading

0 comments on commit 2a6c840

Please sign in to comment.