@azure/arm-hdinsight 0.22.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -74
  4. package/dist/index.js +7702 -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/src/hDInsightManagementClient.d.ts +29 -0
  9. package/dist-esm/src/hDInsightManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/hDInsightManagementClient.js +62 -0
  11. package/dist-esm/src/hDInsightManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/{esm/models/configurationsMappers.js → dist-esm/src/index.js} +5 -2
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1966 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +133 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +111 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1813 -1305
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +37 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +280 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/applications.d.ts +90 -0
  33. package/dist-esm/src/operations/applications.d.ts.map +1 -0
  34. package/dist-esm/src/operations/applications.js +367 -0
  35. package/dist-esm/src/operations/applications.js.map +1 -0
  36. package/dist-esm/src/operations/clusters.d.ts +214 -0
  37. package/dist-esm/src/operations/clusters.d.ts.map +1 -0
  38. package/dist-esm/src/operations/clusters.js +979 -0
  39. package/dist-esm/src/operations/clusters.js.map +1 -0
  40. package/dist-esm/src/operations/configurations.d.ts +54 -0
  41. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/configurations.js +178 -0
  43. package/dist-esm/src/operations/configurations.js.map +1 -0
  44. package/dist-esm/src/operations/extensions.d.ts +139 -0
  45. package/dist-esm/src/operations/extensions.d.ts.map +1 -0
  46. package/dist-esm/src/operations/extensions.js +602 -0
  47. package/dist-esm/src/operations/extensions.js.map +1 -0
  48. package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +19 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/locations.d.ts +52 -0
  53. package/dist-esm/src/operations/locations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/locations.js +199 -0
  55. package/dist-esm/src/operations/locations.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +120 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  61. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist-esm/src/operations/privateEndpointConnections.js +349 -0
  63. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  64. package/dist-esm/src/operations/privateLinkResources.d.ts +28 -0
  65. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateLinkResources.js +85 -0
  67. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  68. package/dist-esm/src/operations/scriptActions.d.ts +62 -0
  69. package/dist-esm/src/operations/scriptActions.d.ts.map +1 -0
  70. package/dist-esm/src/operations/scriptActions.js +232 -0
  71. package/dist-esm/src/operations/scriptActions.js.map +1 -0
  72. package/dist-esm/src/operations/scriptExecutionHistory.d.ts +46 -0
  73. package/dist-esm/src/operations/scriptExecutionHistory.d.ts.map +1 -0
  74. package/dist-esm/src/operations/scriptExecutionHistory.js +167 -0
  75. package/dist-esm/src/operations/scriptExecutionHistory.js.map +1 -0
  76. package/dist-esm/src/operations/virtualMachines.d.ts +45 -0
  77. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
  78. package/dist-esm/src/operations/virtualMachines.js +169 -0
  79. package/dist-esm/src/operations/virtualMachines.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/applications.d.ts +65 -0
  81. package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -0
  82. package/{src/models/virtualMachinesMappers.ts → dist-esm/src/operationsInterfaces/applications.js} +2 -5
  83. package/dist-esm/src/operationsInterfaces/applications.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/clusters.d.ts +178 -0
  85. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
  86. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/clusters.js} +2 -1
  87. package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/configurations.d.ts +46 -0
  89. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  90. package/{src/models/configurationsMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -5
  91. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/extensions.d.ts +131 -0
  93. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -0
  94. package/{esm/models/virtualMachinesMappers.js → dist-esm/src/operationsInterfaces/extensions.js} +2 -2
  95. package/dist-esm/src/operationsInterfaces/extensions.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  97. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  99. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/locations.d.ts +44 -0
  101. package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/locations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  105. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +20 -0
  113. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/scriptActions.d.ts +37 -0
  117. package/dist-esm/src/operationsInterfaces/scriptActions.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/scriptActions.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/scriptActions.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.d.ts +21 -0
  121. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +37 -0
  125. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
  128. package/dist-esm/test/sampleTest.d.ts +2 -0
  129. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  130. package/dist-esm/test/sampleTest.js +40 -0
  131. package/dist-esm/test/sampleTest.js.map +1 -0
  132. package/package.json +65 -31
  133. package/review/arm-hdinsight.api.md +1678 -0
  134. package/rollup.config.js +181 -30
  135. package/src/hDInsightManagementClient.ts +106 -44
  136. package/src/{models/extensionsMappers.ts → index.ts} +4 -6
  137. package/src/lroImpl.ts +34 -0
  138. package/src/models/index.ts +1760 -2084
  139. package/src/models/mappers.ts +1840 -1291
  140. package/src/models/parameters.ts +236 -44
  141. package/src/operations/applications.ts +383 -187
  142. package/src/operations/clusters.ts +1051 -535
  143. package/src/operations/configurations.ts +162 -154
  144. package/src/operations/extensions.ts +693 -216
  145. package/src/operations/index.ts +3 -2
  146. package/src/operations/locations.ts +186 -99
  147. package/src/operations/operations.ts +85 -73
  148. package/src/operations/privateEndpointConnections.ts +495 -0
  149. package/src/operations/privateLinkResources.ts +116 -0
  150. package/src/operations/scriptActions.ts +215 -157
  151. package/src/operations/scriptExecutionHistory.ts +155 -123
  152. package/src/operations/virtualMachines.ts +166 -101
  153. package/src/operationsInterfaces/applications.ts +126 -0
  154. package/src/operationsInterfaces/clusters.ts +327 -0
  155. package/src/operationsInterfaces/configurations.ts +77 -0
  156. package/src/operationsInterfaces/extensions.ts +234 -0
  157. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +4 -3
  158. package/src/operationsInterfaces/locations.ts +88 -0
  159. package/src/operationsInterfaces/operations.ts +22 -0
  160. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  161. package/src/operationsInterfaces/privateLinkResources.ts +42 -0
  162. package/src/operationsInterfaces/scriptActions.ts +73 -0
  163. package/src/operationsInterfaces/scriptExecutionHistory.ts +43 -0
  164. package/src/operationsInterfaces/virtualMachines.ts +70 -0
  165. package/tsconfig.json +3 -3
  166. package/types/arm-hdinsight.d.ts +2866 -0
  167. package/types/tsdoc-metadata.json +11 -0
  168. package/dist/arm-hdinsight.js +0 -5759
  169. package/dist/arm-hdinsight.js.map +0 -1
  170. package/dist/arm-hdinsight.min.js +0 -1
  171. package/dist/arm-hdinsight.min.js.map +0 -1
  172. package/esm/hDInsightManagementClient.d.ts +0 -27
  173. package/esm/hDInsightManagementClient.d.ts.map +0 -1
  174. package/esm/hDInsightManagementClient.js +0 -41
  175. package/esm/hDInsightManagementClient.js.map +0 -1
  176. package/esm/hDInsightManagementClientContext.d.ts +0 -17
  177. package/esm/hDInsightManagementClientContext.d.ts.map +0 -1
  178. package/esm/hDInsightManagementClientContext.js +0 -56
  179. package/esm/hDInsightManagementClientContext.js.map +0 -1
  180. package/esm/models/applicationsMappers.d.ts +0 -2
  181. package/esm/models/applicationsMappers.d.ts.map +0 -1
  182. package/esm/models/applicationsMappers.js +0 -9
  183. package/esm/models/applicationsMappers.js.map +0 -1
  184. package/esm/models/clustersMappers.d.ts +0 -2
  185. package/esm/models/clustersMappers.d.ts.map +0 -1
  186. package/esm/models/clustersMappers.js +0 -9
  187. package/esm/models/clustersMappers.js.map +0 -1
  188. package/esm/models/configurationsMappers.d.ts +0 -2
  189. package/esm/models/configurationsMappers.d.ts.map +0 -1
  190. package/esm/models/configurationsMappers.js.map +0 -1
  191. package/esm/models/extensionsMappers.d.ts +0 -2
  192. package/esm/models/extensionsMappers.d.ts.map +0 -1
  193. package/esm/models/extensionsMappers.js +0 -9
  194. package/esm/models/extensionsMappers.js.map +0 -1
  195. package/esm/models/index.d.ts +0 -2397
  196. package/esm/models/index.d.ts.map +0 -1
  197. package/esm/models/index.js.map +0 -1
  198. package/esm/models/locationsMappers.d.ts +0 -2
  199. package/esm/models/locationsMappers.d.ts.map +0 -1
  200. package/esm/models/locationsMappers.js +0 -9
  201. package/esm/models/locationsMappers.js.map +0 -1
  202. package/esm/models/mappers.d.ts +0 -94
  203. package/esm/models/mappers.d.ts.map +0 -1
  204. package/esm/models/mappers.js.map +0 -1
  205. package/esm/models/operationsMappers.d.ts +0 -2
  206. package/esm/models/operationsMappers.d.ts.map +0 -1
  207. package/esm/models/operationsMappers.js +0 -9
  208. package/esm/models/operationsMappers.js.map +0 -1
  209. package/esm/models/parameters.d.ts +0 -15
  210. package/esm/models/parameters.d.ts.map +0 -1
  211. package/esm/models/parameters.js +0 -142
  212. package/esm/models/parameters.js.map +0 -1
  213. package/esm/models/scriptActionsMappers.d.ts +0 -2
  214. package/esm/models/scriptActionsMappers.d.ts.map +0 -1
  215. package/esm/models/scriptActionsMappers.js +0 -9
  216. package/esm/models/scriptActionsMappers.js.map +0 -1
  217. package/esm/models/scriptExecutionHistoryMappers.d.ts +0 -2
  218. package/esm/models/scriptExecutionHistoryMappers.d.ts.map +0 -1
  219. package/esm/models/scriptExecutionHistoryMappers.js +0 -9
  220. package/esm/models/scriptExecutionHistoryMappers.js.map +0 -1
  221. package/esm/models/virtualMachinesMappers.d.ts +0 -2
  222. package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
  223. package/esm/models/virtualMachinesMappers.js.map +0 -1
  224. package/esm/operations/applications.d.ts +0 -115
  225. package/esm/operations/applications.d.ts.map +0 -1
  226. package/esm/operations/applications.js +0 -233
  227. package/esm/operations/applications.js.map +0 -1
  228. package/esm/operations/clusters.d.ts +0 -273
  229. package/esm/operations/clusters.d.ts.map +0 -1
  230. package/esm/operations/clusters.js +0 -621
  231. package/esm/operations/clusters.js.map +0 -1
  232. package/esm/operations/configurations.d.ts +0 -90
  233. package/esm/operations/configurations.d.ts.map +0 -1
  234. package/esm/operations/configurations.js +0 -173
  235. package/esm/operations/configurations.js.map +0 -1
  236. package/esm/operations/extensions.d.ts +0 -131
  237. package/esm/operations/extensions.d.ts.map +0 -1
  238. package/esm/operations/extensions.js +0 -307
  239. package/esm/operations/extensions.js.map +0 -1
  240. package/esm/operations/index.d.ts.map +0 -1
  241. package/esm/operations/index.js.map +0 -1
  242. package/esm/operations/locations.d.ts +0 -67
  243. package/esm/operations/locations.d.ts.map +0 -1
  244. package/esm/operations/locations.js +0 -113
  245. package/esm/operations/locations.js.map +0 -1
  246. package/esm/operations/operations.d.ts +0 -46
  247. package/esm/operations/operations.d.ts.map +0 -1
  248. package/esm/operations/operations.js +0 -79
  249. package/esm/operations/operations.js.map +0 -1
  250. package/esm/operations/scriptActions.d.ts +0 -100
  251. package/esm/operations/scriptActions.d.ts.map +0 -1
  252. package/esm/operations/scriptActions.js +0 -151
  253. package/esm/operations/scriptActions.js.map +0 -1
  254. package/esm/operations/scriptExecutionHistory.d.ts +0 -76
  255. package/esm/operations/scriptExecutionHistory.d.ts.map +0 -1
  256. package/esm/operations/scriptExecutionHistory.js +0 -117
  257. package/esm/operations/scriptExecutionHistory.js.map +0 -1
  258. package/esm/operations/virtualMachines.d.ts +0 -53
  259. package/esm/operations/virtualMachines.d.ts.map +0 -1
  260. package/esm/operations/virtualMachines.js +0 -134
  261. package/esm/operations/virtualMachines.js.map +0 -1
  262. package/src/hDInsightManagementClientContext.ts +0 -62
  263. package/src/models/applicationsMappers.ts +0 -56
  264. package/src/models/clustersMappers.ts +0 -65
  265. package/src/models/locationsMappers.ts +0 -28
  266. package/src/models/operationsMappers.ts +0 -18
  267. package/src/models/scriptActionsMappers.ts +0 -15
  268. package/src/models/scriptExecutionHistoryMappers.ts +0 -15
@@ -0,0 +1,52 @@
1
+ import { Locations } from "../operationsInterfaces";
2
+ import { HDInsightManagementClient } from "../hDInsightManagementClient";
3
+ import { LocationsGetCapabilitiesOptionalParams, LocationsGetCapabilitiesResponse, LocationsListUsagesOptionalParams, LocationsListUsagesResponse, LocationsListBillingSpecsOptionalParams, LocationsListBillingSpecsResponse, LocationsGetAzureAsyncOperationStatusOptionalParams, LocationsGetAzureAsyncOperationStatusResponse, NameAvailabilityCheckRequestParameters, LocationsCheckNameAvailabilityOptionalParams, LocationsCheckNameAvailabilityResponse, ClusterCreateRequestValidationParameters, LocationsValidateClusterCreateRequestOptionalParams, LocationsValidateClusterCreateRequestResponse } from "../models";
4
+ /** Class containing Locations operations. */
5
+ export declare class LocationsImpl implements Locations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Locations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: HDInsightManagementClient);
12
+ /**
13
+ * Gets the capabilities for the specified location.
14
+ * @param location The Azure location (region) for which to make the request.
15
+ * @param options The options parameters.
16
+ */
17
+ getCapabilities(location: string, options?: LocationsGetCapabilitiesOptionalParams): Promise<LocationsGetCapabilitiesResponse>;
18
+ /**
19
+ * Lists the usages for the specified location.
20
+ * @param location The Azure location (region) for which to make the request.
21
+ * @param options The options parameters.
22
+ */
23
+ listUsages(location: string, options?: LocationsListUsagesOptionalParams): Promise<LocationsListUsagesResponse>;
24
+ /**
25
+ * Lists the billingSpecs for the specified subscription and location.
26
+ * @param location The Azure location (region) for which to make the request.
27
+ * @param options The options parameters.
28
+ */
29
+ listBillingSpecs(location: string, options?: LocationsListBillingSpecsOptionalParams): Promise<LocationsListBillingSpecsResponse>;
30
+ /**
31
+ * Get the async operation status.
32
+ * @param location The Azure location (region) for which to make the request.
33
+ * @param operationId The long running operation id.
34
+ * @param options The options parameters.
35
+ */
36
+ getAzureAsyncOperationStatus(location: string, operationId: string, options?: LocationsGetAzureAsyncOperationStatusOptionalParams): Promise<LocationsGetAzureAsyncOperationStatusResponse>;
37
+ /**
38
+ * Check the cluster name is available or not.
39
+ * @param location The Azure location (region) for which to make the request.
40
+ * @param parameters The request spec of checking name availability.
41
+ * @param options The options parameters.
42
+ */
43
+ checkNameAvailability(location: string, parameters: NameAvailabilityCheckRequestParameters, options?: LocationsCheckNameAvailabilityOptionalParams): Promise<LocationsCheckNameAvailabilityResponse>;
44
+ /**
45
+ * Validate the cluster create request spec is valid or not.
46
+ * @param location The Azure location (region) for which to make the request.
47
+ * @param parameters The cluster create request specification.
48
+ * @param options The options parameters.
49
+ */
50
+ validateClusterCreateRequest(location: string, parameters: ClusterCreateRequestValidationParameters, options?: LocationsValidateClusterCreateRequestOptionalParams): Promise<LocationsValidateClusterCreateRequestResponse>;
51
+ }
52
+ //# sourceMappingURL=locations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locations.d.ts","sourceRoot":"","sources":["../../../src/operations/locations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EACL,sCAAsC,EACtC,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,uCAAuC,EACvC,iCAAiC,EACjC,mDAAmD,EACnD,6CAA6C,EAC7C,sCAAsC,EACtC,4CAA4C,EAC5C,sCAAsC,EACtC,wCAAwC,EACxC,mDAAmD,EACnD,6CAA6C,EAC9C,MAAM,WAAW,CAAC;AAEnB,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;OAIG;IACH,eAAe,CACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;OAIG;IACH,UAAU,CACR,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAOvC;;;;OAIG;IACH,gBAAgB,CACd,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;;OAKG;IACH,4BAA4B,CAC1B,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;IAOzD;;;;;OAKG;IACH,qBAAqB,CACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,sCAAsC,EAClD,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;OAKG;IACH,4BAA4B,CAC1B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;CAM1D"}
@@ -0,0 +1,199 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing Locations operations. */
12
+ export class LocationsImpl {
13
+ /**
14
+ * Initialize a new instance of the class Locations class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Gets the capabilities for the specified location.
22
+ * @param location The Azure location (region) for which to make the request.
23
+ * @param options The options parameters.
24
+ */
25
+ getCapabilities(location, options) {
26
+ return this.client.sendOperationRequest({ location, options }, getCapabilitiesOperationSpec);
27
+ }
28
+ /**
29
+ * Lists the usages for the specified location.
30
+ * @param location The Azure location (region) for which to make the request.
31
+ * @param options The options parameters.
32
+ */
33
+ listUsages(location, options) {
34
+ return this.client.sendOperationRequest({ location, options }, listUsagesOperationSpec);
35
+ }
36
+ /**
37
+ * Lists the billingSpecs for the specified subscription and location.
38
+ * @param location The Azure location (region) for which to make the request.
39
+ * @param options The options parameters.
40
+ */
41
+ listBillingSpecs(location, options) {
42
+ return this.client.sendOperationRequest({ location, options }, listBillingSpecsOperationSpec);
43
+ }
44
+ /**
45
+ * Get the async operation status.
46
+ * @param location The Azure location (region) for which to make the request.
47
+ * @param operationId The long running operation id.
48
+ * @param options The options parameters.
49
+ */
50
+ getAzureAsyncOperationStatus(location, operationId, options) {
51
+ return this.client.sendOperationRequest({ location, operationId, options }, getAzureAsyncOperationStatusOperationSpec);
52
+ }
53
+ /**
54
+ * Check the cluster name is available or not.
55
+ * @param location The Azure location (region) for which to make the request.
56
+ * @param parameters The request spec of checking name availability.
57
+ * @param options The options parameters.
58
+ */
59
+ checkNameAvailability(location, parameters, options) {
60
+ return this.client.sendOperationRequest({ location, parameters, options }, checkNameAvailabilityOperationSpec);
61
+ }
62
+ /**
63
+ * Validate the cluster create request spec is valid or not.
64
+ * @param location The Azure location (region) for which to make the request.
65
+ * @param parameters The cluster create request specification.
66
+ * @param options The options parameters.
67
+ */
68
+ validateClusterCreateRequest(location, parameters, options) {
69
+ return this.client.sendOperationRequest({ location, parameters, options }, validateClusterCreateRequestOperationSpec);
70
+ }
71
+ }
72
+ // Operation Specifications
73
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
74
+ const getCapabilitiesOperationSpec = {
75
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities",
76
+ httpMethod: "GET",
77
+ responses: {
78
+ 200: {
79
+ bodyMapper: Mappers.CapabilitiesResult
80
+ },
81
+ default: {
82
+ bodyMapper: Mappers.ErrorResponse
83
+ }
84
+ },
85
+ queryParameters: [Parameters.apiVersion],
86
+ urlParameters: [
87
+ Parameters.$host,
88
+ Parameters.subscriptionId,
89
+ Parameters.location
90
+ ],
91
+ headerParameters: [Parameters.accept],
92
+ serializer
93
+ };
94
+ const listUsagesOperationSpec = {
95
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages",
96
+ httpMethod: "GET",
97
+ responses: {
98
+ 200: {
99
+ bodyMapper: Mappers.UsagesListResult
100
+ },
101
+ default: {
102
+ bodyMapper: Mappers.ErrorResponse
103
+ }
104
+ },
105
+ queryParameters: [Parameters.apiVersion],
106
+ urlParameters: [
107
+ Parameters.$host,
108
+ Parameters.subscriptionId,
109
+ Parameters.location
110
+ ],
111
+ headerParameters: [Parameters.accept],
112
+ serializer
113
+ };
114
+ const listBillingSpecsOperationSpec = {
115
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs",
116
+ httpMethod: "GET",
117
+ responses: {
118
+ 200: {
119
+ bodyMapper: Mappers.BillingResponseListResult
120
+ },
121
+ default: {
122
+ bodyMapper: Mappers.ErrorResponse
123
+ }
124
+ },
125
+ queryParameters: [Parameters.apiVersion],
126
+ urlParameters: [
127
+ Parameters.$host,
128
+ Parameters.subscriptionId,
129
+ Parameters.location
130
+ ],
131
+ headerParameters: [Parameters.accept],
132
+ serializer
133
+ };
134
+ const getAzureAsyncOperationStatusOperationSpec = {
135
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/azureasyncoperations/{operationId}",
136
+ httpMethod: "GET",
137
+ responses: {
138
+ 200: {
139
+ bodyMapper: Mappers.AsyncOperationResult
140
+ },
141
+ default: {
142
+ bodyMapper: Mappers.ErrorResponse
143
+ }
144
+ },
145
+ queryParameters: [Parameters.apiVersion],
146
+ urlParameters: [
147
+ Parameters.$host,
148
+ Parameters.subscriptionId,
149
+ Parameters.operationId,
150
+ Parameters.location
151
+ ],
152
+ headerParameters: [Parameters.accept],
153
+ serializer
154
+ };
155
+ const checkNameAvailabilityOperationSpec = {
156
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability",
157
+ httpMethod: "POST",
158
+ responses: {
159
+ 200: {
160
+ bodyMapper: Mappers.NameAvailabilityCheckResult
161
+ },
162
+ default: {
163
+ bodyMapper: Mappers.ErrorResponse
164
+ }
165
+ },
166
+ requestBody: Parameters.parameters9,
167
+ queryParameters: [Parameters.apiVersion],
168
+ urlParameters: [
169
+ Parameters.$host,
170
+ Parameters.subscriptionId,
171
+ Parameters.location
172
+ ],
173
+ headerParameters: [Parameters.contentType, Parameters.accept],
174
+ mediaType: "json",
175
+ serializer
176
+ };
177
+ const validateClusterCreateRequestOperationSpec = {
178
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest",
179
+ httpMethod: "POST",
180
+ responses: {
181
+ 200: {
182
+ bodyMapper: Mappers.ClusterCreateValidationResult
183
+ },
184
+ default: {
185
+ bodyMapper: Mappers.ErrorResponse
186
+ }
187
+ },
188
+ requestBody: Parameters.parameters10,
189
+ queryParameters: [Parameters.apiVersion],
190
+ urlParameters: [
191
+ Parameters.$host,
192
+ Parameters.subscriptionId,
193
+ Parameters.location
194
+ ],
195
+ headerParameters: [Parameters.contentType, Parameters.accept],
196
+ mediaType: "json",
197
+ serializer
198
+ };
199
+ //# sourceMappingURL=locations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locations.js","sourceRoot":"","sources":["../../../src/operations/locations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAmBnD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,eAAe,CACb,QAAgB,EAChB,OAAgD;QAEhD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAgB,EAChB,OAA2C;QAE3C,OAAO,IA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AAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces";
3
+ import { HDInsightManagementClient } from "../hDInsightManagementClient";
4
+ import { Operation, OperationsListOptionalParams } from "../models";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: HDInsightManagementClient);
13
+ /**
14
+ * Lists all of the available HDInsight REST API operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists all of the available HDInsight REST API operations.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAezB,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,120 @@
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 } 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
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Operations operations. */
14
+ export class OperationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Operations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all of the available HDInsight REST API operations.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ let continuationToken = result.nextLink;
45
+ while (continuationToken) {
46
+ result = yield __await(this._listNext(continuationToken, options));
47
+ continuationToken = result.nextLink;
48
+ yield yield __await(result.value || []);
49
+ }
50
+ });
51
+ }
52
+ listPagingAll(options) {
53
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
54
+ var e_1, _a;
55
+ try {
56
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
+ const page = _c.value;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * Lists all of the available HDInsight REST API operations.
72
+ * @param options The options parameters.
73
+ */
74
+ _list(options) {
75
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
76
+ }
77
+ /**
78
+ * ListNext
79
+ * @param nextLink The nextLink from the previous successful call to the List method.
80
+ * @param options The options parameters.
81
+ */
82
+ _listNext(nextLink, options) {
83
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
84
+ }
85
+ }
86
+ // Operation Specifications
87
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
88
+ const listOperationSpec = {
89
+ path: "/providers/Microsoft.HDInsight/operations",
90
+ httpMethod: "GET",
91
+ responses: {
92
+ 200: {
93
+ bodyMapper: Mappers.OperationListResult
94
+ },
95
+ default: {
96
+ bodyMapper: Mappers.ErrorResponse
97
+ }
98
+ },
99
+ queryParameters: [Parameters.apiVersion],
100
+ urlParameters: [Parameters.$host],
101
+ headerParameters: [Parameters.accept],
102
+ serializer
103
+ };
104
+ const listNextOperationSpec = {
105
+ path: "{nextLink}",
106
+ httpMethod: "GET",
107
+ responses: {
108
+ 200: {
109
+ bodyMapper: Mappers.OperationListResult
110
+ },
111
+ default: {
112
+ bodyMapper: Mappers.ErrorResponse
113
+ }
114
+ },
115
+ queryParameters: [Parameters.apiVersion],
116
+ urlParameters: [Parameters.$host, Parameters.nextLink],
117
+ headerParameters: [Parameters.accept],
118
+ serializer
119
+ };
120
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"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U,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,81 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateEndpointConnections } from "../operationsInterfaces";
3
+ import { HDInsightManagementClient } from "../hDInsightManagementClient";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListByClusterOptionalParams, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
6
+ /** Class containing PrivateEndpointConnections operations. */
7
+ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class PrivateEndpointConnections class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: HDInsightManagementClient);
14
+ /**
15
+ * Lists the private endpoint connections for a HDInsight cluster.
16
+ * @param resourceGroupName The name of the resource group.
17
+ * @param clusterName The name of the cluster.
18
+ * @param options The options parameters.
19
+ */
20
+ listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
21
+ private listByClusterPagingPage;
22
+ private listByClusterPagingAll;
23
+ /**
24
+ * Lists the private endpoint connections for a HDInsight cluster.
25
+ * @param resourceGroupName The name of the resource group.
26
+ * @param clusterName The name of the cluster.
27
+ * @param options The options parameters.
28
+ */
29
+ private _listByCluster;
30
+ /**
31
+ * Approve or reject a private endpoint connection manually.
32
+ * @param resourceGroupName The name of the resource group.
33
+ * @param clusterName The name of the cluster.
34
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
35
+ * @param parameters The private endpoint connection create or update request.
36
+ * @param options The options parameters.
37
+ */
38
+ beginCreateOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
39
+ /**
40
+ * Approve or reject a private endpoint connection manually.
41
+ * @param resourceGroupName The name of the resource group.
42
+ * @param clusterName The name of the cluster.
43
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
44
+ * @param parameters The private endpoint connection create or update request.
45
+ * @param options The options parameters.
46
+ */
47
+ beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
48
+ /**
49
+ * Gets the specific private endpoint connection.
50
+ * @param resourceGroupName The name of the resource group.
51
+ * @param clusterName The name of the cluster.
52
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
53
+ * @param options The options parameters.
54
+ */
55
+ get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
56
+ /**
57
+ * Deletes the specific private endpoint connection.
58
+ * @param resourceGroupName The name of the resource group.
59
+ * @param clusterName The name of the cluster.
60
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
61
+ * @param options The options parameters.
62
+ */
63
+ beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
64
+ /**
65
+ * Deletes the specific private endpoint connection.
66
+ * @param resourceGroupName The name of the resource group.
67
+ * @param clusterName The name of the cluster.
68
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
69
+ * @param options The options parameters.
70
+ */
71
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
72
+ /**
73
+ * ListByClusterNext
74
+ * @param resourceGroupName The name of the resource group.
75
+ * @param clusterName The name of the cluster.
76
+ * @param nextLink The nextLink from the previous successful call to the ListByCluster method.
77
+ * @param options The options parameters.
78
+ */
79
+ private _listByClusterNext;
80
+ }
81
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,yBAAyB,EAEzB,qDAAqD,EAErD,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAE/C,MAAM,WAAW,CAAC;AAGnB,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;;OAKG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC;YAuBzC,uBAAuB;YAwBvB,sBAAsB;IAcrC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,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