Skip to content

Commit

Permalink
Dev healthcareapis microsoft.healthcare apis 2022 10 01 preview (Azur…
Browse files Browse the repository at this point in the history
…e#19948)

* Adds base for updating Microsoft.HealthcareApis from version stable/2022-06-01 to version 2022-10-01-preview

* Updates readme

* Updates API version in new specs and examples

* add analytics connector

* add analytics connector example

* fix error

* fix error

* fix error

* fix error

* remove 202 for create

* fix bug

* add discriminators

* Add missing required type

* remove 2 properties

* remove additional properities

* add long running operations

* fix addition properties

* fix name pattern

* fix identity alert

* revert workspace name change

* fix location

* fix warning

* fix warning

* fix LRO error

* add async headers

* merge from stable version

Co-authored-by: Tong Wu (SH) <tongwu@microsoft.com>
  • Loading branch information
2 people authored and kayousef committed Dec 21, 2022
1 parent c8ffa9c commit 475460a
Show file tree
Hide file tree
Showing 55 changed files with 7,788 additions and 2 deletions.
2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ amazonservices
ambari
amlcompute
amortizedcost
analyticsconnectors
analysisservices
AND'ed
Annotatable
anomalydetector
anomalyfinder
anonymization
Antimalware
antimeridian
antispam
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2022-10-01-preview",
"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,20 @@
{
"parameters": {
"api-version": "2022-10-01-preview",
"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",
"endTime": "2019-01-21T06:04:12.3413202Z",
"properties": {}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"parameters": {
"api-version": "2022-10-01-preview"
},
"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/workspaces/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/delete",
"display": {},
"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,80 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"analyticsConnectorName": "exampleconnector",
"api-version": "2022-10-01-preview",
"analyticsConnector": {
"location": "westus",
"properties": {
"dataSourceConfiguration": {
"type": "fhirservice",
"url": "https://workspace-examplefhir.fhir.azurehealthcareapis.com",
"kind": "R4"
},
"dataMappingConfiguration": {
"type": "fhirToParquet",
"filterConfigurationReference": "acrexample.azurecr.io/blah@sha256xxx",
"extensionSchemaReference": "acrexample.azurecr.io/blah@sha256aaa/Extension"
},
"dataDestinationConfiguration": {
"type": "datalake",
"dataLakeName": "exampledatalake"
}
}
}
},
"responses": {
"200": {
"body": {
"name": "exampleconnector",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/analyticsconnectors/exampleconnector",
"location": "westus",
"type": "Microsoft.HealthcareApis/workspaces/analyticsconnectors",
"properties": {
"dataSourceConfiguration": {
"type": "fhirservice",
"url": "https://workspace-examplefhir.fhir.azurehealthcareapis.com",
"kind": "R4"
},
"dataMappingConfiguration": {
"type": "fhirToParquet",
"filterConfigurationReference": "acrexample.azurecr.io/blah@sha256xxx",
"extensionSchemaReference": "acrexample.azurecr.io/blah@sha256aaa/Extension"
},
"dataDestinationConfiguration": {
"type": "datalake",
"dataLakeName": "exampledatalake"
},
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"name": "exampleconnector",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/analyticsconnectors/exampleconnector",
"location": "westus",
"type": "Microsoft.HealthcareApis/workspaces/analyticsconnectors",
"properties": {
"dataSourceConfiguration": {
"type": "fhirservice",
"url": "https://workspace-examplefhir.fhir.azurehealthcareapis.com",
"kind": "R4"
},
"dataMappingConfiguration": {
"type": "fhirToParquet",
"filterConfigurationReference": "acrexample.azurecr.io/blah@sha256xxx",
"extensionSchemaReference": "acrexample.azurecr.io/blah@sha256aaa/Extension"
},
"dataDestinationConfiguration": {
"type": "datalake",
"dataLakeName": "exampledatalake"
},
"provisioningState": "Creating"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"analyticsConnectorName": "exampleconnector",
"api-version": "2022-10-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HealthcareApis/locations/location/operationresults/operationid?api-version=2022-10-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"analyticsConnectorName": "exampleconnector",
"api-version": "2022-10-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/workspaces/workspace1/analyticsconnectors/exampleconnector",
"name": "exampleconnector",
"type": "Microsoft.HealthcareApis/workspaces/analyticsconnectors",
"properties": {
"dataSourceConfiguration": {
"type": "fhirservice",
"url": "https://workspace-examplefhir.fhir.azurehealthcareapis.com",
"kind": "R4"
},
"dataMappingConfiguration": {
"type": "fhirToParquet",
"filterConfigurationReference": "acrexample.azurecr.io/blah@sha256xxx",
"extensionSchemaReference": "acrexample.azurecr.io/blah@sha256aaa/Extension"
},
"dataDestinationConfiguration": {
"type": "datalake",
"dataLakeName": "exampledatalake"
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"api-version": "2022-10-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/workspaces/workspace1/analyticsconnectors/exampleconnector",
"name": "exampleconnector",
"type": "Microsoft.HealthcareApis/workspaces/analyticsconnectors",
"properties": {
"dataSourceConfiguration": {
"type": "fhirservice",
"url": "https://workspace-examplefhir.fhir.azurehealthcareapis.com",
"kind": "R4"
},
"dataMappingConfiguration": {
"type": "fhirToParquet",
"filterConfigurationReference": "acrexample.azurecr.io/blah@sha256xxx",
"extensionSchemaReference": "acrexample.azurecr.io/blah@sha256aaa/Extension"
},
"dataDestinationConfiguration": {
"type": "datalake",
"dataLakeName": "exampledatalake"
},
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Loading

0 comments on commit 475460a

Please sign in to comment.