@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.
Files changed (242) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +2292 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/checkNameAvailability.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkNameAvailability.js +33 -0
  11. package/dist-esm/samples-dev/checkNameAvailability.js.map +1 -0
  12. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +2 -0
  13. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +62 -0
  15. package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +1 -0
  16. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +2 -0
  17. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +39 -0
  19. package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +1 -0
  20. package/dist-esm/samples-dev/deleteService.d.ts +2 -0
  21. package/dist-esm/samples-dev/deleteService.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/deleteService.js +31 -0
  23. package/dist-esm/samples-dev/deleteService.js.map +1 -0
  24. package/dist-esm/samples-dev/getMetadata.d.ts +2 -0
  25. package/dist-esm/samples-dev/getMetadata.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/getMetadata.js +31 -0
  27. package/dist-esm/samples-dev/getMetadata.js.map +1 -0
  28. package/dist-esm/samples-dev/getOperationResult.d.ts +2 -0
  29. package/dist-esm/samples-dev/getOperationResult.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/getOperationResult.js +31 -0
  31. package/dist-esm/samples-dev/getOperationResult.js.map +1 -0
  32. package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +2 -0
  33. package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +44 -0
  35. package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +1 -0
  36. package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +2 -0
  37. package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/listAllServicesInSubscription.js +43 -0
  39. package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +1 -0
  40. package/dist-esm/samples-dev/listOperations.d.ts +2 -0
  41. package/dist-esm/samples-dev/listOperations.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/listOperations.js +43 -0
  43. package/dist-esm/samples-dev/listOperations.js.map +1 -0
  44. package/dist-esm/samples-dev/patchService.d.ts +2 -0
  45. package/dist-esm/samples-dev/patchService.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/patchService.js +34 -0
  47. package/dist-esm/samples-dev/patchService.js.map +1 -0
  48. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +2 -0
  49. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +38 -0
  51. package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +1 -0
  52. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +2 -0
  53. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +32 -0
  55. package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +1 -0
  56. package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +2 -0
  57. package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/privateEndpointConnectionList.js +45 -0
  59. package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +1 -0
  60. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +2 -0
  61. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +32 -0
  63. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +1 -0
  64. package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +2 -0
  65. package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/privateLinkResourcesGet.js +32 -0
  67. package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +1 -0
  68. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +2 -0
  69. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +31 -0
  71. package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +1 -0
  72. package/dist-esm/src/healthcareApisManagementClient.d.ts +22 -0
  73. package/dist-esm/src/healthcareApisManagementClient.d.ts.map +1 -0
  74. package/dist-esm/src/healthcareApisManagementClient.js +55 -0
  75. package/dist-esm/src/healthcareApisManagementClient.js.map +1 -0
  76. package/dist-esm/src/index.d.ts +5 -0
  77. package/dist-esm/src/index.d.ts.map +1 -0
  78. package/dist-esm/src/index.js +12 -0
  79. package/dist-esm/src/index.js.map +1 -0
  80. package/dist-esm/src/lroImpl.d.ts +16 -0
  81. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  82. package/dist-esm/src/lroImpl.js +29 -0
  83. package/dist-esm/src/lroImpl.js.map +1 -0
  84. package/dist-esm/src/models/index.d.ts +609 -0
  85. package/dist-esm/src/models/index.d.ts.map +1 -0
  86. package/dist-esm/src/models/index.js +65 -0
  87. package/dist-esm/src/models/index.js.map +1 -0
  88. package/dist-esm/src/models/mappers.d.ts +32 -0
  89. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  90. package/{esm → dist-esm/src}/models/mappers.js +335 -321
  91. package/dist-esm/src/models/mappers.js.map +1 -0
  92. package/dist-esm/src/models/parameters.d.ts +18 -0
  93. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  94. package/dist-esm/src/models/parameters.js +159 -0
  95. package/dist-esm/src/models/parameters.js.map +1 -0
  96. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  97. package/dist-esm/src/operations/index.d.ts.map +1 -0
  98. package/{esm → dist-esm/src}/operations/index.js +3 -5
  99. package/dist-esm/src/operations/index.js.map +1 -0
  100. package/dist-esm/src/operations/operationResults.d.ts +20 -0
  101. package/dist-esm/src/operations/operationResults.d.ts.map +1 -0
  102. package/dist-esm/src/operations/operationResults.js +56 -0
  103. package/dist-esm/src/operations/operationResults.js.map +1 -0
  104. package/dist-esm/src/operations/operations.d.ts +32 -0
  105. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operations/operations.js +120 -0
  107. package/dist-esm/src/operations/operations.js.map +1 -0
  108. package/dist-esm/src/operations/privateEndpointConnections.d.ts +78 -0
  109. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  110. package/dist-esm/src/operations/privateEndpointConnections.js +314 -0
  111. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  112. package/dist-esm/src/operations/privateLinkResources.d.ts +28 -0
  113. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  114. package/dist-esm/src/operations/privateLinkResources.js +85 -0
  115. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  116. package/dist-esm/src/operations/services.d.ts +114 -0
  117. package/dist-esm/src/operations/services.d.ts.map +1 -0
  118. package/dist-esm/src/operations/services.js +527 -0
  119. package/dist-esm/src/operations/services.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  121. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  123. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/operationResults.d.ts +12 -0
  125. package/dist-esm/src/operationsInterfaces/operationResults.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/operationResults.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/operationResults.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  129. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +61 -0
  133. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +20 -0
  137. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/services.d.ts +78 -0
  141. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  144. package/dist-esm/test/sampleTest.d.ts +2 -0
  145. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  146. package/dist-esm/test/sampleTest.js +40 -0
  147. package/dist-esm/test/sampleTest.js.map +1 -0
  148. package/package.json +82 -23
  149. package/review/arm-healthcareapis.api.md +535 -0
  150. package/rollup.config.js +181 -30
  151. package/src/healthcareApisManagementClient.ts +82 -43
  152. package/src/index.ts +12 -0
  153. package/src/lroImpl.ts +34 -0
  154. package/src/models/index.ts +450 -739
  155. package/src/models/mappers.ts +336 -319
  156. package/src/models/parameters.ts +111 -48
  157. package/src/operations/index.ts +3 -5
  158. package/src/operations/operationResults.ts +39 -54
  159. package/src/operations/operations.ts +87 -73
  160. package/src/operations/privateEndpointConnections.ts +321 -161
  161. package/src/operations/privateLinkResources.ts +64 -97
  162. package/src/operations/services.ts +538 -362
  163. package/src/operationsInterfaces/index.ts +13 -0
  164. package/src/operationsInterfaces/operationResults.ts +27 -0
  165. package/src/operationsInterfaces/operations.ts +22 -0
  166. package/src/operationsInterfaces/privateEndpointConnections.ts +115 -0
  167. package/src/operationsInterfaces/privateLinkResources.ts +42 -0
  168. package/src/operationsInterfaces/services.ts +152 -0
  169. package/tsconfig.json +5 -4
  170. package/types/arm-healthcareapis.d.ts +885 -0
  171. package/types/tsdoc-metadata.json +11 -0
  172. package/dist/arm-healthcareapis.js +0 -2100
  173. package/dist/arm-healthcareapis.js.map +0 -1
  174. package/dist/arm-healthcareapis.min.js +0 -1
  175. package/dist/arm-healthcareapis.min.js.map +0 -1
  176. package/esm/healthcareApisManagementClient.d.ts +0 -28
  177. package/esm/healthcareApisManagementClient.d.ts.map +0 -1
  178. package/esm/healthcareApisManagementClient.js +0 -42
  179. package/esm/healthcareApisManagementClient.js.map +0 -1
  180. package/esm/healthcareApisManagementClientContext.d.ts +0 -22
  181. package/esm/healthcareApisManagementClientContext.d.ts.map +0 -1
  182. package/esm/healthcareApisManagementClientContext.js +0 -61
  183. package/esm/healthcareApisManagementClientContext.js.map +0 -1
  184. package/esm/models/index.d.ts +0 -907
  185. package/esm/models/index.d.ts.map +0 -1
  186. package/esm/models/index.js +0 -8
  187. package/esm/models/index.js.map +0 -1
  188. package/esm/models/mappers.d.ts +0 -33
  189. package/esm/models/mappers.d.ts.map +0 -1
  190. package/esm/models/mappers.js.map +0 -1
  191. package/esm/models/operationResultsMappers.d.ts +0 -2
  192. package/esm/models/operationResultsMappers.d.ts.map +0 -1
  193. package/esm/models/operationResultsMappers.js +0 -9
  194. package/esm/models/operationResultsMappers.js.map +0 -1
  195. package/esm/models/operationsMappers.d.ts +0 -2
  196. package/esm/models/operationsMappers.d.ts.map +0 -1
  197. package/esm/models/operationsMappers.js +0 -9
  198. package/esm/models/operationsMappers.js.map +0 -1
  199. package/esm/models/parameters.d.ts +0 -12
  200. package/esm/models/parameters.d.ts.map +0 -1
  201. package/esm/models/parameters.js +0 -120
  202. package/esm/models/parameters.js.map +0 -1
  203. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  204. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  205. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  206. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  207. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  208. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  209. package/esm/models/privateLinkResourcesMappers.js +0 -9
  210. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  211. package/esm/models/servicesMappers.d.ts +0 -2
  212. package/esm/models/servicesMappers.d.ts.map +0 -1
  213. package/esm/models/servicesMappers.js +0 -9
  214. package/esm/models/servicesMappers.js.map +0 -1
  215. package/esm/operations/index.d.ts.map +0 -1
  216. package/esm/operations/index.js.map +0 -1
  217. package/esm/operations/operationResults.d.ts +0 -34
  218. package/esm/operations/operationResults.d.ts.map +0 -1
  219. package/esm/operations/operationResults.js +0 -61
  220. package/esm/operations/operationResults.js.map +0 -1
  221. package/esm/operations/operations.d.ts +0 -46
  222. package/esm/operations/operations.d.ts.map +0 -1
  223. package/esm/operations/operations.js +0 -77
  224. package/esm/operations/operations.js.map +0 -1
  225. package/esm/operations/privateEndpointConnections.d.ts +0 -104
  226. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  227. package/esm/operations/privateEndpointConnections.js +0 -209
  228. package/esm/operations/privateEndpointConnections.js.map +0 -1
  229. package/esm/operations/privateLinkResources.d.ts +0 -58
  230. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  231. package/esm/operations/privateLinkResources.js +0 -91
  232. package/esm/operations/privateLinkResources.js.map +0 -1
  233. package/esm/operations/services.d.ts +0 -177
  234. package/esm/operations/services.d.ts.map +0 -1
  235. package/esm/operations/services.js +0 -362
  236. package/esm/operations/services.js.map +0 -1
  237. package/src/healthcareApisManagementClientContext.ts +0 -68
  238. package/src/models/operationResultsMappers.ts +0 -13
  239. package/src/models/operationsMappers.ts +0 -15
  240. package/src/models/privateEndpointConnectionsMappers.ts +0 -31
  241. package/src/models/privateLinkResourcesMappers.ts +0 -31
  242. 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": "es5",
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
  }