@azure/arm-datalake-analytics 2.0.0-beta.4 → 2.0.0-beta.5

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 (580) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/LICENSE +4 -4
  3. package/README.md +30 -18
  4. package/{dist-esm/src → dist/browser}/dataLakeAnalyticsAccountManagementClient.d.ts +2 -2
  5. package/dist/browser/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/dataLakeAnalyticsAccountManagementClient.js +36 -24
  7. package/dist/browser/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  13. package/dist/browser/lroImpl.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/index.d.ts +42 -42
  15. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  16. package/dist/browser/models/index.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.js +184 -87
  18. package/dist/browser/models/mappers.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  20. package/dist/browser/models/parameters.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/accounts.d.ts +3 -3
  22. package/dist/browser/operations/accounts.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/accounts.js +160 -187
  24. package/dist/browser/operations/accounts.js.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/computePolicies.d.ts +3 -3
  26. package/dist/browser/operations/computePolicies.d.ts.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/computePolicies.js +26 -41
  28. package/dist/browser/operations/computePolicies.js.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/dataLakeStoreAccounts.d.ts +3 -3
  30. package/dist/browser/operations/dataLakeStoreAccounts.d.ts.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/dataLakeStoreAccounts.js +26 -41
  32. package/dist/browser/operations/dataLakeStoreAccounts.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/firewallRules.d.ts +3 -3
  34. package/dist/browser/operations/firewallRules.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/firewallRules.js +26 -41
  36. package/dist/browser/operations/firewallRules.js.map +1 -0
  37. package/dist/browser/operations/index.d.ts +8 -0
  38. package/dist/browser/operations/index.d.ts.map +1 -0
  39. package/dist/browser/operations/index.js +15 -0
  40. package/dist/browser/operations/index.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/locations.d.ts +3 -3
  42. package/dist/browser/operations/locations.d.ts.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/locations.js +3 -2
  44. package/dist/browser/operations/locations.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  46. package/dist/browser/operations/operations.d.ts.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
  48. package/dist/browser/operations/operations.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/storageAccounts.d.ts +3 -3
  50. package/dist/browser/operations/storageAccounts.d.ts.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operations/storageAccounts.js +70 -115
  52. package/dist/browser/operations/storageAccounts.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.d.ts +1 -1
  54. package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -0
  55. package/dist/browser/operationsInterfaces/accounts.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/computePolicies.d.ts +1 -1
  57. package/dist/browser/operationsInterfaces/computePolicies.d.ts.map +1 -0
  58. package/dist/browser/operationsInterfaces/computePolicies.js.map +1 -0
  59. package/{dist-esm/src → dist/browser}/operationsInterfaces/dataLakeStoreAccounts.d.ts +1 -1
  60. package/dist/browser/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
  61. package/dist/browser/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/firewallRules.d.ts +1 -1
  63. package/dist/browser/operationsInterfaces/firewallRules.d.ts.map +1 -0
  64. package/dist/browser/operationsInterfaces/firewallRules.js.map +1 -0
  65. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  66. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  67. package/dist/browser/operationsInterfaces/index.js +15 -0
  68. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  69. package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts +1 -1
  70. package/dist/browser/operationsInterfaces/locations.d.ts.map +1 -0
  71. package/dist/browser/operationsInterfaces/locations.js.map +1 -0
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  73. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  74. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  75. package/{dist-esm/src → dist/browser}/operationsInterfaces/storageAccounts.d.ts +1 -1
  76. package/dist/browser/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  77. package/dist/browser/operationsInterfaces/storageAccounts.js.map +1 -0
  78. package/dist/browser/package.json +3 -0
  79. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  80. package/dist/browser/pagingHelper.js.map +1 -0
  81. package/dist/commonjs/dataLakeAnalyticsAccountManagementClient.d.ts +27 -0
  82. package/dist/commonjs/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
  83. package/dist/commonjs/dataLakeAnalyticsAccountManagementClient.js +124 -0
  84. package/dist/commonjs/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
  85. package/dist/commonjs/index.d.ts +5 -0
  86. package/dist/commonjs/index.d.ts.map +1 -0
  87. package/dist/commonjs/index.js +19 -0
  88. package/dist/commonjs/index.js.map +1 -0
  89. package/dist/commonjs/lroImpl.d.ts +16 -0
  90. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  91. package/dist/commonjs/lroImpl.js +37 -0
  92. package/dist/commonjs/lroImpl.js.map +1 -0
  93. package/{types/arm-datalake-analytics.d.ts → dist/commonjs/models/index.d.ts} +1357 -1840
  94. package/dist/commonjs/models/index.d.ts.map +1 -0
  95. package/dist/commonjs/models/index.js +45 -0
  96. package/dist/commonjs/models/index.js.map +1 -0
  97. package/dist/commonjs/models/mappers.d.ts +56 -0
  98. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  99. package/dist/commonjs/models/mappers.js +2396 -0
  100. package/dist/commonjs/models/mappers.js.map +1 -0
  101. package/dist/commonjs/models/parameters.d.ts +32 -0
  102. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  103. package/dist/commonjs/models/parameters.js +257 -0
  104. package/dist/commonjs/models/parameters.js.map +1 -0
  105. package/dist/commonjs/operations/accounts.d.ts +120 -0
  106. package/dist/commonjs/operations/accounts.d.ts.map +1 -0
  107. package/dist/commonjs/operations/accounts.js +576 -0
  108. package/dist/commonjs/operations/accounts.js.map +1 -0
  109. package/dist/commonjs/operations/computePolicies.d.ts +76 -0
  110. package/dist/commonjs/operations/computePolicies.d.ts.map +1 -0
  111. package/dist/commonjs/operations/computePolicies.js +282 -0
  112. package/dist/commonjs/operations/computePolicies.js.map +1 -0
  113. package/dist/commonjs/operations/dataLakeStoreAccounts.d.ts +64 -0
  114. package/dist/commonjs/operations/dataLakeStoreAccounts.d.ts.map +1 -0
  115. package/dist/commonjs/operations/dataLakeStoreAccounts.js +252 -0
  116. package/dist/commonjs/operations/dataLakeStoreAccounts.js.map +1 -0
  117. package/dist/commonjs/operations/firewallRules.d.ts +72 -0
  118. package/dist/commonjs/operations/firewallRules.d.ts.map +1 -0
  119. package/dist/commonjs/operations/firewallRules.js +272 -0
  120. package/dist/commonjs/operations/firewallRules.js.map +1 -0
  121. package/dist/commonjs/operations/index.d.ts +8 -0
  122. package/dist/commonjs/operations/index.d.ts.map +1 -0
  123. package/dist/commonjs/operations/index.js +18 -0
  124. package/dist/commonjs/operations/index.js.map +1 -0
  125. package/dist/commonjs/operations/locations.d.ts +20 -0
  126. package/dist/commonjs/operations/locations.d.ts.map +1 -0
  127. package/dist/commonjs/operations/locations.js +59 -0
  128. package/dist/commonjs/operations/locations.js.map +1 -0
  129. package/dist/commonjs/operations/operations.d.ts +18 -0
  130. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  131. package/dist/commonjs/operations/operations.js +52 -0
  132. package/dist/commonjs/operations/operations.js.map +1 -0
  133. package/dist/commonjs/operations/storageAccounts.d.ts +153 -0
  134. package/dist/commonjs/operations/storageAccounts.d.ts.map +1 -0
  135. package/dist/commonjs/operations/storageAccounts.js +588 -0
  136. package/dist/commonjs/operations/storageAccounts.js.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/accounts.d.ts +82 -0
  138. package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
  140. package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/computePolicies.d.ts +50 -0
  142. package/dist/commonjs/operationsInterfaces/computePolicies.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/computePolicies.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/computePolicies.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/dataLakeStoreAccounts.d.ts +38 -0
  146. package/dist/commonjs/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/dataLakeStoreAccounts.js +10 -0
  148. package/dist/commonjs/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/firewallRules.d.ts +47 -0
  150. package/dist/commonjs/operationsInterfaces/firewallRules.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/firewallRules.js +10 -0
  152. package/dist/commonjs/operationsInterfaces/firewallRules.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  154. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  156. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/locations.d.ts +12 -0
  158. package/dist/commonjs/operationsInterfaces/locations.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/locations.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/locations.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  162. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts +81 -0
  166. package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/storageAccounts.js +10 -0
  168. package/dist/commonjs/operationsInterfaces/storageAccounts.js.map +1 -0
  169. package/dist/commonjs/package.json +3 -0
  170. package/dist/commonjs/pagingHelper.d.ts +13 -0
  171. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  172. package/dist/commonjs/pagingHelper.js +34 -0
  173. package/dist/commonjs/pagingHelper.js.map +1 -0
  174. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  175. package/dist/esm/dataLakeAnalyticsAccountManagementClient.d.ts +27 -0
  176. package/dist/esm/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
  177. package/dist/esm/dataLakeAnalyticsAccountManagementClient.js +119 -0
  178. package/dist/esm/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
  179. package/dist/esm/index.d.ts +5 -0
  180. package/dist/esm/index.d.ts.map +1 -0
  181. package/{src/index.ts → dist/esm/index.js} +5 -5
  182. package/dist/esm/index.js.map +1 -0
  183. package/dist/esm/lroImpl.d.ts +16 -0
  184. package/dist/esm/lroImpl.d.ts.map +1 -0
  185. package/dist/esm/lroImpl.js +33 -0
  186. package/dist/esm/lroImpl.js.map +1 -0
  187. package/dist/esm/models/index.d.ts +1357 -0
  188. package/dist/esm/models/index.d.ts.map +1 -0
  189. package/dist/esm/models/index.js +42 -0
  190. package/dist/esm/models/index.js.map +1 -0
  191. package/dist/esm/models/mappers.d.ts +56 -0
  192. package/dist/esm/models/mappers.d.ts.map +1 -0
  193. package/dist/esm/models/mappers.js +2392 -0
  194. package/dist/esm/models/mappers.js.map +1 -0
  195. package/dist/esm/models/parameters.d.ts +32 -0
  196. package/dist/esm/models/parameters.d.ts.map +1 -0
  197. package/dist/esm/models/parameters.js +254 -0
  198. package/dist/esm/models/parameters.js.map +1 -0
  199. package/dist/esm/operations/accounts.d.ts +120 -0
  200. package/dist/esm/operations/accounts.d.ts.map +1 -0
  201. package/dist/esm/operations/accounts.js +571 -0
  202. package/dist/esm/operations/accounts.js.map +1 -0
  203. package/dist/esm/operations/computePolicies.d.ts +76 -0
  204. package/dist/esm/operations/computePolicies.d.ts.map +1 -0
  205. package/dist/esm/operations/computePolicies.js +277 -0
  206. package/dist/esm/operations/computePolicies.js.map +1 -0
  207. package/dist/esm/operations/dataLakeStoreAccounts.d.ts +64 -0
  208. package/dist/esm/operations/dataLakeStoreAccounts.d.ts.map +1 -0
  209. package/dist/esm/operations/dataLakeStoreAccounts.js +247 -0
  210. package/dist/esm/operations/dataLakeStoreAccounts.js.map +1 -0
  211. package/dist/esm/operations/firewallRules.d.ts +72 -0
  212. package/dist/esm/operations/firewallRules.d.ts.map +1 -0
  213. package/dist/esm/operations/firewallRules.js +267 -0
  214. package/dist/esm/operations/firewallRules.js.map +1 -0
  215. package/dist/esm/operations/index.d.ts +8 -0
  216. package/dist/esm/operations/index.d.ts.map +1 -0
  217. package/dist/esm/operations/index.js +15 -0
  218. package/dist/esm/operations/index.js.map +1 -0
  219. package/dist/esm/operations/locations.d.ts +20 -0
  220. package/dist/esm/operations/locations.d.ts.map +1 -0
  221. package/dist/esm/operations/locations.js +54 -0
  222. package/dist/esm/operations/locations.js.map +1 -0
  223. package/dist/esm/operations/operations.d.ts +18 -0
  224. package/dist/esm/operations/operations.d.ts.map +1 -0
  225. package/dist/esm/operations/operations.js +47 -0
  226. package/dist/esm/operations/operations.js.map +1 -0
  227. package/dist/esm/operations/storageAccounts.d.ts +153 -0
  228. package/dist/esm/operations/storageAccounts.d.ts.map +1 -0
  229. package/dist/esm/operations/storageAccounts.js +583 -0
  230. package/dist/esm/operations/storageAccounts.js.map +1 -0
  231. package/dist/esm/operationsInterfaces/accounts.d.ts +82 -0
  232. package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
  233. package/dist/esm/operationsInterfaces/accounts.js +9 -0
  234. package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
  235. package/dist/esm/operationsInterfaces/computePolicies.d.ts +50 -0
  236. package/dist/esm/operationsInterfaces/computePolicies.d.ts.map +1 -0
  237. package/dist/esm/operationsInterfaces/computePolicies.js +9 -0
  238. package/dist/esm/operationsInterfaces/computePolicies.js.map +1 -0
  239. package/dist/esm/operationsInterfaces/dataLakeStoreAccounts.d.ts +38 -0
  240. package/dist/esm/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
  241. package/dist/esm/operationsInterfaces/dataLakeStoreAccounts.js +9 -0
  242. package/dist/esm/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
  243. package/dist/esm/operationsInterfaces/firewallRules.d.ts +47 -0
  244. package/dist/esm/operationsInterfaces/firewallRules.d.ts.map +1 -0
  245. package/dist/esm/operationsInterfaces/firewallRules.js +9 -0
  246. package/dist/esm/operationsInterfaces/firewallRules.js.map +1 -0
  247. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  248. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  249. package/dist/esm/operationsInterfaces/index.js +15 -0
  250. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  251. package/dist/esm/operationsInterfaces/locations.d.ts +12 -0
  252. package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
  253. package/dist/esm/operationsInterfaces/locations.js +9 -0
  254. package/dist/esm/operationsInterfaces/locations.js.map +1 -0
  255. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  256. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  257. package/dist/esm/operationsInterfaces/operations.js +9 -0
  258. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  259. package/dist/esm/operationsInterfaces/storageAccounts.d.ts +81 -0
  260. package/dist/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  261. package/dist/esm/operationsInterfaces/storageAccounts.js +9 -0
  262. package/dist/esm/operationsInterfaces/storageAccounts.js.map +1 -0
  263. package/dist/esm/package.json +3 -0
  264. package/dist/esm/pagingHelper.d.ts +13 -0
  265. package/dist/esm/pagingHelper.d.ts.map +1 -0
  266. package/dist/esm/pagingHelper.js +30 -0
  267. package/dist/esm/pagingHelper.js.map +1 -0
  268. package/dist/react-native/dataLakeAnalyticsAccountManagementClient.d.ts +27 -0
  269. package/dist/react-native/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
  270. package/dist/react-native/dataLakeAnalyticsAccountManagementClient.js +119 -0
  271. package/dist/react-native/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
  272. package/dist/react-native/index.d.ts +5 -0
  273. package/dist/react-native/index.d.ts.map +1 -0
  274. package/dist/react-native/index.js +13 -0
  275. package/dist/react-native/index.js.map +1 -0
  276. package/dist/react-native/lroImpl.d.ts +16 -0
  277. package/dist/react-native/lroImpl.d.ts.map +1 -0
  278. package/dist/react-native/lroImpl.js +33 -0
  279. package/dist/react-native/lroImpl.js.map +1 -0
  280. package/dist/react-native/models/index.d.ts +1357 -0
  281. package/dist/react-native/models/index.d.ts.map +1 -0
  282. package/dist/react-native/models/index.js +42 -0
  283. package/dist/react-native/models/index.js.map +1 -0
  284. package/dist/react-native/models/mappers.d.ts +56 -0
  285. package/dist/react-native/models/mappers.d.ts.map +1 -0
  286. package/dist/react-native/models/mappers.js +2392 -0
  287. package/dist/react-native/models/mappers.js.map +1 -0
  288. package/dist/react-native/models/parameters.d.ts +32 -0
  289. package/dist/react-native/models/parameters.d.ts.map +1 -0
  290. package/dist/react-native/models/parameters.js +254 -0
  291. package/dist/react-native/models/parameters.js.map +1 -0
  292. package/dist/react-native/operations/accounts.d.ts +120 -0
  293. package/dist/react-native/operations/accounts.d.ts.map +1 -0
  294. package/dist/react-native/operations/accounts.js +571 -0
  295. package/dist/react-native/operations/accounts.js.map +1 -0
  296. package/dist/react-native/operations/computePolicies.d.ts +76 -0
  297. package/dist/react-native/operations/computePolicies.d.ts.map +1 -0
  298. package/dist/react-native/operations/computePolicies.js +277 -0
  299. package/dist/react-native/operations/computePolicies.js.map +1 -0
  300. package/dist/react-native/operations/dataLakeStoreAccounts.d.ts +64 -0
  301. package/dist/react-native/operations/dataLakeStoreAccounts.d.ts.map +1 -0
  302. package/dist/react-native/operations/dataLakeStoreAccounts.js +247 -0
  303. package/dist/react-native/operations/dataLakeStoreAccounts.js.map +1 -0
  304. package/dist/react-native/operations/firewallRules.d.ts +72 -0
  305. package/dist/react-native/operations/firewallRules.d.ts.map +1 -0
  306. package/dist/react-native/operations/firewallRules.js +267 -0
  307. package/dist/react-native/operations/firewallRules.js.map +1 -0
  308. package/dist/react-native/operations/index.d.ts +8 -0
  309. package/dist/react-native/operations/index.d.ts.map +1 -0
  310. package/dist/react-native/operations/index.js +15 -0
  311. package/dist/react-native/operations/index.js.map +1 -0
  312. package/dist/react-native/operations/locations.d.ts +20 -0
  313. package/dist/react-native/operations/locations.d.ts.map +1 -0
  314. package/dist/react-native/operations/locations.js +54 -0
  315. package/dist/react-native/operations/locations.js.map +1 -0
  316. package/dist/react-native/operations/operations.d.ts +18 -0
  317. package/dist/react-native/operations/operations.d.ts.map +1 -0
  318. package/dist/react-native/operations/operations.js +47 -0
  319. package/dist/react-native/operations/operations.js.map +1 -0
  320. package/dist/react-native/operations/storageAccounts.d.ts +153 -0
  321. package/dist/react-native/operations/storageAccounts.d.ts.map +1 -0
  322. package/dist/react-native/operations/storageAccounts.js +583 -0
  323. package/dist/react-native/operations/storageAccounts.js.map +1 -0
  324. package/dist/react-native/operationsInterfaces/accounts.d.ts +82 -0
  325. package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
  326. package/dist/react-native/operationsInterfaces/accounts.js +9 -0
  327. package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
  328. package/dist/react-native/operationsInterfaces/computePolicies.d.ts +50 -0
  329. package/dist/react-native/operationsInterfaces/computePolicies.d.ts.map +1 -0
  330. package/dist/react-native/operationsInterfaces/computePolicies.js +9 -0
  331. package/dist/react-native/operationsInterfaces/computePolicies.js.map +1 -0
  332. package/dist/react-native/operationsInterfaces/dataLakeStoreAccounts.d.ts +38 -0
  333. package/dist/react-native/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
  334. package/dist/react-native/operationsInterfaces/dataLakeStoreAccounts.js +9 -0
  335. package/dist/react-native/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
  336. package/dist/react-native/operationsInterfaces/firewallRules.d.ts +47 -0
  337. package/dist/react-native/operationsInterfaces/firewallRules.d.ts.map +1 -0
  338. package/dist/react-native/operationsInterfaces/firewallRules.js +9 -0
  339. package/dist/react-native/operationsInterfaces/firewallRules.js.map +1 -0
  340. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  341. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  342. package/dist/react-native/operationsInterfaces/index.js +15 -0
  343. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  344. package/dist/react-native/operationsInterfaces/locations.d.ts +12 -0
  345. package/dist/react-native/operationsInterfaces/locations.d.ts.map +1 -0
  346. package/dist/react-native/operationsInterfaces/locations.js +9 -0
  347. package/dist/react-native/operationsInterfaces/locations.js.map +1 -0
  348. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  349. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  350. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  351. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  352. package/dist/react-native/operationsInterfaces/storageAccounts.d.ts +81 -0
  353. package/dist/react-native/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  354. package/dist/react-native/operationsInterfaces/storageAccounts.js +9 -0
  355. package/dist/react-native/operationsInterfaces/storageAccounts.js.map +1 -0
  356. package/dist/react-native/package.json +3 -0
  357. package/dist/react-native/pagingHelper.d.ts +13 -0
  358. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  359. package/dist/react-native/pagingHelper.js +30 -0
  360. package/dist/react-native/pagingHelper.js.map +1 -0
  361. package/package.json +85 -76
  362. package/dist/index.js +0 -4972
  363. package/dist/index.js.map +0 -1
  364. package/dist/index.min.js +0 -1
  365. package/dist/index.min.js.map +0 -1
  366. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts +0 -2
  367. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts.map +0 -1
  368. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js +0 -34
  369. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js.map +0 -1
  370. package/dist-esm/samples-dev/accountsCreateSample.d.ts +0 -2
  371. package/dist-esm/samples-dev/accountsCreateSample.d.ts.map +0 -1
  372. package/dist-esm/samples-dev/accountsCreateSample.js +0 -64
  373. package/dist-esm/samples-dev/accountsCreateSample.js.map +0 -1
  374. package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
  375. package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
  376. package/dist-esm/samples-dev/accountsDeleteSample.js +0 -31
  377. package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
  378. package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
  379. package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
  380. package/dist-esm/samples-dev/accountsGetSample.js +0 -31
  381. package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
  382. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
  383. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
  384. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -58
  385. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
  386. package/dist-esm/samples-dev/accountsListSample.d.ts +0 -2
  387. package/dist-esm/samples-dev/accountsListSample.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/accountsListSample.js +0 -57
  389. package/dist-esm/samples-dev/accountsListSample.js.map +0 -1
  390. package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
  391. package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/accountsUpdateSample.js +0 -55
  393. package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
  394. package/dist-esm/samples-dev/computePoliciesCreateOrUpdateSample.d.ts +0 -2
  395. package/dist-esm/samples-dev/computePoliciesCreateOrUpdateSample.d.ts.map +0 -1
  396. package/dist-esm/samples-dev/computePoliciesCreateOrUpdateSample.js +0 -38
  397. package/dist-esm/samples-dev/computePoliciesCreateOrUpdateSample.js.map +0 -1
  398. package/dist-esm/samples-dev/computePoliciesDeleteSample.d.ts +0 -2
  399. package/dist-esm/samples-dev/computePoliciesDeleteSample.d.ts.map +0 -1
  400. package/dist-esm/samples-dev/computePoliciesDeleteSample.js +0 -32
  401. package/dist-esm/samples-dev/computePoliciesDeleteSample.js.map +0 -1
  402. package/dist-esm/samples-dev/computePoliciesGetSample.d.ts +0 -2
  403. package/dist-esm/samples-dev/computePoliciesGetSample.d.ts.map +0 -1
  404. package/dist-esm/samples-dev/computePoliciesGetSample.js +0 -32
  405. package/dist-esm/samples-dev/computePoliciesGetSample.js.map +0 -1
  406. package/dist-esm/samples-dev/computePoliciesListByAccountSample.d.ts +0 -2
  407. package/dist-esm/samples-dev/computePoliciesListByAccountSample.d.ts.map +0 -1
  408. package/dist-esm/samples-dev/computePoliciesListByAccountSample.js +0 -45
  409. package/dist-esm/samples-dev/computePoliciesListByAccountSample.js.map +0 -1
  410. package/dist-esm/samples-dev/computePoliciesUpdateSample.d.ts +0 -2
  411. package/dist-esm/samples-dev/computePoliciesUpdateSample.d.ts.map +0 -1
  412. package/dist-esm/samples-dev/computePoliciesUpdateSample.js +0 -37
  413. package/dist-esm/samples-dev/computePoliciesUpdateSample.js.map +0 -1
  414. package/dist-esm/samples-dev/dataLakeStoreAccountsAddSample.d.ts +0 -2
  415. package/dist-esm/samples-dev/dataLakeStoreAccountsAddSample.d.ts.map +0 -1
  416. package/dist-esm/samples-dev/dataLakeStoreAccountsAddSample.js +0 -34
  417. package/dist-esm/samples-dev/dataLakeStoreAccountsAddSample.js.map +0 -1
  418. package/dist-esm/samples-dev/dataLakeStoreAccountsDeleteSample.d.ts +0 -2
  419. package/dist-esm/samples-dev/dataLakeStoreAccountsDeleteSample.d.ts.map +0 -1
  420. package/dist-esm/samples-dev/dataLakeStoreAccountsDeleteSample.js +0 -32
  421. package/dist-esm/samples-dev/dataLakeStoreAccountsDeleteSample.js.map +0 -1
  422. package/dist-esm/samples-dev/dataLakeStoreAccountsGetSample.d.ts +0 -2
  423. package/dist-esm/samples-dev/dataLakeStoreAccountsGetSample.d.ts.map +0 -1
  424. package/dist-esm/samples-dev/dataLakeStoreAccountsGetSample.js +0 -32
  425. package/dist-esm/samples-dev/dataLakeStoreAccountsGetSample.js.map +0 -1
  426. package/dist-esm/samples-dev/dataLakeStoreAccountsListByAccountSample.d.ts +0 -2
  427. package/dist-esm/samples-dev/dataLakeStoreAccountsListByAccountSample.d.ts.map +0 -1
  428. package/dist-esm/samples-dev/dataLakeStoreAccountsListByAccountSample.js +0 -59
  429. package/dist-esm/samples-dev/dataLakeStoreAccountsListByAccountSample.js.map +0 -1
  430. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts +0 -2
  431. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts.map +0 -1
  432. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +0 -36
  433. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +0 -1
  434. package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts +0 -2
  435. package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts.map +0 -1
  436. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +0 -32
  437. package/dist-esm/samples-dev/firewallRulesDeleteSample.js.map +0 -1
  438. package/dist-esm/samples-dev/firewallRulesGetSample.d.ts +0 -2
  439. package/dist-esm/samples-dev/firewallRulesGetSample.d.ts.map +0 -1
  440. package/dist-esm/samples-dev/firewallRulesGetSample.js +0 -32
  441. package/dist-esm/samples-dev/firewallRulesGetSample.js.map +0 -1
  442. package/dist-esm/samples-dev/firewallRulesListByAccountSample.d.ts +0 -2
  443. package/dist-esm/samples-dev/firewallRulesListByAccountSample.d.ts.map +0 -1
  444. package/dist-esm/samples-dev/firewallRulesListByAccountSample.js +0 -45
  445. package/dist-esm/samples-dev/firewallRulesListByAccountSample.js.map +0 -1
  446. package/dist-esm/samples-dev/firewallRulesUpdateSample.d.ts +0 -2
  447. package/dist-esm/samples-dev/firewallRulesUpdateSample.d.ts.map +0 -1
  448. package/dist-esm/samples-dev/firewallRulesUpdateSample.js +0 -37
  449. package/dist-esm/samples-dev/firewallRulesUpdateSample.js.map +0 -1
  450. package/dist-esm/samples-dev/locationsGetCapabilitySample.d.ts +0 -2
  451. package/dist-esm/samples-dev/locationsGetCapabilitySample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/locationsGetCapabilitySample.js +0 -30
  453. package/dist-esm/samples-dev/locationsGetCapabilitySample.js.map +0 -1
  454. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/operationsListSample.js +0 -29
  457. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  458. package/dist-esm/samples-dev/storageAccountsAddSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/storageAccountsAddSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/storageAccountsAddSample.js +0 -36
  461. package/dist-esm/samples-dev/storageAccountsAddSample.js.map +0 -1
  462. package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/storageAccountsDeleteSample.js +0 -32
  465. package/dist-esm/samples-dev/storageAccountsDeleteSample.js.map +0 -1
  466. package/dist-esm/samples-dev/storageAccountsGetSample.d.ts +0 -2
  467. package/dist-esm/samples-dev/storageAccountsGetSample.d.ts.map +0 -1
  468. package/dist-esm/samples-dev/storageAccountsGetSample.js +0 -32
  469. package/dist-esm/samples-dev/storageAccountsGetSample.js.map +0 -1
  470. package/dist-esm/samples-dev/storageAccountsGetStorageContainerSample.d.ts +0 -2
  471. package/dist-esm/samples-dev/storageAccountsGetStorageContainerSample.d.ts.map +0 -1
  472. package/dist-esm/samples-dev/storageAccountsGetStorageContainerSample.js +0 -33
  473. package/dist-esm/samples-dev/storageAccountsGetStorageContainerSample.js.map +0 -1
  474. package/dist-esm/samples-dev/storageAccountsListByAccountSample.d.ts +0 -2
  475. package/dist-esm/samples-dev/storageAccountsListByAccountSample.d.ts.map +0 -1
  476. package/dist-esm/samples-dev/storageAccountsListByAccountSample.js +0 -59
  477. package/dist-esm/samples-dev/storageAccountsListByAccountSample.js.map +0 -1
  478. package/dist-esm/samples-dev/storageAccountsListSasTokensSample.d.ts +0 -2
  479. package/dist-esm/samples-dev/storageAccountsListSasTokensSample.d.ts.map +0 -1
  480. package/dist-esm/samples-dev/storageAccountsListSasTokensSample.js +0 -47
  481. package/dist-esm/samples-dev/storageAccountsListSasTokensSample.js.map +0 -1
  482. package/dist-esm/samples-dev/storageAccountsListStorageContainersSample.d.ts +0 -2
  483. package/dist-esm/samples-dev/storageAccountsListStorageContainersSample.d.ts.map +0 -1
  484. package/dist-esm/samples-dev/storageAccountsListStorageContainersSample.js +0 -46
  485. package/dist-esm/samples-dev/storageAccountsListStorageContainersSample.js.map +0 -1
  486. package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts +0 -2
  487. package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts.map +0 -1
  488. package/dist-esm/samples-dev/storageAccountsUpdateSample.js +0 -37
  489. package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +0 -1
  490. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.d.ts.map +0 -1
  491. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.js.map +0 -1
  492. package/dist-esm/src/index.d.ts +0 -6
  493. package/dist-esm/src/index.d.ts.map +0 -1
  494. package/dist-esm/src/index.js.map +0 -1
  495. package/dist-esm/src/lroImpl.js.map +0 -1
  496. package/dist-esm/src/models/index.js.map +0 -1
  497. package/dist-esm/src/models/mappers.js.map +0 -1
  498. package/dist-esm/src/models/parameters.js.map +0 -1
  499. package/dist-esm/src/operations/accounts.d.ts.map +0 -1
  500. package/dist-esm/src/operations/accounts.js.map +0 -1
  501. package/dist-esm/src/operations/computePolicies.d.ts.map +0 -1
  502. package/dist-esm/src/operations/computePolicies.js.map +0 -1
  503. package/dist-esm/src/operations/dataLakeStoreAccounts.d.ts.map +0 -1
  504. package/dist-esm/src/operations/dataLakeStoreAccounts.js.map +0 -1
  505. package/dist-esm/src/operations/firewallRules.d.ts.map +0 -1
  506. package/dist-esm/src/operations/firewallRules.js.map +0 -1
  507. package/dist-esm/src/operations/index.d.ts +0 -8
  508. package/dist-esm/src/operations/index.d.ts.map +0 -1
  509. package/dist-esm/src/operations/index.js +0 -15
  510. package/dist-esm/src/operations/index.js.map +0 -1
  511. package/dist-esm/src/operations/locations.d.ts.map +0 -1
  512. package/dist-esm/src/operations/locations.js.map +0 -1
  513. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  514. package/dist-esm/src/operations/operations.js.map +0 -1
  515. package/dist-esm/src/operations/storageAccounts.d.ts.map +0 -1
  516. package/dist-esm/src/operations/storageAccounts.js.map +0 -1
  517. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
  518. package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
  519. package/dist-esm/src/operationsInterfaces/computePolicies.d.ts.map +0 -1
  520. package/dist-esm/src/operationsInterfaces/computePolicies.js.map +0 -1
  521. package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +0 -1
  522. package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.js.map +0 -1
  523. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +0 -1
  524. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +0 -1
  525. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  526. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  527. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  528. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  529. package/dist-esm/src/operationsInterfaces/locations.d.ts.map +0 -1
  530. package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
  531. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  532. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  533. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +0 -1
  534. package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +0 -1
  535. package/dist-esm/src/pagingHelper.js.map +0 -1
  536. package/dist-esm/test/datalake-analytics_examples.spec.d.ts +0 -4
  537. package/dist-esm/test/datalake-analytics_examples.spec.d.ts.map +0 -1
  538. package/dist-esm/test/datalake-analytics_examples.spec.js +0 -55
  539. package/dist-esm/test/datalake-analytics_examples.spec.js.map +0 -1
  540. package/rollup.config.js +0 -122
  541. package/src/dataLakeAnalyticsAccountManagementClient.ts +0 -169
  542. package/src/lroImpl.ts +0 -34
  543. package/src/models/index.ts +0 -1532
  544. package/src/models/mappers.ts +0 -2447
  545. package/src/models/parameters.ts +0 -300
  546. package/src/operations/accounts.ts +0 -784
  547. package/src/operations/computePolicies.ts +0 -395
  548. package/src/operations/dataLakeStoreAccounts.ts +0 -350
  549. package/src/operations/firewallRules.ts +0 -385
  550. package/src/operations/index.ts +0 -15
  551. package/src/operations/locations.ts +0 -71
  552. package/src/operations/operations.ts +0 -59
  553. package/src/operations/storageAccounts.ts +0 -864
  554. package/src/operationsInterfaces/accounts.ts +0 -155
  555. package/src/operationsInterfaces/computePolicies.ts +0 -95
  556. package/src/operationsInterfaces/dataLakeStoreAccounts.ts +0 -73
  557. package/src/operationsInterfaces/firewallRules.ts +0 -92
  558. package/src/operationsInterfaces/index.ts +0 -15
  559. package/src/operationsInterfaces/locations.ts +0 -26
  560. package/src/operationsInterfaces/operations.ts +0 -21
  561. package/src/operationsInterfaces/storageAccounts.ts +0 -147
  562. package/src/pagingHelper.ts +0 -39
  563. package/tsconfig.json +0 -33
  564. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  565. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  566. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  567. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  568. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  569. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  570. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  571. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.js +0 -0
  572. /package/{dist-esm/src → dist/browser}/operationsInterfaces/computePolicies.js +0 -0
  573. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dataLakeStoreAccounts.js +0 -0
  574. /package/{dist-esm/src → dist/browser}/operationsInterfaces/firewallRules.js +0 -0
  575. /package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.js +0 -0
  576. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  577. /package/{dist-esm/src → dist/browser}/operationsInterfaces/storageAccounts.js +0 -0
  578. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  579. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  580. /package/review/{arm-datalake-analytics.api.md → arm-datalake-analytics-node.api.md} +0 -0
@@ -1,155 +0,0 @@
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
- DataLakeAnalyticsAccountBasic,
13
- AccountsListOptionalParams,
14
- AccountsListByResourceGroupOptionalParams,
15
- CreateDataLakeAnalyticsAccountParameters,
16
- AccountsCreateOptionalParams,
17
- AccountsCreateResponse,
18
- AccountsGetOptionalParams,
19
- AccountsGetResponse,
20
- AccountsUpdateOptionalParams,
21
- AccountsUpdateResponse,
22
- AccountsDeleteOptionalParams,
23
- CheckNameAvailabilityParameters,
24
- AccountsCheckNameAvailabilityOptionalParams,
25
- AccountsCheckNameAvailabilityResponse
26
- } from "../models";
27
-
28
- /// <reference lib="esnext.asynciterable" />
29
- /** Interface representing a Accounts. */
30
- export interface Accounts {
31
- /**
32
- * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This
33
- * includes a link to the next page, if any.
34
- * @param options The options parameters.
35
- */
36
- list(
37
- options?: AccountsListOptionalParams
38
- ): PagedAsyncIterableIterator<DataLakeAnalyticsAccountBasic>;
39
- /**
40
- * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This
41
- * includes a link to the next page, if any.
42
- * @param resourceGroupName The name of the Azure resource group.
43
- * @param options The options parameters.
44
- */
45
- listByResourceGroup(
46
- resourceGroupName: string,
47
- options?: AccountsListByResourceGroupOptionalParams
48
- ): PagedAsyncIterableIterator<DataLakeAnalyticsAccountBasic>;
49
- /**
50
- * Creates the specified Data Lake Analytics account. This supplies the user with computation services
51
- * for Data Lake Analytics workloads.
52
- * @param resourceGroupName The name of the Azure resource group.
53
- * @param accountName The name of the Data Lake Analytics account.
54
- * @param parameters Parameters supplied to create a new Data Lake Analytics account.
55
- * @param options The options parameters.
56
- */
57
- beginCreate(
58
- resourceGroupName: string,
59
- accountName: string,
60
- parameters: CreateDataLakeAnalyticsAccountParameters,
61
- options?: AccountsCreateOptionalParams
62
- ): Promise<
63
- PollerLike<
64
- PollOperationState<AccountsCreateResponse>,
65
- AccountsCreateResponse
66
- >
67
- >;
68
- /**
69
- * Creates the specified Data Lake Analytics account. This supplies the user with computation services
70
- * for Data Lake Analytics workloads.
71
- * @param resourceGroupName The name of the Azure resource group.
72
- * @param accountName The name of the Data Lake Analytics account.
73
- * @param parameters Parameters supplied to create a new Data Lake Analytics account.
74
- * @param options The options parameters.
75
- */
76
- beginCreateAndWait(
77
- resourceGroupName: string,
78
- accountName: string,
79
- parameters: CreateDataLakeAnalyticsAccountParameters,
80
- options?: AccountsCreateOptionalParams
81
- ): Promise<AccountsCreateResponse>;
82
- /**
83
- * Gets details of the specified Data Lake Analytics account.
84
- * @param resourceGroupName The name of the Azure resource group.
85
- * @param accountName The name of the Data Lake Analytics account.
86
- * @param options The options parameters.
87
- */
88
- get(
89
- resourceGroupName: string,
90
- accountName: string,
91
- options?: AccountsGetOptionalParams
92
- ): Promise<AccountsGetResponse>;
93
- /**
94
- * Updates the Data Lake Analytics account object specified by the accountName with the contents of the
95
- * account object.
96
- * @param resourceGroupName The name of the Azure resource group.
97
- * @param accountName The name of the Data Lake Analytics account.
98
- * @param options The options parameters.
99
- */
100
- beginUpdate(
101
- resourceGroupName: string,
102
- accountName: string,
103
- options?: AccountsUpdateOptionalParams
104
- ): Promise<
105
- PollerLike<
106
- PollOperationState<AccountsUpdateResponse>,
107
- AccountsUpdateResponse
108
- >
109
- >;
110
- /**
111
- * Updates the Data Lake Analytics account object specified by the accountName with the contents of the
112
- * account object.
113
- * @param resourceGroupName The name of the Azure resource group.
114
- * @param accountName The name of the Data Lake Analytics account.
115
- * @param options The options parameters.
116
- */
117
- beginUpdateAndWait(
118
- resourceGroupName: string,
119
- accountName: string,
120
- options?: AccountsUpdateOptionalParams
121
- ): Promise<AccountsUpdateResponse>;
122
- /**
123
- * Begins the delete process for the Data Lake Analytics account object specified by the account name.
124
- * @param resourceGroupName The name of the Azure resource group.
125
- * @param accountName The name of the Data Lake Analytics account.
126
- * @param options The options parameters.
127
- */
128
- beginDelete(
129
- resourceGroupName: string,
130
- accountName: string,
131
- options?: AccountsDeleteOptionalParams
132
- ): Promise<PollerLike<PollOperationState<void>, void>>;
133
- /**
134
- * Begins the delete process for the Data Lake Analytics account object specified by the account name.
135
- * @param resourceGroupName The name of the Azure resource group.
136
- * @param accountName The name of the Data Lake Analytics account.
137
- * @param options The options parameters.
138
- */
139
- beginDeleteAndWait(
140
- resourceGroupName: string,
141
- accountName: string,
142
- options?: AccountsDeleteOptionalParams
143
- ): Promise<void>;
144
- /**
145
- * Checks whether the specified account name is available or taken.
146
- * @param location The resource location without whitespace.
147
- * @param parameters Parameters supplied to check the Data Lake Analytics account name availability.
148
- * @param options The options parameters.
149
- */
150
- checkNameAvailability(
151
- location: string,
152
- parameters: CheckNameAvailabilityParameters,
153
- options?: AccountsCheckNameAvailabilityOptionalParams
154
- ): Promise<AccountsCheckNameAvailabilityResponse>;
155
- }
@@ -1,95 +0,0 @@
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 {
11
- ComputePolicy,
12
- ComputePoliciesListByAccountOptionalParams,
13
- CreateOrUpdateComputePolicyParameters,
14
- ComputePoliciesCreateOrUpdateOptionalParams,
15
- ComputePoliciesCreateOrUpdateResponse,
16
- ComputePoliciesGetOptionalParams,
17
- ComputePoliciesGetResponse,
18
- ComputePoliciesUpdateOptionalParams,
19
- ComputePoliciesUpdateResponse,
20
- ComputePoliciesDeleteOptionalParams
21
- } from "../models";
22
-
23
- /// <reference lib="esnext.asynciterable" />
24
- /** Interface representing a ComputePolicies. */
25
- export interface ComputePolicies {
26
- /**
27
- * Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An
28
- * account supports, at most, 50 policies
29
- * @param resourceGroupName The name of the Azure resource group.
30
- * @param accountName The name of the Data Lake Analytics account.
31
- * @param options The options parameters.
32
- */
33
- listByAccount(
34
- resourceGroupName: string,
35
- accountName: string,
36
- options?: ComputePoliciesListByAccountOptionalParams
37
- ): PagedAsyncIterableIterator<ComputePolicy>;
38
- /**
39
- * Creates or updates the specified compute policy. During update, the compute policy with the
40
- * specified name will be replaced with this new compute policy. An account supports, at most, 50
41
- * policies
42
- * @param resourceGroupName The name of the Azure resource group.
43
- * @param accountName The name of the Data Lake Analytics account.
44
- * @param computePolicyName The name of the compute policy to create or update.
45
- * @param parameters Parameters supplied to create or update the compute policy. The max degree of
46
- * parallelism per job property, min priority per job property, or both must be present.
47
- * @param options The options parameters.
48
- */
49
- createOrUpdate(
50
- resourceGroupName: string,
51
- accountName: string,
52
- computePolicyName: string,
53
- parameters: CreateOrUpdateComputePolicyParameters,
54
- options?: ComputePoliciesCreateOrUpdateOptionalParams
55
- ): Promise<ComputePoliciesCreateOrUpdateResponse>;
56
- /**
57
- * Gets the specified Data Lake Analytics compute policy.
58
- * @param resourceGroupName The name of the Azure resource group.
59
- * @param accountName The name of the Data Lake Analytics account.
60
- * @param computePolicyName The name of the compute policy to retrieve.
61
- * @param options The options parameters.
62
- */
63
- get(
64
- resourceGroupName: string,
65
- accountName: string,
66
- computePolicyName: string,
67
- options?: ComputePoliciesGetOptionalParams
68
- ): Promise<ComputePoliciesGetResponse>;
69
- /**
70
- * Updates the specified compute policy.
71
- * @param resourceGroupName The name of the Azure resource group.
72
- * @param accountName The name of the Data Lake Analytics account.
73
- * @param computePolicyName The name of the compute policy to update.
74
- * @param options The options parameters.
75
- */
76
- update(
77
- resourceGroupName: string,
78
- accountName: string,
79
- computePolicyName: string,
80
- options?: ComputePoliciesUpdateOptionalParams
81
- ): Promise<ComputePoliciesUpdateResponse>;
82
- /**
83
- * Deletes the specified compute policy from the specified Data Lake Analytics account
84
- * @param resourceGroupName The name of the Azure resource group.
85
- * @param accountName The name of the Data Lake Analytics account.
86
- * @param computePolicyName The name of the compute policy to delete.
87
- * @param options The options parameters.
88
- */
89
- delete(
90
- resourceGroupName: string,
91
- accountName: string,
92
- computePolicyName: string,
93
- options?: ComputePoliciesDeleteOptionalParams
94
- ): Promise<void>;
95
- }
@@ -1,73 +0,0 @@
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 {
11
- DataLakeStoreAccountInformation,
12
- DataLakeStoreAccountsListByAccountOptionalParams,
13
- DataLakeStoreAccountsAddOptionalParams,
14
- DataLakeStoreAccountsGetOptionalParams,
15
- DataLakeStoreAccountsGetResponse,
16
- DataLakeStoreAccountsDeleteOptionalParams
17
- } from "../models";
18
-
19
- /// <reference lib="esnext.asynciterable" />
20
- /** Interface representing a DataLakeStoreAccounts. */
21
- export interface DataLakeStoreAccounts {
22
- /**
23
- * Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account.
24
- * The response includes a link to the next page, if any.
25
- * @param resourceGroupName The name of the Azure resource group.
26
- * @param accountName The name of the Data Lake Analytics account.
27
- * @param options The options parameters.
28
- */
29
- listByAccount(
30
- resourceGroupName: string,
31
- accountName: string,
32
- options?: DataLakeStoreAccountsListByAccountOptionalParams
33
- ): PagedAsyncIterableIterator<DataLakeStoreAccountInformation>;
34
- /**
35
- * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account.
36
- * @param resourceGroupName The name of the Azure resource group.
37
- * @param accountName The name of the Data Lake Analytics account.
38
- * @param dataLakeStoreAccountName The name of the Data Lake Store account to add.
39
- * @param options The options parameters.
40
- */
41
- add(
42
- resourceGroupName: string,
43
- accountName: string,
44
- dataLakeStoreAccountName: string,
45
- options?: DataLakeStoreAccountsAddOptionalParams
46
- ): Promise<void>;
47
- /**
48
- * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account.
49
- * @param resourceGroupName The name of the Azure resource group.
50
- * @param accountName The name of the Data Lake Analytics account.
51
- * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve
52
- * @param options The options parameters.
53
- */
54
- get(
55
- resourceGroupName: string,
56
- accountName: string,
57
- dataLakeStoreAccountName: string,
58
- options?: DataLakeStoreAccountsGetOptionalParams
59
- ): Promise<DataLakeStoreAccountsGetResponse>;
60
- /**
61
- * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account.
62
- * @param resourceGroupName The name of the Azure resource group.
63
- * @param accountName The name of the Data Lake Analytics account.
64
- * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove
65
- * @param options The options parameters.
66
- */
67
- delete(
68
- resourceGroupName: string,
69
- accountName: string,
70
- dataLakeStoreAccountName: string,
71
- options?: DataLakeStoreAccountsDeleteOptionalParams
72
- ): Promise<void>;
73
- }
@@ -1,92 +0,0 @@
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 {
11
- FirewallRule,
12
- FirewallRulesListByAccountOptionalParams,
13
- CreateOrUpdateFirewallRuleParameters,
14
- FirewallRulesCreateOrUpdateOptionalParams,
15
- FirewallRulesCreateOrUpdateResponse,
16
- FirewallRulesGetOptionalParams,
17
- FirewallRulesGetResponse,
18
- FirewallRulesUpdateOptionalParams,
19
- FirewallRulesUpdateResponse,
20
- FirewallRulesDeleteOptionalParams
21
- } from "../models";
22
-
23
- /// <reference lib="esnext.asynciterable" />
24
- /** Interface representing a FirewallRules. */
25
- export interface FirewallRules {
26
- /**
27
- * Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.
28
- * @param resourceGroupName The name of the Azure resource group.
29
- * @param accountName The name of the Data Lake Analytics account.
30
- * @param options The options parameters.
31
- */
32
- listByAccount(
33
- resourceGroupName: string,
34
- accountName: string,
35
- options?: FirewallRulesListByAccountOptionalParams
36
- ): PagedAsyncIterableIterator<FirewallRule>;
37
- /**
38
- * Creates or updates the specified firewall rule. During update, the firewall rule with the specified
39
- * name will be replaced with this new firewall rule.
40
- * @param resourceGroupName The name of the Azure resource group.
41
- * @param accountName The name of the Data Lake Analytics account.
42
- * @param firewallRuleName The name of the firewall rule to create or update.
43
- * @param parameters Parameters supplied to create or update the firewall rule.
44
- * @param options The options parameters.
45
- */
46
- createOrUpdate(
47
- resourceGroupName: string,
48
- accountName: string,
49
- firewallRuleName: string,
50
- parameters: CreateOrUpdateFirewallRuleParameters,
51
- options?: FirewallRulesCreateOrUpdateOptionalParams
52
- ): Promise<FirewallRulesCreateOrUpdateResponse>;
53
- /**
54
- * Gets the specified Data Lake Analytics firewall rule.
55
- * @param resourceGroupName The name of the Azure resource group.
56
- * @param accountName The name of the Data Lake Analytics account.
57
- * @param firewallRuleName The name of the firewall rule to retrieve.
58
- * @param options The options parameters.
59
- */
60
- get(
61
- resourceGroupName: string,
62
- accountName: string,
63
- firewallRuleName: string,
64
- options?: FirewallRulesGetOptionalParams
65
- ): Promise<FirewallRulesGetResponse>;
66
- /**
67
- * Updates the specified firewall rule.
68
- * @param resourceGroupName The name of the Azure resource group.
69
- * @param accountName The name of the Data Lake Analytics account.
70
- * @param firewallRuleName The name of the firewall rule to update.
71
- * @param options The options parameters.
72
- */
73
- update(
74
- resourceGroupName: string,
75
- accountName: string,
76
- firewallRuleName: string,
77
- options?: FirewallRulesUpdateOptionalParams
78
- ): Promise<FirewallRulesUpdateResponse>;
79
- /**
80
- * Deletes the specified firewall rule from the specified Data Lake Analytics account
81
- * @param resourceGroupName The name of the Azure resource group.
82
- * @param accountName The name of the Data Lake Analytics account.
83
- * @param firewallRuleName The name of the firewall rule to delete.
84
- * @param options The options parameters.
85
- */
86
- delete(
87
- resourceGroupName: string,
88
- accountName: string,
89
- firewallRuleName: string,
90
- options?: FirewallRulesDeleteOptionalParams
91
- ): Promise<void>;
92
- }
@@ -1,15 +0,0 @@
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 "./accounts";
10
- export * from "./dataLakeStoreAccounts";
11
- export * from "./storageAccounts";
12
- export * from "./computePolicies";
13
- export * from "./firewallRules";
14
- export * from "./operations";
15
- export * from "./locations";
@@ -1,26 +0,0 @@
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
- LocationsGetCapabilityOptionalParams,
11
- LocationsGetCapabilityResponse
12
- } from "../models";
13
-
14
- /** Interface representing a Locations. */
15
- export interface Locations {
16
- /**
17
- * Gets subscription-level properties and limits for Data Lake Analytics specified by resource
18
- * location.
19
- * @param location The resource location without whitespace.
20
- * @param options The options parameters.
21
- */
22
- getCapability(
23
- location: string,
24
- options?: LocationsGetCapabilityOptionalParams
25
- ): Promise<LocationsGetCapabilityResponse>;
26
- }
@@ -1,21 +0,0 @@
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
- OperationsListOptionalParams,
11
- OperationsListResponse
12
- } from "../models";
13
-
14
- /** Interface representing a Operations. */
15
- export interface Operations {
16
- /**
17
- * Lists all of the available Data Lake Analytics REST API operations.
18
- * @param options The options parameters.
19
- */
20
- list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
21
- }
@@ -1,147 +0,0 @@
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 {
11
- StorageAccountInformation,
12
- StorageAccountsListByAccountOptionalParams,
13
- StorageContainer,
14
- StorageAccountsListStorageContainersOptionalParams,
15
- SasTokenInformation,
16
- StorageAccountsListSasTokensOptionalParams,
17
- AddStorageAccountParameters,
18
- StorageAccountsAddOptionalParams,
19
- StorageAccountsGetOptionalParams,
20
- StorageAccountsGetResponse,
21
- StorageAccountsUpdateOptionalParams,
22
- StorageAccountsDeleteOptionalParams,
23
- StorageAccountsGetStorageContainerOptionalParams,
24
- StorageAccountsGetStorageContainerResponse
25
- } from "../models";
26
-
27
- /// <reference lib="esnext.asynciterable" />
28
- /** Interface representing a StorageAccounts. */
29
- export interface StorageAccounts {
30
- /**
31
- * Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics
32
- * account. The response includes a link to the next page, if any.
33
- * @param resourceGroupName The name of the Azure resource group.
34
- * @param accountName The name of the Data Lake Analytics account.
35
- * @param options The options parameters.
36
- */
37
- listByAccount(
38
- resourceGroupName: string,
39
- accountName: string,
40
- options?: StorageAccountsListByAccountOptionalParams
41
- ): PagedAsyncIterableIterator<StorageAccountInformation>;
42
- /**
43
- * Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and
44
- * Azure Storage account combination. The response includes a link to the next page of results, if any.
45
- * @param resourceGroupName The name of the Azure resource group.
46
- * @param accountName The name of the Data Lake Analytics account.
47
- * @param storageAccountName The name of the Azure storage account from which to list blob containers.
48
- * @param options The options parameters.
49
- */
50
- listStorageContainers(
51
- resourceGroupName: string,
52
- accountName: string,
53
- storageAccountName: string,
54
- options?: StorageAccountsListStorageContainersOptionalParams
55
- ): PagedAsyncIterableIterator<StorageContainer>;
56
- /**
57
- * Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and
58
- * container combination.
59
- * @param resourceGroupName The name of the Azure resource group.
60
- * @param accountName The name of the Data Lake Analytics account.
61
- * @param storageAccountName The name of the Azure storage account for which the SAS token is being
62
- * requested.
63
- * @param containerName The name of the Azure storage container for which the SAS token is being
64
- * requested.
65
- * @param options The options parameters.
66
- */
67
- listSasTokens(
68
- resourceGroupName: string,
69
- accountName: string,
70
- storageAccountName: string,
71
- containerName: string,
72
- options?: StorageAccountsListSasTokensOptionalParams
73
- ): PagedAsyncIterableIterator<SasTokenInformation>;
74
- /**
75
- * Updates the specified Data Lake Analytics account to add an Azure Storage account.
76
- * @param resourceGroupName The name of the Azure resource group.
77
- * @param accountName The name of the Data Lake Analytics account.
78
- * @param storageAccountName The name of the Azure Storage account to add
79
- * @param parameters The parameters containing the access key and optional suffix for the Azure Storage
80
- * Account.
81
- * @param options The options parameters.
82
- */
83
- add(
84
- resourceGroupName: string,
85
- accountName: string,
86
- storageAccountName: string,
87
- parameters: AddStorageAccountParameters,
88
- options?: StorageAccountsAddOptionalParams
89
- ): Promise<void>;
90
- /**
91
- * Gets the specified Azure Storage account linked to the given Data Lake Analytics account.
92
- * @param resourceGroupName The name of the Azure resource group.
93
- * @param accountName The name of the Data Lake Analytics account.
94
- * @param storageAccountName The name of the Azure Storage account for which to retrieve the details.
95
- * @param options The options parameters.
96
- */
97
- get(
98
- resourceGroupName: string,
99
- accountName: string,
100
- storageAccountName: string,
101
- options?: StorageAccountsGetOptionalParams
102
- ): Promise<StorageAccountsGetResponse>;
103
- /**
104
- * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the
105
- * access key and/or suffix.
106
- * @param resourceGroupName The name of the Azure resource group.
107
- * @param accountName The name of the Data Lake Analytics account.
108
- * @param storageAccountName The Azure Storage account to modify
109
- * @param options The options parameters.
110
- */
111
- update(
112
- resourceGroupName: string,
113
- accountName: string,
114
- storageAccountName: string,
115
- options?: StorageAccountsUpdateOptionalParams
116
- ): Promise<void>;
117
- /**
118
- * Updates the specified Data Lake Analytics account to remove an Azure Storage account.
119
- * @param resourceGroupName The name of the Azure resource group.
120
- * @param accountName The name of the Data Lake Analytics account.
121
- * @param storageAccountName The name of the Azure Storage account to remove
122
- * @param options The options parameters.
123
- */
124
- delete(
125
- resourceGroupName: string,
126
- accountName: string,
127
- storageAccountName: string,
128
- options?: StorageAccountsDeleteOptionalParams
129
- ): Promise<void>;
130
- /**
131
- * Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure
132
- * Storage accounts.
133
- * @param resourceGroupName The name of the Azure resource group.
134
- * @param accountName The name of the Data Lake Analytics account.
135
- * @param storageAccountName The name of the Azure storage account from which to retrieve the blob
136
- * container.
137
- * @param containerName The name of the Azure storage container to retrieve
138
- * @param options The options parameters.
139
- */
140
- getStorageContainer(
141
- resourceGroupName: string,
142
- accountName: string,
143
- storageAccountName: string,
144
- containerName: string,
145
- options?: StorageAccountsGetStorageContainerOptionalParams
146
- ): Promise<StorageAccountsGetStorageContainerResponse>;
147
- }
@@ -1,39 +0,0 @@
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 interface PageInfo {
10
- continuationToken?: string;
11
- }
12
-
13
- const pageMap = new WeakMap<object, PageInfo>();
14
-
15
- /**
16
- * Given a result page from a pageable operation, returns a
17
- * continuation token that can be used to begin paging from
18
- * that point later.
19
- * @param page A result object from calling .byPage() on a paged operation.
20
- * @returns The continuation token that can be passed into byPage().
21
- */
22
- export function getContinuationToken(page: unknown): string | undefined {
23
- if (typeof page !== "object" || page === null) {
24
- return undefined;
25
- }
26
- return pageMap.get(page)?.continuationToken;
27
- }
28
-
29
- export function setContinuationToken(
30
- page: unknown,
31
- continuationToken: string | undefined
32
- ): void {
33
- if (typeof page !== "object" || page === null || !continuationToken) {
34
- return;
35
- }
36
- const pageInfo = pageMap.get(page) ?? {};
37
- pageInfo.continuationToken = continuationToken;
38
- pageMap.set(page, pageInfo);
39
- }