@azure/arm-healthcareapis 3.0.1-alpha.20240423.1 → 3.1.0-alpha.20240425.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -10
- package/LICENSE +1 -1
- package/dist/index.js +1345 -1235
- 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 +10 -3
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dicomServicesGetSample.js +1 -1
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +1 -1
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +23 -11
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/fhirServicesGetSample.js +1 -1
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -11
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +12 -12
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorsGetSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +4 -4
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +1 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +18 -18
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +2 -2
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/healthcareApisManagementClient.js +11 -10
- package/dist-esm/src/healthcareApisManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +42 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +833 -733
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +75 -75
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operations/dicomServices.js +51 -51
- package/dist-esm/src/operations/dicomServices.js.map +1 -1
- package/dist-esm/src/operations/fhirDestinations.js +11 -11
- package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
- package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operations/fhirServices.js +51 -51
- package/dist-esm/src/operations/fhirServices.js.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.js +29 -29
- package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
- package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectors.js +51 -51
- package/dist-esm/src/operations/iotConnectors.js.map +1 -1
- package/dist-esm/src/operations/operationResults.js +5 -5
- package/dist-esm/src/operations/operationResults.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +35 -35
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +10 -10
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +64 -64
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +35 -35
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/workspacePrivateLinkResources.js +11 -11
- package/dist-esm/src/operations/workspacePrivateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +60 -60
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/test/healthcareapis_operations_test.spec.js +1 -1
- package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -1
- package/package.json +3 -4
- package/review/arm-healthcareapis.api.md +30 -0
- package/src/healthcareApisManagementClient.ts +22 -22
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +88 -27
- package/src/models/mappers.ts +973 -860
- package/src/models/parameters.ts +76 -76
- package/src/operations/dicomServices.ts +101 -109
- package/src/operations/fhirDestinations.ts +25 -26
- package/src/operations/fhirServices.ts +101 -109
- package/src/operations/iotConnectorFhirDestination.ts +57 -61
- package/src/operations/iotConnectors.ts +101 -109
- package/src/operations/operationResults.ts +9 -10
- package/src/operations/operations.ts +16 -16
- package/src/operations/privateEndpointConnections.ts +73 -78
- package/src/operations/privateLinkResources.ts +17 -19
- package/src/operations/services.ts +122 -132
- package/src/operations/workspacePrivateEndpointConnections.ts +73 -78
- package/src/operations/workspacePrivateLinkResources.ts +27 -28
- package/src/operations/workspaces.ts +116 -125
- package/src/operationsInterfaces/dicomServices.ts +9 -9
- package/src/operationsInterfaces/fhirDestinations.ts +2 -2
- package/src/operationsInterfaces/fhirServices.ts +9 -9
- package/src/operationsInterfaces/iotConnectorFhirDestination.ts +6 -6
- package/src/operationsInterfaces/iotConnectors.ts +9 -9
- package/src/operationsInterfaces/operationResults.ts +2 -2
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/services.ts +11 -11
- package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/workspacePrivateLinkResources.ts +3 -3
- package/src/operationsInterfaces/workspaces.ts +10 -10
- package/src/pagingHelper.ts +1 -1
- package/types/arm-healthcareapis.d.ts +47 -0
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Lists all FHIR destinations for the given IoT Connector
|
17
17
|
*
|
18
18
|
* @summary Lists all FHIR destinations for the given IoT Connector
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_List.json
|
20
20
|
*/
|
21
21
|
function listIoTConnectors() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { __awaiter } from "tslib";
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
10
10
|
// Licensed under the MIT License.
|
11
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
11
|
+
import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
13
|
import * as dotenv from "dotenv";
|
14
14
|
dotenv.config();
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Creates or updates a FHIR Service resource with the specified parameters.
|
17
17
|
*
|
18
18
|
* @summary Creates or updates a FHIR Service resource with the specified parameters.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Create.json
|
20
20
|
*/
|
21
21
|
function createOrUpdateAFhirService() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -29,40 +29,52 @@ function createOrUpdateAFhirService() {
|
|
29
29
|
authenticationConfiguration: {
|
30
30
|
audience: "https://azurehealthcareapis.com",
|
31
31
|
authority: "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
|
32
|
-
|
32
|
+
smartIdentityProviders: [
|
33
|
+
{
|
34
|
+
applications: [
|
35
|
+
{
|
36
|
+
allowedDataActions: ["Read"],
|
37
|
+
audience: "22222222-2222-2222-2222-222222222222",
|
38
|
+
clientId: "22222222-2222-2222-2222-222222222222",
|
39
|
+
},
|
40
|
+
],
|
41
|
+
authority: "https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0",
|
42
|
+
},
|
43
|
+
],
|
44
|
+
smartProxyEnabled: true,
|
33
45
|
},
|
34
46
|
corsConfiguration: {
|
35
47
|
allowCredentials: false,
|
36
48
|
headers: ["*"],
|
37
49
|
maxAge: 1440,
|
38
50
|
methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
|
39
|
-
origins: ["*"]
|
51
|
+
origins: ["*"],
|
40
52
|
},
|
41
53
|
encryption: {
|
42
54
|
customerManagedKeyEncryption: {
|
43
|
-
keyEncryptionKeyUrl: "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion"
|
44
|
-
}
|
55
|
+
keyEncryptionKeyUrl: "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion",
|
56
|
+
},
|
45
57
|
},
|
46
58
|
exportConfiguration: { storageAccountName: "existingStorageAccount" },
|
47
59
|
identity: {
|
48
60
|
type: "UserAssigned",
|
49
61
|
userAssignedIdentities: {
|
50
|
-
"/subscriptions/subid/resourcegroups/testRG/providers/MicrosoftManagedIdentity/userAssignedIdentities/testMi": {}
|
51
|
-
}
|
62
|
+
"/subscriptions/subid/resourcegroups/testRG/providers/MicrosoftManagedIdentity/userAssignedIdentities/testMi": {},
|
63
|
+
},
|
52
64
|
},
|
53
65
|
implementationGuidesConfiguration: { usCoreMissingData: false },
|
54
66
|
importConfiguration: {
|
55
67
|
enabled: false,
|
56
68
|
initialImportMode: false,
|
57
|
-
integrationDataStore: "existingStorageAccount"
|
69
|
+
integrationDataStore: "existingStorageAccount",
|
58
70
|
},
|
59
71
|
kind: "fhir-R4",
|
60
72
|
location: "westus",
|
61
73
|
tags: {
|
62
74
|
additionalProp1: "string",
|
63
75
|
additionalProp2: "string",
|
64
|
-
additionalProp3: "string"
|
65
|
-
}
|
76
|
+
additionalProp3: "string",
|
77
|
+
},
|
66
78
|
};
|
67
79
|
const credential = new DefaultAzureCredential();
|
68
80
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -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,
|
1
|
+
{"version":3,"file":"fhirServicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/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,sBAAsB,EAAE;oBACtB;wBACE,YAAY,EAAE;4BACZ;gCACE,kBAAkB,EAAE,CAAC,MAAM,CAAC;gCAC5B,QAAQ,EAAE,sCAAsC;gCAChD,QAAQ,EAAE,sCAAsC;6BACjD;yBACF;wBACD,SAAS,EACP,sEAAsE;qBACzE;iBACF;gBACD,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,EAC3G,EAAE;iBACL;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"}
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Deletes a FHIR Service.
|
17
17
|
*
|
18
18
|
* @summary Deletes a FHIR Service.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Delete.json
|
20
20
|
*/
|
21
21
|
function deleteAFhirService() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets the properties of the specified FHIR Service.
|
17
17
|
*
|
18
18
|
* @summary Gets the properties of the specified FHIR Service.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json
|
20
20
|
*/
|
21
21
|
function getAFhirService() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Lists all FHIR Services for the given workspace
|
17
17
|
*
|
18
18
|
* @summary Lists all FHIR Services for the given workspace
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_List.json
|
20
20
|
*/
|
21
21
|
function listFhirservices() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { __awaiter } from "tslib";
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
10
10
|
// Licensed under the MIT License.
|
11
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
11
|
+
import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
13
|
import * as dotenv from "dotenv";
|
14
14
|
dotenv.config();
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Patch FHIR Service details.
|
17
17
|
*
|
18
18
|
* @summary Patch FHIR Service details.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Patch.json
|
20
20
|
*/
|
21
21
|
function updateAFhirService() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -25,7 +25,7 @@ function updateAFhirService() {
|
|
25
25
|
const fhirServiceName = "fhirservice1";
|
26
26
|
const workspaceName = "workspace1";
|
27
27
|
const fhirservicePatchResource = {
|
28
|
-
tags: { tagKey: "tagValue" }
|
28
|
+
tags: { tagKey: "tagValue" },
|
29
29
|
};
|
30
30
|
const credential = new DefaultAzureCredential();
|
31
31
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -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,
|
1
|
+
{"version":3,"file":"fhirServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/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"}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { __awaiter } from "tslib";
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
10
10
|
// Licensed under the MIT License.
|
11
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
11
|
+
import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
13
|
import * as dotenv from "dotenv";
|
14
14
|
dotenv.config();
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
|
17
17
|
*
|
18
18
|
* @summary Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Create.json
|
20
20
|
*/
|
21
21
|
function createOrUpdateAnIotConnectorFhirDestination() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -35,8 +35,8 @@ function createOrUpdateAnIotConnectorFhirDestination() {
|
|
35
35
|
{
|
36
36
|
code: "8867-4",
|
37
37
|
display: "Heart rate",
|
38
|
-
system: "http://loinc.org"
|
39
|
-
}
|
38
|
+
system: "http://loinc.org",
|
39
|
+
},
|
40
40
|
],
|
41
41
|
periodInterval: 60,
|
42
42
|
typeName: "heartrate",
|
@@ -44,18 +44,18 @@ function createOrUpdateAnIotConnectorFhirDestination() {
|
|
44
44
|
defaultPeriod: 5000,
|
45
45
|
unit: "count/min",
|
46
46
|
valueName: "hr",
|
47
|
-
valueType: "SampledData"
|
48
|
-
}
|
47
|
+
valueType: "SampledData",
|
48
|
+
},
|
49
49
|
},
|
50
|
-
templateType: "CodeValueFhir"
|
51
|
-
}
|
50
|
+
templateType: "CodeValueFhir",
|
51
|
+
},
|
52
52
|
],
|
53
|
-
templateType: "CollectionFhirTemplate"
|
54
|
-
}
|
53
|
+
templateType: "CollectionFhirTemplate",
|
54
|
+
},
|
55
55
|
},
|
56
56
|
fhirServiceResourceId: "subscriptions/11111111-2222-3333-4444-555566667777/resourceGroups/myrg/providers/Microsoft.HealthcareApis/workspaces/myworkspace/fhirservices/myfhirservice",
|
57
57
|
location: "westus",
|
58
|
-
resourceIdentityResolutionType: "Create"
|
58
|
+
resourceIdentityResolutionType: "Create",
|
59
59
|
};
|
60
60
|
const credential = new DefaultAzureCredential();
|
61
61
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -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,
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/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,GACV,MAAM,MAAM,CAAC,2BAA2B,CAAC,0BAA0B,CACjE,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,CACnB,CAAC;QACJ,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"}
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Deletes an IoT Connector FHIR destination.
|
17
17
|
*
|
18
18
|
* @summary Deletes an IoT Connector FHIR destination.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Delete.json
|
20
20
|
*/
|
21
21
|
function deleteAnIoTConnectorDestination() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets the properties of the specified Iot Connector FHIR destination.
|
17
17
|
*
|
18
18
|
* @summary Gets the properties of the specified Iot Connector FHIR destination.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json
|
20
20
|
*/
|
21
21
|
function getAnIoTConnectorDestination() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { __awaiter } from "tslib";
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
10
10
|
// Licensed under the MIT License.
|
11
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
11
|
+
import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
13
|
import * as dotenv from "dotenv";
|
14
14
|
dotenv.config();
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Creates or updates an IoT Connector resource with the specified parameters.
|
17
17
|
*
|
18
18
|
* @summary Creates or updates an IoT Connector resource with the specified parameters.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Create.json
|
20
20
|
*/
|
21
21
|
function createAnIoTConnector() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -38,28 +38,28 @@ function createAnIoTConnector() {
|
|
38
38
|
{
|
39
39
|
required: "true",
|
40
40
|
valueExpression: "$.heartrate",
|
41
|
-
valueName: "hr"
|
42
|
-
}
|
43
|
-
]
|
41
|
+
valueName: "hr",
|
42
|
+
},
|
43
|
+
],
|
44
44
|
},
|
45
|
-
templateType: "JsonPathContent"
|
46
|
-
}
|
45
|
+
templateType: "JsonPathContent",
|
46
|
+
},
|
47
47
|
],
|
48
|
-
templateType: "CollectionContent"
|
49
|
-
}
|
48
|
+
templateType: "CollectionContent",
|
49
|
+
},
|
50
50
|
},
|
51
51
|
identity: { type: "SystemAssigned" },
|
52
52
|
ingestionEndpointConfiguration: {
|
53
53
|
consumerGroup: "ConsumerGroupA",
|
54
54
|
eventHubName: "MyEventHubName",
|
55
|
-
fullyQualifiedEventHubNamespace: "myeventhub.servicesbus.windows.net"
|
55
|
+
fullyQualifiedEventHubNamespace: "myeventhub.servicesbus.windows.net",
|
56
56
|
},
|
57
57
|
location: "westus",
|
58
58
|
tags: {
|
59
59
|
additionalProp1: "string",
|
60
60
|
additionalProp2: "string",
|
61
|
-
additionalProp3: "string"
|
62
|
-
}
|
61
|
+
additionalProp3: "string",
|
62
|
+
},
|
63
63
|
};
|
64
64
|
const credential = new DefaultAzureCredential();
|
65
65
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -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,
|
1
|
+
{"version":3,"file":"iotConnectorsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/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"}
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Deletes an IoT Connector.
|
17
17
|
*
|
18
18
|
* @summary Deletes an IoT Connector.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Delete.json
|
20
20
|
*/
|
21
21
|
function deleteAnIoTConnector() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets the properties of the specified IoT Connector.
|
17
17
|
*
|
18
18
|
* @summary Gets the properties of the specified IoT Connector.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json
|
20
20
|
*/
|
21
21
|
function getAnIoTConnector() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Lists all IoT Connectors for the given workspace
|
17
17
|
*
|
18
18
|
* @summary Lists all IoT Connectors for the given workspace
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_List.json
|
20
20
|
*/
|
21
21
|
function listIotconnectors() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { __awaiter } from "tslib";
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
10
10
|
// Licensed under the MIT License.
|
11
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
11
|
+
import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
13
|
import * as dotenv from "dotenv";
|
14
14
|
dotenv.config();
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Patch an IoT Connector.
|
17
17
|
*
|
18
18
|
* @summary Patch an IoT Connector.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Patch.json
|
20
20
|
*/
|
21
21
|
function patchAnIoTConnector() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -29,8 +29,8 @@ function patchAnIoTConnector() {
|
|
29
29
|
tags: {
|
30
30
|
additionalProp1: "string",
|
31
31
|
additionalProp2: "string",
|
32
|
-
additionalProp3: "string"
|
33
|
-
}
|
32
|
+
additionalProp3: "string",
|
33
|
+
},
|
34
34
|
};
|
35
35
|
const credential = new DefaultAzureCredential();
|
36
36
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iotConnectorsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,
|
1
|
+
{"version":3,"file":"iotConnectorsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/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,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,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,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"}
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Get the operation result for a long running operation.
|
17
17
|
*
|
18
18
|
* @summary Get the operation result for a long running operation.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/OperationResultsGet.json
|
20
20
|
*/
|
21
21
|
function getOperationResult() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Lists all of the available operations supported by Microsoft Healthcare resource provider.
|
17
17
|
*
|
18
18
|
* @summary Lists all of the available operations supported by Microsoft Healthcare resource provider.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/OperationsList.json
|
20
20
|
*/
|
21
21
|
function listOperations() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { __awaiter } from "tslib";
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
10
10
|
// Licensed under the MIT License.
|
11
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
11
|
+
import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
13
|
import * as dotenv from "dotenv";
|
14
14
|
dotenv.config();
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Update the state of the specified private endpoint connection associated with the service.
|
17
17
|
*
|
18
18
|
* @summary Update the state of the specified private endpoint connection associated with the service.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreatePrivateEndpointConnection.json
|
20
20
|
*/
|
21
21
|
function privateEndpointConnectionCreateOrUpdate() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -27,8 +27,8 @@ function privateEndpointConnectionCreateOrUpdate() {
|
|
27
27
|
const properties = {
|
28
28
|
privateLinkServiceConnectionState: {
|
29
29
|
description: "Auto-Approved",
|
30
|
-
status: "Approved"
|
31
|
-
}
|
30
|
+
status: "Approved",
|
31
|
+
},
|
32
32
|
};
|
33
33
|
const credential = new DefaultAzureCredential();
|
34
34
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/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,uCAAuC;;QACpD,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,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,6BAA6B,GAAG,cAAc,CAAC;QACrD,MAAM,UAAU,GAA8B;YAC5C,iCAAiC,EAAE;gBACjC,WAAW,EAAE,eAAe;gBAC5B,MAAM,EAAE,UAAU;aACnB;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,GACV,MAAM,MAAM,CAAC,0BAA0B,CAAC,0BAA0B,CAChE,iBAAiB,EACjB,YAAY,EACZ,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Deletes a private endpoint connection.
|
17
17
|
*
|
18
18
|
* @summary Deletes a private endpoint connection.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceDeletePrivateEndpointConnection.json
|
20
20
|
*/
|
21
21
|
function privateEndpointConnectionsDelete() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets the specified private endpoint connection associated with the service.
|
17
17
|
*
|
18
18
|
* @summary Gets the specified private endpoint connection associated with the service.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json
|
20
20
|
*/
|
21
21
|
function privateEndpointConnectionGetConnection() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Lists all private endpoint connections for a service.
|
17
17
|
*
|
18
18
|
* @summary Lists all private endpoint connections for a service.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceListPrivateEndpointConnections.json
|
20
20
|
*/
|
21
21
|
function privateEndpointConnectionList() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets a private link resource that need to be created for a service.
|
17
17
|
*
|
18
18
|
* @summary Gets a private link resource that need to be created for a service.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json
|
20
20
|
*/
|
21
21
|
function privateLinkResourcesGet() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets the private link resources that need to be created for a service.
|
17
17
|
*
|
18
18
|
* @summary Gets the private link resources that need to be created for a service.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourcesListByService.json
|
20
20
|
*/
|
21
21
|
function privateLinkResourcesListGroupIds() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { __awaiter } from "tslib";
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
10
10
|
// Licensed under the MIT License.
|
11
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
11
|
+
import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
13
|
import * as dotenv from "dotenv";
|
14
14
|
dotenv.config();
|
@@ -16,14 +16,14 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Check if a service instance name is available.
|
17
17
|
*
|
18
18
|
* @summary Check if a service instance name is available.
|
19
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/CheckNameAvailabilityPost.json
|
20
20
|
*/
|
21
21
|
function checkNameAvailability() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
23
|
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
24
|
const checkNameAvailabilityInputs = {
|
25
25
|
name: "serviceName",
|
26
|
-
type: "Microsoft.HealthcareApis/services"
|
26
|
+
type: "Microsoft.HealthcareApis/services",
|
27
27
|
};
|
28
28
|
const credential = new DefaultAzureCredential();
|
29
29
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/servicesCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,
|
1
|
+
{"version":3,"file":"servicesCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/servicesCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/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,qBAAqB;;QAClC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,2BAA2B,GAAoC;YACnE,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,mCAAmC;SAC1C,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,QAAQ,CAAC,qBAAqB,CACxD,2BAA2B,CAC5B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|