@azure/arm-healthcareapis 1.1.0 → 2.0.0-alpha.20220201.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -83
- package/dist/index.js +2292 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailability.js +33 -0
- package/dist-esm/samples-dev/checkNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +62 -0
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +39 -0
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/deleteService.d.ts +2 -0
- package/dist-esm/samples-dev/deleteService.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteService.js +31 -0
- package/dist-esm/samples-dev/deleteService.js.map +1 -0
- package/dist-esm/samples-dev/getMetadata.d.ts +2 -0
- package/dist-esm/samples-dev/getMetadata.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMetadata.js +31 -0
- package/dist-esm/samples-dev/getMetadata.js.map +1 -0
- package/dist-esm/samples-dev/getOperationResult.d.ts +2 -0
- package/dist-esm/samples-dev/getOperationResult.d.ts.map +1 -0
- package/dist-esm/samples-dev/getOperationResult.js +31 -0
- package/dist-esm/samples-dev/getOperationResult.js.map +1 -0
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +44 -0
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +2 -0
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAllServicesInSubscription.js +43 -0
- package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +1 -0
- package/dist-esm/samples-dev/listOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listOperations.js +43 -0
- package/dist-esm/samples-dev/listOperations.js.map +1 -0
- package/dist-esm/samples-dev/patchService.d.ts +2 -0
- package/dist-esm/samples-dev/patchService.d.ts.map +1 -0
- package/dist-esm/samples-dev/patchService.js +34 -0
- package/dist-esm/samples-dev/patchService.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +38 -0
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionList.js +45 -0
- package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGet.js +32 -0
- package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +31 -0
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +1 -0
- package/dist-esm/src/healthcareApisManagementClient.d.ts +22 -0
- package/dist-esm/src/healthcareApisManagementClient.d.ts.map +1 -0
- package/dist-esm/src/healthcareApisManagementClient.js +55 -0
- package/dist-esm/src/healthcareApisManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +609 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +65 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +32 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +335 -321
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +159 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operationResults.d.ts +20 -0
- package/dist-esm/src/operations/operationResults.d.ts.map +1 -0
- package/dist-esm/src/operations/operationResults.js +56 -0
- package/dist-esm/src/operations/operationResults.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +78 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +314 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +28 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +85 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/services.d.ts +114 -0
- package/dist-esm/src/operations/services.d.ts.map +1 -0
- package/dist-esm/src/operations/services.js +527 -0
- package/dist-esm/src/operations/services.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationResults.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operationResults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationResults.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationResults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.js +9 -0
- package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +81 -22
- package/review/arm-healthcareapis.api.md +535 -0
- package/rollup.config.js +181 -30
- package/src/healthcareApisManagementClient.ts +82 -43
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +450 -739
- package/src/models/mappers.ts +336 -319
- package/src/models/parameters.ts +111 -48
- package/src/operations/index.ts +3 -5
- package/src/operations/operationResults.ts +39 -54
- package/src/operations/operations.ts +87 -73
- package/src/operations/privateEndpointConnections.ts +321 -161
- package/src/operations/privateLinkResources.ts +64 -97
- package/src/operations/services.ts +538 -362
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operationResults.ts +27 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +115 -0
- package/src/operationsInterfaces/privateLinkResources.ts +42 -0
- package/src/operationsInterfaces/services.ts +152 -0
- package/tsconfig.json +5 -4
- package/types/arm-healthcareapis.d.ts +885 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-healthcareapis.js +0 -2100
- package/dist/arm-healthcareapis.js.map +0 -1
- package/dist/arm-healthcareapis.min.js +0 -1
- package/dist/arm-healthcareapis.min.js.map +0 -1
- package/esm/healthcareApisManagementClient.d.ts +0 -28
- package/esm/healthcareApisManagementClient.d.ts.map +0 -1
- package/esm/healthcareApisManagementClient.js +0 -42
- package/esm/healthcareApisManagementClient.js.map +0 -1
- package/esm/healthcareApisManagementClientContext.d.ts +0 -22
- package/esm/healthcareApisManagementClientContext.d.ts.map +0 -1
- package/esm/healthcareApisManagementClientContext.js +0 -61
- package/esm/healthcareApisManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -907
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -33
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationResultsMappers.d.ts +0 -2
- package/esm/models/operationResultsMappers.d.ts.map +0 -1
- package/esm/models/operationResultsMappers.js +0 -9
- package/esm/models/operationResultsMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -120
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/servicesMappers.d.ts +0 -2
- package/esm/models/servicesMappers.d.ts.map +0 -1
- package/esm/models/servicesMappers.js +0 -9
- package/esm/models/servicesMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operationResults.d.ts +0 -34
- package/esm/operations/operationResults.d.ts.map +0 -1
- package/esm/operations/operationResults.js +0 -61
- package/esm/operations/operationResults.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -104
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -209
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -58
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -91
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/services.d.ts +0 -177
- package/esm/operations/services.d.ts.map +0 -1
- package/esm/operations/services.js +0 -362
- package/esm/operations/services.js.map +0 -1
- package/src/healthcareApisManagementClientContext.ts +0 -68
- package/src/models/operationResultsMappers.ts +0 -13
- package/src/models/operationsMappers.ts +0 -15
- package/src/models/privateEndpointConnectionsMappers.ts +0 -31
- package/src/models/privateLinkResourcesMappers.ts +0 -31
- package/src/models/servicesMappers.ts +0 -34
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsDelete.d.ts","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsDelete.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateLinkResourcesGet.d.ts","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesGet.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateLinkResourcesListGroupIds.d.ts","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesListGroupIds.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,31 @@
|
|
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 private link resources that need to be created for a service.
|
13
|
+
*
|
14
|
+
* @summary Gets the private link resources that need to be created for a service.
|
15
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json
|
16
|
+
*/
|
17
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function privateLinkResourcesListGroupIds() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "rgname";
|
23
|
+
const resourceName = "service1";
|
24
|
+
const credential = new DefaultAzureCredential();
|
25
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
|
+
const result = yield client.privateLinkResources.listByService(resourceGroupName, resourceName);
|
27
|
+
console.log(result);
|
28
|
+
});
|
29
|
+
}
|
30
|
+
privateLinkResourcesListGroupIds().catch(console.error);
|
31
|
+
//# sourceMappingURL=privateLinkResourcesListGroupIds.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateLinkResourcesListGroupIds.js","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesListGroupIds.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,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,aAAa,CAC5D,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gCAAgC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
3
|
+
import { Services, Operations, OperationResults, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces";
|
4
|
+
import { HealthcareApisManagementClientOptionalParams } from "./models";
|
5
|
+
export declare class HealthcareApisManagementClient extends coreClient.ServiceClient {
|
6
|
+
$host: string;
|
7
|
+
apiVersion: string;
|
8
|
+
subscriptionId: string;
|
9
|
+
/**
|
10
|
+
* Initializes a new instance of the HealthcareApisManagementClient class.
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
12
|
+
* @param subscriptionId The subscription identifier.
|
13
|
+
* @param options The parameter options
|
14
|
+
*/
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HealthcareApisManagementClientOptionalParams);
|
16
|
+
services: Services;
|
17
|
+
operations: Operations;
|
18
|
+
operationResults: OperationResults;
|
19
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
20
|
+
privateLinkResources: PrivateLinkResources;
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=healthcareApisManagementClient.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"healthcareApisManagementClient.d.ts","sourceRoot":"","sources":["../../src/healthcareApisManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4CAA4C,EAAE,MAAM,UAAU,CAAC;AAExE,qBAAa,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4CAA4C;IAiDxD,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
|
@@ -0,0 +1,55 @@
|
|
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 * as coreClient from "@azure/core-client";
|
9
|
+
import { ServicesImpl, OperationsImpl, OperationResultsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl } from "./operations";
|
10
|
+
export class HealthcareApisManagementClient extends coreClient.ServiceClient {
|
11
|
+
/**
|
12
|
+
* Initializes a new instance of the HealthcareApisManagementClient class.
|
13
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
14
|
+
* @param subscriptionId The subscription identifier.
|
15
|
+
* @param options The parameter options
|
16
|
+
*/
|
17
|
+
constructor(credentials, subscriptionId, options) {
|
18
|
+
if (credentials === undefined) {
|
19
|
+
throw new Error("'credentials' cannot be null");
|
20
|
+
}
|
21
|
+
if (subscriptionId === undefined) {
|
22
|
+
throw new Error("'subscriptionId' cannot be null");
|
23
|
+
}
|
24
|
+
// Initializing default values for options
|
25
|
+
if (!options) {
|
26
|
+
options = {};
|
27
|
+
}
|
28
|
+
const defaults = {
|
29
|
+
requestContentType: "application/json; charset=utf-8",
|
30
|
+
credential: credentials
|
31
|
+
};
|
32
|
+
const packageDetails = `azsdk-js-arm-healthcareapis/2.0.0`;
|
33
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
34
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
35
|
+
: `${packageDetails}`;
|
36
|
+
if (!options.credentialScopes) {
|
37
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
38
|
+
}
|
39
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
40
|
+
userAgentPrefix
|
41
|
+
}, baseUri: options.endpoint || "https://management.azure.com" });
|
42
|
+
super(optionsWithDefaults);
|
43
|
+
// Parameter assignments
|
44
|
+
this.subscriptionId = subscriptionId;
|
45
|
+
// Assigning values to Constant parameters
|
46
|
+
this.$host = options.$host || "https://management.azure.com";
|
47
|
+
this.apiVersion = options.apiVersion || "2021-01-11";
|
48
|
+
this.services = new ServicesImpl(this);
|
49
|
+
this.operations = new OperationsImpl(this);
|
50
|
+
this.operationResults = new OperationResultsImpl(this);
|
51
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
52
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
//# sourceMappingURL=healthcareApisManagementClient.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"healthcareApisManagementClient.js","sourceRoot":"","sources":["../../src/healthcareApisManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,cAAc,CAAC;AAUtB,MAAM,OAAO,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAK1E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAsD;QAEtD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAiD;YAC7D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,mCAAmC,CAAC;QAC3D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACjE,CAAC;CAOF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,cAAc,wBAAwB,CAAC"}
|
@@ -0,0 +1,12 @@
|
|
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
|
+
/// <reference lib="esnext.asynciterable" />
|
9
|
+
export * from "./models";
|
10
|
+
export { HealthcareApisManagementClient } from "./healthcareApisManagementClient";
|
11
|
+
export * from "./operationsInterfaces";
|
12
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,cAAc,wBAAwB,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
3
|
+
private sendOperationFn;
|
4
|
+
private args;
|
5
|
+
private spec;
|
6
|
+
requestPath: string;
|
7
|
+
requestMethod: string;
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
9
|
+
readonly requestBody?: unknown;
|
10
|
+
readonly path?: string;
|
11
|
+
readonly httpMethod: string;
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|
@@ -0,0 +1,29 @@
|
|
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, __rest } from "tslib";
|
9
|
+
export class LroImpl {
|
10
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
11
|
+
this.sendOperationFn = sendOperationFn;
|
12
|
+
this.args = args;
|
13
|
+
this.spec = spec;
|
14
|
+
this.requestPath = requestPath;
|
15
|
+
this.requestMethod = requestMethod;
|
16
|
+
}
|
17
|
+
sendInitialRequest() {
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
19
|
+
return this.sendOperationFn(this.args, this.spec);
|
20
|
+
});
|
21
|
+
}
|
22
|
+
sendPollRequest(path) {
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
24
|
+
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
25
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
26
|
+
});
|
27
|
+
}
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=lroImpl.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,MAAM,OAAO,OAAO;IAClB,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACS,kBAAkB;;YAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACpD,CAAC;KAAA;IACY,eAAe,CAAC,IAAY;;YACvC,MAAM,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,cAA1B,eAA4B,CAAY,CAAC;YAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,CAAC;QACL,CAAC;KAAA;CACF"}
|