@azure/arm-healthcareapis 2.2.1-alpha.20231211.1 → 3.0.0-alpha.20231221.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +27 -8
- package/LICENSE +1 -1
- package/dist/index.js +524 -231
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesGetSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +11 -4
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +28 -9
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesGetSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsGetSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +10 -3
- package/dist-esm/samples-dev/operationResultsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +10 -3
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +65 -8
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +29 -4
- package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +10 -3
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +10 -3
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/healthcareApisManagementClient.d.ts +1 -1
- package/dist-esm/src/healthcareApisManagementClient.js +3 -3
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +95 -27
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -10
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +237 -29
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +4 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/dicomServices.d.ts +4 -4
- package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operations/dicomServices.js +38 -27
- package/dist-esm/src/operations/dicomServices.js.map +1 -1
- package/dist-esm/src/operations/fhirDestinations.js +0 -1
- package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
- package/dist-esm/src/operations/fhirServices.d.ts +4 -4
- package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operations/fhirServices.js +38 -27
- package/dist-esm/src/operations/fhirServices.js.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts +3 -3
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.js +31 -23
- package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
- package/dist-esm/src/operations/iotConnectors.d.ts +4 -4
- package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectors.js +38 -27
- package/dist-esm/src/operations/iotConnectors.js.map +1 -1
- package/dist-esm/src/operations/operations.js +0 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -21
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts +4 -4
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +31 -16
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +29 -21
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts +4 -4
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +31 -16
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/services.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/healthcareapis_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.js +111 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -0
- package/package.json +12 -9
- package/review/arm-healthcareapis.api.md +74 -29
- package/src/healthcareApisManagementClient.ts +3 -3
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +103 -30
- package/src/models/mappers.ts +253 -33
- package/src/models/parameters.ts +4 -1
- package/src/operations/dicomServices.ts +41 -32
- package/src/operations/fhirDestinations.ts +0 -1
- package/src/operations/fhirServices.ts +41 -32
- package/src/operations/iotConnectorFhirDestination.ts +28 -21
- package/src/operations/iotConnectors.ts +41 -32
- package/src/operations/operations.ts +0 -1
- package/src/operations/privateEndpointConnections.ts +28 -21
- package/src/operations/services.ts +46 -33
- package/src/operations/workspacePrivateEndpointConnections.ts +28 -23
- package/src/operations/workspaces.ts +46 -33
- package/src/operationsInterfaces/dicomServices.ts +6 -6
- package/src/operationsInterfaces/fhirServices.ts +6 -6
- package/src/operationsInterfaces/iotConnectorFhirDestination.ts +4 -4
- package/src/operationsInterfaces/iotConnectors.ts +6 -6
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/services.ts +6 -6
- package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +4 -6
- package/src/operationsInterfaces/workspaces.ts +6 -6
- package/src/pagingHelper.ts +4 -4
- package/types/arm-healthcareapis.d.ts +110 -37
- package/dist-esm/samples-dev/checkNameAvailability.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailability.js +0 -33
- package/dist-esm/samples-dev/checkNameAvailability.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +0 -62
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +0 -39
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +0 -1
- package/dist-esm/samples-dev/deleteService.d.ts +0 -2
- package/dist-esm/samples-dev/deleteService.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteService.js +0 -31
- package/dist-esm/samples-dev/deleteService.js.map +0 -1
- package/dist-esm/samples-dev/getMetadata.d.ts +0 -2
- package/dist-esm/samples-dev/getMetadata.d.ts.map +0 -1
- package/dist-esm/samples-dev/getMetadata.js +0 -31
- package/dist-esm/samples-dev/getMetadata.js.map +0 -1
- package/dist-esm/samples-dev/getOperationResult.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationResult.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationResult.js +0 -31
- package/dist-esm/samples-dev/getOperationResult.js.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +0 -46
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.js +0 -45
- package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +0 -1
- package/dist-esm/samples-dev/listOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperations.js +0 -45
- package/dist-esm/samples-dev/listOperations.js.map +0 -1
- package/dist-esm/samples-dev/patchService.d.ts +0 -2
- package/dist-esm/samples-dev/patchService.d.ts.map +0 -1
- package/dist-esm/samples-dev/patchService.js +0 -34
- package/dist-esm/samples-dev/patchService.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +0 -38
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.js +0 -47
- package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGet.js +0 -32
- package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +0 -31
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
@@ -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,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"servicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/servicesCreateOrUpdateSample.ts"],"names":[],"mappings":"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"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Delete a service instance.
|
15
17
|
*
|
16
18
|
* @summary Delete a service instance.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceDelete.json
|
18
20
|
*/
|
19
21
|
function deleteService() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rg1";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "rg1";
|
23
25
|
const resourceName = "service1";
|
24
26
|
const credential = new DefaultAzureCredential();
|
25
27
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -27,5 +29,10 @@ function deleteService() {
|
|
27
29
|
console.log(result);
|
28
30
|
});
|
29
31
|
}
|
30
|
-
|
32
|
+
function main() {
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
34
|
+
deleteService();
|
35
|
+
});
|
36
|
+
}
|
37
|
+
main().catch(console.error);
|
31
38
|
//# sourceMappingURL=servicesDeleteSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/servicesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"servicesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/servicesDeleteSample.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,aAAa;;QAC1B,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,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,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,aAAa,EAAE,CAAC;IAClB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Get the metadata of a service instance.
|
15
17
|
*
|
16
18
|
* @summary Get the metadata of a service instance.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceGet.json
|
18
20
|
*/
|
19
21
|
function getMetadata() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rg1";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "rg1";
|
23
25
|
const resourceName = "service1";
|
24
26
|
const credential = new DefaultAzureCredential();
|
25
27
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -27,5 +29,28 @@ function getMetadata() {
|
|
27
29
|
console.log(result);
|
28
30
|
});
|
29
31
|
}
|
30
|
-
|
32
|
+
/**
|
33
|
+
* This sample demonstrates how to Get the metadata of a service instance.
|
34
|
+
*
|
35
|
+
* @summary Get the metadata of a service instance.
|
36
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json
|
37
|
+
*/
|
38
|
+
function getMetadataForCmkEnabledServiceInDataSovereignRegion() {
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
40
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
41
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "rg1";
|
42
|
+
const resourceName = "service1";
|
43
|
+
const credential = new DefaultAzureCredential();
|
44
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
45
|
+
const result = yield client.services.get(resourceGroupName, resourceName);
|
46
|
+
console.log(result);
|
47
|
+
});
|
48
|
+
}
|
49
|
+
function main() {
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
51
|
+
getMetadata();
|
52
|
+
getMetadataForCmkEnabledServiceInDataSovereignRegion();
|
53
|
+
});
|
54
|
+
}
|
55
|
+
main().catch(console.error);
|
31
56
|
//# sourceMappingURL=servicesGetSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesGetSample.js","sourceRoot":"","sources":["../../samples-dev/servicesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"servicesGetSample.js","sourceRoot":"","sources":["../../samples-dev/servicesGetSample.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,WAAW;;QACxB,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,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,GAAG,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;QAC1E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,oDAAoD;;QACjE,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,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,GAAG,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;QAC1E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,WAAW,EAAE,CAAC;QACd,oDAAoD,EAAE,CAAC;IACzD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,17 +10,19 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Get all the service instances in a resource group.
|
15
17
|
*
|
16
18
|
* @summary Get all the service instances in a resource group.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceListByResourceGroup.json
|
18
20
|
*/
|
19
21
|
function listAllServicesInResourceGroup() {
|
20
22
|
var _a, e_1, _b, _c;
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const resourceGroupName = "rgname";
|
24
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
25
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "rgname";
|
24
26
|
const credential = new DefaultAzureCredential();
|
25
27
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
28
|
const resArray = new Array();
|
@@ -42,5 +44,10 @@ function listAllServicesInResourceGroup() {
|
|
42
44
|
console.log(resArray);
|
43
45
|
});
|
44
46
|
}
|
45
|
-
|
47
|
+
function main() {
|
48
|
+
return __awaiter(this, void 0, void 0, function* () {
|
49
|
+
listAllServicesInResourceGroup();
|
50
|
+
});
|
51
|
+
}
|
52
|
+
main().catch(console.error);
|
46
53
|
//# sourceMappingURL=servicesListByResourceGroupSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/servicesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"servicesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/servicesListByResourceGroupSample.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,8BAA8B;;;QAC3C,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,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CACxD,iBAAiB,CAClB,CAAA,IAAA,sDAAE;gBAFoB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,8BAA8B,EAAE,CAAC;IACnC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Get all the service instances in a subscription.
|
15
17
|
*
|
16
18
|
* @summary Get all the service instances in a subscription.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceList.json
|
18
20
|
*/
|
19
21
|
function listAllServicesInSubscription() {
|
20
22
|
var _a, e_1, _b, _c;
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
24
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
23
25
|
const credential = new DefaultAzureCredential();
|
24
26
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
25
27
|
const resArray = new Array();
|
@@ -41,5 +43,10 @@ function listAllServicesInSubscription() {
|
|
41
43
|
console.log(resArray);
|
42
44
|
});
|
43
45
|
}
|
44
|
-
|
46
|
+
function main() {
|
47
|
+
return __awaiter(this, void 0, void 0, function* () {
|
48
|
+
listAllServicesInSubscription();
|
49
|
+
});
|
50
|
+
}
|
51
|
+
main().catch(console.error);
|
45
52
|
//# sourceMappingURL=servicesListSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesListSample.js","sourceRoot":"","sources":["../../samples-dev/servicesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"servicesListSample.js","sourceRoot":"","sources":["../../samples-dev/servicesListSample.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,6BAA6B;;;QAC1C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE;gBAAxB,cAAsB;gBAAtB,WAAsB;gBAAlC,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Update the metadata of a service instance.
|
15
17
|
*
|
16
18
|
* @summary Update the metadata of a service instance.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServicePatch.json
|
18
20
|
*/
|
19
21
|
function patchService() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rg1";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "rg1";
|
23
25
|
const resourceName = "service1";
|
24
26
|
const servicePatchDescription = {
|
25
27
|
tags: { tag1: "value1", tag2: "value2" }
|
@@ -30,5 +32,10 @@ function patchService() {
|
|
30
32
|
console.log(result);
|
31
33
|
});
|
32
34
|
}
|
33
|
-
|
35
|
+
function main() {
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
37
|
+
patchService();
|
38
|
+
});
|
39
|
+
}
|
40
|
+
main().catch(console.error);
|
34
41
|
//# sourceMappingURL=servicesUpdateSample.js.map
|
@@ -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,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"servicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/servicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,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"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Update the state of the specified private endpoint connection associated with the workspace.
|
15
17
|
*
|
16
18
|
* @summary Update the state of the specified private endpoint connection associated with the workspace.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json
|
18
20
|
*/
|
19
21
|
function workspacePrivateEndpointConnectionCreateOrUpdate() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const privateEndpointConnectionName = "myConnection";
|
25
27
|
const properties = {
|
@@ -34,5 +36,10 @@ function workspacePrivateEndpointConnectionCreateOrUpdate() {
|
|
34
36
|
console.log(result);
|
35
37
|
});
|
36
38
|
}
|
37
|
-
|
39
|
+
function main() {
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
41
|
+
workspacePrivateEndpointConnectionCreateOrUpdate();
|
42
|
+
});
|
43
|
+
}
|
44
|
+
main().catch(console.error);
|
38
45
|
//# sourceMappingURL=workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map
|
@@ -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,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"workspacePrivateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,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,GAAG,MAAM,MAAM,CAAC,mCAAmC,CAAC,0BAA0B,CACxF,iBAAiB,EACjB,aAAa,EACb,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,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"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Deletes a private endpoint connection.
|
15
17
|
*
|
16
18
|
* @summary Deletes a private endpoint connection.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json
|
18
20
|
*/
|
19
21
|
function workspacePrivateEndpointConnectionsDelete() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const privateEndpointConnectionName = "myConnection";
|
25
27
|
const credential = new DefaultAzureCredential();
|
@@ -28,5 +30,10 @@ function workspacePrivateEndpointConnectionsDelete() {
|
|
28
30
|
console.log(result);
|
29
31
|
});
|
30
32
|
}
|
31
|
-
|
33
|
+
function main() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35
|
+
workspacePrivateEndpointConnectionsDelete();
|
36
|
+
});
|
37
|
+
}
|
38
|
+
main().catch(console.error);
|
32
39
|
//# sourceMappingURL=workspacePrivateEndpointConnectionsDeleteSample.js.map
|
@@ -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;
|
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,GAAG,MAAM,MAAM,CAAC,mCAAmC,CAAC,kBAAkB,CAChF,iBAAiB,EACjB,aAAa,EACb,6BAA6B,CAC9B,CAAC;QACF,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"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Gets the specified private endpoint connection associated with the workspace.
|
15
17
|
*
|
16
18
|
* @summary Gets the specified private endpoint connection associated with the workspace.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json
|
18
20
|
*/
|
19
21
|
function workspacePrivateEndpointConnectionGetConnection() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const privateEndpointConnectionName = "myConnection";
|
25
27
|
const credential = new DefaultAzureCredential();
|
@@ -28,5 +30,10 @@ function workspacePrivateEndpointConnectionGetConnection() {
|
|
28
30
|
console.log(result);
|
29
31
|
});
|
30
32
|
}
|
31
|
-
|
33
|
+
function main() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35
|
+
workspacePrivateEndpointConnectionGetConnection();
|
36
|
+
});
|
37
|
+
}
|
38
|
+
main().catch(console.error);
|
32
39
|
//# sourceMappingURL=workspacePrivateEndpointConnectionsGetSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacePrivateEndpointConnectionsGetSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"workspacePrivateEndpointConnectionsGetSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsGetSample.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,+CAA+C;;QAC5D,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,GAAG,MAAM,MAAM,CAAC,mCAAmC,CAAC,GAAG,CACjE,iBAAiB,EACjB,aAAa,EACb,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+CAA+C,EAAE,CAAC;IACpD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,17 +10,19 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Lists all private endpoint connections for a workspace.
|
15
17
|
*
|
16
18
|
* @summary Lists all private endpoint connections for a workspace.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/privatelink/WorkspaceListPrivateEndpointConnections.json
|
18
20
|
*/
|
19
21
|
function workspacePrivateEndpointConnectionList() {
|
20
22
|
var _a, e_1, _b, _c;
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const resourceGroupName = "testRG";
|
24
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
25
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const credential = new DefaultAzureCredential();
|
26
28
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -43,5 +45,10 @@ function workspacePrivateEndpointConnectionList() {
|
|
43
45
|
console.log(resArray);
|
44
46
|
});
|
45
47
|
}
|
46
|
-
|
48
|
+
function main() {
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
50
|
+
workspacePrivateEndpointConnectionList();
|
51
|
+
});
|
52
|
+
}
|
53
|
+
main().catch(console.error);
|
47
54
|
//# sourceMappingURL=workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map
|
package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacePrivateEndpointConnectionsListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"workspacePrivateEndpointConnectionsListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.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,sCAAsC;;;QACnD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,mCAAmC,CAAC,eAAe,CAC/E,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA,sDAAE;gBAHoB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,sCAAsC,EAAE,CAAC;IAC3C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Gets a private link resource that need to be created for a workspace.
|
15
17
|
*
|
16
18
|
* @summary Gets a private link resource that need to be created for a workspace.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json
|
18
20
|
*/
|
19
21
|
function workspacePrivateLinkResourcesGet() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const groupName = "healthcareworkspace";
|
25
27
|
const credential = new DefaultAzureCredential();
|
@@ -28,5 +30,10 @@ function workspacePrivateLinkResourcesGet() {
|
|
28
30
|
console.log(result);
|
29
31
|
});
|
30
32
|
}
|
31
|
-
|
33
|
+
function main() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35
|
+
workspacePrivateLinkResourcesGet();
|
36
|
+
});
|
37
|
+
}
|
38
|
+
main().catch(console.error);
|
32
39
|
//# sourceMappingURL=workspacePrivateLinkResourcesGetSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacePrivateLinkResourcesGetSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateLinkResourcesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"workspacePrivateLinkResourcesGetSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateLinkResourcesGetSample.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,gCAAgC;;QAC7C,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,GAAG,qBAAqB,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,6BAA6B,CAAC,GAAG,CAC3D,iBAAiB,EACjB,aAAa,EACb,SAAS,CACV,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,17 +10,19 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Gets the private link resources that need to be created for a workspace.
|
15
17
|
*
|
16
18
|
* @summary Gets the private link resources that need to be created for a workspace.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/privatelink/PrivateLinkResourcesListByWorkspace.json
|
18
20
|
*/
|
19
21
|
function workspacePrivateLinkResourcesListGroupIds() {
|
20
22
|
var _a, e_1, _b, _c;
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const resourceGroupName = "testRG";
|
24
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
25
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
24
26
|
const workspaceName = "workspace1";
|
25
27
|
const credential = new DefaultAzureCredential();
|
26
28
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -43,5 +45,10 @@ function workspacePrivateLinkResourcesListGroupIds() {
|
|
43
45
|
console.log(resArray);
|
44
46
|
});
|
45
47
|
}
|
46
|
-
|
48
|
+
function main() {
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
50
|
+
workspacePrivateLinkResourcesListGroupIds();
|
51
|
+
});
|
52
|
+
}
|
53
|
+
main().catch(console.error);
|
47
54
|
//# sourceMappingURL=workspacePrivateLinkResourcesListByWorkspaceSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacePrivateLinkResourcesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"workspacePrivateLinkResourcesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.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,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,6BAA6B,CAAC,eAAe,CACzE,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA,sDAAE;gBAHoB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,yCAAyC,EAAE,CAAC;IAC9C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Creates or updates a workspace resource with the specified parameters.
|
15
17
|
*
|
16
18
|
* @summary Creates or updates a workspace resource with the specified parameters.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/workspaces/Workspaces_Create.json
|
18
20
|
*/
|
19
21
|
function createOrUpdateAWorkspace() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const workspace = { location: "westus", properties: {} };
|
25
27
|
const credential = new DefaultAzureCredential();
|
@@ -28,5 +30,10 @@ function createOrUpdateAWorkspace() {
|
|
28
30
|
console.log(result);
|
29
31
|
});
|
30
32
|
}
|
31
|
-
|
33
|
+
function main() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35
|
+
createOrUpdateAWorkspace();
|
36
|
+
});
|
37
|
+
}
|
38
|
+
main().catch(console.error);
|
32
39
|
//# sourceMappingURL=workspacesCreateOrUpdateSample.js.map
|
@@ -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,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"workspacesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,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"}
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
10
10
|
// Licensed under the MIT License.
|
11
11
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
import * as dotenv from "dotenv";
|
14
|
+
dotenv.config();
|
13
15
|
/**
|
14
16
|
* This sample demonstrates how to Deletes a specified workspace.
|
15
17
|
*
|
16
18
|
* @summary Deletes a specified workspace.
|
17
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/
|
19
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/workspaces/Workspaces_Delete.json
|
18
20
|
*/
|
19
21
|
function deleteAWorkspace() {
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "testRG";
|
23
|
+
const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
|
24
|
+
const resourceGroupName = process.env["HEALTHCAREAPIS_RESOURCE_GROUP"] || "testRG";
|
23
25
|
const workspaceName = "workspace1";
|
24
26
|
const credential = new DefaultAzureCredential();
|
25
27
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
@@ -27,5 +29,10 @@ function deleteAWorkspace() {
|
|
27
29
|
console.log(result);
|
28
30
|
});
|
29
31
|
}
|
30
|
-
|
32
|
+
function main() {
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
34
|
+
deleteAWorkspace();
|
35
|
+
});
|
36
|
+
}
|
37
|
+
main().catch(console.error);
|
31
38
|
//# sourceMappingURL=workspacesDeleteSample.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"workspacesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,kBAAkB,CACvD,iBAAiB,EACjB,aAAa,CACd,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"}
|