@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.
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 +81 -22
  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,527 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing Services operations. */
16
+ export class ServicesImpl {
17
+ /**
18
+ * Initialize a new instance of the class Services class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Get all the service instances in a subscription.
26
+ * @param options The options parameters.
27
+ */
28
+ list(options) {
29
+ const iter = this.listPagingAll(options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listPagingPage(options);
39
+ }
40
+ };
41
+ }
42
+ listPagingPage(options) {
43
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
44
+ let result = yield __await(this._list(options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listNext(continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listPagingAll(options) {
55
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * Get all the service instances in a resource group.
74
+ * @param resourceGroupName The name of the resource group that contains the service instance.
75
+ * @param options The options parameters.
76
+ */
77
+ listByResourceGroup(resourceGroupName, options) {
78
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
79
+ return {
80
+ next() {
81
+ return iter.next();
82
+ },
83
+ [Symbol.asyncIterator]() {
84
+ return this;
85
+ },
86
+ byPage: () => {
87
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
88
+ }
89
+ };
90
+ }
91
+ listByResourceGroupPagingPage(resourceGroupName, options) {
92
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
93
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
94
+ yield yield __await(result.value || []);
95
+ let continuationToken = result.nextLink;
96
+ while (continuationToken) {
97
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
98
+ continuationToken = result.nextLink;
99
+ yield yield __await(result.value || []);
100
+ }
101
+ });
102
+ }
103
+ listByResourceGroupPagingAll(resourceGroupName, options) {
104
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
105
+ var e_2, _a;
106
+ try {
107
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
108
+ const page = _c.value;
109
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
110
+ }
111
+ }
112
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
113
+ finally {
114
+ try {
115
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
116
+ }
117
+ finally { if (e_2) throw e_2.error; }
118
+ }
119
+ });
120
+ }
121
+ /**
122
+ * Get the metadata of a service instance.
123
+ * @param resourceGroupName The name of the resource group that contains the service instance.
124
+ * @param resourceName The name of the service instance.
125
+ * @param options The options parameters.
126
+ */
127
+ get(resourceGroupName, resourceName, options) {
128
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
129
+ }
130
+ /**
131
+ * Create or update the metadata of a service instance.
132
+ * @param resourceGroupName The name of the resource group that contains the service instance.
133
+ * @param resourceName The name of the service instance.
134
+ * @param serviceDescription The service instance metadata.
135
+ * @param options The options parameters.
136
+ */
137
+ beginCreateOrUpdate(resourceGroupName, resourceName, serviceDescription, options) {
138
+ return __awaiter(this, void 0, void 0, function* () {
139
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
140
+ return this.client.sendOperationRequest(args, spec);
141
+ });
142
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
143
+ var _a;
144
+ let currentRawResponse = undefined;
145
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
146
+ const callback = (rawResponse, flatResponse) => {
147
+ currentRawResponse = rawResponse;
148
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
149
+ };
150
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
151
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
152
+ return {
153
+ flatResponse,
154
+ rawResponse: {
155
+ statusCode: currentRawResponse.status,
156
+ body: currentRawResponse.parsedBody,
157
+ headers: currentRawResponse.headers.toJSON()
158
+ }
159
+ };
160
+ });
161
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, serviceDescription, options }, createOrUpdateOperationSpec);
162
+ return new LroEngine(lro, {
163
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
164
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
165
+ });
166
+ });
167
+ }
168
+ /**
169
+ * Create or update the metadata of a service instance.
170
+ * @param resourceGroupName The name of the resource group that contains the service instance.
171
+ * @param resourceName The name of the service instance.
172
+ * @param serviceDescription The service instance metadata.
173
+ * @param options The options parameters.
174
+ */
175
+ beginCreateOrUpdateAndWait(resourceGroupName, resourceName, serviceDescription, options) {
176
+ return __awaiter(this, void 0, void 0, function* () {
177
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, resourceName, serviceDescription, options);
178
+ return poller.pollUntilDone();
179
+ });
180
+ }
181
+ /**
182
+ * Update the metadata of a service instance.
183
+ * @param resourceGroupName The name of the resource group that contains the service instance.
184
+ * @param resourceName The name of the service instance.
185
+ * @param servicePatchDescription The service instance metadata and security metadata.
186
+ * @param options The options parameters.
187
+ */
188
+ beginUpdate(resourceGroupName, resourceName, servicePatchDescription, options) {
189
+ return __awaiter(this, void 0, void 0, function* () {
190
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
191
+ return this.client.sendOperationRequest(args, spec);
192
+ });
193
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
194
+ var _a;
195
+ let currentRawResponse = undefined;
196
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
197
+ const callback = (rawResponse, flatResponse) => {
198
+ currentRawResponse = rawResponse;
199
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
200
+ };
201
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
202
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
203
+ return {
204
+ flatResponse,
205
+ rawResponse: {
206
+ statusCode: currentRawResponse.status,
207
+ body: currentRawResponse.parsedBody,
208
+ headers: currentRawResponse.headers.toJSON()
209
+ }
210
+ };
211
+ });
212
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, servicePatchDescription, options }, updateOperationSpec);
213
+ return new LroEngine(lro, {
214
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
215
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
216
+ });
217
+ });
218
+ }
219
+ /**
220
+ * Update the metadata of a service instance.
221
+ * @param resourceGroupName The name of the resource group that contains the service instance.
222
+ * @param resourceName The name of the service instance.
223
+ * @param servicePatchDescription The service instance metadata and security metadata.
224
+ * @param options The options parameters.
225
+ */
226
+ beginUpdateAndWait(resourceGroupName, resourceName, servicePatchDescription, options) {
227
+ return __awaiter(this, void 0, void 0, function* () {
228
+ const poller = yield this.beginUpdate(resourceGroupName, resourceName, servicePatchDescription, options);
229
+ return poller.pollUntilDone();
230
+ });
231
+ }
232
+ /**
233
+ * Delete a service instance.
234
+ * @param resourceGroupName The name of the resource group that contains the service instance.
235
+ * @param resourceName The name of the service instance.
236
+ * @param options The options parameters.
237
+ */
238
+ beginDelete(resourceGroupName, resourceName, options) {
239
+ return __awaiter(this, void 0, void 0, function* () {
240
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
241
+ return this.client.sendOperationRequest(args, spec);
242
+ });
243
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
244
+ var _a;
245
+ let currentRawResponse = undefined;
246
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
247
+ const callback = (rawResponse, flatResponse) => {
248
+ currentRawResponse = rawResponse;
249
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
250
+ };
251
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
252
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
253
+ return {
254
+ flatResponse,
255
+ rawResponse: {
256
+ statusCode: currentRawResponse.status,
257
+ body: currentRawResponse.parsedBody,
258
+ headers: currentRawResponse.headers.toJSON()
259
+ }
260
+ };
261
+ });
262
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, options }, deleteOperationSpec);
263
+ return new LroEngine(lro, {
264
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
265
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
266
+ });
267
+ });
268
+ }
269
+ /**
270
+ * Delete a service instance.
271
+ * @param resourceGroupName The name of the resource group that contains the service instance.
272
+ * @param resourceName The name of the service instance.
273
+ * @param options The options parameters.
274
+ */
275
+ beginDeleteAndWait(resourceGroupName, resourceName, options) {
276
+ return __awaiter(this, void 0, void 0, function* () {
277
+ const poller = yield this.beginDelete(resourceGroupName, resourceName, options);
278
+ return poller.pollUntilDone();
279
+ });
280
+ }
281
+ /**
282
+ * Get all the service instances in a subscription.
283
+ * @param options The options parameters.
284
+ */
285
+ _list(options) {
286
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
287
+ }
288
+ /**
289
+ * Get all the service instances in a resource group.
290
+ * @param resourceGroupName The name of the resource group that contains the service instance.
291
+ * @param options The options parameters.
292
+ */
293
+ _listByResourceGroup(resourceGroupName, options) {
294
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
295
+ }
296
+ /**
297
+ * Check if a service instance name is available.
298
+ * @param checkNameAvailabilityInputs Set the name parameter in the CheckNameAvailabilityParameters
299
+ * structure to the name of the service instance to check.
300
+ * @param options The options parameters.
301
+ */
302
+ checkNameAvailability(checkNameAvailabilityInputs, options) {
303
+ return this.client.sendOperationRequest({ checkNameAvailabilityInputs, options }, checkNameAvailabilityOperationSpec);
304
+ }
305
+ /**
306
+ * ListNext
307
+ * @param nextLink The nextLink from the previous successful call to the List method.
308
+ * @param options The options parameters.
309
+ */
310
+ _listNext(nextLink, options) {
311
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
312
+ }
313
+ /**
314
+ * ListByResourceGroupNext
315
+ * @param resourceGroupName The name of the resource group that contains the service instance.
316
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
317
+ * @param options The options parameters.
318
+ */
319
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
320
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
321
+ }
322
+ }
323
+ // Operation Specifications
324
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
325
+ const getOperationSpec = {
326
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
327
+ httpMethod: "GET",
328
+ responses: {
329
+ 200: {
330
+ bodyMapper: Mappers.ServicesDescription
331
+ },
332
+ default: {
333
+ bodyMapper: Mappers.ErrorDetails
334
+ }
335
+ },
336
+ queryParameters: [Parameters.apiVersion],
337
+ urlParameters: [
338
+ Parameters.$host,
339
+ Parameters.subscriptionId,
340
+ Parameters.resourceGroupName,
341
+ Parameters.resourceName
342
+ ],
343
+ headerParameters: [Parameters.accept],
344
+ serializer
345
+ };
346
+ const createOrUpdateOperationSpec = {
347
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
348
+ httpMethod: "PUT",
349
+ responses: {
350
+ 200: {
351
+ bodyMapper: Mappers.ServicesDescription
352
+ },
353
+ 201: {
354
+ bodyMapper: Mappers.ServicesDescription
355
+ },
356
+ 202: {
357
+ bodyMapper: Mappers.ServicesDescription
358
+ },
359
+ 204: {
360
+ bodyMapper: Mappers.ServicesDescription
361
+ },
362
+ default: {
363
+ bodyMapper: Mappers.ErrorDetails
364
+ }
365
+ },
366
+ requestBody: Parameters.serviceDescription,
367
+ queryParameters: [Parameters.apiVersion],
368
+ urlParameters: [
369
+ Parameters.$host,
370
+ Parameters.subscriptionId,
371
+ Parameters.resourceGroupName,
372
+ Parameters.resourceName
373
+ ],
374
+ headerParameters: [Parameters.accept, Parameters.contentType],
375
+ mediaType: "json",
376
+ serializer
377
+ };
378
+ const updateOperationSpec = {
379
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
380
+ httpMethod: "PATCH",
381
+ responses: {
382
+ 200: {
383
+ bodyMapper: Mappers.ServicesDescription
384
+ },
385
+ 201: {
386
+ bodyMapper: Mappers.ServicesDescription
387
+ },
388
+ 202: {
389
+ bodyMapper: Mappers.ServicesDescription
390
+ },
391
+ 204: {
392
+ bodyMapper: Mappers.ServicesDescription
393
+ },
394
+ default: {
395
+ bodyMapper: Mappers.ErrorDetails
396
+ }
397
+ },
398
+ requestBody: Parameters.servicePatchDescription,
399
+ queryParameters: [Parameters.apiVersion],
400
+ urlParameters: [
401
+ Parameters.$host,
402
+ Parameters.subscriptionId,
403
+ Parameters.resourceGroupName,
404
+ Parameters.resourceName
405
+ ],
406
+ headerParameters: [Parameters.accept, Parameters.contentType],
407
+ mediaType: "json",
408
+ serializer
409
+ };
410
+ const deleteOperationSpec = {
411
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}",
412
+ httpMethod: "DELETE",
413
+ responses: {
414
+ 200: {},
415
+ 201: {},
416
+ 202: {},
417
+ 204: {},
418
+ default: {
419
+ bodyMapper: Mappers.ErrorDetails
420
+ }
421
+ },
422
+ queryParameters: [Parameters.apiVersion],
423
+ urlParameters: [
424
+ Parameters.$host,
425
+ Parameters.subscriptionId,
426
+ Parameters.resourceGroupName,
427
+ Parameters.resourceName
428
+ ],
429
+ headerParameters: [Parameters.accept],
430
+ serializer
431
+ };
432
+ const listOperationSpec = {
433
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services",
434
+ httpMethod: "GET",
435
+ responses: {
436
+ 200: {
437
+ bodyMapper: Mappers.ServicesDescriptionListResult
438
+ },
439
+ default: {
440
+ bodyMapper: Mappers.ErrorDetails
441
+ }
442
+ },
443
+ queryParameters: [Parameters.apiVersion],
444
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
445
+ headerParameters: [Parameters.accept],
446
+ serializer
447
+ };
448
+ const listByResourceGroupOperationSpec = {
449
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services",
450
+ httpMethod: "GET",
451
+ responses: {
452
+ 200: {
453
+ bodyMapper: Mappers.ServicesDescriptionListResult
454
+ },
455
+ default: {
456
+ bodyMapper: Mappers.ErrorDetails
457
+ }
458
+ },
459
+ queryParameters: [Parameters.apiVersion],
460
+ urlParameters: [
461
+ Parameters.$host,
462
+ Parameters.subscriptionId,
463
+ Parameters.resourceGroupName
464
+ ],
465
+ headerParameters: [Parameters.accept],
466
+ serializer
467
+ };
468
+ const checkNameAvailabilityOperationSpec = {
469
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability",
470
+ httpMethod: "POST",
471
+ responses: {
472
+ 200: {
473
+ bodyMapper: Mappers.ServicesNameAvailabilityInfo
474
+ },
475
+ default: {
476
+ bodyMapper: Mappers.ErrorDetails
477
+ }
478
+ },
479
+ requestBody: Parameters.checkNameAvailabilityInputs,
480
+ queryParameters: [Parameters.apiVersion],
481
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
482
+ headerParameters: [Parameters.accept, Parameters.contentType],
483
+ mediaType: "json",
484
+ serializer
485
+ };
486
+ const listNextOperationSpec = {
487
+ path: "{nextLink}",
488
+ httpMethod: "GET",
489
+ responses: {
490
+ 200: {
491
+ bodyMapper: Mappers.ServicesDescriptionListResult
492
+ },
493
+ default: {
494
+ bodyMapper: Mappers.ErrorDetails
495
+ }
496
+ },
497
+ queryParameters: [Parameters.apiVersion],
498
+ urlParameters: [
499
+ Parameters.$host,
500
+ Parameters.subscriptionId,
501
+ Parameters.nextLink
502
+ ],
503
+ headerParameters: [Parameters.accept],
504
+ serializer
505
+ };
506
+ const listByResourceGroupNextOperationSpec = {
507
+ path: "{nextLink}",
508
+ httpMethod: "GET",
509
+ responses: {
510
+ 200: {
511
+ bodyMapper: Mappers.ServicesDescriptionListResult
512
+ },
513
+ default: {
514
+ bodyMapper: Mappers.ErrorDetails
515
+ }
516
+ },
517
+ queryParameters: [Parameters.apiVersion],
518
+ urlParameters: [
519
+ Parameters.$host,
520
+ Parameters.subscriptionId,
521
+ Parameters.resourceGroupName,
522
+ Parameters.nextLink
523
+ ],
524
+ headerParameters: [Parameters.accept],
525
+ serializer
526
+ };
527
+ //# sourceMappingURL=services.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/operations/services.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAwBrC,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAoC;QAEpC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OA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KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from "./services";
2
+ export * from "./operations";
3
+ export * from "./operationResults";
4
+ export * from "./privateEndpointConnections";
5
+ export * from "./privateLinkResources";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
@@ -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
+ export * from "./services";
9
+ export * from "./operations";
10
+ export * from "./operationResults";
11
+ export * from "./privateEndpointConnections";
12
+ export * from "./privateLinkResources";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { OperationResultsGetOptionalParams, OperationResultsGetResponse } from "../models";
2
+ /** Interface representing a OperationResults. */
3
+ export interface OperationResults {
4
+ /**
5
+ * Get the operation result for a long running operation.
6
+ * @param locationName The location of the operation.
7
+ * @param operationResultId The ID of the operation result to get.
8
+ * @param options The options parameters.
9
+ */
10
+ get(locationName: string, operationResultId: string, options?: OperationResultsGetOptionalParams): Promise<OperationResultsGetResponse>;
11
+ }
12
+ //# sourceMappingURL=operationResults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationResults.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationResults.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,WAAW,CAAC;AAEnB,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,GAAG,CACD,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=operationResults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationResults.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationResults.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, OperationsListOptionalParams } from "../models";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Lists all of the available Healthcare service REST API operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}