Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.HealthcareApis to add ve…
Browse files Browse the repository at this point in the history
…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
moria97 authored Jan 20, 2021
1 parent b3ff102 commit a501906
Show file tree
Hide file tree
Showing 19 changed files with 2,220 additions and 4 deletions.
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."
}
}
}
}
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."
}
}
}
}
}
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"
}
]
}
}
}
}
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"
]
}
}
}
}
}
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"
]
}
}
]
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit a501906

Please sign in to comment.