Skip to content

Commit a501906

Browse files
authored
[Hub Generated] Review request for Microsoft.HealthcareApis to add version stable/2021-01-11 (Azure#12125)
* Adds base for updating Microsoft.HealthcareApis from version stable/2020-03-30 to version 2021-01-11 * Updates readme * Updates API version in new specs and examples * Add new api spec * Fix tests. * Add description for systemData * Remove common type change * Prettier spec * Change definition name * Modify list result
1 parent b3ff102 commit a501906

19 files changed

+2220
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-11",
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,27 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-11",
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+
"404": {
19+
"body": {
20+
"error": {
21+
"code": "OperationResultNotFound",
22+
"message": "The operation result was not found."
23+
}
24+
}
25+
}
26+
}
27+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-11"
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/checkNameAvailability/post",
36+
"display": {},
37+
"origin": "user"
38+
},
39+
{
40+
"name": "Microsoft.HealthcareApis/Operations/read",
41+
"display": {
42+
"provider": "Microsoft.HealthcareApis",
43+
"resource": "operations",
44+
"operation": "read",
45+
"description": "Get the list of operations supported by this Resource Provider."
46+
},
47+
"origin": "user,system"
48+
}
49+
]
50+
}
51+
}
52+
}
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-11",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "rgname",
6+
"resourceName": "service1",
7+
"groupName": "fhir"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateLinkResources/fhir",
13+
"name": "fhir",
14+
"type": "Microsoft.HealthcareApis/services/privateLinkResources",
15+
"properties": {
16+
"groupId": "fhir",
17+
"requiredMembers": [
18+
"fhir"
19+
],
20+
"requiredZoneNames": [
21+
"privatelink.azurehealthcareapis.com"
22+
]
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-11",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "rgname",
6+
"resourceName": "service1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateLinkResources/fhir",
14+
"name": "fhir",
15+
"type": "Microsoft.HealthcareApis/services/privateLinkResources",
16+
"properties": {
17+
"groupId": "fhir",
18+
"requiredMembers": [
19+
"fhir"
20+
],
21+
"requiredZoneNames": [
22+
"privatelink.azurehealthcareapis.com"
23+
]
24+
}
25+
}
26+
]
27+
}
28+
}
29+
}
30+
}
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
{
2+
"parameters": {
3+
"resourceName": "service1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2021-01-11",
6+
"subscriptionId": "subid",
7+
"serviceDescription": {
8+
"location": "westus2",
9+
"tags": {},
10+
"kind": "fhir-R4",
11+
"properties": {
12+
"accessPolicies": [
13+
{
14+
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47"
15+
},
16+
{
17+
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
18+
}
19+
],
20+
"cosmosDbConfiguration": {
21+
"offerThroughput": 1000,
22+
"keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key"
23+
},
24+
"authenticationConfiguration": {
25+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
26+
"audience": "https://azurehealthcareapis.com",
27+
"smartProxyEnabled": true
28+
},
29+
"corsConfiguration": {
30+
"origins": [
31+
"*"
32+
],
33+
"headers": [
34+
"*"
35+
],
36+
"methods": [
37+
"DELETE",
38+
"GET",
39+
"OPTIONS",
40+
"PATCH",
41+
"POST",
42+
"PUT"
43+
],
44+
"maxAge": 1440,
45+
"allowCredentials": false
46+
},
47+
"exportConfiguration": {
48+
"storageAccountName": "existingStorageAccount"
49+
},
50+
"privateEndpointConnections": [],
51+
"publicNetworkAccess": "Disabled"
52+
},
53+
"identity": {
54+
"type": "SystemAssigned"
55+
}
56+
}
57+
},
58+
"responses": {
59+
"200": {
60+
"body": {
61+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1",
62+
"name": "service1",
63+
"location": "West US 2",
64+
"type": "Microsoft.HealthcareApis/services",
65+
"kind": "fhir-R4",
66+
"etag": "etagvalue",
67+
"tags": {},
68+
"properties": {
69+
"provisioningState": "Creating",
70+
"accessPolicies": [
71+
{
72+
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47"
73+
},
74+
{
75+
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
76+
}
77+
],
78+
"cosmosDbConfiguration": {
79+
"offerThroughput": 1000,
80+
"keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key"
81+
},
82+
"authenticationConfiguration": {
83+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
84+
"audience": "https://azurehealthcareapis.com",
85+
"smartProxyEnabled": true
86+
},
87+
"corsConfiguration": {
88+
"origins": [
89+
"*"
90+
],
91+
"headers": [
92+
"*"
93+
],
94+
"methods": [
95+
"DELETE",
96+
"GET",
97+
"OPTIONS",
98+
"PATCH",
99+
"POST",
100+
"PUT"
101+
],
102+
"maxAge": 1440,
103+
"allowCredentials": false
104+
},
105+
"exportConfiguration": {
106+
"storageAccountName": "existingStorageAccount"
107+
},
108+
"privateEndpointConnections": [],
109+
"publicNetworkAccess": "Disabled"
110+
},
111+
"identity": {
112+
"principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e",
113+
"tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47",
114+
"type": "SystemAssigned"
115+
}
116+
}
117+
},
118+
"201": {
119+
"body": {
120+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1",
121+
"name": "service1",
122+
"location": "West US 2",
123+
"type": "Microsoft.HealthcareApis/services",
124+
"kind": "fhir-R4",
125+
"etag": "etagvalue",
126+
"tags": {},
127+
"properties": {
128+
"provisioningState": "Creating",
129+
"accessPolicies": [
130+
{
131+
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47"
132+
},
133+
{
134+
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
135+
}
136+
],
137+
"cosmosDbConfiguration": {
138+
"offerThroughput": 1000
139+
},
140+
"authenticationConfiguration": {
141+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
142+
"audience": "https://azurehealthcareapis.com",
143+
"smartProxyEnabled": true
144+
},
145+
"corsConfiguration": {
146+
"origins": [
147+
"*"
148+
],
149+
"headers": [
150+
"*"
151+
],
152+
"methods": [
153+
"DELETE",
154+
"GET",
155+
"OPTIONS",
156+
"PATCH",
157+
"POST",
158+
"PUT"
159+
],
160+
"maxAge": 1440,
161+
"allowCredentials": false
162+
},
163+
"exportConfiguration": {
164+
"storageAccountName": "existingStorageAccount"
165+
},
166+
"privateEndpointConnections": [],
167+
"publicNetworkAccess": "Disabled"
168+
},
169+
"identity": {
170+
"principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e",
171+
"tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47",
172+
"type": "SystemAssigned"
173+
}
174+
}
175+
}
176+
}
177+
}

0 commit comments

Comments
 (0)