-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.HealthcareApis to add ve…
…rsion stable/2021-01-11 (#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
- Loading branch information
Showing
19 changed files
with
2,220 additions
and
4 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...anager/Microsoft.HealthcareApis/stable/2021-01-11/examples/CheckNameAvailabilityPost.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-11", | ||
"subscriptionId": "subid", | ||
"checkNameAvailabilityInputs": { | ||
"type": "Microsoft.HealthcareApis/services", | ||
"name": "serviceName" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "Service name is not available." | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...urce-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/OperationResultsGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-11", | ||
"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": {} | ||
} | ||
}, | ||
"404": { | ||
"body": { | ||
"error": { | ||
"code": "OperationResultNotFound", | ||
"message": "The operation result was not found." | ||
} | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
.../resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/OperationsList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-11" | ||
}, | ||
"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/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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...e-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/PrivateLinkResourceGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-11", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgname", | ||
"resourceName": "service1", | ||
"groupName": "fhir" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateLinkResources/fhir", | ||
"name": "fhir", | ||
"type": "Microsoft.HealthcareApis/services/privateLinkResources", | ||
"properties": { | ||
"groupId": "fhir", | ||
"requiredMembers": [ | ||
"fhir" | ||
], | ||
"requiredZoneNames": [ | ||
"privatelink.azurehealthcareapis.com" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...icrosoft.HealthcareApis/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-11", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgname", | ||
"resourceName": "service1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateLinkResources/fhir", | ||
"name": "fhir", | ||
"type": "Microsoft.HealthcareApis/services/privateLinkResources", | ||
"properties": { | ||
"groupId": "fhir", | ||
"requiredMembers": [ | ||
"fhir" | ||
], | ||
"requiredZoneNames": [ | ||
"privatelink.azurehealthcareapis.com" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
177 changes: 177 additions & 0 deletions
177
...s/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
{ | ||
"parameters": { | ||
"resourceName": "service1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-01-11", | ||
"subscriptionId": "subid", | ||
"serviceDescription": { | ||
"location": "westus2", | ||
"tags": {}, | ||
"kind": "fhir-R4", | ||
"properties": { | ||
"accessPolicies": [ | ||
{ | ||
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" | ||
}, | ||
{ | ||
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" | ||
} | ||
], | ||
"cosmosDbConfiguration": { | ||
"offerThroughput": 1000, | ||
"keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key" | ||
}, | ||
"authenticationConfiguration": { | ||
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", | ||
"audience": "https://azurehealthcareapis.com", | ||
"smartProxyEnabled": true | ||
}, | ||
"corsConfiguration": { | ||
"origins": [ | ||
"*" | ||
], | ||
"headers": [ | ||
"*" | ||
], | ||
"methods": [ | ||
"DELETE", | ||
"GET", | ||
"OPTIONS", | ||
"PATCH", | ||
"POST", | ||
"PUT" | ||
], | ||
"maxAge": 1440, | ||
"allowCredentials": false | ||
}, | ||
"exportConfiguration": { | ||
"storageAccountName": "existingStorageAccount" | ||
}, | ||
"privateEndpointConnections": [], | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", | ||
"name": "service1", | ||
"location": "West US 2", | ||
"type": "Microsoft.HealthcareApis/services", | ||
"kind": "fhir-R4", | ||
"etag": "etagvalue", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"accessPolicies": [ | ||
{ | ||
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" | ||
}, | ||
{ | ||
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" | ||
} | ||
], | ||
"cosmosDbConfiguration": { | ||
"offerThroughput": 1000, | ||
"keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key" | ||
}, | ||
"authenticationConfiguration": { | ||
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", | ||
"audience": "https://azurehealthcareapis.com", | ||
"smartProxyEnabled": true | ||
}, | ||
"corsConfiguration": { | ||
"origins": [ | ||
"*" | ||
], | ||
"headers": [ | ||
"*" | ||
], | ||
"methods": [ | ||
"DELETE", | ||
"GET", | ||
"OPTIONS", | ||
"PATCH", | ||
"POST", | ||
"PUT" | ||
], | ||
"maxAge": 1440, | ||
"allowCredentials": false | ||
}, | ||
"exportConfiguration": { | ||
"storageAccountName": "existingStorageAccount" | ||
}, | ||
"privateEndpointConnections": [], | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"identity": { | ||
"principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", | ||
"name": "service1", | ||
"location": "West US 2", | ||
"type": "Microsoft.HealthcareApis/services", | ||
"kind": "fhir-R4", | ||
"etag": "etagvalue", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"accessPolicies": [ | ||
{ | ||
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" | ||
}, | ||
{ | ||
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" | ||
} | ||
], | ||
"cosmosDbConfiguration": { | ||
"offerThroughput": 1000 | ||
}, | ||
"authenticationConfiguration": { | ||
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", | ||
"audience": "https://azurehealthcareapis.com", | ||
"smartProxyEnabled": true | ||
}, | ||
"corsConfiguration": { | ||
"origins": [ | ||
"*" | ||
], | ||
"headers": [ | ||
"*" | ||
], | ||
"methods": [ | ||
"DELETE", | ||
"GET", | ||
"OPTIONS", | ||
"PATCH", | ||
"POST", | ||
"PUT" | ||
], | ||
"maxAge": 1440, | ||
"allowCredentials": false | ||
}, | ||
"exportConfiguration": { | ||
"storageAccountName": "existingStorageAccount" | ||
}, | ||
"privateEndpointConnections": [], | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"identity": { | ||
"principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.