-
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.
Dev healthcareapis microsoft.healthcare apis 2022 10 01 preview (#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
Showing
55 changed files
with
7,788 additions
and
2 deletions.
There are no files selected for viewing
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
19 changes: 19 additions & 0 deletions
19
...crosoft.HealthcareApis/preview/2022-10-01-preview/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": "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." | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ger/Microsoft.HealthcareApis/preview/2022-10-01-preview/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,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": {} | ||
} | ||
} | ||
} | ||
} |
113 changes: 113 additions & 0 deletions
113
...-manager/Microsoft.HealthcareApis/preview/2022-10-01-preview/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,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
80 changes: 80 additions & 0 deletions
80
...s/preview/2022-10-01-preview/examples/analyticsconnectors/AnalyticsConnectors_Create.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...s/preview/2022-10-01-preview/examples/analyticsconnectors/AnalyticsConnectors_Delete.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,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": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...Apis/preview/2022-10-01-preview/examples/analyticsconnectors/AnalyticsConnectors_Get.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...pis/preview/2022-10-01-preview/examples/analyticsconnectors/AnalyticsConnectors_List.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,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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.