Skip to content

Commit 644b7e9

Browse files
authored
Review request for microsoft.healthcare apis stable version 2024 03 31 (#27981)
* Adds base for updating Microsoft.HealthcareApis from version stable/2024-03-01 to version 2024-03-31 * Updates readme * Updates API version in new specs and examples * Update spec to include data partitions variable * Fix duplicate tag * Add default tag * Fix prettier check * Ran prettier * Fix prettier
1 parent 154b11d commit 644b7e9

51 files changed

Lines changed: 7642 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-03-31",
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,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-03-31",
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+
"endTime": "2019-01-21T06:04:12.3413202Z",
16+
"properties": {}
17+
}
18+
}
19+
}
20+
}
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-03-31"
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,140 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2024-03-31",
8+
"dicomservice": {
9+
"location": "westus",
10+
"properties": {
11+
"storageConfiguration": {
12+
"storageResourceId": "/subscriptions/ab309d4e-4c2e-4241-be2e-08e1c8dd4246/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/accountname",
13+
"fileSystemName": "fileSystemName"
14+
},
15+
"enableDataPartitions": false
16+
}
17+
}
18+
},
19+
"responses": {
20+
"200": {
21+
"body": {
22+
"name": "blue",
23+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
24+
"location": "westus",
25+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
26+
"properties": {
27+
"authenticationConfiguration": {
28+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
29+
"audiences": [
30+
"https://azurehealthcareapis.com/",
31+
"https://azurehealthcareapis.com"
32+
]
33+
},
34+
"corsConfiguration": {
35+
"origins": [
36+
"*"
37+
],
38+
"headers": [
39+
"*"
40+
],
41+
"methods": [
42+
"DELETE",
43+
"GET",
44+
"OPTIONS",
45+
"PATCH",
46+
"POST",
47+
"PUT"
48+
],
49+
"maxAge": 1440,
50+
"allowCredentials": false
51+
},
52+
"provisioningState": "Succeeded",
53+
"serviceUrl": null,
54+
"eventState": "Disabled",
55+
"encryption": {
56+
"customerManagedKeyEncryption": {
57+
"keyEncryptionKeyUrl": "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion"
58+
}
59+
},
60+
"storageConfiguration": {
61+
"storageResourceId": "/subscriptions/ab309d4e-4c2e-4241-be2e-08e1c8dd4246/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/accountname",
62+
"fileSystemName": "fileSystemName"
63+
},
64+
"enableDataPartitions": false
65+
},
66+
"identity": {
67+
"type": "UserAssigned",
68+
"userAssignedIdentities": {
69+
"/subscriptions/subid/resourcegroups/testRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-mi": {}
70+
}
71+
}
72+
}
73+
},
74+
"201": {
75+
"body": {
76+
"name": "blue",
77+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
78+
"location": "westus",
79+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
80+
"properties": {
81+
"authenticationConfiguration": {
82+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
83+
"audiences": [
84+
"https://azurehealthcareapis.com/",
85+
"https://azurehealthcareapis.com"
86+
]
87+
},
88+
"provisioningState": "Creating",
89+
"serviceUrl": null,
90+
"eventState": "Disabled",
91+
"encryption": {
92+
"customerManagedKeyEncryption": {
93+
"keyEncryptionKeyUrl": "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion"
94+
}
95+
},
96+
"storageConfiguration": {},
97+
"enableDataPartitions": false
98+
},
99+
"identity": {
100+
"principalId": "2f1f372f-edcf-43f5-aedb-173da3cc5c1e",
101+
"tenantId": "abfde7b2-df0f-47e6-aabf-2462b07508dc",
102+
"type": "SystemAssigned"
103+
}
104+
}
105+
},
106+
"202": {
107+
"body": {
108+
"name": "blue",
109+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
110+
"location": "westus",
111+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
112+
"properties": {
113+
"authenticationConfiguration": {
114+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
115+
"audiences": [
116+
"https://azurehealthcareapis.com/",
117+
"https://azurehealthcareapis.com"
118+
]
119+
},
120+
"provisioningState": "Accepted",
121+
"serviceUrl": null,
122+
"eventState": "Disabled",
123+
"encryption": {
124+
"customerManagedKeyEncryption": {
125+
"keyEncryptionKeyUrl": "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion"
126+
}
127+
},
128+
"storageConfiguration": {},
129+
"enableDataPartitions": false
130+
},
131+
"identity": {
132+
"type": "UserAssigned",
133+
"userAssignedIdentities": {
134+
"/subscriptions/subid/resourcegroups/testRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-mi": {}
135+
}
136+
}
137+
}
138+
}
139+
}
140+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2024-03-31"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {
12+
"headers": {
13+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/westus/operationresults/f7eb8g4f1ncj3jgk6bg8jlqf8?api-version=2023-11-01"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2024-03-31"
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+
"corsConfiguration": {
24+
"origins": [
25+
"*"
26+
],
27+
"headers": [
28+
"*"
29+
],
30+
"methods": [
31+
"DELETE",
32+
"GET",
33+
"OPTIONS",
34+
"PATCH",
35+
"POST",
36+
"PUT"
37+
],
38+
"maxAge": 1440,
39+
"allowCredentials": false
40+
},
41+
"provisioningState": "Succeeded",
42+
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com",
43+
"eventState": "Disabled",
44+
"encryption": {
45+
"customerManagedKeyEncryption": {
46+
"keyEncryptionKeyUrl": "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion"
47+
}
48+
},
49+
"storageConfiguration": {
50+
"storageResourceId": "/subscriptions/ab309d4e-4c2e-4241-be2e-08e1c8dd4246/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/accountname",
51+
"fileSystemName": "fileSystemName"
52+
},
53+
"enableDataPartitions": false
54+
},
55+
"identity": {
56+
"principalId": "2f1f372f-edcf-43f5-aedb-173da3cc5c1e",
57+
"tenantId": "abfde7b2-df0f-47e6-aabf-2462b07508dc",
58+
"type": "SystemAssigned"
59+
}
60+
}
61+
}
62+
}
63+
}

0 commit comments

Comments
 (0)