Skip to content

Commit 2a6c840

Browse files
authored
Dev healthcareapis microsoft.healthcare apis 2021 06 01 preview changes (#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
1 parent 56444d6 commit 2a6c840

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+5935
-3
lines changed

custom-words.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,11 @@ dewpoint
556556
dhcp
557557
diagnosticcontext
558558
diarization
559+
DICOM
560+
Dicom
561+
dicom
562+
dicomservice
563+
dicomservices
559564
digitaltwins
560565
DIMM
561566
Directline
@@ -686,6 +691,10 @@ featurized
686691
Featurizer
687692
feedbacktype
688693
FHIR
694+
fhirdestination
695+
fhirdestinations
696+
fhirservice
697+
fhirservices
689698
filegroup
690699
filepath
691700
fileserver
@@ -895,6 +904,8 @@ INVALIDARG
895904
IOPS
896905
IOSMAM
897906
iotcentral
907+
iotconnector
908+
iotconnectors
898909
iotdps
899910
iothub
900911
iothubprovisioningservices
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01-preview",
4+
"subscriptionId": "subid",
5+
"checkNameAvailabilityInputs": {
6+
"type": "Microsoft.HealthcareApis/services",
7+
"name": "serviceName"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": false,
14+
"reason": "AlreadyExists",
15+
"message": "Service name is not available."
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01-preview",
4+
"subscriptionId": "subid",
5+
"locationName": "westus",
6+
"operationResultId": "exampleid"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/subid/providers/Microsoft.HealthcareApis/locations/westus/operationresults/exampleid",
12+
"name": "servicename",
13+
"status": "Requested",
14+
"startTime": "2019-01-21T06:03:30.2716301Z",
15+
"properties": {}
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.HealthcareApis/services/read",
11+
"display": {},
12+
"origin": "user,system"
13+
},
14+
{
15+
"name": "Microsoft.HealthcareApis/services/write",
16+
"display": {},
17+
"origin": "user,system"
18+
},
19+
{
20+
"name": "Microsoft.HealthcareApis/services/delete",
21+
"display": {},
22+
"origin": "user,system"
23+
},
24+
{
25+
"name": "Microsoft.HealthcareApis/locations/operationresults/read",
26+
"display": {
27+
"provider": "Microsoft.HealthcareApis",
28+
"resource": "operationresults",
29+
"operation": "read",
30+
"description": "Get the status of an asynchronous operation"
31+
},
32+
"origin": "user,system"
33+
},
34+
{
35+
"name": "Microsoft.HealthcareApis/workspaces/read",
36+
"display": {},
37+
"origin": "user,system"
38+
},
39+
{
40+
"name": "Microsoft.HealthcareApis/workspaces/write",
41+
"display": {},
42+
"origin": "user,system"
43+
},
44+
{
45+
"name": "Microsoft.HealthcareApis/workspaces/delete",
46+
"display": {},
47+
"origin": "user,system"
48+
},
49+
{
50+
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/read",
51+
"display": {},
52+
"origin": "user,system"
53+
},
54+
{
55+
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/write",
56+
"display": {},
57+
"origin": "user,system"
58+
},
59+
{
60+
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/delete",
61+
"display": {},
62+
"origin": "user,system"
63+
},
64+
{
65+
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/read",
66+
"display": {},
67+
"origin": "user,system"
68+
},
69+
{
70+
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/write",
71+
"display": {},
72+
"origin": "user,system"
73+
},
74+
{
75+
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/delete",
76+
"display": {},
77+
"origin": "user,system"
78+
},
79+
{
80+
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/read",
81+
"display": {},
82+
"origin": "user,system"
83+
},
84+
{
85+
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/write",
86+
"display": {},
87+
"origin": "user,system"
88+
},
89+
{
90+
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/delete",
91+
"display": {},
92+
"origin": "user,system"
93+
},
94+
{
95+
"name": "Microsoft.HealthcareApis/checkNameAvailability/post",
96+
"display": {},
97+
"origin": "user"
98+
},
99+
{
100+
"name": "Microsoft.HealthcareApis/Operations/read",
101+
"display": {
102+
"provider": "Microsoft.HealthcareApis",
103+
"resource": "operations",
104+
"operation": "read",
105+
"description": "Get the list of operations supported by this Resource Provider."
106+
},
107+
"origin": "user,system"
108+
}
109+
]
110+
}
111+
}
112+
}
113+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2021-06-01-preview",
8+
"dicomservice": {
9+
"location": "westus",
10+
"properties": {}
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"name": "blue",
17+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
18+
"location": "westus",
19+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
20+
"properties": {
21+
"authenticationConfiguration": {
22+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
23+
"audiences": [
24+
"https://azurehealthcareapis.com/",
25+
"https://azurehealthcareapis.com"
26+
]
27+
},
28+
"provisioningState": "Succeeded",
29+
"serviceUrl": null
30+
}
31+
}
32+
},
33+
"201": {
34+
"body": {
35+
"name": "blue",
36+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
37+
"location": "westus",
38+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
39+
"properties": {
40+
"authenticationConfiguration": {
41+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
42+
"audiences": [
43+
"https://azurehealthcareapis.com/",
44+
"https://azurehealthcareapis.com"
45+
]
46+
},
47+
"provisioningState": "Creating",
48+
"serviceUrl": null
49+
}
50+
}
51+
},
52+
"202": {
53+
"body": {
54+
"name": "blue",
55+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
56+
"location": "westus",
57+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
58+
"properties": {
59+
"authenticationConfiguration": {
60+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
61+
"audiences": [
62+
"https://azurehealthcareapis.com/",
63+
"https://azurehealthcareapis.com"
64+
]
65+
},
66+
"provisioningState": "Accepted",
67+
"serviceUrl": null
68+
}
69+
}
70+
}
71+
}
72+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2021-06-01-preview"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2021-06-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"name": "blue",
13+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
14+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
15+
"properties": {
16+
"authenticationConfiguration": {
17+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
18+
"audiences": [
19+
"https://azurehealthcareapis.com/",
20+
"https://azurehealthcareapis.com"
21+
]
22+
},
23+
"provisioningState": "Succeeded",
24+
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com"
25+
}
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"api-version": "2021-06-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"nextLink": "string",
12+
"value": [
13+
{
14+
"name": "blue",
15+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
16+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
17+
"properties": {
18+
"authenticationConfiguration": {
19+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
20+
"audiences": [
21+
"https://azurehealthcareapis.com/",
22+
"https://azurehealthcareapis.com"
23+
]
24+
},
25+
"provisioningState": "Succeeded",
26+
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com"
27+
}
28+
},
29+
{
30+
"name": "red",
31+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/red",
32+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
33+
"properties": {
34+
"authenticationConfiguration": {
35+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
36+
"audiences": [
37+
"https://azurehealthcareapis.com/",
38+
"https://azurehealthcareapis.com"
39+
]
40+
},
41+
"provisioningState": "Succeeded",
42+
"serviceUrl": "https://workspace1-red.dicom.azurehealthcareapis.com"
43+
}
44+
}
45+
]
46+
}
47+
}
48+
}
49+
}

0 commit comments

Comments
 (0)