@azure/arm-healthcareapis 3.0.1-alpha.20240424.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
@@ -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 Create or update the metadata of a service instance.
|
17
17
|
*
|
18
18
|
* @summary Create or update the metadata of a service instance.
|
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/ServiceCreate.json
|
20
20
|
*/
|
21
21
|
function createOrUpdateAServiceWithAllParameters() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -30,29 +30,29 @@ function createOrUpdateAServiceWithAllParameters() {
|
|
30
30
|
properties: {
|
31
31
|
accessPolicies: [
|
32
32
|
{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" },
|
33
|
-
{ objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" }
|
33
|
+
{ objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" },
|
34
34
|
],
|
35
35
|
authenticationConfiguration: {
|
36
36
|
audience: "https://azurehealthcareapis.com",
|
37
37
|
authority: "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
|
38
|
-
smartProxyEnabled: true
|
38
|
+
smartProxyEnabled: true,
|
39
39
|
},
|
40
40
|
corsConfiguration: {
|
41
41
|
allowCredentials: false,
|
42
42
|
headers: ["*"],
|
43
43
|
maxAge: 1440,
|
44
44
|
methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
|
45
|
-
origins: ["*"]
|
45
|
+
origins: ["*"],
|
46
46
|
},
|
47
47
|
cosmosDbConfiguration: {
|
48
48
|
keyVaultKeyUri: "https://my-vault.vault.azure.net/keys/my-key",
|
49
|
-
offerThroughput: 1000
|
49
|
+
offerThroughput: 1000,
|
50
50
|
},
|
51
51
|
exportConfiguration: { storageAccountName: "existingStorageAccount" },
|
52
52
|
privateEndpointConnections: [],
|
53
|
-
publicNetworkAccess: "Disabled"
|
53
|
+
publicNetworkAccess: "Disabled",
|
54
54
|
},
|
55
|
-
tags: {}
|
55
|
+
tags: {},
|
56
56
|
};
|
57
57
|
const credential = new DefaultAzureCredential();
|
58
58
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -64,7 +64,7 @@ function createOrUpdateAServiceWithAllParameters() {
|
|
64
64
|
* This sample demonstrates how to Create or update the metadata of a service instance.
|
65
65
|
*
|
66
66
|
* @summary Create or update the metadata of a service instance.
|
67
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
67
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreateInDataSovereignRegionWithCmkEnabled.json
|
68
68
|
*/
|
69
69
|
function createOrUpdateAServiceWithAllParametersAndCmkEnabledInADataSovereignRegion() {
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -78,30 +78,30 @@ function createOrUpdateAServiceWithAllParametersAndCmkEnabledInADataSovereignReg
|
|
78
78
|
properties: {
|
79
79
|
accessPolicies: [
|
80
80
|
{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" },
|
81
|
-
{ objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" }
|
81
|
+
{ objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" },
|
82
82
|
],
|
83
83
|
authenticationConfiguration: {
|
84
84
|
audience: "https://azurehealthcareapis.com",
|
85
85
|
authority: "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
|
86
|
-
smartProxyEnabled: true
|
86
|
+
smartProxyEnabled: true,
|
87
87
|
},
|
88
88
|
corsConfiguration: {
|
89
89
|
allowCredentials: false,
|
90
90
|
headers: ["*"],
|
91
91
|
maxAge: 1440,
|
92
92
|
methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
|
93
|
-
origins: ["*"]
|
93
|
+
origins: ["*"],
|
94
94
|
},
|
95
95
|
cosmosDbConfiguration: {
|
96
96
|
crossTenantCmkApplicationId: "de3fbeef-8c3a-428e-8b9f-4d229c8a85f4",
|
97
97
|
keyVaultKeyUri: "https://my-vault.vault.azure.net/keys/my-key",
|
98
|
-
offerThroughput: 1000
|
98
|
+
offerThroughput: 1000,
|
99
99
|
},
|
100
100
|
exportConfiguration: { storageAccountName: "existingStorageAccount" },
|
101
101
|
privateEndpointConnections: [],
|
102
|
-
publicNetworkAccess: "Disabled"
|
102
|
+
publicNetworkAccess: "Disabled",
|
103
103
|
},
|
104
|
-
tags: {}
|
104
|
+
tags: {},
|
105
105
|
};
|
106
106
|
const credential = new DefaultAzureCredential();
|
107
107
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -113,7 +113,7 @@ function createOrUpdateAServiceWithAllParametersAndCmkEnabledInADataSovereignReg
|
|
113
113
|
* This sample demonstrates how to Create or update the metadata of a service instance.
|
114
114
|
*
|
115
115
|
* @summary Create or update the metadata of a service instance.
|
116
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
116
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreateMinimum.json
|
117
117
|
*/
|
118
118
|
function createOrUpdateAServiceWithMinimumParameters() {
|
119
119
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -124,9 +124,9 @@ function createOrUpdateAServiceWithMinimumParameters() {
|
|
124
124
|
kind: "fhir-R4",
|
125
125
|
location: "westus2",
|
126
126
|
properties: {
|
127
|
-
accessPolicies: [{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" }]
|
127
|
+
accessPolicies: [{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" }],
|
128
128
|
},
|
129
|
-
tags: {}
|
129
|
+
tags: {},
|
130
130
|
};
|
131
131
|
const credential = new DefaultAzureCredential();
|
132
132
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/servicesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,
|
1
|
+
{"version":3,"file":"servicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/servicesCreateOrUpdateSample.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,KAAK,CAAC;QACxD,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,kBAAkB,GAAwB;YAC9C,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,EAAE,QAAQ,EAAE,sCAAsC,EAAE;oBACpD,EAAE,QAAQ,EAAE,sCAAsC,EAAE;iBACrD;gBACD,2BAA2B,EAAE;oBAC3B,QAAQ,EAAE,iCAAiC;oBAC3C,SAAS,EACP,wEAAwE;oBAC1E,iBAAiB,EAAE,IAAI;iBACxB;gBACD,iBAAiB,EAAE;oBACjB,gBAAgB,EAAE,KAAK;oBACvB,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,MAAM,EA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cAAc,EAAE,CAAC,EAAE,QAAQ,EAAE,sCAAsC,EAAE,CAAC;aACvE;YACD,IAAI,EAAE,EAAE;SACT,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,0BAA0B,CAC7D,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;QAC1C,0EAA0E,EAAE,CAAC;QAC7E,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 Delete a service instance.
|
17
17
|
*
|
18
18
|
* @summary Delete a service instance.
|
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/ServiceDelete.json
|
20
20
|
*/
|
21
21
|
function deleteService() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Get the metadata of a service instance.
|
17
17
|
*
|
18
18
|
* @summary Get the metadata of a service instance.
|
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/ServiceGet.json
|
20
20
|
*/
|
21
21
|
function getMetadata() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -33,7 +33,7 @@ function getMetadata() {
|
|
33
33
|
* This sample demonstrates how to Get the metadata of a service instance.
|
34
34
|
*
|
35
35
|
* @summary Get the metadata of a service instance.
|
36
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
36
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json
|
37
37
|
*/
|
38
38
|
function getMetadataForCmkEnabledServiceInDataSovereignRegion() {
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Get all the service instances in a resource group.
|
17
17
|
*
|
18
18
|
* @summary Get all the service instances in a resource group.
|
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/ServiceListByResourceGroup.json
|
20
20
|
*/
|
21
21
|
function listAllServicesInResourceGroup() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Get all the service instances in a subscription.
|
17
17
|
*
|
18
18
|
* @summary Get all the service instances in a subscription.
|
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/ServiceList.json
|
20
20
|
*/
|
21
21
|
function listAllServicesInSubscription() {
|
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 metadata of a service instance.
|
17
17
|
*
|
18
18
|
* @summary Update the metadata of a service instance.
|
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/ServicePatch.json
|
20
20
|
*/
|
21
21
|
function patchService() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -24,7 +24,7 @@ function patchService() {
|
|
24
24
|
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "rg1";
|
25
25
|
const resourceName = "service1";
|
26
26
|
const servicePatchDescription = {
|
27
|
-
tags: { tag1: "value1", tag2: "value2" }
|
27
|
+
tags: { tag1: "value1", tag2: "value2" },
|
28
28
|
};
|
29
29
|
const credential = new DefaultAzureCredential();
|
30
30
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/servicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,
|
1
|
+
{"version":3,"file":"servicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/servicesUpdateSample.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,YAAY;;QACzB,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,KAAK,CAAC;QACxD,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,uBAAuB,GAA6B;YACxD,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;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,QAAQ,CAAC,kBAAkB,CACrD,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,CACxB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,YAAY,EAAE,CAAC;IACjB,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 Update the state of the specified private endpoint connection associated with the workspace.
|
17
17
|
*
|
18
18
|
* @summary Update the state of the specified private endpoint connection associated with the 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/privatelink/WorkspaceCreatePrivateEndpointConnection.json
|
20
20
|
*/
|
21
21
|
function workspacePrivateEndpointConnectionCreateOrUpdate() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -27,8 +27,8 @@ function workspacePrivateEndpointConnectionCreateOrUpdate() {
|
|
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":"workspacePrivateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,
|
1
|
+
{"version":3,"file":"workspacePrivateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.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,gDAAgD;;QAC7D,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,6BAA6B,GAAG,cAAc,CAAC;QACrD,MAAM,UAAU,GAAyC;YACvD,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,mCAAmC,CAAC,0BAA0B,CACzE,iBAAiB,EACjB,aAAa,EACb,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gDAAgD,EAAE,CAAC;IACrD,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/privatelink/WorkspaceDeletePrivateEndpointConnection.json
|
20
20
|
*/
|
21
21
|
function workspacePrivateEndpointConnectionsDelete() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacePrivateEndpointConnectionsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsDeleteSample.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,yCAAyC;;QACtD,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,6BAA6B,GAAG,cAAc,CAAC;QACrD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"workspacePrivateEndpointConnectionsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsDeleteSample.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,yCAAyC;;QACtD,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,6BAA6B,GAAG,cAAc,CAAC;QACrD,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,mCAAmC,CAAC,kBAAkB,CACjE,iBAAiB,EACjB,aAAa,EACb,6BAA6B,CAC9B,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,yCAAyC,EAAE,CAAC;IAC9C,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 Gets the specified private endpoint connection associated with the workspace.
|
17
17
|
*
|
18
18
|
* @summary Gets the specified private endpoint connection associated with the 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/privatelink/WorkspaceGetPrivateEndpointConnection.json
|
20
20
|
*/
|
21
21
|
function workspacePrivateEndpointConnectionGetConnection() {
|
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 workspace.
|
17
17
|
*
|
18
18
|
* @summary Lists all private endpoint connections for a 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/privatelink/WorkspaceListPrivateEndpointConnections.json
|
20
20
|
*/
|
21
21
|
function workspacePrivateEndpointConnectionList() {
|
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 workspace.
|
17
17
|
*
|
18
18
|
* @summary Gets a private link resource that need to be created for a 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/privatelink/WorkspacePrivateLinkResourceGet.json
|
20
20
|
*/
|
21
21
|
function workspacePrivateLinkResourcesGet() {
|
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 workspace.
|
17
17
|
*
|
18
18
|
* @summary Gets the private link resources that need to be created for a 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/privatelink/PrivateLinkResourcesListByWorkspace.json
|
20
20
|
*/
|
21
21
|
function workspacePrivateLinkResourcesListGroupIds() {
|
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 workspace resource with the specified parameters.
|
17
17
|
*
|
18
18
|
* @summary Creates or updates a workspace 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/workspaces/Workspaces_Create.json
|
20
20
|
*/
|
21
21
|
function createOrUpdateAWorkspace() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,
|
1
|
+
{"version":3,"file":"workspacesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesCreateOrUpdateSample.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,wBAAwB;;QACrC,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,SAAS,GAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QACpE,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,UAAU,CAAC,0BAA0B,CAC/D,iBAAiB,EACjB,aAAa,EACb,SAAS,CACV,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wBAAwB,EAAE,CAAC;IAC7B,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 specified workspace.
|
17
17
|
*
|
18
18
|
* @summary Deletes a specified 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/workspaces/Workspaces_Delete.json
|
20
20
|
*/
|
21
21
|
function deleteAWorkspace() {
|
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 workspace.
|
17
17
|
*
|
18
18
|
* @summary Gets the properties of the specified 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/workspaces/Workspaces_Get.json
|
20
20
|
*/
|
21
21
|
function getWorkspace() {
|
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 the available workspaces under the specified resource group.
|
17
17
|
*
|
18
18
|
* @summary Lists all the available workspaces under the specified resource group.
|
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/workspaces/Workspaces_ListByResourceGroup.json
|
20
20
|
*/
|
21
21
|
function getWorkspacesByResourceGroup() {
|
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 the available workspaces under the specified subscription.
|
17
17
|
*
|
18
18
|
* @summary Lists all the available workspaces under the specified subscription.
|
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/workspaces/Workspaces_ListBySubscription.json
|
20
20
|
*/
|
21
21
|
function getWorkspacesBySubscription() {
|
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 workspace details.
|
17
17
|
*
|
18
18
|
* @summary Patch workspace 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/workspaces/Workspaces_Patch.json
|
20
20
|
*/
|
21
21
|
function updateAWorkspace() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -24,7 +24,7 @@ function updateAWorkspace() {
|
|
24
24
|
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
25
25
|
const workspaceName = "workspace1";
|
26
26
|
const workspacePatchResource = {
|
27
|
-
tags: { tagKey: "tagValue" }
|
27
|
+
tags: { tagKey: "tagValue" },
|
28
28
|
};
|
29
29
|
const credential = new DefaultAzureCredential();
|
30
30
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,
|
1
|
+
{"version":3,"file":"workspacesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesUpdateSample.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,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,sBAAsB,GAA2B;YACrD,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,UAAU,CAAC,kBAAkB,CACvD,iBAAiB,EACjB,aAAa,EACb,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gBAAgB,EAAE,CAAC;IACrB,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
|
import * as coreClient from "@azure/core-client";
|
10
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
11
|
-
import { ServicesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, WorkspacesImpl, DicomServicesImpl, IotConnectorsImpl, FhirDestinationsImpl, IotConnectorFhirDestinationImpl, FhirServicesImpl, WorkspacePrivateEndpointConnectionsImpl, WorkspacePrivateLinkResourcesImpl, OperationsImpl, OperationResultsImpl } from "./operations";
|
11
|
+
import { ServicesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, WorkspacesImpl, DicomServicesImpl, IotConnectorsImpl, FhirDestinationsImpl, IotConnectorFhirDestinationImpl, FhirServicesImpl, WorkspacePrivateEndpointConnectionsImpl, WorkspacePrivateLinkResourcesImpl, OperationsImpl, OperationResultsImpl, } from "./operations";
|
12
12
|
export class HealthcareApisManagementClient extends coreClient.ServiceClient {
|
13
13
|
/**
|
14
14
|
* Initializes a new instance of the HealthcareApisManagementClient class.
|
@@ -30,14 +30,14 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
|
|
30
30
|
}
|
31
31
|
const defaults = {
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
33
|
-
credential: credentials
|
33
|
+
credential: credentials,
|
34
34
|
};
|
35
|
-
const packageDetails = `azsdk-js-arm-healthcareapis/3.0
|
35
|
+
const packageDetails = `azsdk-js-arm-healthcareapis/3.1.0`;
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
38
38
|
: `${packageDetails}`;
|
39
39
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
40
|
-
userAgentPrefix
|
40
|
+
userAgentPrefix,
|
41
41
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
42
42
|
super(optionsWithDefaults);
|
43
43
|
let bearerTokenAuthenticationPolicyFound = false;
|
@@ -51,21 +51,21 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
|
|
51
51
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
52
52
|
!bearerTokenAuthenticationPolicyFound) {
|
53
53
|
this.pipeline.removePolicy({
|
54
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
54
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
55
55
|
});
|
56
56
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
57
57
|
credential: credentials,
|
58
58
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
59
59
|
challengeCallbacks: {
|
60
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
61
|
-
}
|
60
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
61
|
+
},
|
62
62
|
}));
|
63
63
|
}
|
64
64
|
// Parameter assignments
|
65
65
|
this.subscriptionId = subscriptionId;
|
66
66
|
// Assigning values to Constant parameters
|
67
67
|
this.$host = options.$host || "https://management.azure.com";
|
68
|
-
this.apiVersion = options.apiVersion || "
|
68
|
+
this.apiVersion = options.apiVersion || "2024-03-31";
|
69
69
|
this.services = new ServicesImpl(this);
|
70
70
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
71
71
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
@@ -75,7 +75,8 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
|
|
75
75
|
this.fhirDestinations = new FhirDestinationsImpl(this);
|
76
76
|
this.iotConnectorFhirDestination = new IotConnectorFhirDestinationImpl(this);
|
77
77
|
this.fhirServices = new FhirServicesImpl(this);
|
78
|
-
this.workspacePrivateEndpointConnections =
|
78
|
+
this.workspacePrivateEndpointConnections =
|
79
|
+
new WorkspacePrivateEndpointConnectionsImpl(this);
|
79
80
|
this.workspacePrivateLinkResources = new WorkspacePrivateLinkResourcesImpl(this);
|
80
81
|
this.operations = new OperationsImpl(this);
|
81
82
|
this.operationResults = new OperationResultsImpl(this);
|
@@ -104,7 +105,7 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
|
|
104
105
|
}
|
105
106
|
return next(request);
|
106
107
|
});
|
107
|
-
}
|
108
|
+
},
|
108
109
|
};
|
109
110
|
this.pipeline.addPolicy(apiVersionPolicy);
|
110
111
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"healthcareApisManagementClient.js","sourceRoot":"","sources":["../../src/healthcareApisManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,YAAY,EACZ,8BAA8B,EAC9B,wBAAwB,EACxB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,+BAA+B,EAC/B,gBAAgB,EAChB,uCAAuC,EACvC,iCAAiC,EACjC,cAAc,EACd,oBAAoB,
|
1
|
+
{"version":3,"file":"healthcareApisManagementClient.js","sourceRoot":"","sources":["../../src/healthcareApisManag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GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;gCACrC,OAAO,cAAc,GAAG,UAAU,CAAC;4BACrC,CAAC;iCAAM,CAAC;gCACN,OAAO,IAAI,CAAC;4BACd,CAAC;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;oBACrD,CAAC;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAeF"}
|
package/dist-esm/src/lroImpl.js
CHANGED
@@ -15,7 +15,7 @@ export function createLroSpec(inputs) {
|
|
15
15
|
sendPollRequest: (path, options) => {
|
16
16
|
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
17
17
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
18
|
-
}
|
18
|
+
},
|
19
19
|
};
|
20
20
|
}
|
21
21
|
//# sourceMappingURL=lroImpl.js.map
|
@@ -354,6 +354,13 @@ export interface EncryptionCustomerManagedKeyEncryption {
|
|
354
354
|
/** The URL of the key to use for encryption */
|
355
355
|
keyEncryptionKeyUrl?: string;
|
356
356
|
}
|
357
|
+
/** The configuration of connected storage */
|
358
|
+
export interface StorageConfiguration {
|
359
|
+
/** The resource id of connected storage account. */
|
360
|
+
storageResourceId?: string;
|
361
|
+
/** The filesystem name of connected storage account. */
|
362
|
+
fileSystemName?: string;
|
363
|
+
}
|
357
364
|
/** Managed service identity (system assigned and/or user assigned identities) */
|
358
365
|
export interface ServiceManagedIdentity {
|
359
366
|
/** Setting indicating whether the service has a managed identity associated with it. */
|
@@ -449,6 +456,24 @@ export interface FhirServiceAuthenticationConfiguration {
|
|
449
456
|
audience?: string;
|
450
457
|
/** If the SMART on FHIR proxy is enabled */
|
451
458
|
smartProxyEnabled?: boolean;
|
459
|
+
/** The array of identity provider configurations for SMART on FHIR authentication. */
|
460
|
+
smartIdentityProviders?: SmartIdentityProviderConfiguration[];
|
461
|
+
}
|
462
|
+
/** An object to configure an identity provider for use with SMART on FHIR authentication. */
|
463
|
+
export interface SmartIdentityProviderConfiguration {
|
464
|
+
/** The identity provider token authority also known as the token issuing authority. */
|
465
|
+
authority?: string;
|
466
|
+
/** The array of identity provider applications for SMART on FHIR authentication. */
|
467
|
+
applications?: SmartIdentityProviderApplication[];
|
468
|
+
}
|
469
|
+
/** An Application configured in the Identity Provider used to access FHIR resources. */
|
470
|
+
export interface SmartIdentityProviderApplication {
|
471
|
+
/** The application client id defined in the identity provider. This value will be used to validate bearer tokens against the given authority. */
|
472
|
+
clientId?: string;
|
473
|
+
/** The audience that will be used to validate bearer tokens against the given authority. */
|
474
|
+
audience?: string;
|
475
|
+
/** The actions that are permitted to be performed on FHIR resources for the application. */
|
476
|
+
allowedDataActions?: SmartDataActions[];
|
452
477
|
}
|
453
478
|
/** The settings for the CORS configuration of the service instance. */
|
454
479
|
export interface FhirServiceCorsConfiguration {
|
@@ -746,6 +771,10 @@ export interface DicomService extends TaggedResource, ServiceManagedIdentity {
|
|
746
771
|
readonly eventState?: ServiceEventState;
|
747
772
|
/** The encryption settings of the DICOM service */
|
748
773
|
encryption?: Encryption;
|
774
|
+
/** The configuration of external storage account */
|
775
|
+
storageConfiguration?: StorageConfiguration;
|
776
|
+
/** If data partitions is enabled or not. */
|
777
|
+
enableDataPartitions?: boolean;
|
749
778
|
}
|
750
779
|
/** IoT Connector definition. */
|
751
780
|
export interface IotConnector extends TaggedResource, ServiceManagedIdentity {
|
@@ -1078,6 +1107,19 @@ export declare enum KnownFhirServiceKind {
|
|
1078
1107
|
* **fhir-R4**
|
1079
1108
|
*/
|
1080
1109
|
export type FhirServiceKind = string;
|
1110
|
+
/** Known values of {@link SmartDataActions} that the service accepts. */
|
1111
|
+
export declare enum KnownSmartDataActions {
|
1112
|
+
/** Read */
|
1113
|
+
Read = "Read"
|
1114
|
+
}
|
1115
|
+
/**
|
1116
|
+
* Defines values for SmartDataActions. \
|
1117
|
+
* {@link KnownSmartDataActions} can be used interchangeably with SmartDataActions,
|
1118
|
+
* this enum contains the known values that the service supports.
|
1119
|
+
* ### Known values supported by the service
|
1120
|
+
* **Read**
|
1121
|
+
*/
|
1122
|
+
export type SmartDataActions = string;
|
1081
1123
|
/** Known values of {@link FhirResourceVersionPolicy} that the service accepts. */
|
1082
1124
|
export declare enum KnownFhirResourceVersionPolicy {
|
1083
1125
|
/** NoVersion */
|