@azure/arm-healthcareapis 2.2.1-alpha.20231211.1 → 3.0.0-alpha.20231221.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +27 -8
- package/LICENSE +1 -1
- package/dist/index.js +524 -231
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesGetSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +11 -4
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +28 -9
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesGetSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsGetSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +10 -3
- package/dist-esm/samples-dev/operationResultsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +10 -3
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +65 -8
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +29 -4
- package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +10 -3
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +10 -3
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/healthcareApisManagementClient.d.ts +1 -1
- package/dist-esm/src/healthcareApisManagementClient.js +3 -3
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +95 -27
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -10
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +237 -29
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +4 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/dicomServices.d.ts +4 -4
- package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operations/dicomServices.js +38 -27
- package/dist-esm/src/operations/dicomServices.js.map +1 -1
- package/dist-esm/src/operations/fhirDestinations.js +0 -1
- package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
- package/dist-esm/src/operations/fhirServices.d.ts +4 -4
- package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operations/fhirServices.js +38 -27
- package/dist-esm/src/operations/fhirServices.js.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts +3 -3
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.js +31 -23
- package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
- package/dist-esm/src/operations/iotConnectors.d.ts +4 -4
- package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectors.js +38 -27
- package/dist-esm/src/operations/iotConnectors.js.map +1 -1
- package/dist-esm/src/operations/operations.js +0 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -21
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts +4 -4
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +31 -16
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +29 -21
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts +4 -4
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +31 -16
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/services.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/healthcareapis_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.js +111 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -0
- package/package.json +12 -9
- package/review/arm-healthcareapis.api.md +74 -29
- package/src/healthcareApisManagementClient.ts +3 -3
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +103 -30
- package/src/models/mappers.ts +253 -33
- package/src/models/parameters.ts +4 -1
- package/src/operations/dicomServices.ts +41 -32
- package/src/operations/fhirDestinations.ts +0 -1
- package/src/operations/fhirServices.ts +41 -32
- package/src/operations/iotConnectorFhirDestination.ts +28 -21
- package/src/operations/iotConnectors.ts +41 -32
- package/src/operations/operations.ts +0 -1
- package/src/operations/privateEndpointConnections.ts +28 -21
- package/src/operations/services.ts +46 -33
- package/src/operations/workspacePrivateEndpointConnections.ts +28 -23
- package/src/operations/workspaces.ts +46 -33
- package/src/operationsInterfaces/dicomServices.ts +6 -6
- package/src/operationsInterfaces/fhirServices.ts +6 -6
- package/src/operationsInterfaces/iotConnectorFhirDestination.ts +4 -4
- package/src/operationsInterfaces/iotConnectors.ts +6 -6
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/services.ts +6 -6
- package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +4 -6
- package/src/operationsInterfaces/workspaces.ts +6 -6
- package/src/pagingHelper.ts +4 -4
- package/types/arm-healthcareapis.d.ts +110 -37
- package/dist-esm/samples-dev/checkNameAvailability.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailability.js +0 -33
- package/dist-esm/samples-dev/checkNameAvailability.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +0 -62
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +0 -39
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +0 -1
- package/dist-esm/samples-dev/deleteService.d.ts +0 -2
- package/dist-esm/samples-dev/deleteService.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteService.js +0 -31
- package/dist-esm/samples-dev/deleteService.js.map +0 -1
- package/dist-esm/samples-dev/getMetadata.d.ts +0 -2
- package/dist-esm/samples-dev/getMetadata.d.ts.map +0 -1
- package/dist-esm/samples-dev/getMetadata.js +0 -31
- package/dist-esm/samples-dev/getMetadata.js.map +0 -1
- package/dist-esm/samples-dev/getOperationResult.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationResult.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationResult.js +0 -31
- package/dist-esm/samples-dev/getOperationResult.js.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +0 -46
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.js +0 -45
- package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +0 -1
- package/dist-esm/samples-dev/listOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperations.js +0 -45
- package/dist-esm/samples-dev/listOperations.js.map +0 -1
- package/dist-esm/samples-dev/patchService.d.ts +0 -2
- package/dist-esm/samples-dev/patchService.d.ts.map +0 -1
- package/dist-esm/samples-dev/patchService.js +0 -34
- package/dist-esm/samples-dev/patchService.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +0 -38
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.js +0 -47
- package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGet.js +0 -32
- package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +0 -31
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
@@ -10,17 +10,19 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Lists all DICOM Services for the given workspace
|
15
17
|
*
|
16
18
|
* @summary Lists all DICOM Services for the given workspace
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/dicomservices/DicomServices_List.json
|
18
20
|
*/
|
19
21
|
function listDicomservices() {
|
20
22
|
var _a, e_1, _b, _c;
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const resourceGroupName = "testRG";
|
24
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
25
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const credential = new DefaultAzureCredential();
|
26
28
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -43,5 +45,10 @@ function listDicomservices() {
|
|
43
45
|
console.log(resArray);
|
44
46
|
});
|
45
47
|
}
|
46
|
-
|
48
|
+
function main() {
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
50
|
+
listDicomservices();
|
51
|
+
});
|
52
|
+
}
|
53
|
+
main().catch(console.error);
|
47
54
|
//# sourceMappingURL=dicomServicesListByWorkspaceSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dicomServicesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/dicomServicesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"dicomServicesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/dicomServicesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,aAAa,CAAC,eAAe,CACzD,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA,sDAAE;gBAHoB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Patch DICOM Service details.
|
15
17
|
*
|
16
18
|
* @summary Patch DICOM Service details.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/dicomservices/DicomServices_Patch.json
|
18
20
|
*/
|
19
21
|
function updateADicomservice() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const dicomServiceName = "blue";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const dicomservicePatchResource = {
|
@@ -31,5 +33,10 @@ function updateADicomservice() {
|
|
31
33
|
console.log(result);
|
32
34
|
});
|
33
35
|
}
|
34
|
-
|
36
|
+
function main() {
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
38
|
+
updateADicomservice();
|
39
|
+
});
|
40
|
+
}
|
41
|
+
main().catch(console.error);
|
35
42
|
//# sourceMappingURL=dicomServicesUpdateSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dicomServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/dicomServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"dicomServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/dicomServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mBAAmB;;QAChC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,yBAAyB,GAA8B;YAC3D,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,kBAAkB,CAC1D,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,yBAAyB,CAC1B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mBAAmB,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,17 +10,19 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Lists all FHIR destinations for the given IoT Connector
|
15
17
|
*
|
16
18
|
* @summary Lists all FHIR destinations for the given IoT Connector
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_fhirdestination_List.json
|
18
20
|
*/
|
19
21
|
function listIoTConnectors() {
|
20
22
|
var _a, e_1, _b, _c;
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const resourceGroupName = "testRG";
|
24
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
25
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const iotConnectorName = "blue";
|
26
28
|
const credential = new DefaultAzureCredential();
|
@@ -44,5 +46,10 @@ function listIoTConnectors() {
|
|
44
46
|
console.log(resArray);
|
45
47
|
});
|
46
48
|
}
|
47
|
-
|
49
|
+
function main() {
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
51
|
+
listIoTConnectors();
|
52
|
+
});
|
53
|
+
}
|
54
|
+
main().catch(console.error);
|
48
55
|
//# sourceMappingURL=fhirDestinationsListByIotConnectorSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fhirDestinationsListByIotConnectorSample.js","sourceRoot":"","sources":["../../samples-dev/fhirDestinationsListByIotConnectorSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"fhirDestinationsListByIotConnectorSample.js","sourceRoot":"","sources":["../../samples-dev/fhirDestinationsListByIotConnectorSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,gBAAgB,CAAC,kBAAkB,CAC/D,iBAAiB,EACjB,aAAa,EACb,gBAAgB,CACjB,CAAA,IAAA,sDAAE;gBAJoB,cAItB;gBAJsB,WAItB;gBAJU,IAAI,IAAI,KAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,23 +10,21 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Creates or updates a FHIR Service resource with the specified parameters.
|
15
17
|
*
|
16
18
|
* @summary Creates or updates a FHIR Service resource with the specified parameters.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_Create.json
|
18
20
|
*/
|
19
21
|
function createOrUpdateAFhirService() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const fhirServiceName = "fhirservice1";
|
25
27
|
const fhirservice = {
|
26
|
-
accessPolicies: [
|
27
|
-
{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" },
|
28
|
-
{ objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" }
|
29
|
-
],
|
30
28
|
acrConfiguration: { loginServers: ["test1.azurecr.io"] },
|
31
29
|
authenticationConfiguration: {
|
32
30
|
audience: "https://azurehealthcareapis.com",
|
@@ -40,8 +38,24 @@ function createOrUpdateAFhirService() {
|
|
40
38
|
methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
|
41
39
|
origins: ["*"]
|
42
40
|
},
|
41
|
+
encryption: {
|
42
|
+
customerManagedKeyEncryption: {
|
43
|
+
keyEncryptionKeyUrl: "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion"
|
44
|
+
}
|
45
|
+
},
|
43
46
|
exportConfiguration: { storageAccountName: "existingStorageAccount" },
|
44
|
-
identity: {
|
47
|
+
identity: {
|
48
|
+
type: "UserAssigned",
|
49
|
+
userAssignedIdentities: {
|
50
|
+
"/subscriptions/subid/resourcegroups/testRG/providers/MicrosoftManagedIdentity/userAssignedIdentities/testMi": {}
|
51
|
+
}
|
52
|
+
},
|
53
|
+
implementationGuidesConfiguration: { usCoreMissingData: false },
|
54
|
+
importConfiguration: {
|
55
|
+
enabled: false,
|
56
|
+
initialImportMode: false,
|
57
|
+
integrationDataStore: "existingStorageAccount"
|
58
|
+
},
|
45
59
|
kind: "fhir-R4",
|
46
60
|
location: "westus",
|
47
61
|
tags: {
|
@@ -56,5 +70,10 @@ function createOrUpdateAFhirService() {
|
|
56
70
|
console.log(result);
|
57
71
|
});
|
58
72
|
}
|
59
|
-
|
73
|
+
function main() {
|
74
|
+
return __awaiter(this, void 0, void 0, function* () {
|
75
|
+
createOrUpdateAFhirService();
|
76
|
+
});
|
77
|
+
}
|
78
|
+
main().catch(console.error);
|
60
79
|
//# sourceMappingURL=fhirServicesCreateOrUpdateSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fhirServicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"fhirServicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,WAAW,GAAgB;YAC/B,gBAAgB,EAAE,EAAE,YAAY,EAAE,CAAC,kBAAkB,CAAC,EAAE;YACxD,2BAA2B,EAAE;gBAC3B,QAAQ,EAAE,iCAAiC;gBAC3C,SAAS,EACP,wEAAwE;gBAC1E,iBAAiB,EAAE,IAAI;aACxB;YACD,iBAAiB,EAAE;gBACjB,gBAAgB,EAAE,KAAK;gBACvB,OAAO,EAAE,CAAC,GAAG,CAAC;gBACd,MAAM,EAAE,IAAI;gBACZ,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;gBAC7D,OAAO,EAAE,CAAC,GAAG,CAAC;aACf;YACD,UAAU,EAAE;gBACV,4BAA4B,EAAE;oBAC5B,mBAAmB,EACjB,sEAAsE;iBACzE;aACF;YACD,mBAAmB,EAAE,EAAE,kBAAkB,EAAE,wBAAwB,EAAE;YACrE,QAAQ,EAAE;gBACR,IAAI,EAAE,cAAc;gBACpB,sBAAsB,EAAE;oBACtB,6GAA6G,EAAE,EAAE;iBAClH;aACF;YACD,iCAAiC,EAAE,EAAE,iBAAiB,EAAE,KAAK,EAAE;YAC/D,mBAAmB,EAAE;gBACnB,OAAO,EAAE,KAAK;gBACd,iBAAiB,EAAE,KAAK;gBACxB,oBAAoB,EAAE,wBAAwB;aAC/C;YACD,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE;gBACJ,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;aAC1B;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,0BAA0B,CACjE,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Deletes a FHIR Service.
|
15
17
|
*
|
16
18
|
* @summary Deletes a FHIR Service.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_Delete.json
|
18
20
|
*/
|
19
21
|
function deleteAFhirService() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const fhirServiceName = "fhirservice1";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const credential = new DefaultAzureCredential();
|
@@ -28,5 +30,10 @@ function deleteAFhirService() {
|
|
28
30
|
console.log(result);
|
29
31
|
});
|
30
32
|
}
|
31
|
-
|
33
|
+
function main() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35
|
+
deleteAFhirService();
|
36
|
+
});
|
37
|
+
}
|
38
|
+
main().catch(console.error);
|
32
39
|
//# sourceMappingURL=fhirServicesDeleteSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fhirServicesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"fhirServicesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,eAAe,EACf,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Gets the properties of the specified FHIR Service.
|
15
17
|
*
|
16
18
|
* @summary Gets the properties of the specified FHIR Service.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_Get.json
|
18
20
|
*/
|
19
21
|
function getAFhirService() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const fhirServiceName = "fhirservices1";
|
25
27
|
const credential = new DefaultAzureCredential();
|
@@ -28,5 +30,10 @@ function getAFhirService() {
|
|
28
30
|
console.log(result);
|
29
31
|
});
|
30
32
|
}
|
31
|
-
|
33
|
+
function main() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35
|
+
getAFhirService();
|
36
|
+
});
|
37
|
+
}
|
38
|
+
main().catch(console.error);
|
32
39
|
//# sourceMappingURL=fhirServicesGetSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fhirServicesGetSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"fhirServicesGetSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,GAAG,CAC1C,iBAAiB,EACjB,aAAa,EACb,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,17 +10,19 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Lists all FHIR Services for the given workspace
|
15
17
|
*
|
16
18
|
* @summary Lists all FHIR Services for the given workspace
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_List.json
|
18
20
|
*/
|
19
21
|
function listFhirservices() {
|
20
22
|
var _a, e_1, _b, _c;
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const resourceGroupName = "testRG";
|
24
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
25
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const credential = new DefaultAzureCredential();
|
26
28
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -43,5 +45,10 @@ function listFhirservices() {
|
|
43
45
|
console.log(resArray);
|
44
46
|
});
|
45
47
|
}
|
46
|
-
|
48
|
+
function main() {
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
50
|
+
listFhirservices();
|
51
|
+
});
|
52
|
+
}
|
53
|
+
main().catch(console.error);
|
47
54
|
//# sourceMappingURL=fhirServicesListByWorkspaceSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fhirServicesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"fhirServicesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gBAAgB;;;QAC7B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,eAAe,CACxD,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA,sDAAE;gBAHoB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,gBAAgB,EAAE,CAAC;IACrB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Patch FHIR Service details.
|
15
17
|
*
|
16
18
|
* @summary Patch FHIR Service details.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_Patch.json
|
18
20
|
*/
|
19
21
|
function updateAFhirService() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const fhirServiceName = "fhirservice1";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const fhirservicePatchResource = {
|
@@ -31,5 +33,10 @@ function updateAFhirService() {
|
|
31
33
|
console.log(result);
|
32
34
|
});
|
33
35
|
}
|
34
|
-
|
36
|
+
function main() {
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
38
|
+
updateAFhirService();
|
39
|
+
});
|
40
|
+
}
|
41
|
+
main().catch(console.error);
|
35
42
|
//# sourceMappingURL=fhirServicesUpdateSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fhirServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"fhirServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,wBAAwB,GAA6B;YACzD,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,wBAAwB,CACzB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
|
15
17
|
*
|
16
18
|
* @summary Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json
|
18
20
|
*/
|
19
21
|
function createOrUpdateAnIotConnectorFhirDestination() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const iotConnectorName = "blue";
|
25
27
|
const fhirDestinationName = "dest1";
|
@@ -61,5 +63,10 @@ function createOrUpdateAnIotConnectorFhirDestination() {
|
|
61
63
|
console.log(result);
|
62
64
|
});
|
63
65
|
}
|
64
|
-
|
66
|
+
function main() {
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
68
|
+
createOrUpdateAnIotConnectorFhirDestination();
|
69
|
+
});
|
70
|
+
}
|
71
|
+
main().catch(console.error);
|
65
72
|
//# sourceMappingURL=iotConnectorFhirDestinationCreateOrUpdateSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iotConnectorFhirDestinationCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,kBAAkB,GAAuB;YAC7C,WAAW,EAAE;gBACX,OAAO,EAAE;oBACP,QAAQ,EAAE;wBACR;4BACE,QAAQ,EAAE;gCACR,KAAK,EAAE;oCACL;wCACE,IAAI,EAAE,QAAQ;wCACd,OAAO,EAAE,YAAY;wCACrB,MAAM,EAAE,kBAAkB;qCAC3B;iCACF;gCACD,cAAc,EAAE,EAAE;gCAClB,QAAQ,EAAE,WAAW;gCACrB,KAAK,EAAE;oCACL,aAAa,EAAE,IAAI;oCACnB,IAAI,EAAE,WAAW;oCACjB,SAAS,EAAE,IAAI;oCACf,SAAS,EAAE,aAAa;iCACzB;6BACF;4BACD,YAAY,EAAE,eAAe;yBAC9B;qBACF;oBACD,YAAY,EAAE,wBAAwB;iBACvC;aACF;YACD,qBAAqB,EACnB,6JAA6J;YAC/J,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,0BAA0B,CAChF,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Deletes an IoT Connector FHIR destination.
|
15
17
|
*
|
16
18
|
* @summary Deletes an IoT Connector FHIR destination.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_fhirdestination_Delete.json
|
18
20
|
*/
|
19
21
|
function deleteAnIoTConnectorDestination() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const iotConnectorName = "blue";
|
25
27
|
const fhirDestinationName = "dest1";
|
@@ -29,5 +31,10 @@ function deleteAnIoTConnectorDestination() {
|
|
29
31
|
console.log(result);
|
30
32
|
});
|
31
33
|
}
|
32
|
-
|
34
|
+
function main() {
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
36
|
+
deleteAnIoTConnectorDestination();
|
37
|
+
});
|
38
|
+
}
|
39
|
+
main().catch(console.error);
|
33
40
|
//# sourceMappingURL=iotConnectorFhirDestinationDeleteSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iotConnectorFhirDestinationDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,kBAAkB,CACxE,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Gets the properties of the specified Iot Connector FHIR destination.
|
15
17
|
*
|
16
18
|
* @summary Gets the properties of the specified Iot Connector FHIR destination.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json
|
18
20
|
*/
|
19
21
|
function getAnIoTConnectorDestination() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const iotConnectorName = "blue";
|
25
27
|
const fhirDestinationName = "dest1";
|
@@ -29,5 +31,10 @@ function getAnIoTConnectorDestination() {
|
|
29
31
|
console.log(result);
|
30
32
|
});
|
31
33
|
}
|
32
|
-
|
34
|
+
function main() {
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
36
|
+
getAnIoTConnectorDestination();
|
37
|
+
});
|
38
|
+
}
|
39
|
+
main().catch(console.error);
|
33
40
|
//# sourceMappingURL=iotConnectorFhirDestinationGetSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iotConnectorFhirDestinationGetSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationGetSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,GAAG,CACzD,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,4BAA4B,EAAE,CAAC;IACjC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Creates or updates an IoT Connector resource with the specified parameters.
|
15
17
|
*
|
16
18
|
* @summary Creates or updates an IoT Connector resource with the specified parameters.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_Create.json
|
18
20
|
*/
|
19
21
|
function createAnIoTConnector() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const iotConnectorName = "blue";
|
25
27
|
const iotConnector = {
|
@@ -65,5 +67,10 @@ function createAnIoTConnector() {
|
|
65
67
|
console.log(result);
|
66
68
|
});
|
67
69
|
}
|
68
|
-
|
70
|
+
function main() {
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
72
|
+
createAnIoTConnector();
|
73
|
+
});
|
74
|
+
}
|
75
|
+
main().catch(console.error);
|
69
76
|
//# sourceMappingURL=iotConnectorsCreateOrUpdateSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iotConnectorsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"iotConnectorsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,YAAY,GAAiB;YACjC,aAAa,EAAE;gBACb,OAAO,EAAE;oBACP,QAAQ,EAAE;wBACR;4BACE,QAAQ,EAAE;gCACR,kBAAkB,EAAE,YAAY;gCAChC,mBAAmB,EAAE,uBAAuB;gCAC5C,mBAAmB,EAAE,oBAAoB;gCACzC,QAAQ,EAAE,WAAW;gCACrB,MAAM,EAAE;oCACN;wCACE,QAAQ,EAAE,MAAM;wCAChB,eAAe,EAAE,aAAa;wCAC9B,SAAS,EAAE,IAAI;qCAChB;iCACF;6BACF;4BACD,YAAY,EAAE,iBAAiB;yBAChC;qBACF;oBACD,YAAY,EAAE,mBAAmB;iBAClC;aACF;YACD,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,8BAA8B,EAAE;gBAC9B,aAAa,EAAE,gBAAgB;gBAC/B,YAAY,EAAE,gBAAgB;gBAC9B,+BAA+B,EAAE,oCAAoC;aACtE;YACD,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE;gBACJ,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;aAC1B;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,0BAA0B,CAClE,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Deletes an IoT Connector.
|
15
17
|
*
|
16
18
|
* @summary Deletes an IoT Connector.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_Delete.json
|
18
20
|
*/
|
19
21
|
function deleteAnIoTConnector() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const iotConnectorName = "blue";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const credential = new DefaultAzureCredential();
|
@@ -28,5 +30,10 @@ function deleteAnIoTConnector() {
|
|
28
30
|
console.log(result);
|
29
31
|
});
|
30
32
|
}
|
31
|
-
|
33
|
+
function main() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35
|
+
deleteAnIoTConnector();
|
36
|
+
});
|
37
|
+
}
|
38
|
+
main().catch(console.error);
|
32
39
|
//# sourceMappingURL=iotConnectorsDeleteSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iotConnectorsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"iotConnectorsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,kBAAkB,CAC1D,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|