Skip to content

Commit 8d5d089

Browse files
dustinbursonFredericHeem
authored andcommitted
Dev healthcareapis microsoft.healthcare apis 2021 11 01 changes (Azure#16108)
* Adds base for updating Microsoft.HealthcareApis from version preview/2021-06-01-preview to version 2021-11-01 * Updates readme * Updates API version in new specs and examples * Initial updates for 2021-11-01 version * Fix prettier errors and resolve systemData error * Add missing type definitions * Remove pattern for validating Cors Origin. Regex was found to have DDoS issues. New correct pattern triggeres backwards breaking change alerts. Removing patterns in latest iteration to avoid error. Regexes are validated service side with updated logic already. * Add missing endtime from OperationResult * Revert CorsOriginEntry pattern removal to avoid false positive cross version breaking change * Add definition for Properties property in operation definition that was missing. * Test updating default verison per recommendation * Update services and workspaces to use some provisioning state to remove .NET SDK error * Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned * Revert "Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned" This reverts commit d44373c. * Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned" * Change default back to 2021-01-11 version * Change default version back in 2021-11-01 in anticipation of new release * Revert changes that removed common-type references for local references * Add async headers to patch examples * Add managed identity settings to dicomservices * Add resourceVersionPolicyCOnfiguration to workspaces/fhirservices * Fix prettier errors * Add missing description for resourceTypeOverrides * Add missing "x-ms-identifiers" property for arrays.
1 parent 7dc1e1c commit 8d5d089

File tree

49 files changed

+6781
-2
lines changed

Some content is hidden

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

49 files changed

+6781
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01",
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": "2021-11-01",
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01"
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-11-01",
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-11-01"
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-11-01"
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-11-01"
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2021-11-01",
8+
"dicomservicePatchResource": {
9+
"tags": {
10+
"tagKey": "tagValue"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"name": "blue",
18+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
19+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
20+
"tags": {
21+
"tagKey": "tagValue"
22+
},
23+
"properties": {
24+
"authenticationConfiguration": {
25+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
26+
"audiences": [
27+
"https://azurehealthcareapis.com/",
28+
"https://azurehealthcareapis.com"
29+
]
30+
},
31+
"provisioningState": "Succeeded",
32+
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com"
33+
}
34+
}
35+
},
36+
"202": {
37+
"headers": {
38+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/westus/operationresults/f7eb8g4f1ncj3jgk6bg8jlqf8?api-version=2021-11-01"
39+
},
40+
"body": {
41+
"name": "blue",
42+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
43+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
44+
"tags": {
45+
"tagKey": "tagValue"
46+
},
47+
"properties": {
48+
"authenticationConfiguration": {
49+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
50+
"audiences": [
51+
"https://azurehealthcareapis.com/",
52+
"https://azurehealthcareapis.com"
53+
]
54+
},
55+
"provisioningState": "Succeeded",
56+
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com"
57+
}
58+
}
59+
}
60+
}
61+
}

0 commit comments

Comments
 (0)