@azure/arm-healthcareapis 2.2.1-alpha.20231113.1 → 3.0.0
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 +13 -10
- 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/types/tsdoc-metadata.json +1 -1
- 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 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deleteService.d.ts","sourceRoot":"","sources":["../../samples-dev/deleteService.ts"],"names":[],"mappings":""}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Delete a service instance.
|
13
|
-
*
|
14
|
-
* @summary Delete a service instance.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceDelete.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function deleteService() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rg1";
|
23
|
-
const resourceName = "service1";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
|
-
const result = yield client.services.beginDeleteAndWait(resourceGroupName, resourceName);
|
27
|
-
console.log(result);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
deleteService().catch(console.error);
|
31
|
-
//# sourceMappingURL=deleteService.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deleteService.js","sourceRoot":"","sources":["../../samples-dev/deleteService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,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,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getMetadata.d.ts","sourceRoot":"","sources":["../../samples-dev/getMetadata.ts"],"names":[],"mappings":""}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Get the metadata of a service instance.
|
13
|
-
*
|
14
|
-
* @summary Get the metadata of a service instance.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceGet.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function getMetadata() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rg1";
|
23
|
-
const resourceName = "service1";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
|
-
const result = yield client.services.get(resourceGroupName, resourceName);
|
27
|
-
console.log(result);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
getMetadata().catch(console.error);
|
31
|
-
//# sourceMappingURL=getMetadata.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getMetadata.js","sourceRoot":"","sources":["../../samples-dev/getMetadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,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,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getOperationResult.d.ts","sourceRoot":"","sources":["../../samples-dev/getOperationResult.ts"],"names":[],"mappings":""}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Get the operation result for a long running operation.
|
13
|
-
*
|
14
|
-
* @summary Get the operation result for a long running operation.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/OperationResultsGet.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function getOperationResult() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const locationName = "westus";
|
23
|
-
const operationResultId = "exampleid";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
|
-
const result = yield client.operationResults.get(locationName, operationResultId);
|
27
|
-
console.log(result);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
getOperationResult().catch(console.error);
|
31
|
-
//# sourceMappingURL=getOperationResult.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getOperationResult.js","sourceRoot":"","sources":["../../samples-dev/getOperationResult.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,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,gBAAgB,CAAC,GAAG,CAC9C,YAAY,EACZ,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listAllServicesInResourceGroup.d.ts","sourceRoot":"","sources":["../../samples-dev/listAllServicesInResourceGroup.ts"],"names":[],"mappings":""}
|
@@ -1,46 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Get all the service instances in a resource group.
|
13
|
-
*
|
14
|
-
* @summary Get all the service instances in a resource group.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceListByResourceGroup.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listAllServicesInResourceGroup() {
|
20
|
-
var _a, e_1, _b, _c;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const resourceGroupName = "rgname";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
|
-
const resArray = new Array();
|
27
|
-
try {
|
28
|
-
for (var _d = true, _e = __asyncValues(client.services.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
29
|
-
_c = _f.value;
|
30
|
-
_d = false;
|
31
|
-
let item = _c;
|
32
|
-
resArray.push(item);
|
33
|
-
}
|
34
|
-
}
|
35
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
36
|
-
finally {
|
37
|
-
try {
|
38
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
39
|
-
}
|
40
|
-
finally { if (e_1) throw e_1.error; }
|
41
|
-
}
|
42
|
-
console.log(resArray);
|
43
|
-
});
|
44
|
-
}
|
45
|
-
listAllServicesInResourceGroup().catch(console.error);
|
46
|
-
//# sourceMappingURL=listAllServicesInResourceGroup.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listAllServicesInResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/listAllServicesInResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,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,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,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listAllServicesInSubscription.d.ts","sourceRoot":"","sources":["../../samples-dev/listAllServicesInSubscription.ts"],"names":[],"mappings":""}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Get all the service instances in a subscription.
|
13
|
-
*
|
14
|
-
* @summary Get all the service instances in a subscription.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceList.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listAllServicesInSubscription() {
|
20
|
-
var _a, e_1, _b, _c;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const credential = new DefaultAzureCredential();
|
24
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
25
|
-
const resArray = new Array();
|
26
|
-
try {
|
27
|
-
for (var _d = true, _e = __asyncValues(client.services.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
28
|
-
_c = _f.value;
|
29
|
-
_d = false;
|
30
|
-
let item = _c;
|
31
|
-
resArray.push(item);
|
32
|
-
}
|
33
|
-
}
|
34
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
|
-
finally {
|
36
|
-
try {
|
37
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
38
|
-
}
|
39
|
-
finally { if (e_1) throw e_1.error; }
|
40
|
-
}
|
41
|
-
console.log(resArray);
|
42
|
-
});
|
43
|
-
}
|
44
|
-
listAllServicesInSubscription().catch(console.error);
|
45
|
-
//# sourceMappingURL=listAllServicesInSubscription.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listAllServicesInSubscription.js","sourceRoot":"","sources":["../../samples-dev/listAllServicesInSubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,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,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listOperations.d.ts","sourceRoot":"","sources":["../../samples-dev/listOperations.ts"],"names":[],"mappings":""}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Lists all of the available Healthcare service REST API operations.
|
13
|
-
*
|
14
|
-
* @summary Lists all of the available Healthcare service REST API operations.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/OperationsList.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listOperations() {
|
20
|
-
var _a, e_1, _b, _c;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
23
|
-
const credential = new DefaultAzureCredential();
|
24
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
25
|
-
const resArray = new Array();
|
26
|
-
try {
|
27
|
-
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
28
|
-
_c = _f.value;
|
29
|
-
_d = false;
|
30
|
-
let item = _c;
|
31
|
-
resArray.push(item);
|
32
|
-
}
|
33
|
-
}
|
34
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
|
-
finally {
|
36
|
-
try {
|
37
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
38
|
-
}
|
39
|
-
finally { if (e_1) throw e_1.error; }
|
40
|
-
}
|
41
|
-
console.log(resArray);
|
42
|
-
});
|
43
|
-
}
|
44
|
-
listOperations().catch(console.error);
|
45
|
-
//# sourceMappingURL=listOperations.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listOperations.js","sourceRoot":"","sources":["../../samples-dev/listOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,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,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE;gBAA1B,cAAwB;gBAAxB,WAAwB;gBAApC,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"patchService.d.ts","sourceRoot":"","sources":["../../samples-dev/patchService.ts"],"names":[],"mappings":""}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Update the metadata of a service instance.
|
13
|
-
*
|
14
|
-
* @summary Update the metadata of a service instance.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServicePatch.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function patchService() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rg1";
|
23
|
-
const resourceName = "service1";
|
24
|
-
const servicePatchDescription = {
|
25
|
-
tags: { tag1: "value1", tag2: "value2" }
|
26
|
-
};
|
27
|
-
const credential = new DefaultAzureCredential();
|
28
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
29
|
-
const result = yield client.services.beginUpdateAndWait(resourceGroupName, resourceName, servicePatchDescription);
|
30
|
-
console.log(result);
|
31
|
-
});
|
32
|
-
}
|
33
|
-
patchService().catch(console.error);
|
34
|
-
//# sourceMappingURL=patchService.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"patchService.js","sourceRoot":"","sources":["../../samples-dev/patchService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,YAAY;;QACzB,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,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,YAAY,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionCreateOrUpdate.d.ts","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionCreateOrUpdate.ts"],"names":[],"mappings":""}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Update the state of the specified private endpoint connection associated with the service.
|
13
|
-
*
|
14
|
-
* @summary Update the state of the specified private endpoint connection associated with the service.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceCreatePrivateEndpointConnection.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function privateEndpointConnectionCreateOrUpdate() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rgname";
|
23
|
-
const resourceName = "service1";
|
24
|
-
const privateEndpointConnectionName = "myConnection";
|
25
|
-
const properties = {
|
26
|
-
privateLinkServiceConnectionState: {
|
27
|
-
description: "Auto-Approved",
|
28
|
-
status: "Approved"
|
29
|
-
}
|
30
|
-
};
|
31
|
-
const credential = new DefaultAzureCredential();
|
32
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
33
|
-
const result = yield client.privateEndpointConnections.beginCreateOrUpdateAndWait(resourceGroupName, resourceName, privateEndpointConnectionName, properties);
|
34
|
-
console.log(result);
|
35
|
-
});
|
36
|
-
}
|
37
|
-
privateEndpointConnectionCreateOrUpdate().catch(console.error);
|
38
|
-
//# sourceMappingURL=privateEndpointConnectionCreateOrUpdate.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionCreateOrUpdate.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionCreateOrUpdate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,6BAA6B,GAAG,cAAc,CAAC;QACrD,MAAM,UAAU,GAA8B;YAC5C,iCAAiC,EAAE;gBACjC,WAAW,EAAE,eAAe;gBAC5B,MAAM,EAAE,UAAU;aACnB;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,0BAA0B,CAC/E,iBAAiB,EACjB,YAAY,EACZ,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionGetConnection.d.ts","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionGetConnection.ts"],"names":[],"mappings":""}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Gets the specified private endpoint connection associated with the service.
|
13
|
-
*
|
14
|
-
* @summary Gets the specified private endpoint connection associated with the service.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceGetPrivateEndpointConnection.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function privateEndpointConnectionGetConnection() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rgname";
|
23
|
-
const resourceName = "service1";
|
24
|
-
const privateEndpointConnectionName = "myConnection";
|
25
|
-
const credential = new DefaultAzureCredential();
|
26
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
-
const result = yield client.privateEndpointConnections.get(resourceGroupName, resourceName, privateEndpointConnectionName);
|
28
|
-
console.log(result);
|
29
|
-
});
|
30
|
-
}
|
31
|
-
privateEndpointConnectionGetConnection().catch(console.error);
|
32
|
-
//# sourceMappingURL=privateEndpointConnectionGetConnection.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionGetConnection.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionGetConnection.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,sCAAsC;;QACnD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,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,0BAA0B,CAAC,GAAG,CACxD,iBAAiB,EACjB,YAAY,EACZ,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sCAAsC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionList.d.ts","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionList.ts"],"names":[],"mappings":""}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Lists all private endpoint connections for a service.
|
13
|
-
*
|
14
|
-
* @summary Lists all private endpoint connections for a service.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceListPrivateEndpointConnections.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function privateEndpointConnectionList() {
|
20
|
-
var _a, e_1, _b, _c;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "subid";
|
23
|
-
const resourceGroupName = "rgname";
|
24
|
-
const resourceName = "service1";
|
25
|
-
const credential = new DefaultAzureCredential();
|
26
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
-
const resArray = new Array();
|
28
|
-
try {
|
29
|
-
for (var _d = true, _e = __asyncValues(client.privateEndpointConnections.listByService(resourceGroupName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
30
|
-
_c = _f.value;
|
31
|
-
_d = false;
|
32
|
-
let item = _c;
|
33
|
-
resArray.push(item);
|
34
|
-
}
|
35
|
-
}
|
36
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
37
|
-
finally {
|
38
|
-
try {
|
39
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
40
|
-
}
|
41
|
-
finally { if (e_1) throw e_1.error; }
|
42
|
-
}
|
43
|
-
console.log(resArray);
|
44
|
-
});
|
45
|
-
}
|
46
|
-
privateEndpointConnectionList().catch(console.error);
|
47
|
-
//# sourceMappingURL=privateEndpointConnectionList.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionList.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionList.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,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,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,aAAa,CACpE,iBAAiB,EACjB,YAAY,CACb,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,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsDelete.d.ts","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsDelete.ts"],"names":[],"mappings":""}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Deletes a private endpoint connection.
|
13
|
-
*
|
14
|
-
* @summary Deletes a private endpoint connection.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceDeletePrivateEndpointConnection.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function privateEndpointConnectionsDelete() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rgname";
|
23
|
-
const resourceName = "service1";
|
24
|
-
const privateEndpointConnectionName = "myConnection";
|
25
|
-
const credential = new DefaultAzureCredential();
|
26
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
-
const result = yield client.privateEndpointConnections.beginDeleteAndWait(resourceGroupName, resourceName, privateEndpointConnectionName);
|
28
|
-
console.log(result);
|
29
|
-
});
|
30
|
-
}
|
31
|
-
privateEndpointConnectionsDelete().catch(console.error);
|
32
|
-
//# sourceMappingURL=privateEndpointConnectionsDelete.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsDelete.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,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,0BAA0B,CAAC,kBAAkB,CACvE,iBAAiB,EACjB,YAAY,EACZ,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gCAAgC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateLinkResourcesGet.d.ts","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesGet.ts"],"names":[],"mappings":""}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Gets a private link resource that need to be created for a service.
|
13
|
-
*
|
14
|
-
* @summary Gets a private link resource that need to be created for a service.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/PrivateLinkResourceGet.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function privateLinkResourcesGet() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rgname";
|
23
|
-
const resourceName = "service1";
|
24
|
-
const groupName = "fhir";
|
25
|
-
const credential = new DefaultAzureCredential();
|
26
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
-
const result = yield client.privateLinkResources.get(resourceGroupName, resourceName, groupName);
|
28
|
-
console.log(result);
|
29
|
-
});
|
30
|
-
}
|
31
|
-
privateLinkResourcesGet().catch(console.error);
|
32
|
-
//# sourceMappingURL=privateLinkResourcesGet.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateLinkResourcesGet.js","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,SAAS,GAAG,MAAM,CAAC;QACzB,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,oBAAoB,CAAC,GAAG,CAClD,iBAAiB,EACjB,YAAY,EACZ,SAAS,CACV,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"privateLinkResourcesListGroupIds.d.ts","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesListGroupIds.ts"],"names":[],"mappings":""}
|