@azure/arm-healthcareapis 1.1.1 → 2.0.0-alpha.20220119.2
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 +82 -23
- 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,13 @@
|
|
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
|
+
|
9
|
+
export * from "./services";
|
10
|
+
export * from "./operations";
|
11
|
+
export * from "./operationResults";
|
12
|
+
export * from "./privateEndpointConnections";
|
13
|
+
export * from "./privateLinkResources";
|
@@ -0,0 +1,27 @@
|
|
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
|
+
|
9
|
+
import {
|
10
|
+
OperationResultsGetOptionalParams,
|
11
|
+
OperationResultsGetResponse
|
12
|
+
} from "../models";
|
13
|
+
|
14
|
+
/** Interface representing a OperationResults. */
|
15
|
+
export interface OperationResults {
|
16
|
+
/**
|
17
|
+
* Get the operation result for a long running operation.
|
18
|
+
* @param locationName The location of the operation.
|
19
|
+
* @param operationResultId The ID of the operation result to get.
|
20
|
+
* @param options The options parameters.
|
21
|
+
*/
|
22
|
+
get(
|
23
|
+
locationName: string,
|
24
|
+
operationResultId: string,
|
25
|
+
options?: OperationResultsGetOptionalParams
|
26
|
+
): Promise<OperationResultsGetResponse>;
|
27
|
+
}
|
@@ -0,0 +1,22 @@
|
|
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
|
+
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
11
|
+
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
13
|
+
/** Interface representing a Operations. */
|
14
|
+
export interface Operations {
|
15
|
+
/**
|
16
|
+
* Lists all of the available Healthcare service REST API operations.
|
17
|
+
* @param options The options parameters.
|
18
|
+
*/
|
19
|
+
list(
|
20
|
+
options?: OperationsListOptionalParams
|
21
|
+
): PagedAsyncIterableIterator<Operation>;
|
22
|
+
}
|
@@ -0,0 +1,115 @@
|
|
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
|
+
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
11
|
+
import {
|
12
|
+
PrivateEndpointConnectionDescription,
|
13
|
+
PrivateEndpointConnectionsListByServiceOptionalParams,
|
14
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
15
|
+
PrivateEndpointConnectionsGetResponse,
|
16
|
+
PrivateEndpointConnection,
|
17
|
+
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
|
18
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse,
|
19
|
+
PrivateEndpointConnectionsDeleteOptionalParams
|
20
|
+
} from "../models";
|
21
|
+
|
22
|
+
/// <reference lib="esnext.asynciterable" />
|
23
|
+
/** Interface representing a PrivateEndpointConnections. */
|
24
|
+
export interface PrivateEndpointConnections {
|
25
|
+
/**
|
26
|
+
* Lists all private endpoint connections for a service.
|
27
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
28
|
+
* @param resourceName The name of the service instance.
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
listByService(
|
32
|
+
resourceGroupName: string,
|
33
|
+
resourceName: string,
|
34
|
+
options?: PrivateEndpointConnectionsListByServiceOptionalParams
|
35
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnectionDescription>;
|
36
|
+
/**
|
37
|
+
* Gets the specified private endpoint connection associated with the service.
|
38
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
39
|
+
* @param resourceName The name of the service instance.
|
40
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
41
|
+
* Azure resource
|
42
|
+
* @param options The options parameters.
|
43
|
+
*/
|
44
|
+
get(
|
45
|
+
resourceGroupName: string,
|
46
|
+
resourceName: string,
|
47
|
+
privateEndpointConnectionName: string,
|
48
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
49
|
+
): Promise<PrivateEndpointConnectionsGetResponse>;
|
50
|
+
/**
|
51
|
+
* Update the state of the specified private endpoint connection associated with the service.
|
52
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
53
|
+
* @param resourceName The name of the service instance.
|
54
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
55
|
+
* Azure resource
|
56
|
+
* @param properties The private endpoint connection properties.
|
57
|
+
* @param options The options parameters.
|
58
|
+
*/
|
59
|
+
beginCreateOrUpdate(
|
60
|
+
resourceGroupName: string,
|
61
|
+
resourceName: string,
|
62
|
+
privateEndpointConnectionName: string,
|
63
|
+
properties: PrivateEndpointConnection,
|
64
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
65
|
+
): Promise<
|
66
|
+
PollerLike<
|
67
|
+
PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
|
68
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse
|
69
|
+
>
|
70
|
+
>;
|
71
|
+
/**
|
72
|
+
* Update the state of the specified private endpoint connection associated with the service.
|
73
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
74
|
+
* @param resourceName The name of the service instance.
|
75
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
76
|
+
* Azure resource
|
77
|
+
* @param properties The private endpoint connection properties.
|
78
|
+
* @param options The options parameters.
|
79
|
+
*/
|
80
|
+
beginCreateOrUpdateAndWait(
|
81
|
+
resourceGroupName: string,
|
82
|
+
resourceName: string,
|
83
|
+
privateEndpointConnectionName: string,
|
84
|
+
properties: PrivateEndpointConnection,
|
85
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
86
|
+
): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
87
|
+
/**
|
88
|
+
* Deletes a private endpoint connection.
|
89
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
90
|
+
* @param resourceName The name of the service instance.
|
91
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
92
|
+
* Azure resource
|
93
|
+
* @param options The options parameters.
|
94
|
+
*/
|
95
|
+
beginDelete(
|
96
|
+
resourceGroupName: string,
|
97
|
+
resourceName: string,
|
98
|
+
privateEndpointConnectionName: string,
|
99
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
100
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
101
|
+
/**
|
102
|
+
* Deletes a private endpoint connection.
|
103
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
104
|
+
* @param resourceName The name of the service instance.
|
105
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
106
|
+
* Azure resource
|
107
|
+
* @param options The options parameters.
|
108
|
+
*/
|
109
|
+
beginDeleteAndWait(
|
110
|
+
resourceGroupName: string,
|
111
|
+
resourceName: string,
|
112
|
+
privateEndpointConnectionName: string,
|
113
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
114
|
+
): Promise<void>;
|
115
|
+
}
|
@@ -0,0 +1,42 @@
|
|
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
|
+
|
9
|
+
import {
|
10
|
+
PrivateLinkResourcesListByServiceOptionalParams,
|
11
|
+
PrivateLinkResourcesListByServiceResponse,
|
12
|
+
PrivateLinkResourcesGetOptionalParams,
|
13
|
+
PrivateLinkResourcesGetResponse
|
14
|
+
} from "../models";
|
15
|
+
|
16
|
+
/** Interface representing a PrivateLinkResources. */
|
17
|
+
export interface PrivateLinkResources {
|
18
|
+
/**
|
19
|
+
* Gets the private link resources that need to be created for a service.
|
20
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
21
|
+
* @param resourceName The name of the service instance.
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
listByService(
|
25
|
+
resourceGroupName: string,
|
26
|
+
resourceName: string,
|
27
|
+
options?: PrivateLinkResourcesListByServiceOptionalParams
|
28
|
+
): Promise<PrivateLinkResourcesListByServiceResponse>;
|
29
|
+
/**
|
30
|
+
* Gets a private link resource that need to be created for a service.
|
31
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
32
|
+
* @param resourceName The name of the service instance.
|
33
|
+
* @param groupName The name of the private link resource group.
|
34
|
+
* @param options The options parameters.
|
35
|
+
*/
|
36
|
+
get(
|
37
|
+
resourceGroupName: string,
|
38
|
+
resourceName: string,
|
39
|
+
groupName: string,
|
40
|
+
options?: PrivateLinkResourcesGetOptionalParams
|
41
|
+
): Promise<PrivateLinkResourcesGetResponse>;
|
42
|
+
}
|
@@ -0,0 +1,152 @@
|
|
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
|
+
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
11
|
+
import {
|
12
|
+
ServicesDescription,
|
13
|
+
ServicesListOptionalParams,
|
14
|
+
ServicesListByResourceGroupOptionalParams,
|
15
|
+
ServicesGetOptionalParams,
|
16
|
+
ServicesGetResponse,
|
17
|
+
ServicesCreateOrUpdateOptionalParams,
|
18
|
+
ServicesCreateOrUpdateResponse,
|
19
|
+
ServicesPatchDescription,
|
20
|
+
ServicesUpdateOptionalParams,
|
21
|
+
ServicesUpdateResponse,
|
22
|
+
ServicesDeleteOptionalParams,
|
23
|
+
CheckNameAvailabilityParameters,
|
24
|
+
ServicesCheckNameAvailabilityOptionalParams,
|
25
|
+
ServicesCheckNameAvailabilityResponse
|
26
|
+
} from "../models";
|
27
|
+
|
28
|
+
/// <reference lib="esnext.asynciterable" />
|
29
|
+
/** Interface representing a Services. */
|
30
|
+
export interface Services {
|
31
|
+
/**
|
32
|
+
* Get all the service instances in a subscription.
|
33
|
+
* @param options The options parameters.
|
34
|
+
*/
|
35
|
+
list(
|
36
|
+
options?: ServicesListOptionalParams
|
37
|
+
): PagedAsyncIterableIterator<ServicesDescription>;
|
38
|
+
/**
|
39
|
+
* Get all the service instances in a resource group.
|
40
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
41
|
+
* @param options The options parameters.
|
42
|
+
*/
|
43
|
+
listByResourceGroup(
|
44
|
+
resourceGroupName: string,
|
45
|
+
options?: ServicesListByResourceGroupOptionalParams
|
46
|
+
): PagedAsyncIterableIterator<ServicesDescription>;
|
47
|
+
/**
|
48
|
+
* Get the metadata of a service instance.
|
49
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
50
|
+
* @param resourceName The name of the service instance.
|
51
|
+
* @param options The options parameters.
|
52
|
+
*/
|
53
|
+
get(
|
54
|
+
resourceGroupName: string,
|
55
|
+
resourceName: string,
|
56
|
+
options?: ServicesGetOptionalParams
|
57
|
+
): Promise<ServicesGetResponse>;
|
58
|
+
/**
|
59
|
+
* Create or update the metadata of a service instance.
|
60
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
61
|
+
* @param resourceName The name of the service instance.
|
62
|
+
* @param serviceDescription The service instance metadata.
|
63
|
+
* @param options The options parameters.
|
64
|
+
*/
|
65
|
+
beginCreateOrUpdate(
|
66
|
+
resourceGroupName: string,
|
67
|
+
resourceName: string,
|
68
|
+
serviceDescription: ServicesDescription,
|
69
|
+
options?: ServicesCreateOrUpdateOptionalParams
|
70
|
+
): Promise<
|
71
|
+
PollerLike<
|
72
|
+
PollOperationState<ServicesCreateOrUpdateResponse>,
|
73
|
+
ServicesCreateOrUpdateResponse
|
74
|
+
>
|
75
|
+
>;
|
76
|
+
/**
|
77
|
+
* Create or update the metadata of a service instance.
|
78
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
79
|
+
* @param resourceName The name of the service instance.
|
80
|
+
* @param serviceDescription The service instance metadata.
|
81
|
+
* @param options The options parameters.
|
82
|
+
*/
|
83
|
+
beginCreateOrUpdateAndWait(
|
84
|
+
resourceGroupName: string,
|
85
|
+
resourceName: string,
|
86
|
+
serviceDescription: ServicesDescription,
|
87
|
+
options?: ServicesCreateOrUpdateOptionalParams
|
88
|
+
): Promise<ServicesCreateOrUpdateResponse>;
|
89
|
+
/**
|
90
|
+
* Update the metadata of a service instance.
|
91
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
92
|
+
* @param resourceName The name of the service instance.
|
93
|
+
* @param servicePatchDescription The service instance metadata and security metadata.
|
94
|
+
* @param options The options parameters.
|
95
|
+
*/
|
96
|
+
beginUpdate(
|
97
|
+
resourceGroupName: string,
|
98
|
+
resourceName: string,
|
99
|
+
servicePatchDescription: ServicesPatchDescription,
|
100
|
+
options?: ServicesUpdateOptionalParams
|
101
|
+
): Promise<
|
102
|
+
PollerLike<
|
103
|
+
PollOperationState<ServicesUpdateResponse>,
|
104
|
+
ServicesUpdateResponse
|
105
|
+
>
|
106
|
+
>;
|
107
|
+
/**
|
108
|
+
* Update the metadata of a service instance.
|
109
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
110
|
+
* @param resourceName The name of the service instance.
|
111
|
+
* @param servicePatchDescription The service instance metadata and security metadata.
|
112
|
+
* @param options The options parameters.
|
113
|
+
*/
|
114
|
+
beginUpdateAndWait(
|
115
|
+
resourceGroupName: string,
|
116
|
+
resourceName: string,
|
117
|
+
servicePatchDescription: ServicesPatchDescription,
|
118
|
+
options?: ServicesUpdateOptionalParams
|
119
|
+
): Promise<ServicesUpdateResponse>;
|
120
|
+
/**
|
121
|
+
* Delete a service instance.
|
122
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
123
|
+
* @param resourceName The name of the service instance.
|
124
|
+
* @param options The options parameters.
|
125
|
+
*/
|
126
|
+
beginDelete(
|
127
|
+
resourceGroupName: string,
|
128
|
+
resourceName: string,
|
129
|
+
options?: ServicesDeleteOptionalParams
|
130
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
131
|
+
/**
|
132
|
+
* Delete a service instance.
|
133
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
134
|
+
* @param resourceName The name of the service instance.
|
135
|
+
* @param options The options parameters.
|
136
|
+
*/
|
137
|
+
beginDeleteAndWait(
|
138
|
+
resourceGroupName: string,
|
139
|
+
resourceName: string,
|
140
|
+
options?: ServicesDeleteOptionalParams
|
141
|
+
): Promise<void>;
|
142
|
+
/**
|
143
|
+
* Check if a service instance name is available.
|
144
|
+
* @param checkNameAvailabilityInputs Set the name parameter in the CheckNameAvailabilityParameters
|
145
|
+
* structure to the name of the service instance to check.
|
146
|
+
* @param options The options parameters.
|
147
|
+
*/
|
148
|
+
checkNameAvailability(
|
149
|
+
checkNameAvailabilityInputs: CheckNameAvailabilityParameters,
|
150
|
+
options?: ServicesCheckNameAvailabilityOptionalParams
|
151
|
+
): Promise<ServicesCheckNameAvailabilityResponse>;
|
152
|
+
}
|
package/tsconfig.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"module": "es6",
|
4
4
|
"moduleResolution": "node",
|
5
5
|
"strict": true,
|
6
|
-
"target": "
|
6
|
+
"target": "es6",
|
7
7
|
"sourceMap": true,
|
8
8
|
"declarationMap": true,
|
9
9
|
"esModuleInterop": true,
|
@@ -11,9 +11,10 @@
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
12
12
|
"lib": ["es6", "dom"],
|
13
13
|
"declaration": true,
|
14
|
-
"outDir": "./esm",
|
15
|
-
"importHelpers": true
|
14
|
+
"outDir": "./dist-esm",
|
15
|
+
"importHelpers": true,
|
16
|
+
"paths": { "@azure/arm-healthcareapis": ["./src/index"] }
|
16
17
|
},
|
17
|
-
"include": ["./src/**/*.ts"],
|
18
|
+
"include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"],
|
18
19
|
"exclude": ["node_modules"]
|
19
20
|
}
|