@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
package/dist/index.js DELETED
@@ -1,4972 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var tslib = require('tslib');
6
- var coreClient = require('@azure/core-client');
7
- var coreRestPipeline = require('@azure/core-rest-pipeline');
8
- var coreLro = require('@azure/core-lro');
9
-
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
12
- var n = Object.create(null);
13
- if (e) {
14
- Object.keys(e).forEach(function (k) {
15
- if (k !== 'default') {
16
- var d = Object.getOwnPropertyDescriptor(e, k);
17
- Object.defineProperty(n, k, d.get ? d : {
18
- enumerable: true,
19
- get: function () { return e[k]; }
20
- });
21
- }
22
- });
23
- }
24
- n["default"] = e;
25
- return Object.freeze(n);
26
- }
27
-
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
30
-
31
- /*
32
- * Copyright (c) Microsoft Corporation.
33
- * Licensed under the MIT License.
34
- *
35
- * Code generated by Microsoft (R) AutoRest Code Generator.
36
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
37
- */
38
- const pageMap = new WeakMap();
39
- /**
40
- * Given a result page from a pageable operation, returns a
41
- * continuation token that can be used to begin paging from
42
- * that point later.
43
- * @param page A result object from calling .byPage() on a paged operation.
44
- * @returns The continuation token that can be passed into byPage().
45
- */
46
- function getContinuationToken(page) {
47
- var _a;
48
- if (typeof page !== "object" || page === null) {
49
- return undefined;
50
- }
51
- return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
52
- }
53
- function setContinuationToken(page, continuationToken) {
54
- var _a;
55
- if (typeof page !== "object" || page === null || !continuationToken) {
56
- return;
57
- }
58
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
59
- pageInfo.continuationToken = continuationToken;
60
- pageMap.set(page, pageInfo);
61
- }
62
-
63
- /*
64
- * Copyright (c) Microsoft Corporation.
65
- * Licensed under the MIT License.
66
- *
67
- * Code generated by Microsoft (R) AutoRest Code Generator.
68
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
69
- */
70
- /** Known values of {@link AADObjectType} that the service accepts. */
71
- exports.KnownAADObjectType = void 0;
72
- (function (KnownAADObjectType) {
73
- /** User */
74
- KnownAADObjectType["User"] = "User";
75
- /** Group */
76
- KnownAADObjectType["Group"] = "Group";
77
- /** ServicePrincipal */
78
- KnownAADObjectType["ServicePrincipal"] = "ServicePrincipal";
79
- })(exports.KnownAADObjectType || (exports.KnownAADObjectType = {}));
80
- /** Known values of {@link OperationOrigin} that the service accepts. */
81
- exports.KnownOperationOrigin = void 0;
82
- (function (KnownOperationOrigin) {
83
- /** User */
84
- KnownOperationOrigin["User"] = "user";
85
- /** System */
86
- KnownOperationOrigin["System"] = "system";
87
- /** UserSystem */
88
- KnownOperationOrigin["UserSystem"] = "user,system";
89
- })(exports.KnownOperationOrigin || (exports.KnownOperationOrigin = {}));
90
- /** Known values of {@link SubscriptionState} that the service accepts. */
91
- exports.KnownSubscriptionState = void 0;
92
- (function (KnownSubscriptionState) {
93
- /** Registered */
94
- KnownSubscriptionState["Registered"] = "Registered";
95
- /** Suspended */
96
- KnownSubscriptionState["Suspended"] = "Suspended";
97
- /** Deleted */
98
- KnownSubscriptionState["Deleted"] = "Deleted";
99
- /** Unregistered */
100
- KnownSubscriptionState["Unregistered"] = "Unregistered";
101
- /** Warned */
102
- KnownSubscriptionState["Warned"] = "Warned";
103
- })(exports.KnownSubscriptionState || (exports.KnownSubscriptionState = {}));
104
-
105
- /*
106
- * Copyright (c) Microsoft Corporation.
107
- * Licensed under the MIT License.
108
- *
109
- * Code generated by Microsoft (R) AutoRest Code Generator.
110
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
111
- */
112
- const DataLakeAnalyticsAccountListResult = {
113
- type: {
114
- name: "Composite",
115
- className: "DataLakeAnalyticsAccountListResult",
116
- modelProperties: {
117
- value: {
118
- serializedName: "value",
119
- readOnly: true,
120
- type: {
121
- name: "Sequence",
122
- element: {
123
- type: {
124
- name: "Composite",
125
- className: "DataLakeAnalyticsAccountBasic"
126
- }
127
- }
128
- }
129
- },
130
- count: {
131
- serializedName: "count",
132
- readOnly: true,
133
- type: {
134
- name: "Number"
135
- }
136
- },
137
- nextLink: {
138
- serializedName: "nextLink",
139
- readOnly: true,
140
- type: {
141
- name: "String"
142
- }
143
- }
144
- }
145
- }
146
- };
147
- const DataLakeAnalyticsAccountPropertiesBasic = {
148
- type: {
149
- name: "Composite",
150
- className: "DataLakeAnalyticsAccountPropertiesBasic",
151
- modelProperties: {
152
- accountId: {
153
- serializedName: "accountId",
154
- readOnly: true,
155
- type: {
156
- name: "Uuid"
157
- }
158
- },
159
- provisioningState: {
160
- serializedName: "provisioningState",
161
- readOnly: true,
162
- type: {
163
- name: "Enum",
164
- allowedValues: [
165
- "Failed",
166
- "Creating",
167
- "Running",
168
- "Succeeded",
169
- "Patching",
170
- "Suspending",
171
- "Resuming",
172
- "Deleting",
173
- "Deleted",
174
- "Undeleting",
175
- "Canceled"
176
- ]
177
- }
178
- },
179
- state: {
180
- serializedName: "state",
181
- readOnly: true,
182
- type: {
183
- name: "Enum",
184
- allowedValues: ["Active", "Suspended"]
185
- }
186
- },
187
- creationTime: {
188
- serializedName: "creationTime",
189
- readOnly: true,
190
- type: {
191
- name: "DateTime"
192
- }
193
- },
194
- lastModifiedTime: {
195
- serializedName: "lastModifiedTime",
196
- readOnly: true,
197
- type: {
198
- name: "DateTime"
199
- }
200
- },
201
- endpoint: {
202
- serializedName: "endpoint",
203
- readOnly: true,
204
- type: {
205
- name: "String"
206
- }
207
- }
208
- }
209
- }
210
- };
211
- const Resource = {
212
- type: {
213
- name: "Composite",
214
- className: "Resource",
215
- modelProperties: {
216
- id: {
217
- serializedName: "id",
218
- readOnly: true,
219
- type: {
220
- name: "String"
221
- }
222
- },
223
- name: {
224
- serializedName: "name",
225
- readOnly: true,
226
- type: {
227
- name: "String"
228
- }
229
- },
230
- type: {
231
- serializedName: "type",
232
- readOnly: true,
233
- type: {
234
- name: "String"
235
- }
236
- },
237
- location: {
238
- serializedName: "location",
239
- readOnly: true,
240
- type: {
241
- name: "String"
242
- }
243
- },
244
- tags: {
245
- serializedName: "tags",
246
- readOnly: true,
247
- type: {
248
- name: "Dictionary",
249
- value: { type: { name: "String" } }
250
- }
251
- }
252
- }
253
- }
254
- };
255
- const ErrorResponse = {
256
- type: {
257
- name: "Composite",
258
- className: "ErrorResponse",
259
- modelProperties: {
260
- error: {
261
- serializedName: "error",
262
- type: {
263
- name: "Composite",
264
- className: "ErrorDetail"
265
- }
266
- }
267
- }
268
- }
269
- };
270
- const ErrorDetail = {
271
- type: {
272
- name: "Composite",
273
- className: "ErrorDetail",
274
- modelProperties: {
275
- code: {
276
- serializedName: "code",
277
- readOnly: true,
278
- type: {
279
- name: "String"
280
- }
281
- },
282
- message: {
283
- serializedName: "message",
284
- readOnly: true,
285
- type: {
286
- name: "String"
287
- }
288
- },
289
- target: {
290
- serializedName: "target",
291
- readOnly: true,
292
- type: {
293
- name: "String"
294
- }
295
- },
296
- details: {
297
- serializedName: "details",
298
- readOnly: true,
299
- type: {
300
- name: "Sequence",
301
- element: {
302
- type: {
303
- name: "Composite",
304
- className: "ErrorDetail"
305
- }
306
- }
307
- }
308
- },
309
- additionalInfo: {
310
- serializedName: "additionalInfo",
311
- readOnly: true,
312
- type: {
313
- name: "Sequence",
314
- element: {
315
- type: {
316
- name: "Composite",
317
- className: "ErrorAdditionalInfo"
318
- }
319
- }
320
- }
321
- }
322
- }
323
- }
324
- };
325
- const ErrorAdditionalInfo = {
326
- type: {
327
- name: "Composite",
328
- className: "ErrorAdditionalInfo",
329
- modelProperties: {
330
- type: {
331
- serializedName: "type",
332
- readOnly: true,
333
- type: {
334
- name: "String"
335
- }
336
- },
337
- info: {
338
- serializedName: "info",
339
- readOnly: true,
340
- type: {
341
- name: "Dictionary",
342
- value: { type: { name: "any" } }
343
- }
344
- }
345
- }
346
- }
347
- };
348
- const CreateDataLakeAnalyticsAccountParameters = {
349
- type: {
350
- name: "Composite",
351
- className: "CreateDataLakeAnalyticsAccountParameters",
352
- modelProperties: {
353
- location: {
354
- serializedName: "location",
355
- required: true,
356
- type: {
357
- name: "String"
358
- }
359
- },
360
- tags: {
361
- serializedName: "tags",
362
- type: {
363
- name: "Dictionary",
364
- value: { type: { name: "String" } }
365
- }
366
- },
367
- defaultDataLakeStoreAccount: {
368
- serializedName: "properties.defaultDataLakeStoreAccount",
369
- required: true,
370
- type: {
371
- name: "String"
372
- }
373
- },
374
- dataLakeStoreAccounts: {
375
- serializedName: "properties.dataLakeStoreAccounts",
376
- required: true,
377
- type: {
378
- name: "Sequence",
379
- element: {
380
- type: {
381
- name: "Composite",
382
- className: "AddDataLakeStoreWithAccountParameters"
383
- }
384
- }
385
- }
386
- },
387
- storageAccounts: {
388
- serializedName: "properties.storageAccounts",
389
- type: {
390
- name: "Sequence",
391
- element: {
392
- type: {
393
- name: "Composite",
394
- className: "AddStorageAccountWithAccountParameters"
395
- }
396
- }
397
- }
398
- },
399
- computePolicies: {
400
- serializedName: "properties.computePolicies",
401
- type: {
402
- name: "Sequence",
403
- element: {
404
- type: {
405
- name: "Composite",
406
- className: "CreateComputePolicyWithAccountParameters"
407
- }
408
- }
409
- }
410
- },
411
- firewallRules: {
412
- serializedName: "properties.firewallRules",
413
- type: {
414
- name: "Sequence",
415
- element: {
416
- type: {
417
- name: "Composite",
418
- className: "CreateFirewallRuleWithAccountParameters"
419
- }
420
- }
421
- }
422
- },
423
- firewallState: {
424
- serializedName: "properties.firewallState",
425
- type: {
426
- name: "Enum",
427
- allowedValues: ["Enabled", "Disabled"]
428
- }
429
- },
430
- firewallAllowAzureIps: {
431
- serializedName: "properties.firewallAllowAzureIps",
432
- type: {
433
- name: "Enum",
434
- allowedValues: ["Enabled", "Disabled"]
435
- }
436
- },
437
- newTier: {
438
- serializedName: "properties.newTier",
439
- type: {
440
- name: "Enum",
441
- allowedValues: [
442
- "Consumption",
443
- "Commitment_100AUHours",
444
- "Commitment_500AUHours",
445
- "Commitment_1000AUHours",
446
- "Commitment_5000AUHours",
447
- "Commitment_10000AUHours",
448
- "Commitment_50000AUHours",
449
- "Commitment_100000AUHours",
450
- "Commitment_500000AUHours"
451
- ]
452
- }
453
- },
454
- maxJobCount: {
455
- defaultValue: 3,
456
- constraints: {
457
- InclusiveMinimum: 1
458
- },
459
- serializedName: "properties.maxJobCount",
460
- type: {
461
- name: "Number"
462
- }
463
- },
464
- maxDegreeOfParallelism: {
465
- defaultValue: 30,
466
- constraints: {
467
- InclusiveMinimum: 1
468
- },
469
- serializedName: "properties.maxDegreeOfParallelism",
470
- type: {
471
- name: "Number"
472
- }
473
- },
474
- maxDegreeOfParallelismPerJob: {
475
- defaultValue: 32,
476
- constraints: {
477
- InclusiveMinimum: 1
478
- },
479
- serializedName: "properties.maxDegreeOfParallelismPerJob",
480
- type: {
481
- name: "Number"
482
- }
483
- },
484
- minPriorityPerJob: {
485
- constraints: {
486
- InclusiveMinimum: 1
487
- },
488
- serializedName: "properties.minPriorityPerJob",
489
- type: {
490
- name: "Number"
491
- }
492
- },
493
- queryStoreRetention: {
494
- defaultValue: 30,
495
- constraints: {
496
- InclusiveMaximum: 180,
497
- InclusiveMinimum: 1
498
- },
499
- serializedName: "properties.queryStoreRetention",
500
- type: {
501
- name: "Number"
502
- }
503
- }
504
- }
505
- }
506
- };
507
- const AddDataLakeStoreWithAccountParameters = {
508
- type: {
509
- name: "Composite",
510
- className: "AddDataLakeStoreWithAccountParameters",
511
- modelProperties: {
512
- name: {
513
- serializedName: "name",
514
- required: true,
515
- type: {
516
- name: "String"
517
- }
518
- },
519
- suffix: {
520
- serializedName: "properties.suffix",
521
- type: {
522
- name: "String"
523
- }
524
- }
525
- }
526
- }
527
- };
528
- const AddStorageAccountWithAccountParameters = {
529
- type: {
530
- name: "Composite",
531
- className: "AddStorageAccountWithAccountParameters",
532
- modelProperties: {
533
- name: {
534
- serializedName: "name",
535
- required: true,
536
- type: {
537
- name: "String"
538
- }
539
- },
540
- accessKey: {
541
- serializedName: "properties.accessKey",
542
- required: true,
543
- type: {
544
- name: "String"
545
- }
546
- },
547
- suffix: {
548
- defaultValue: "azuredatalakestore.net",
549
- serializedName: "properties.suffix",
550
- type: {
551
- name: "String"
552
- }
553
- }
554
- }
555
- }
556
- };
557
- const CreateComputePolicyWithAccountParameters = {
558
- type: {
559
- name: "Composite",
560
- className: "CreateComputePolicyWithAccountParameters",
561
- modelProperties: {
562
- name: {
563
- serializedName: "name",
564
- required: true,
565
- type: {
566
- name: "String"
567
- }
568
- },
569
- objectId: {
570
- serializedName: "properties.objectId",
571
- required: true,
572
- type: {
573
- name: "Uuid"
574
- }
575
- },
576
- objectType: {
577
- serializedName: "properties.objectType",
578
- required: true,
579
- type: {
580
- name: "String"
581
- }
582
- },
583
- maxDegreeOfParallelismPerJob: {
584
- constraints: {
585
- InclusiveMinimum: 1
586
- },
587
- serializedName: "properties.maxDegreeOfParallelismPerJob",
588
- type: {
589
- name: "Number"
590
- }
591
- },
592
- minPriorityPerJob: {
593
- constraints: {
594
- InclusiveMinimum: 1
595
- },
596
- serializedName: "properties.minPriorityPerJob",
597
- type: {
598
- name: "Number"
599
- }
600
- }
601
- }
602
- }
603
- };
604
- const CreateFirewallRuleWithAccountParameters = {
605
- type: {
606
- name: "Composite",
607
- className: "CreateFirewallRuleWithAccountParameters",
608
- modelProperties: {
609
- name: {
610
- serializedName: "name",
611
- required: true,
612
- type: {
613
- name: "String"
614
- }
615
- },
616
- startIpAddress: {
617
- serializedName: "properties.startIpAddress",
618
- required: true,
619
- type: {
620
- name: "String"
621
- }
622
- },
623
- endIpAddress: {
624
- serializedName: "properties.endIpAddress",
625
- required: true,
626
- type: {
627
- name: "String"
628
- }
629
- }
630
- }
631
- }
632
- };
633
- const SubResource = {
634
- type: {
635
- name: "Composite",
636
- className: "SubResource",
637
- modelProperties: {
638
- id: {
639
- serializedName: "id",
640
- readOnly: true,
641
- type: {
642
- name: "String"
643
- }
644
- },
645
- name: {
646
- serializedName: "name",
647
- readOnly: true,
648
- type: {
649
- name: "String"
650
- }
651
- },
652
- type: {
653
- serializedName: "type",
654
- readOnly: true,
655
- type: {
656
- name: "String"
657
- }
658
- }
659
- }
660
- }
661
- };
662
- const UpdateDataLakeAnalyticsAccountParameters = {
663
- type: {
664
- name: "Composite",
665
- className: "UpdateDataLakeAnalyticsAccountParameters",
666
- modelProperties: {
667
- tags: {
668
- serializedName: "tags",
669
- type: {
670
- name: "Dictionary",
671
- value: { type: { name: "String" } }
672
- }
673
- },
674
- dataLakeStoreAccounts: {
675
- serializedName: "properties.dataLakeStoreAccounts",
676
- type: {
677
- name: "Sequence",
678
- element: {
679
- type: {
680
- name: "Composite",
681
- className: "UpdateDataLakeStoreWithAccountParameters"
682
- }
683
- }
684
- }
685
- },
686
- storageAccounts: {
687
- serializedName: "properties.storageAccounts",
688
- type: {
689
- name: "Sequence",
690
- element: {
691
- type: {
692
- name: "Composite",
693
- className: "UpdateStorageAccountWithAccountParameters"
694
- }
695
- }
696
- }
697
- },
698
- computePolicies: {
699
- serializedName: "properties.computePolicies",
700
- type: {
701
- name: "Sequence",
702
- element: {
703
- type: {
704
- name: "Composite",
705
- className: "UpdateComputePolicyWithAccountParameters"
706
- }
707
- }
708
- }
709
- },
710
- firewallRules: {
711
- serializedName: "properties.firewallRules",
712
- type: {
713
- name: "Sequence",
714
- element: {
715
- type: {
716
- name: "Composite",
717
- className: "UpdateFirewallRuleWithAccountParameters"
718
- }
719
- }
720
- }
721
- },
722
- firewallState: {
723
- serializedName: "properties.firewallState",
724
- type: {
725
- name: "Enum",
726
- allowedValues: ["Enabled", "Disabled"]
727
- }
728
- },
729
- firewallAllowAzureIps: {
730
- serializedName: "properties.firewallAllowAzureIps",
731
- type: {
732
- name: "Enum",
733
- allowedValues: ["Enabled", "Disabled"]
734
- }
735
- },
736
- newTier: {
737
- serializedName: "properties.newTier",
738
- type: {
739
- name: "Enum",
740
- allowedValues: [
741
- "Consumption",
742
- "Commitment_100AUHours",
743
- "Commitment_500AUHours",
744
- "Commitment_1000AUHours",
745
- "Commitment_5000AUHours",
746
- "Commitment_10000AUHours",
747
- "Commitment_50000AUHours",
748
- "Commitment_100000AUHours",
749
- "Commitment_500000AUHours"
750
- ]
751
- }
752
- },
753
- maxJobCount: {
754
- constraints: {
755
- InclusiveMinimum: 1
756
- },
757
- serializedName: "properties.maxJobCount",
758
- type: {
759
- name: "Number"
760
- }
761
- },
762
- maxDegreeOfParallelism: {
763
- constraints: {
764
- InclusiveMinimum: 1
765
- },
766
- serializedName: "properties.maxDegreeOfParallelism",
767
- type: {
768
- name: "Number"
769
- }
770
- },
771
- maxDegreeOfParallelismPerJob: {
772
- constraints: {
773
- InclusiveMinimum: 1
774
- },
775
- serializedName: "properties.maxDegreeOfParallelismPerJob",
776
- type: {
777
- name: "Number"
778
- }
779
- },
780
- minPriorityPerJob: {
781
- constraints: {
782
- InclusiveMinimum: 1
783
- },
784
- serializedName: "properties.minPriorityPerJob",
785
- type: {
786
- name: "Number"
787
- }
788
- },
789
- queryStoreRetention: {
790
- constraints: {
791
- InclusiveMaximum: 180,
792
- InclusiveMinimum: 1
793
- },
794
- serializedName: "properties.queryStoreRetention",
795
- type: {
796
- name: "Number"
797
- }
798
- }
799
- }
800
- }
801
- };
802
- const UpdateDataLakeStoreWithAccountParameters = {
803
- type: {
804
- name: "Composite",
805
- className: "UpdateDataLakeStoreWithAccountParameters",
806
- modelProperties: {
807
- name: {
808
- serializedName: "name",
809
- required: true,
810
- type: {
811
- name: "String"
812
- }
813
- },
814
- suffix: {
815
- serializedName: "properties.suffix",
816
- type: {
817
- name: "String"
818
- }
819
- }
820
- }
821
- }
822
- };
823
- const UpdateStorageAccountWithAccountParameters = {
824
- type: {
825
- name: "Composite",
826
- className: "UpdateStorageAccountWithAccountParameters",
827
- modelProperties: {
828
- name: {
829
- serializedName: "name",
830
- required: true,
831
- type: {
832
- name: "String"
833
- }
834
- },
835
- accessKey: {
836
- serializedName: "properties.accessKey",
837
- type: {
838
- name: "String"
839
- }
840
- },
841
- suffix: {
842
- serializedName: "properties.suffix",
843
- type: {
844
- name: "String"
845
- }
846
- }
847
- }
848
- }
849
- };
850
- const UpdateComputePolicyWithAccountParameters = {
851
- type: {
852
- name: "Composite",
853
- className: "UpdateComputePolicyWithAccountParameters",
854
- modelProperties: {
855
- name: {
856
- serializedName: "name",
857
- required: true,
858
- type: {
859
- name: "String"
860
- }
861
- },
862
- objectId: {
863
- serializedName: "properties.objectId",
864
- type: {
865
- name: "Uuid"
866
- }
867
- },
868
- objectType: {
869
- serializedName: "properties.objectType",
870
- type: {
871
- name: "String"
872
- }
873
- },
874
- maxDegreeOfParallelismPerJob: {
875
- constraints: {
876
- InclusiveMinimum: 1
877
- },
878
- serializedName: "properties.maxDegreeOfParallelismPerJob",
879
- type: {
880
- name: "Number"
881
- }
882
- },
883
- minPriorityPerJob: {
884
- constraints: {
885
- InclusiveMinimum: 1
886
- },
887
- serializedName: "properties.minPriorityPerJob",
888
- type: {
889
- name: "Number"
890
- }
891
- }
892
- }
893
- }
894
- };
895
- const UpdateFirewallRuleWithAccountParameters = {
896
- type: {
897
- name: "Composite",
898
- className: "UpdateFirewallRuleWithAccountParameters",
899
- modelProperties: {
900
- name: {
901
- serializedName: "name",
902
- required: true,
903
- type: {
904
- name: "String"
905
- }
906
- },
907
- startIpAddress: {
908
- serializedName: "properties.startIpAddress",
909
- type: {
910
- name: "String"
911
- }
912
- },
913
- endIpAddress: {
914
- serializedName: "properties.endIpAddress",
915
- type: {
916
- name: "String"
917
- }
918
- }
919
- }
920
- }
921
- };
922
- const DataLakeStoreAccountInformationListResult = {
923
- type: {
924
- name: "Composite",
925
- className: "DataLakeStoreAccountInformationListResult",
926
- modelProperties: {
927
- value: {
928
- serializedName: "value",
929
- readOnly: true,
930
- type: {
931
- name: "Sequence",
932
- element: {
933
- type: {
934
- name: "Composite",
935
- className: "DataLakeStoreAccountInformation"
936
- }
937
- }
938
- }
939
- },
940
- nextLink: {
941
- serializedName: "nextLink",
942
- readOnly: true,
943
- type: {
944
- name: "String"
945
- }
946
- }
947
- }
948
- }
949
- };
950
- const AddDataLakeStoreParameters = {
951
- type: {
952
- name: "Composite",
953
- className: "AddDataLakeStoreParameters",
954
- modelProperties: {
955
- suffix: {
956
- serializedName: "properties.suffix",
957
- type: {
958
- name: "String"
959
- }
960
- }
961
- }
962
- }
963
- };
964
- const StorageAccountInformationListResult = {
965
- type: {
966
- name: "Composite",
967
- className: "StorageAccountInformationListResult",
968
- modelProperties: {
969
- value: {
970
- serializedName: "value",
971
- readOnly: true,
972
- type: {
973
- name: "Sequence",
974
- element: {
975
- type: {
976
- name: "Composite",
977
- className: "StorageAccountInformation"
978
- }
979
- }
980
- }
981
- },
982
- nextLink: {
983
- serializedName: "nextLink",
984
- readOnly: true,
985
- type: {
986
- name: "String"
987
- }
988
- }
989
- }
990
- }
991
- };
992
- const AddStorageAccountParameters = {
993
- type: {
994
- name: "Composite",
995
- className: "AddStorageAccountParameters",
996
- modelProperties: {
997
- accessKey: {
998
- serializedName: "properties.accessKey",
999
- required: true,
1000
- type: {
1001
- name: "String"
1002
- }
1003
- },
1004
- suffix: {
1005
- defaultValue: "azuredatalakestore.net",
1006
- serializedName: "properties.suffix",
1007
- type: {
1008
- name: "String"
1009
- }
1010
- }
1011
- }
1012
- }
1013
- };
1014
- const UpdateStorageAccountParameters = {
1015
- type: {
1016
- name: "Composite",
1017
- className: "UpdateStorageAccountParameters",
1018
- modelProperties: {
1019
- accessKey: {
1020
- serializedName: "properties.accessKey",
1021
- type: {
1022
- name: "String"
1023
- }
1024
- },
1025
- suffix: {
1026
- serializedName: "properties.suffix",
1027
- type: {
1028
- name: "String"
1029
- }
1030
- }
1031
- }
1032
- }
1033
- };
1034
- const StorageContainerListResult = {
1035
- type: {
1036
- name: "Composite",
1037
- className: "StorageContainerListResult",
1038
- modelProperties: {
1039
- value: {
1040
- serializedName: "value",
1041
- readOnly: true,
1042
- type: {
1043
- name: "Sequence",
1044
- element: {
1045
- type: {
1046
- name: "Composite",
1047
- className: "StorageContainer"
1048
- }
1049
- }
1050
- }
1051
- },
1052
- nextLink: {
1053
- serializedName: "nextLink",
1054
- readOnly: true,
1055
- type: {
1056
- name: "String"
1057
- }
1058
- }
1059
- }
1060
- }
1061
- };
1062
- const SasTokenInformationListResult = {
1063
- type: {
1064
- name: "Composite",
1065
- className: "SasTokenInformationListResult",
1066
- modelProperties: {
1067
- value: {
1068
- serializedName: "value",
1069
- readOnly: true,
1070
- type: {
1071
- name: "Sequence",
1072
- element: {
1073
- type: {
1074
- name: "Composite",
1075
- className: "SasTokenInformation"
1076
- }
1077
- }
1078
- }
1079
- },
1080
- nextLink: {
1081
- serializedName: "nextLink",
1082
- readOnly: true,
1083
- type: {
1084
- name: "String"
1085
- }
1086
- }
1087
- }
1088
- }
1089
- };
1090
- const SasTokenInformation = {
1091
- type: {
1092
- name: "Composite",
1093
- className: "SasTokenInformation",
1094
- modelProperties: {
1095
- accessToken: {
1096
- serializedName: "accessToken",
1097
- readOnly: true,
1098
- type: {
1099
- name: "String"
1100
- }
1101
- }
1102
- }
1103
- }
1104
- };
1105
- const ComputePolicyListResult = {
1106
- type: {
1107
- name: "Composite",
1108
- className: "ComputePolicyListResult",
1109
- modelProperties: {
1110
- value: {
1111
- serializedName: "value",
1112
- readOnly: true,
1113
- type: {
1114
- name: "Sequence",
1115
- element: {
1116
- type: {
1117
- name: "Composite",
1118
- className: "ComputePolicy"
1119
- }
1120
- }
1121
- }
1122
- },
1123
- nextLink: {
1124
- serializedName: "nextLink",
1125
- readOnly: true,
1126
- type: {
1127
- name: "String"
1128
- }
1129
- }
1130
- }
1131
- }
1132
- };
1133
- const CreateOrUpdateComputePolicyParameters = {
1134
- type: {
1135
- name: "Composite",
1136
- className: "CreateOrUpdateComputePolicyParameters",
1137
- modelProperties: {
1138
- objectId: {
1139
- serializedName: "properties.objectId",
1140
- required: true,
1141
- type: {
1142
- name: "Uuid"
1143
- }
1144
- },
1145
- objectType: {
1146
- serializedName: "properties.objectType",
1147
- required: true,
1148
- type: {
1149
- name: "String"
1150
- }
1151
- },
1152
- maxDegreeOfParallelismPerJob: {
1153
- constraints: {
1154
- InclusiveMinimum: 1
1155
- },
1156
- serializedName: "properties.maxDegreeOfParallelismPerJob",
1157
- type: {
1158
- name: "Number"
1159
- }
1160
- },
1161
- minPriorityPerJob: {
1162
- constraints: {
1163
- InclusiveMinimum: 1
1164
- },
1165
- serializedName: "properties.minPriorityPerJob",
1166
- type: {
1167
- name: "Number"
1168
- }
1169
- }
1170
- }
1171
- }
1172
- };
1173
- const UpdateComputePolicyParameters = {
1174
- type: {
1175
- name: "Composite",
1176
- className: "UpdateComputePolicyParameters",
1177
- modelProperties: {
1178
- objectId: {
1179
- serializedName: "properties.objectId",
1180
- type: {
1181
- name: "Uuid"
1182
- }
1183
- },
1184
- objectType: {
1185
- serializedName: "properties.objectType",
1186
- type: {
1187
- name: "String"
1188
- }
1189
- },
1190
- maxDegreeOfParallelismPerJob: {
1191
- constraints: {
1192
- InclusiveMinimum: 1
1193
- },
1194
- serializedName: "properties.maxDegreeOfParallelismPerJob",
1195
- type: {
1196
- name: "Number"
1197
- }
1198
- },
1199
- minPriorityPerJob: {
1200
- constraints: {
1201
- InclusiveMinimum: 1
1202
- },
1203
- serializedName: "properties.minPriorityPerJob",
1204
- type: {
1205
- name: "Number"
1206
- }
1207
- }
1208
- }
1209
- }
1210
- };
1211
- const FirewallRuleListResult = {
1212
- type: {
1213
- name: "Composite",
1214
- className: "FirewallRuleListResult",
1215
- modelProperties: {
1216
- value: {
1217
- serializedName: "value",
1218
- readOnly: true,
1219
- type: {
1220
- name: "Sequence",
1221
- element: {
1222
- type: {
1223
- name: "Composite",
1224
- className: "FirewallRule"
1225
- }
1226
- }
1227
- }
1228
- },
1229
- nextLink: {
1230
- serializedName: "nextLink",
1231
- readOnly: true,
1232
- type: {
1233
- name: "String"
1234
- }
1235
- }
1236
- }
1237
- }
1238
- };
1239
- const CreateOrUpdateFirewallRuleParameters = {
1240
- type: {
1241
- name: "Composite",
1242
- className: "CreateOrUpdateFirewallRuleParameters",
1243
- modelProperties: {
1244
- startIpAddress: {
1245
- serializedName: "properties.startIpAddress",
1246
- required: true,
1247
- type: {
1248
- name: "String"
1249
- }
1250
- },
1251
- endIpAddress: {
1252
- serializedName: "properties.endIpAddress",
1253
- required: true,
1254
- type: {
1255
- name: "String"
1256
- }
1257
- }
1258
- }
1259
- }
1260
- };
1261
- const UpdateFirewallRuleParameters = {
1262
- type: {
1263
- name: "Composite",
1264
- className: "UpdateFirewallRuleParameters",
1265
- modelProperties: {
1266
- startIpAddress: {
1267
- serializedName: "properties.startIpAddress",
1268
- type: {
1269
- name: "String"
1270
- }
1271
- },
1272
- endIpAddress: {
1273
- serializedName: "properties.endIpAddress",
1274
- type: {
1275
- name: "String"
1276
- }
1277
- }
1278
- }
1279
- }
1280
- };
1281
- const OperationListResult = {
1282
- type: {
1283
- name: "Composite",
1284
- className: "OperationListResult",
1285
- modelProperties: {
1286
- value: {
1287
- serializedName: "value",
1288
- readOnly: true,
1289
- type: {
1290
- name: "Sequence",
1291
- element: {
1292
- type: {
1293
- name: "Composite",
1294
- className: "Operation"
1295
- }
1296
- }
1297
- }
1298
- },
1299
- nextLink: {
1300
- serializedName: "nextLink",
1301
- readOnly: true,
1302
- type: {
1303
- name: "String"
1304
- }
1305
- }
1306
- }
1307
- }
1308
- };
1309
- const Operation = {
1310
- type: {
1311
- name: "Composite",
1312
- className: "Operation",
1313
- modelProperties: {
1314
- name: {
1315
- serializedName: "name",
1316
- readOnly: true,
1317
- type: {
1318
- name: "String"
1319
- }
1320
- },
1321
- display: {
1322
- serializedName: "display",
1323
- type: {
1324
- name: "Composite",
1325
- className: "OperationDisplay"
1326
- }
1327
- },
1328
- properties: {
1329
- serializedName: "properties",
1330
- type: {
1331
- name: "Composite",
1332
- className: "OperationMetaPropertyInfo"
1333
- }
1334
- },
1335
- origin: {
1336
- serializedName: "origin",
1337
- readOnly: true,
1338
- type: {
1339
- name: "String"
1340
- }
1341
- }
1342
- }
1343
- }
1344
- };
1345
- const OperationDisplay = {
1346
- type: {
1347
- name: "Composite",
1348
- className: "OperationDisplay",
1349
- modelProperties: {
1350
- provider: {
1351
- serializedName: "provider",
1352
- readOnly: true,
1353
- type: {
1354
- name: "String"
1355
- }
1356
- },
1357
- resource: {
1358
- serializedName: "resource",
1359
- readOnly: true,
1360
- type: {
1361
- name: "String"
1362
- }
1363
- },
1364
- operation: {
1365
- serializedName: "operation",
1366
- readOnly: true,
1367
- type: {
1368
- name: "String"
1369
- }
1370
- },
1371
- description: {
1372
- serializedName: "description",
1373
- readOnly: true,
1374
- type: {
1375
- name: "String"
1376
- }
1377
- }
1378
- }
1379
- }
1380
- };
1381
- const OperationMetaPropertyInfo = {
1382
- type: {
1383
- name: "Composite",
1384
- className: "OperationMetaPropertyInfo",
1385
- modelProperties: {
1386
- serviceSpecification: {
1387
- serializedName: "serviceSpecification",
1388
- type: {
1389
- name: "Composite",
1390
- className: "OperationMetaServiceSpecification"
1391
- }
1392
- }
1393
- }
1394
- }
1395
- };
1396
- const OperationMetaServiceSpecification = {
1397
- type: {
1398
- name: "Composite",
1399
- className: "OperationMetaServiceSpecification",
1400
- modelProperties: {
1401
- metricSpecifications: {
1402
- serializedName: "metricSpecifications",
1403
- type: {
1404
- name: "Sequence",
1405
- element: {
1406
- type: {
1407
- name: "Composite",
1408
- className: "OperationMetaMetricSpecification"
1409
- }
1410
- }
1411
- }
1412
- },
1413
- logSpecifications: {
1414
- serializedName: "logSpecifications",
1415
- type: {
1416
- name: "Sequence",
1417
- element: {
1418
- type: {
1419
- name: "Composite",
1420
- className: "OperationMetaLogSpecification"
1421
- }
1422
- }
1423
- }
1424
- }
1425
- }
1426
- }
1427
- };
1428
- const OperationMetaMetricSpecification = {
1429
- type: {
1430
- name: "Composite",
1431
- className: "OperationMetaMetricSpecification",
1432
- modelProperties: {
1433
- name: {
1434
- serializedName: "name",
1435
- type: {
1436
- name: "String"
1437
- }
1438
- },
1439
- displayDescription: {
1440
- serializedName: "displayDescription",
1441
- type: {
1442
- name: "String"
1443
- }
1444
- },
1445
- displayName: {
1446
- serializedName: "displayName",
1447
- type: {
1448
- name: "String"
1449
- }
1450
- },
1451
- unit: {
1452
- serializedName: "unit",
1453
- type: {
1454
- name: "String"
1455
- }
1456
- },
1457
- aggregationType: {
1458
- serializedName: "aggregationType",
1459
- type: {
1460
- name: "String"
1461
- }
1462
- },
1463
- availabilities: {
1464
- serializedName: "availabilities",
1465
- type: {
1466
- name: "Sequence",
1467
- element: {
1468
- type: {
1469
- name: "Composite",
1470
- className: "OperationMetaMetricAvailabilitiesSpecification"
1471
- }
1472
- }
1473
- }
1474
- }
1475
- }
1476
- }
1477
- };
1478
- const OperationMetaMetricAvailabilitiesSpecification = {
1479
- type: {
1480
- name: "Composite",
1481
- className: "OperationMetaMetricAvailabilitiesSpecification",
1482
- modelProperties: {
1483
- timeGrain: {
1484
- serializedName: "timeGrain",
1485
- type: {
1486
- name: "String"
1487
- }
1488
- },
1489
- blobDuration: {
1490
- serializedName: "blobDuration",
1491
- type: {
1492
- name: "String"
1493
- }
1494
- }
1495
- }
1496
- }
1497
- };
1498
- const OperationMetaLogSpecification = {
1499
- type: {
1500
- name: "Composite",
1501
- className: "OperationMetaLogSpecification",
1502
- modelProperties: {
1503
- name: {
1504
- serializedName: "name",
1505
- type: {
1506
- name: "String"
1507
- }
1508
- },
1509
- displayName: {
1510
- serializedName: "displayName",
1511
- type: {
1512
- name: "String"
1513
- }
1514
- },
1515
- blobDuration: {
1516
- serializedName: "blobDuration",
1517
- type: {
1518
- name: "String"
1519
- }
1520
- }
1521
- }
1522
- }
1523
- };
1524
- const CapabilityInformation = {
1525
- type: {
1526
- name: "Composite",
1527
- className: "CapabilityInformation",
1528
- modelProperties: {
1529
- subscriptionId: {
1530
- serializedName: "subscriptionId",
1531
- readOnly: true,
1532
- type: {
1533
- name: "Uuid"
1534
- }
1535
- },
1536
- state: {
1537
- serializedName: "state",
1538
- readOnly: true,
1539
- type: {
1540
- name: "String"
1541
- }
1542
- },
1543
- maxAccountCount: {
1544
- serializedName: "maxAccountCount",
1545
- readOnly: true,
1546
- type: {
1547
- name: "Number"
1548
- }
1549
- },
1550
- accountCount: {
1551
- serializedName: "accountCount",
1552
- readOnly: true,
1553
- type: {
1554
- name: "Number"
1555
- }
1556
- },
1557
- migrationState: {
1558
- serializedName: "migrationState",
1559
- readOnly: true,
1560
- type: {
1561
- name: "Boolean"
1562
- }
1563
- }
1564
- }
1565
- }
1566
- };
1567
- const CheckNameAvailabilityParameters = {
1568
- type: {
1569
- name: "Composite",
1570
- className: "CheckNameAvailabilityParameters",
1571
- modelProperties: {
1572
- name: {
1573
- serializedName: "name",
1574
- required: true,
1575
- type: {
1576
- name: "String"
1577
- }
1578
- },
1579
- type: {
1580
- defaultValue: "Microsoft.DataLakeAnalytics/accounts",
1581
- isConstant: true,
1582
- serializedName: "type",
1583
- type: {
1584
- name: "String"
1585
- }
1586
- }
1587
- }
1588
- }
1589
- };
1590
- const NameAvailabilityInformation = {
1591
- type: {
1592
- name: "Composite",
1593
- className: "NameAvailabilityInformation",
1594
- modelProperties: {
1595
- nameAvailable: {
1596
- serializedName: "nameAvailable",
1597
- readOnly: true,
1598
- type: {
1599
- name: "Boolean"
1600
- }
1601
- },
1602
- reason: {
1603
- serializedName: "reason",
1604
- readOnly: true,
1605
- type: {
1606
- name: "String"
1607
- }
1608
- },
1609
- message: {
1610
- serializedName: "message",
1611
- readOnly: true,
1612
- type: {
1613
- name: "String"
1614
- }
1615
- }
1616
- }
1617
- }
1618
- };
1619
- const VirtualNetworkRuleListResult = {
1620
- type: {
1621
- name: "Composite",
1622
- className: "VirtualNetworkRuleListResult",
1623
- modelProperties: {
1624
- value: {
1625
- serializedName: "value",
1626
- readOnly: true,
1627
- type: {
1628
- name: "Sequence",
1629
- element: {
1630
- type: {
1631
- name: "Composite",
1632
- className: "VirtualNetworkRule"
1633
- }
1634
- }
1635
- }
1636
- },
1637
- nextLink: {
1638
- serializedName: "nextLink",
1639
- readOnly: true,
1640
- type: {
1641
- name: "String"
1642
- }
1643
- }
1644
- }
1645
- }
1646
- };
1647
- const HiveMetastoreListResult = {
1648
- type: {
1649
- name: "Composite",
1650
- className: "HiveMetastoreListResult",
1651
- modelProperties: {
1652
- value: {
1653
- serializedName: "value",
1654
- readOnly: true,
1655
- type: {
1656
- name: "Sequence",
1657
- element: {
1658
- type: {
1659
- name: "Composite",
1660
- className: "HiveMetastore"
1661
- }
1662
- }
1663
- }
1664
- },
1665
- nextLink: {
1666
- serializedName: "nextLink",
1667
- readOnly: true,
1668
- type: {
1669
- name: "String"
1670
- }
1671
- }
1672
- }
1673
- }
1674
- };
1675
- const DataLakeAnalyticsAccountProperties = {
1676
- type: {
1677
- name: "Composite",
1678
- className: "DataLakeAnalyticsAccountProperties",
1679
- modelProperties: Object.assign(Object.assign({}, DataLakeAnalyticsAccountPropertiesBasic.type.modelProperties), { defaultDataLakeStoreAccountType: {
1680
- serializedName: "defaultDataLakeStoreAccountType",
1681
- readOnly: true,
1682
- type: {
1683
- name: "String"
1684
- }
1685
- }, defaultDataLakeStoreAccount: {
1686
- serializedName: "defaultDataLakeStoreAccount",
1687
- readOnly: true,
1688
- type: {
1689
- name: "String"
1690
- }
1691
- }, dataLakeStoreAccounts: {
1692
- serializedName: "dataLakeStoreAccounts",
1693
- readOnly: true,
1694
- type: {
1695
- name: "Sequence",
1696
- element: {
1697
- type: {
1698
- name: "Composite",
1699
- className: "DataLakeStoreAccountInformation"
1700
- }
1701
- }
1702
- }
1703
- }, publicDataLakeStoreAccounts: {
1704
- serializedName: "publicDataLakeStoreAccounts",
1705
- type: {
1706
- name: "Sequence",
1707
- element: {
1708
- type: {
1709
- name: "Composite",
1710
- className: "DataLakeStoreAccountInformation"
1711
- }
1712
- }
1713
- }
1714
- }, storageAccounts: {
1715
- serializedName: "storageAccounts",
1716
- readOnly: true,
1717
- type: {
1718
- name: "Sequence",
1719
- element: {
1720
- type: {
1721
- name: "Composite",
1722
- className: "StorageAccountInformation"
1723
- }
1724
- }
1725
- }
1726
- }, computePolicies: {
1727
- serializedName: "computePolicies",
1728
- readOnly: true,
1729
- type: {
1730
- name: "Sequence",
1731
- element: {
1732
- type: {
1733
- name: "Composite",
1734
- className: "ComputePolicy"
1735
- }
1736
- }
1737
- }
1738
- }, hiveMetastores: {
1739
- serializedName: "hiveMetastores",
1740
- readOnly: true,
1741
- type: {
1742
- name: "Sequence",
1743
- element: {
1744
- type: {
1745
- name: "Composite",
1746
- className: "HiveMetastore"
1747
- }
1748
- }
1749
- }
1750
- }, virtualNetworkRules: {
1751
- serializedName: "virtualNetworkRules",
1752
- readOnly: true,
1753
- type: {
1754
- name: "Sequence",
1755
- element: {
1756
- type: {
1757
- name: "Composite",
1758
- className: "VirtualNetworkRule"
1759
- }
1760
- }
1761
- }
1762
- }, firewallRules: {
1763
- serializedName: "firewallRules",
1764
- readOnly: true,
1765
- type: {
1766
- name: "Sequence",
1767
- element: {
1768
- type: {
1769
- name: "Composite",
1770
- className: "FirewallRule"
1771
- }
1772
- }
1773
- }
1774
- }, firewallState: {
1775
- serializedName: "firewallState",
1776
- type: {
1777
- name: "Enum",
1778
- allowedValues: ["Enabled", "Disabled"]
1779
- }
1780
- }, firewallAllowAzureIps: {
1781
- serializedName: "firewallAllowAzureIps",
1782
- type: {
1783
- name: "Enum",
1784
- allowedValues: ["Enabled", "Disabled"]
1785
- }
1786
- }, newTier: {
1787
- serializedName: "newTier",
1788
- type: {
1789
- name: "Enum",
1790
- allowedValues: [
1791
- "Consumption",
1792
- "Commitment_100AUHours",
1793
- "Commitment_500AUHours",
1794
- "Commitment_1000AUHours",
1795
- "Commitment_5000AUHours",
1796
- "Commitment_10000AUHours",
1797
- "Commitment_50000AUHours",
1798
- "Commitment_100000AUHours",
1799
- "Commitment_500000AUHours"
1800
- ]
1801
- }
1802
- }, currentTier: {
1803
- serializedName: "currentTier",
1804
- readOnly: true,
1805
- type: {
1806
- name: "Enum",
1807
- allowedValues: [
1808
- "Consumption",
1809
- "Commitment_100AUHours",
1810
- "Commitment_500AUHours",
1811
- "Commitment_1000AUHours",
1812
- "Commitment_5000AUHours",
1813
- "Commitment_10000AUHours",
1814
- "Commitment_50000AUHours",
1815
- "Commitment_100000AUHours",
1816
- "Commitment_500000AUHours"
1817
- ]
1818
- }
1819
- }, maxJobCount: {
1820
- defaultValue: 3,
1821
- constraints: {
1822
- InclusiveMinimum: 1
1823
- },
1824
- serializedName: "maxJobCount",
1825
- type: {
1826
- name: "Number"
1827
- }
1828
- }, maxActiveJobCountPerUser: {
1829
- serializedName: "maxActiveJobCountPerUser",
1830
- readOnly: true,
1831
- type: {
1832
- name: "Number"
1833
- }
1834
- }, maxQueuedJobCountPerUser: {
1835
- serializedName: "maxQueuedJobCountPerUser",
1836
- readOnly: true,
1837
- type: {
1838
- name: "Number"
1839
- }
1840
- }, maxJobRunningTimeInMin: {
1841
- serializedName: "maxJobRunningTimeInMin",
1842
- readOnly: true,
1843
- type: {
1844
- name: "Number"
1845
- }
1846
- }, systemMaxJobCount: {
1847
- serializedName: "systemMaxJobCount",
1848
- readOnly: true,
1849
- type: {
1850
- name: "Number"
1851
- }
1852
- }, maxDegreeOfParallelism: {
1853
- defaultValue: 30,
1854
- constraints: {
1855
- InclusiveMinimum: 1
1856
- },
1857
- serializedName: "maxDegreeOfParallelism",
1858
- type: {
1859
- name: "Number"
1860
- }
1861
- }, systemMaxDegreeOfParallelism: {
1862
- serializedName: "systemMaxDegreeOfParallelism",
1863
- readOnly: true,
1864
- type: {
1865
- name: "Number"
1866
- }
1867
- }, maxDegreeOfParallelismPerJob: {
1868
- constraints: {
1869
- InclusiveMinimum: 1
1870
- },
1871
- serializedName: "maxDegreeOfParallelismPerJob",
1872
- type: {
1873
- name: "Number"
1874
- }
1875
- }, minPriorityPerJob: {
1876
- constraints: {
1877
- InclusiveMinimum: 1
1878
- },
1879
- serializedName: "minPriorityPerJob",
1880
- readOnly: true,
1881
- type: {
1882
- name: "Number"
1883
- }
1884
- }, queryStoreRetention: {
1885
- defaultValue: 30,
1886
- constraints: {
1887
- InclusiveMaximum: 180,
1888
- InclusiveMinimum: 1
1889
- },
1890
- serializedName: "queryStoreRetention",
1891
- type: {
1892
- name: "Number"
1893
- }
1894
- }, debugDataAccessLevel: {
1895
- serializedName: "debugDataAccessLevel",
1896
- readOnly: true,
1897
- type: {
1898
- name: "Enum",
1899
- allowedValues: ["All", "Customer", "None"]
1900
- }
1901
- } })
1902
- }
1903
- };
1904
- const DataLakeAnalyticsAccountBasic = {
1905
- type: {
1906
- name: "Composite",
1907
- className: "DataLakeAnalyticsAccountBasic",
1908
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { accountId: {
1909
- serializedName: "properties.accountId",
1910
- readOnly: true,
1911
- type: {
1912
- name: "Uuid"
1913
- }
1914
- }, provisioningState: {
1915
- serializedName: "properties.provisioningState",
1916
- readOnly: true,
1917
- type: {
1918
- name: "Enum",
1919
- allowedValues: [
1920
- "Failed",
1921
- "Creating",
1922
- "Running",
1923
- "Succeeded",
1924
- "Patching",
1925
- "Suspending",
1926
- "Resuming",
1927
- "Deleting",
1928
- "Deleted",
1929
- "Undeleting",
1930
- "Canceled"
1931
- ]
1932
- }
1933
- }, state: {
1934
- serializedName: "properties.state",
1935
- readOnly: true,
1936
- type: {
1937
- name: "Enum",
1938
- allowedValues: ["Active", "Suspended"]
1939
- }
1940
- }, creationTime: {
1941
- serializedName: "properties.creationTime",
1942
- readOnly: true,
1943
- type: {
1944
- name: "DateTime"
1945
- }
1946
- }, lastModifiedTime: {
1947
- serializedName: "properties.lastModifiedTime",
1948
- readOnly: true,
1949
- type: {
1950
- name: "DateTime"
1951
- }
1952
- }, endpoint: {
1953
- serializedName: "properties.endpoint",
1954
- readOnly: true,
1955
- type: {
1956
- name: "String"
1957
- }
1958
- } })
1959
- }
1960
- };
1961
- const DataLakeAnalyticsAccount = {
1962
- type: {
1963
- name: "Composite",
1964
- className: "DataLakeAnalyticsAccount",
1965
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { accountId: {
1966
- serializedName: "properties.accountId",
1967
- readOnly: true,
1968
- type: {
1969
- name: "Uuid"
1970
- }
1971
- }, provisioningState: {
1972
- serializedName: "properties.provisioningState",
1973
- readOnly: true,
1974
- type: {
1975
- name: "Enum",
1976
- allowedValues: [
1977
- "Failed",
1978
- "Creating",
1979
- "Running",
1980
- "Succeeded",
1981
- "Patching",
1982
- "Suspending",
1983
- "Resuming",
1984
- "Deleting",
1985
- "Deleted",
1986
- "Undeleting",
1987
- "Canceled"
1988
- ]
1989
- }
1990
- }, state: {
1991
- serializedName: "properties.state",
1992
- readOnly: true,
1993
- type: {
1994
- name: "Enum",
1995
- allowedValues: ["Active", "Suspended"]
1996
- }
1997
- }, creationTime: {
1998
- serializedName: "properties.creationTime",
1999
- readOnly: true,
2000
- type: {
2001
- name: "DateTime"
2002
- }
2003
- }, lastModifiedTime: {
2004
- serializedName: "properties.lastModifiedTime",
2005
- readOnly: true,
2006
- type: {
2007
- name: "DateTime"
2008
- }
2009
- }, endpoint: {
2010
- serializedName: "properties.endpoint",
2011
- readOnly: true,
2012
- type: {
2013
- name: "String"
2014
- }
2015
- }, defaultDataLakeStoreAccountType: {
2016
- serializedName: "properties.defaultDataLakeStoreAccountType",
2017
- readOnly: true,
2018
- type: {
2019
- name: "String"
2020
- }
2021
- }, defaultDataLakeStoreAccount: {
2022
- serializedName: "properties.defaultDataLakeStoreAccount",
2023
- readOnly: true,
2024
- type: {
2025
- name: "String"
2026
- }
2027
- }, dataLakeStoreAccounts: {
2028
- serializedName: "properties.dataLakeStoreAccounts",
2029
- readOnly: true,
2030
- type: {
2031
- name: "Sequence",
2032
- element: {
2033
- type: {
2034
- name: "Composite",
2035
- className: "DataLakeStoreAccountInformation"
2036
- }
2037
- }
2038
- }
2039
- }, publicDataLakeStoreAccounts: {
2040
- serializedName: "properties.publicDataLakeStoreAccounts",
2041
- type: {
2042
- name: "Sequence",
2043
- element: {
2044
- type: {
2045
- name: "Composite",
2046
- className: "DataLakeStoreAccountInformation"
2047
- }
2048
- }
2049
- }
2050
- }, storageAccounts: {
2051
- serializedName: "properties.storageAccounts",
2052
- readOnly: true,
2053
- type: {
2054
- name: "Sequence",
2055
- element: {
2056
- type: {
2057
- name: "Composite",
2058
- className: "StorageAccountInformation"
2059
- }
2060
- }
2061
- }
2062
- }, computePolicies: {
2063
- serializedName: "properties.computePolicies",
2064
- readOnly: true,
2065
- type: {
2066
- name: "Sequence",
2067
- element: {
2068
- type: {
2069
- name: "Composite",
2070
- className: "ComputePolicy"
2071
- }
2072
- }
2073
- }
2074
- }, hiveMetastores: {
2075
- serializedName: "properties.hiveMetastores",
2076
- readOnly: true,
2077
- type: {
2078
- name: "Sequence",
2079
- element: {
2080
- type: {
2081
- name: "Composite",
2082
- className: "HiveMetastore"
2083
- }
2084
- }
2085
- }
2086
- }, virtualNetworkRules: {
2087
- serializedName: "properties.virtualNetworkRules",
2088
- readOnly: true,
2089
- type: {
2090
- name: "Sequence",
2091
- element: {
2092
- type: {
2093
- name: "Composite",
2094
- className: "VirtualNetworkRule"
2095
- }
2096
- }
2097
- }
2098
- }, firewallRules: {
2099
- serializedName: "properties.firewallRules",
2100
- readOnly: true,
2101
- type: {
2102
- name: "Sequence",
2103
- element: {
2104
- type: {
2105
- name: "Composite",
2106
- className: "FirewallRule"
2107
- }
2108
- }
2109
- }
2110
- }, firewallState: {
2111
- serializedName: "properties.firewallState",
2112
- type: {
2113
- name: "Enum",
2114
- allowedValues: ["Enabled", "Disabled"]
2115
- }
2116
- }, firewallAllowAzureIps: {
2117
- serializedName: "properties.firewallAllowAzureIps",
2118
- type: {
2119
- name: "Enum",
2120
- allowedValues: ["Enabled", "Disabled"]
2121
- }
2122
- }, newTier: {
2123
- serializedName: "properties.newTier",
2124
- type: {
2125
- name: "Enum",
2126
- allowedValues: [
2127
- "Consumption",
2128
- "Commitment_100AUHours",
2129
- "Commitment_500AUHours",
2130
- "Commitment_1000AUHours",
2131
- "Commitment_5000AUHours",
2132
- "Commitment_10000AUHours",
2133
- "Commitment_50000AUHours",
2134
- "Commitment_100000AUHours",
2135
- "Commitment_500000AUHours"
2136
- ]
2137
- }
2138
- }, currentTier: {
2139
- serializedName: "properties.currentTier",
2140
- readOnly: true,
2141
- type: {
2142
- name: "Enum",
2143
- allowedValues: [
2144
- "Consumption",
2145
- "Commitment_100AUHours",
2146
- "Commitment_500AUHours",
2147
- "Commitment_1000AUHours",
2148
- "Commitment_5000AUHours",
2149
- "Commitment_10000AUHours",
2150
- "Commitment_50000AUHours",
2151
- "Commitment_100000AUHours",
2152
- "Commitment_500000AUHours"
2153
- ]
2154
- }
2155
- }, maxJobCount: {
2156
- defaultValue: 3,
2157
- constraints: {
2158
- InclusiveMinimum: 1
2159
- },
2160
- serializedName: "properties.maxJobCount",
2161
- type: {
2162
- name: "Number"
2163
- }
2164
- }, maxActiveJobCountPerUser: {
2165
- serializedName: "properties.maxActiveJobCountPerUser",
2166
- readOnly: true,
2167
- type: {
2168
- name: "Number"
2169
- }
2170
- }, maxQueuedJobCountPerUser: {
2171
- serializedName: "properties.maxQueuedJobCountPerUser",
2172
- readOnly: true,
2173
- type: {
2174
- name: "Number"
2175
- }
2176
- }, maxJobRunningTimeInMin: {
2177
- serializedName: "properties.maxJobRunningTimeInMin",
2178
- readOnly: true,
2179
- type: {
2180
- name: "Number"
2181
- }
2182
- }, systemMaxJobCount: {
2183
- serializedName: "properties.systemMaxJobCount",
2184
- readOnly: true,
2185
- type: {
2186
- name: "Number"
2187
- }
2188
- }, maxDegreeOfParallelism: {
2189
- defaultValue: 30,
2190
- constraints: {
2191
- InclusiveMinimum: 1
2192
- },
2193
- serializedName: "properties.maxDegreeOfParallelism",
2194
- type: {
2195
- name: "Number"
2196
- }
2197
- }, systemMaxDegreeOfParallelism: {
2198
- serializedName: "properties.systemMaxDegreeOfParallelism",
2199
- readOnly: true,
2200
- type: {
2201
- name: "Number"
2202
- }
2203
- }, maxDegreeOfParallelismPerJob: {
2204
- constraints: {
2205
- InclusiveMinimum: 1
2206
- },
2207
- serializedName: "properties.maxDegreeOfParallelismPerJob",
2208
- type: {
2209
- name: "Number"
2210
- }
2211
- }, minPriorityPerJob: {
2212
- constraints: {
2213
- InclusiveMinimum: 1
2214
- },
2215
- serializedName: "properties.minPriorityPerJob",
2216
- readOnly: true,
2217
- type: {
2218
- name: "Number"
2219
- }
2220
- }, queryStoreRetention: {
2221
- defaultValue: 30,
2222
- constraints: {
2223
- InclusiveMaximum: 180,
2224
- InclusiveMinimum: 1
2225
- },
2226
- serializedName: "properties.queryStoreRetention",
2227
- type: {
2228
- name: "Number"
2229
- }
2230
- }, debugDataAccessLevel: {
2231
- serializedName: "properties.debugDataAccessLevel",
2232
- readOnly: true,
2233
- type: {
2234
- name: "Enum",
2235
- allowedValues: ["All", "Customer", "None"]
2236
- }
2237
- } })
2238
- }
2239
- };
2240
- const DataLakeStoreAccountInformation = {
2241
- type: {
2242
- name: "Composite",
2243
- className: "DataLakeStoreAccountInformation",
2244
- modelProperties: Object.assign(Object.assign({}, SubResource.type.modelProperties), { suffix: {
2245
- serializedName: "properties.suffix",
2246
- readOnly: true,
2247
- type: {
2248
- name: "String"
2249
- }
2250
- } })
2251
- }
2252
- };
2253
- const StorageAccountInformation = {
2254
- type: {
2255
- name: "Composite",
2256
- className: "StorageAccountInformation",
2257
- modelProperties: Object.assign(Object.assign({}, SubResource.type.modelProperties), { suffix: {
2258
- serializedName: "properties.suffix",
2259
- readOnly: true,
2260
- type: {
2261
- name: "String"
2262
- }
2263
- } })
2264
- }
2265
- };
2266
- const ComputePolicy = {
2267
- type: {
2268
- name: "Composite",
2269
- className: "ComputePolicy",
2270
- modelProperties: Object.assign(Object.assign({}, SubResource.type.modelProperties), { objectId: {
2271
- serializedName: "properties.objectId",
2272
- readOnly: true,
2273
- type: {
2274
- name: "Uuid"
2275
- }
2276
- }, objectType: {
2277
- serializedName: "properties.objectType",
2278
- readOnly: true,
2279
- type: {
2280
- name: "String"
2281
- }
2282
- }, maxDegreeOfParallelismPerJob: {
2283
- constraints: {
2284
- InclusiveMinimum: 1
2285
- },
2286
- serializedName: "properties.maxDegreeOfParallelismPerJob",
2287
- readOnly: true,
2288
- type: {
2289
- name: "Number"
2290
- }
2291
- }, minPriorityPerJob: {
2292
- constraints: {
2293
- InclusiveMinimum: 1
2294
- },
2295
- serializedName: "properties.minPriorityPerJob",
2296
- readOnly: true,
2297
- type: {
2298
- name: "Number"
2299
- }
2300
- } })
2301
- }
2302
- };
2303
- const HiveMetastore = {
2304
- type: {
2305
- name: "Composite",
2306
- className: "HiveMetastore",
2307
- modelProperties: Object.assign(Object.assign({}, SubResource.type.modelProperties), { serverUri: {
2308
- serializedName: "properties.serverUri",
2309
- readOnly: true,
2310
- type: {
2311
- name: "String"
2312
- }
2313
- }, databaseName: {
2314
- serializedName: "properties.databaseName",
2315
- readOnly: true,
2316
- type: {
2317
- name: "String"
2318
- }
2319
- }, runtimeVersion: {
2320
- serializedName: "properties.runtimeVersion",
2321
- readOnly: true,
2322
- type: {
2323
- name: "String"
2324
- }
2325
- }, userName: {
2326
- serializedName: "properties.userName",
2327
- readOnly: true,
2328
- type: {
2329
- name: "String"
2330
- }
2331
- }, password: {
2332
- serializedName: "properties.password",
2333
- readOnly: true,
2334
- type: {
2335
- name: "String"
2336
- }
2337
- }, nestedResourceProvisioningState: {
2338
- serializedName: "properties.nestedResourceProvisioningState",
2339
- readOnly: true,
2340
- type: {
2341
- name: "Enum",
2342
- allowedValues: ["Succeeded", "Canceled", "Failed"]
2343
- }
2344
- } })
2345
- }
2346
- };
2347
- const VirtualNetworkRule = {
2348
- type: {
2349
- name: "Composite",
2350
- className: "VirtualNetworkRule",
2351
- modelProperties: Object.assign(Object.assign({}, SubResource.type.modelProperties), { subnetId: {
2352
- serializedName: "properties.subnetId",
2353
- readOnly: true,
2354
- type: {
2355
- name: "String"
2356
- }
2357
- }, virtualNetworkRuleState: {
2358
- serializedName: "properties.virtualNetworkRuleState",
2359
- readOnly: true,
2360
- type: {
2361
- name: "Enum",
2362
- allowedValues: ["Active", "NetworkSourceDeleted", "Failed"]
2363
- }
2364
- } })
2365
- }
2366
- };
2367
- const FirewallRule = {
2368
- type: {
2369
- name: "Composite",
2370
- className: "FirewallRule",
2371
- modelProperties: Object.assign(Object.assign({}, SubResource.type.modelProperties), { startIpAddress: {
2372
- serializedName: "properties.startIpAddress",
2373
- readOnly: true,
2374
- type: {
2375
- name: "String"
2376
- }
2377
- }, endIpAddress: {
2378
- serializedName: "properties.endIpAddress",
2379
- readOnly: true,
2380
- type: {
2381
- name: "String"
2382
- }
2383
- } })
2384
- }
2385
- };
2386
- const StorageContainer = {
2387
- type: {
2388
- name: "Composite",
2389
- className: "StorageContainer",
2390
- modelProperties: Object.assign(Object.assign({}, SubResource.type.modelProperties), { lastModifiedTime: {
2391
- serializedName: "properties.lastModifiedTime",
2392
- readOnly: true,
2393
- type: {
2394
- name: "DateTime"
2395
- }
2396
- } })
2397
- }
2398
- };
2399
-
2400
- var Mappers = /*#__PURE__*/Object.freeze({
2401
- __proto__: null,
2402
- DataLakeAnalyticsAccountListResult: DataLakeAnalyticsAccountListResult,
2403
- DataLakeAnalyticsAccountPropertiesBasic: DataLakeAnalyticsAccountPropertiesBasic,
2404
- Resource: Resource,
2405
- ErrorResponse: ErrorResponse,
2406
- ErrorDetail: ErrorDetail,
2407
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2408
- CreateDataLakeAnalyticsAccountParameters: CreateDataLakeAnalyticsAccountParameters,
2409
- AddDataLakeStoreWithAccountParameters: AddDataLakeStoreWithAccountParameters,
2410
- AddStorageAccountWithAccountParameters: AddStorageAccountWithAccountParameters,
2411
- CreateComputePolicyWithAccountParameters: CreateComputePolicyWithAccountParameters,
2412
- CreateFirewallRuleWithAccountParameters: CreateFirewallRuleWithAccountParameters,
2413
- SubResource: SubResource,
2414
- UpdateDataLakeAnalyticsAccountParameters: UpdateDataLakeAnalyticsAccountParameters,
2415
- UpdateDataLakeStoreWithAccountParameters: UpdateDataLakeStoreWithAccountParameters,
2416
- UpdateStorageAccountWithAccountParameters: UpdateStorageAccountWithAccountParameters,
2417
- UpdateComputePolicyWithAccountParameters: UpdateComputePolicyWithAccountParameters,
2418
- UpdateFirewallRuleWithAccountParameters: UpdateFirewallRuleWithAccountParameters,
2419
- DataLakeStoreAccountInformationListResult: DataLakeStoreAccountInformationListResult,
2420
- AddDataLakeStoreParameters: AddDataLakeStoreParameters,
2421
- StorageAccountInformationListResult: StorageAccountInformationListResult,
2422
- AddStorageAccountParameters: AddStorageAccountParameters,
2423
- UpdateStorageAccountParameters: UpdateStorageAccountParameters,
2424
- StorageContainerListResult: StorageContainerListResult,
2425
- SasTokenInformationListResult: SasTokenInformationListResult,
2426
- SasTokenInformation: SasTokenInformation,
2427
- ComputePolicyListResult: ComputePolicyListResult,
2428
- CreateOrUpdateComputePolicyParameters: CreateOrUpdateComputePolicyParameters,
2429
- UpdateComputePolicyParameters: UpdateComputePolicyParameters,
2430
- FirewallRuleListResult: FirewallRuleListResult,
2431
- CreateOrUpdateFirewallRuleParameters: CreateOrUpdateFirewallRuleParameters,
2432
- UpdateFirewallRuleParameters: UpdateFirewallRuleParameters,
2433
- OperationListResult: OperationListResult,
2434
- Operation: Operation,
2435
- OperationDisplay: OperationDisplay,
2436
- OperationMetaPropertyInfo: OperationMetaPropertyInfo,
2437
- OperationMetaServiceSpecification: OperationMetaServiceSpecification,
2438
- OperationMetaMetricSpecification: OperationMetaMetricSpecification,
2439
- OperationMetaMetricAvailabilitiesSpecification: OperationMetaMetricAvailabilitiesSpecification,
2440
- OperationMetaLogSpecification: OperationMetaLogSpecification,
2441
- CapabilityInformation: CapabilityInformation,
2442
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
2443
- NameAvailabilityInformation: NameAvailabilityInformation,
2444
- VirtualNetworkRuleListResult: VirtualNetworkRuleListResult,
2445
- HiveMetastoreListResult: HiveMetastoreListResult,
2446
- DataLakeAnalyticsAccountProperties: DataLakeAnalyticsAccountProperties,
2447
- DataLakeAnalyticsAccountBasic: DataLakeAnalyticsAccountBasic,
2448
- DataLakeAnalyticsAccount: DataLakeAnalyticsAccount,
2449
- DataLakeStoreAccountInformation: DataLakeStoreAccountInformation,
2450
- StorageAccountInformation: StorageAccountInformation,
2451
- ComputePolicy: ComputePolicy,
2452
- HiveMetastore: HiveMetastore,
2453
- VirtualNetworkRule: VirtualNetworkRule,
2454
- FirewallRule: FirewallRule,
2455
- StorageContainer: StorageContainer
2456
- });
2457
-
2458
- /*
2459
- * Copyright (c) Microsoft Corporation.
2460
- * Licensed under the MIT License.
2461
- *
2462
- * Code generated by Microsoft (R) AutoRest Code Generator.
2463
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2464
- */
2465
- const accept = {
2466
- parameterPath: "accept",
2467
- mapper: {
2468
- defaultValue: "application/json",
2469
- isConstant: true,
2470
- serializedName: "Accept",
2471
- type: {
2472
- name: "String"
2473
- }
2474
- }
2475
- };
2476
- const $host = {
2477
- parameterPath: "$host",
2478
- mapper: {
2479
- serializedName: "$host",
2480
- required: true,
2481
- type: {
2482
- name: "String"
2483
- }
2484
- },
2485
- skipEncoding: true
2486
- };
2487
- const subscriptionId = {
2488
- parameterPath: "subscriptionId",
2489
- mapper: {
2490
- serializedName: "subscriptionId",
2491
- required: true,
2492
- type: {
2493
- name: "String"
2494
- }
2495
- }
2496
- };
2497
- const filter = {
2498
- parameterPath: ["options", "filter"],
2499
- mapper: {
2500
- serializedName: "$filter",
2501
- type: {
2502
- name: "String"
2503
- }
2504
- }
2505
- };
2506
- const top = {
2507
- parameterPath: ["options", "top"],
2508
- mapper: {
2509
- constraints: {
2510
- InclusiveMinimum: 1
2511
- },
2512
- serializedName: "$top",
2513
- type: {
2514
- name: "Number"
2515
- }
2516
- }
2517
- };
2518
- const skip = {
2519
- parameterPath: ["options", "skip"],
2520
- mapper: {
2521
- constraints: {
2522
- InclusiveMinimum: 1
2523
- },
2524
- serializedName: "$skip",
2525
- type: {
2526
- name: "Number"
2527
- }
2528
- }
2529
- };
2530
- const select = {
2531
- parameterPath: ["options", "select"],
2532
- mapper: {
2533
- serializedName: "$select",
2534
- type: {
2535
- name: "String"
2536
- }
2537
- }
2538
- };
2539
- const orderby = {
2540
- parameterPath: ["options", "orderby"],
2541
- mapper: {
2542
- serializedName: "$orderby",
2543
- type: {
2544
- name: "String"
2545
- }
2546
- }
2547
- };
2548
- const count = {
2549
- parameterPath: ["options", "count"],
2550
- mapper: {
2551
- serializedName: "$count",
2552
- type: {
2553
- name: "Boolean"
2554
- }
2555
- }
2556
- };
2557
- const apiVersion = {
2558
- parameterPath: "apiVersion",
2559
- mapper: {
2560
- defaultValue: "2019-11-01-preview",
2561
- isConstant: true,
2562
- serializedName: "api-version",
2563
- type: {
2564
- name: "String"
2565
- }
2566
- }
2567
- };
2568
- const resourceGroupName = {
2569
- parameterPath: "resourceGroupName",
2570
- mapper: {
2571
- serializedName: "resourceGroupName",
2572
- required: true,
2573
- type: {
2574
- name: "String"
2575
- }
2576
- }
2577
- };
2578
- const contentType = {
2579
- parameterPath: ["options", "contentType"],
2580
- mapper: {
2581
- defaultValue: "application/json",
2582
- isConstant: true,
2583
- serializedName: "Content-Type",
2584
- type: {
2585
- name: "String"
2586
- }
2587
- }
2588
- };
2589
- const parameters = {
2590
- parameterPath: "parameters",
2591
- mapper: CreateDataLakeAnalyticsAccountParameters
2592
- };
2593
- const accountName = {
2594
- parameterPath: "accountName",
2595
- mapper: {
2596
- serializedName: "accountName",
2597
- required: true,
2598
- type: {
2599
- name: "String"
2600
- }
2601
- }
2602
- };
2603
- const parameters1 = {
2604
- parameterPath: ["options", "parameters"],
2605
- mapper: UpdateDataLakeAnalyticsAccountParameters
2606
- };
2607
- const parameters2 = {
2608
- parameterPath: "parameters",
2609
- mapper: CheckNameAvailabilityParameters
2610
- };
2611
- const location = {
2612
- parameterPath: "location",
2613
- mapper: {
2614
- serializedName: "location",
2615
- required: true,
2616
- type: {
2617
- name: "String"
2618
- }
2619
- }
2620
- };
2621
- const nextLink = {
2622
- parameterPath: "nextLink",
2623
- mapper: {
2624
- serializedName: "nextLink",
2625
- required: true,
2626
- type: {
2627
- name: "String"
2628
- }
2629
- },
2630
- skipEncoding: true
2631
- };
2632
- const parameters3 = {
2633
- parameterPath: ["options", "parameters"],
2634
- mapper: AddDataLakeStoreParameters
2635
- };
2636
- const dataLakeStoreAccountName = {
2637
- parameterPath: "dataLakeStoreAccountName",
2638
- mapper: {
2639
- serializedName: "dataLakeStoreAccountName",
2640
- required: true,
2641
- type: {
2642
- name: "String"
2643
- }
2644
- }
2645
- };
2646
- const parameters4 = {
2647
- parameterPath: "parameters",
2648
- mapper: AddStorageAccountParameters
2649
- };
2650
- const storageAccountName = {
2651
- parameterPath: "storageAccountName",
2652
- mapper: {
2653
- serializedName: "storageAccountName",
2654
- required: true,
2655
- type: {
2656
- name: "String"
2657
- }
2658
- }
2659
- };
2660
- const parameters5 = {
2661
- parameterPath: ["options", "parameters"],
2662
- mapper: UpdateStorageAccountParameters
2663
- };
2664
- const containerName = {
2665
- parameterPath: "containerName",
2666
- mapper: {
2667
- serializedName: "containerName",
2668
- required: true,
2669
- type: {
2670
- name: "String"
2671
- }
2672
- }
2673
- };
2674
- const parameters6 = {
2675
- parameterPath: "parameters",
2676
- mapper: CreateOrUpdateComputePolicyParameters
2677
- };
2678
- const computePolicyName = {
2679
- parameterPath: "computePolicyName",
2680
- mapper: {
2681
- serializedName: "computePolicyName",
2682
- required: true,
2683
- type: {
2684
- name: "String"
2685
- }
2686
- }
2687
- };
2688
- const parameters7 = {
2689
- parameterPath: ["options", "parameters"],
2690
- mapper: UpdateComputePolicyParameters
2691
- };
2692
- const parameters8 = {
2693
- parameterPath: "parameters",
2694
- mapper: CreateOrUpdateFirewallRuleParameters
2695
- };
2696
- const firewallRuleName = {
2697
- parameterPath: "firewallRuleName",
2698
- mapper: {
2699
- serializedName: "firewallRuleName",
2700
- required: true,
2701
- type: {
2702
- name: "String"
2703
- }
2704
- }
2705
- };
2706
- const parameters9 = {
2707
- parameterPath: ["options", "parameters"],
2708
- mapper: UpdateFirewallRuleParameters
2709
- };
2710
-
2711
- /*
2712
- * Copyright (c) Microsoft Corporation.
2713
- * Licensed under the MIT License.
2714
- *
2715
- * Code generated by Microsoft (R) AutoRest Code Generator.
2716
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2717
- */
2718
- class LroImpl {
2719
- constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
2720
- this.sendOperationFn = sendOperationFn;
2721
- this.args = args;
2722
- this.spec = spec;
2723
- this.requestPath = requestPath;
2724
- this.requestMethod = requestMethod;
2725
- }
2726
- sendInitialRequest() {
2727
- return tslib.__awaiter(this, void 0, void 0, function* () {
2728
- return this.sendOperationFn(this.args, this.spec);
2729
- });
2730
- }
2731
- sendPollRequest(path) {
2732
- return tslib.__awaiter(this, void 0, void 0, function* () {
2733
- const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
2734
- return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
2735
- });
2736
- }
2737
- }
2738
-
2739
- /*
2740
- * Copyright (c) Microsoft Corporation.
2741
- * Licensed under the MIT License.
2742
- *
2743
- * Code generated by Microsoft (R) AutoRest Code Generator.
2744
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2745
- */
2746
- /// <reference lib="esnext.asynciterable" />
2747
- /** Class containing Accounts operations. */
2748
- class AccountsImpl {
2749
- /**
2750
- * Initialize a new instance of the class Accounts class.
2751
- * @param client Reference to the service client
2752
- */
2753
- constructor(client) {
2754
- this.client = client;
2755
- }
2756
- /**
2757
- * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This
2758
- * includes a link to the next page, if any.
2759
- * @param options The options parameters.
2760
- */
2761
- list(options) {
2762
- const iter = this.listPagingAll(options);
2763
- return {
2764
- next() {
2765
- return iter.next();
2766
- },
2767
- [Symbol.asyncIterator]() {
2768
- return this;
2769
- },
2770
- byPage: (settings) => {
2771
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
2772
- throw new Error("maxPageSize is not supported by this operation.");
2773
- }
2774
- return this.listPagingPage(options, settings);
2775
- }
2776
- };
2777
- }
2778
- listPagingPage(options, settings) {
2779
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
2780
- let result;
2781
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
2782
- if (!continuationToken) {
2783
- result = yield tslib.__await(this._list(options));
2784
- let page = result.value || [];
2785
- continuationToken = result.nextLink;
2786
- setContinuationToken(page, continuationToken);
2787
- yield yield tslib.__await(page);
2788
- }
2789
- while (continuationToken) {
2790
- result = yield tslib.__await(this._listNext(continuationToken, options));
2791
- continuationToken = result.nextLink;
2792
- let page = result.value || [];
2793
- setContinuationToken(page, continuationToken);
2794
- yield yield tslib.__await(page);
2795
- }
2796
- });
2797
- }
2798
- listPagingAll(options) {
2799
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2800
- var e_1, _a;
2801
- try {
2802
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2803
- const page = _c.value;
2804
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2805
- }
2806
- }
2807
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2808
- finally {
2809
- try {
2810
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2811
- }
2812
- finally { if (e_1) throw e_1.error; }
2813
- }
2814
- });
2815
- }
2816
- /**
2817
- * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This
2818
- * includes a link to the next page, if any.
2819
- * @param resourceGroupName The name of the Azure resource group.
2820
- * @param options The options parameters.
2821
- */
2822
- listByResourceGroup(resourceGroupName, options) {
2823
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
2824
- return {
2825
- next() {
2826
- return iter.next();
2827
- },
2828
- [Symbol.asyncIterator]() {
2829
- return this;
2830
- },
2831
- byPage: (settings) => {
2832
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
2833
- throw new Error("maxPageSize is not supported by this operation.");
2834
- }
2835
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
2836
- }
2837
- };
2838
- }
2839
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
2840
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
2841
- let result;
2842
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
2843
- if (!continuationToken) {
2844
- result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
2845
- let page = result.value || [];
2846
- continuationToken = result.nextLink;
2847
- setContinuationToken(page, continuationToken);
2848
- yield yield tslib.__await(page);
2849
- }
2850
- while (continuationToken) {
2851
- result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
2852
- continuationToken = result.nextLink;
2853
- let page = result.value || [];
2854
- setContinuationToken(page, continuationToken);
2855
- yield yield tslib.__await(page);
2856
- }
2857
- });
2858
- }
2859
- listByResourceGroupPagingAll(resourceGroupName, options) {
2860
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2861
- var e_2, _a;
2862
- try {
2863
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2864
- const page = _c.value;
2865
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2866
- }
2867
- }
2868
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
2869
- finally {
2870
- try {
2871
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2872
- }
2873
- finally { if (e_2) throw e_2.error; }
2874
- }
2875
- });
2876
- }
2877
- /**
2878
- * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This
2879
- * includes a link to the next page, if any.
2880
- * @param options The options parameters.
2881
- */
2882
- _list(options) {
2883
- return this.client.sendOperationRequest({ options }, listOperationSpec$1);
2884
- }
2885
- /**
2886
- * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This
2887
- * includes a link to the next page, if any.
2888
- * @param resourceGroupName The name of the Azure resource group.
2889
- * @param options The options parameters.
2890
- */
2891
- _listByResourceGroup(resourceGroupName, options) {
2892
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
2893
- }
2894
- /**
2895
- * Creates the specified Data Lake Analytics account. This supplies the user with computation services
2896
- * for Data Lake Analytics workloads.
2897
- * @param resourceGroupName The name of the Azure resource group.
2898
- * @param accountName The name of the Data Lake Analytics account.
2899
- * @param parameters Parameters supplied to create a new Data Lake Analytics account.
2900
- * @param options The options parameters.
2901
- */
2902
- beginCreate(resourceGroupName, accountName, parameters, options) {
2903
- return tslib.__awaiter(this, void 0, void 0, function* () {
2904
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2905
- return this.client.sendOperationRequest(args, spec);
2906
- });
2907
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2908
- var _a;
2909
- let currentRawResponse = undefined;
2910
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2911
- const callback = (rawResponse, flatResponse) => {
2912
- currentRawResponse = rawResponse;
2913
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
2914
- };
2915
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2916
- const flatResponse = yield directSendOperation(updatedArgs, spec);
2917
- return {
2918
- flatResponse,
2919
- rawResponse: {
2920
- statusCode: currentRawResponse.status,
2921
- body: currentRawResponse.parsedBody,
2922
- headers: currentRawResponse.headers.toJSON()
2923
- }
2924
- };
2925
- });
2926
- const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec);
2927
- const poller = new coreLro.LroEngine(lro, {
2928
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2929
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
2930
- });
2931
- yield poller.poll();
2932
- return poller;
2933
- });
2934
- }
2935
- /**
2936
- * Creates the specified Data Lake Analytics account. This supplies the user with computation services
2937
- * for Data Lake Analytics workloads.
2938
- * @param resourceGroupName The name of the Azure resource group.
2939
- * @param accountName The name of the Data Lake Analytics account.
2940
- * @param parameters Parameters supplied to create a new Data Lake Analytics account.
2941
- * @param options The options parameters.
2942
- */
2943
- beginCreateAndWait(resourceGroupName, accountName, parameters, options) {
2944
- return tslib.__awaiter(this, void 0, void 0, function* () {
2945
- const poller = yield this.beginCreate(resourceGroupName, accountName, parameters, options);
2946
- return poller.pollUntilDone();
2947
- });
2948
- }
2949
- /**
2950
- * Gets details of the specified Data Lake Analytics account.
2951
- * @param resourceGroupName The name of the Azure resource group.
2952
- * @param accountName The name of the Data Lake Analytics account.
2953
- * @param options The options parameters.
2954
- */
2955
- get(resourceGroupName, accountName, options) {
2956
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec$4);
2957
- }
2958
- /**
2959
- * Updates the Data Lake Analytics account object specified by the accountName with the contents of the
2960
- * account object.
2961
- * @param resourceGroupName The name of the Azure resource group.
2962
- * @param accountName The name of the Data Lake Analytics account.
2963
- * @param options The options parameters.
2964
- */
2965
- beginUpdate(resourceGroupName, accountName, options) {
2966
- return tslib.__awaiter(this, void 0, void 0, function* () {
2967
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2968
- return this.client.sendOperationRequest(args, spec);
2969
- });
2970
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2971
- var _a;
2972
- let currentRawResponse = undefined;
2973
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2974
- const callback = (rawResponse, flatResponse) => {
2975
- currentRawResponse = rawResponse;
2976
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
2977
- };
2978
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2979
- const flatResponse = yield directSendOperation(updatedArgs, spec);
2980
- return {
2981
- flatResponse,
2982
- rawResponse: {
2983
- statusCode: currentRawResponse.status,
2984
- body: currentRawResponse.parsedBody,
2985
- headers: currentRawResponse.headers.toJSON()
2986
- }
2987
- };
2988
- });
2989
- const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, updateOperationSpec$3);
2990
- const poller = new coreLro.LroEngine(lro, {
2991
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2992
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
2993
- });
2994
- yield poller.poll();
2995
- return poller;
2996
- });
2997
- }
2998
- /**
2999
- * Updates the Data Lake Analytics account object specified by the accountName with the contents of the
3000
- * account object.
3001
- * @param resourceGroupName The name of the Azure resource group.
3002
- * @param accountName The name of the Data Lake Analytics account.
3003
- * @param options The options parameters.
3004
- */
3005
- beginUpdateAndWait(resourceGroupName, accountName, options) {
3006
- return tslib.__awaiter(this, void 0, void 0, function* () {
3007
- const poller = yield this.beginUpdate(resourceGroupName, accountName, options);
3008
- return poller.pollUntilDone();
3009
- });
3010
- }
3011
- /**
3012
- * Begins the delete process for the Data Lake Analytics account object specified by the account name.
3013
- * @param resourceGroupName The name of the Azure resource group.
3014
- * @param accountName The name of the Data Lake Analytics account.
3015
- * @param options The options parameters.
3016
- */
3017
- beginDelete(resourceGroupName, accountName, options) {
3018
- return tslib.__awaiter(this, void 0, void 0, function* () {
3019
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
3020
- return this.client.sendOperationRequest(args, spec);
3021
- });
3022
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
3023
- var _a;
3024
- let currentRawResponse = undefined;
3025
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
3026
- const callback = (rawResponse, flatResponse) => {
3027
- currentRawResponse = rawResponse;
3028
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
3029
- };
3030
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
3031
- const flatResponse = yield directSendOperation(updatedArgs, spec);
3032
- return {
3033
- flatResponse,
3034
- rawResponse: {
3035
- statusCode: currentRawResponse.status,
3036
- body: currentRawResponse.parsedBody,
3037
- headers: currentRawResponse.headers.toJSON()
3038
- }
3039
- };
3040
- });
3041
- const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec$4);
3042
- const poller = new coreLro.LroEngine(lro, {
3043
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3044
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
3045
- });
3046
- yield poller.poll();
3047
- return poller;
3048
- });
3049
- }
3050
- /**
3051
- * Begins the delete process for the Data Lake Analytics account object specified by the account name.
3052
- * @param resourceGroupName The name of the Azure resource group.
3053
- * @param accountName The name of the Data Lake Analytics account.
3054
- * @param options The options parameters.
3055
- */
3056
- beginDeleteAndWait(resourceGroupName, accountName, options) {
3057
- return tslib.__awaiter(this, void 0, void 0, function* () {
3058
- const poller = yield this.beginDelete(resourceGroupName, accountName, options);
3059
- return poller.pollUntilDone();
3060
- });
3061
- }
3062
- /**
3063
- * Checks whether the specified account name is available or taken.
3064
- * @param location The resource location without whitespace.
3065
- * @param parameters Parameters supplied to check the Data Lake Analytics account name availability.
3066
- * @param options The options parameters.
3067
- */
3068
- checkNameAvailability(location, parameters, options) {
3069
- return this.client.sendOperationRequest({ location, parameters, options }, checkNameAvailabilityOperationSpec);
3070
- }
3071
- /**
3072
- * ListNext
3073
- * @param nextLink The nextLink from the previous successful call to the List method.
3074
- * @param options The options parameters.
3075
- */
3076
- _listNext(nextLink, options) {
3077
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
3078
- }
3079
- /**
3080
- * ListByResourceGroupNext
3081
- * @param resourceGroupName The name of the Azure resource group.
3082
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
3083
- * @param options The options parameters.
3084
- */
3085
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
3086
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
3087
- }
3088
- }
3089
- // Operation Specifications
3090
- const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3091
- const listOperationSpec$1 = {
3092
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts",
3093
- httpMethod: "GET",
3094
- responses: {
3095
- 200: {
3096
- bodyMapper: DataLakeAnalyticsAccountListResult
3097
- },
3098
- default: {
3099
- bodyMapper: ErrorResponse
3100
- }
3101
- },
3102
- queryParameters: [
3103
- filter,
3104
- top,
3105
- skip,
3106
- select,
3107
- orderby,
3108
- count,
3109
- apiVersion
3110
- ],
3111
- urlParameters: [$host, subscriptionId],
3112
- headerParameters: [accept],
3113
- serializer: serializer$6
3114
- };
3115
- const listByResourceGroupOperationSpec = {
3116
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts",
3117
- httpMethod: "GET",
3118
- responses: {
3119
- 200: {
3120
- bodyMapper: DataLakeAnalyticsAccountListResult
3121
- },
3122
- default: {
3123
- bodyMapper: ErrorResponse
3124
- }
3125
- },
3126
- queryParameters: [
3127
- filter,
3128
- top,
3129
- skip,
3130
- select,
3131
- orderby,
3132
- count,
3133
- apiVersion
3134
- ],
3135
- urlParameters: [
3136
- $host,
3137
- subscriptionId,
3138
- resourceGroupName
3139
- ],
3140
- headerParameters: [accept],
3141
- serializer: serializer$6
3142
- };
3143
- const createOperationSpec = {
3144
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
3145
- httpMethod: "PUT",
3146
- responses: {
3147
- 200: {
3148
- bodyMapper: DataLakeAnalyticsAccount
3149
- },
3150
- 201: {
3151
- bodyMapper: DataLakeAnalyticsAccount
3152
- },
3153
- 202: {
3154
- bodyMapper: DataLakeAnalyticsAccount
3155
- },
3156
- 204: {
3157
- bodyMapper: DataLakeAnalyticsAccount
3158
- },
3159
- default: {
3160
- bodyMapper: ErrorResponse
3161
- }
3162
- },
3163
- requestBody: parameters,
3164
- queryParameters: [apiVersion],
3165
- urlParameters: [
3166
- $host,
3167
- subscriptionId,
3168
- resourceGroupName,
3169
- accountName
3170
- ],
3171
- headerParameters: [accept, contentType],
3172
- mediaType: "json",
3173
- serializer: serializer$6
3174
- };
3175
- const getOperationSpec$4 = {
3176
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
3177
- httpMethod: "GET",
3178
- responses: {
3179
- 200: {
3180
- bodyMapper: DataLakeAnalyticsAccount
3181
- },
3182
- default: {
3183
- bodyMapper: ErrorResponse
3184
- }
3185
- },
3186
- queryParameters: [apiVersion],
3187
- urlParameters: [
3188
- $host,
3189
- subscriptionId,
3190
- resourceGroupName,
3191
- accountName
3192
- ],
3193
- headerParameters: [accept],
3194
- serializer: serializer$6
3195
- };
3196
- const updateOperationSpec$3 = {
3197
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
3198
- httpMethod: "PATCH",
3199
- responses: {
3200
- 200: {
3201
- bodyMapper: DataLakeAnalyticsAccount
3202
- },
3203
- 201: {
3204
- bodyMapper: DataLakeAnalyticsAccount
3205
- },
3206
- 202: {
3207
- bodyMapper: DataLakeAnalyticsAccount
3208
- },
3209
- 204: {
3210
- bodyMapper: DataLakeAnalyticsAccount
3211
- },
3212
- default: {
3213
- bodyMapper: ErrorResponse
3214
- }
3215
- },
3216
- requestBody: parameters1,
3217
- queryParameters: [apiVersion],
3218
- urlParameters: [
3219
- $host,
3220
- subscriptionId,
3221
- resourceGroupName,
3222
- accountName
3223
- ],
3224
- headerParameters: [accept, contentType],
3225
- mediaType: "json",
3226
- serializer: serializer$6
3227
- };
3228
- const deleteOperationSpec$4 = {
3229
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
3230
- httpMethod: "DELETE",
3231
- responses: {
3232
- 200: {},
3233
- 201: {},
3234
- 202: {},
3235
- 204: {},
3236
- default: {
3237
- bodyMapper: ErrorResponse
3238
- }
3239
- },
3240
- queryParameters: [apiVersion],
3241
- urlParameters: [
3242
- $host,
3243
- subscriptionId,
3244
- resourceGroupName,
3245
- accountName
3246
- ],
3247
- headerParameters: [accept],
3248
- serializer: serializer$6
3249
- };
3250
- const checkNameAvailabilityOperationSpec = {
3251
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability",
3252
- httpMethod: "POST",
3253
- responses: {
3254
- 200: {
3255
- bodyMapper: NameAvailabilityInformation
3256
- },
3257
- default: {
3258
- bodyMapper: ErrorResponse
3259
- }
3260
- },
3261
- requestBody: parameters2,
3262
- queryParameters: [apiVersion],
3263
- urlParameters: [
3264
- $host,
3265
- subscriptionId,
3266
- location
3267
- ],
3268
- headerParameters: [accept, contentType],
3269
- mediaType: "json",
3270
- serializer: serializer$6
3271
- };
3272
- const listNextOperationSpec = {
3273
- path: "{nextLink}",
3274
- httpMethod: "GET",
3275
- responses: {
3276
- 200: {
3277
- bodyMapper: DataLakeAnalyticsAccountListResult
3278
- },
3279
- default: {
3280
- bodyMapper: ErrorResponse
3281
- }
3282
- },
3283
- queryParameters: [
3284
- filter,
3285
- top,
3286
- skip,
3287
- select,
3288
- orderby,
3289
- count,
3290
- apiVersion
3291
- ],
3292
- urlParameters: [
3293
- $host,
3294
- subscriptionId,
3295
- nextLink
3296
- ],
3297
- headerParameters: [accept],
3298
- serializer: serializer$6
3299
- };
3300
- const listByResourceGroupNextOperationSpec = {
3301
- path: "{nextLink}",
3302
- httpMethod: "GET",
3303
- responses: {
3304
- 200: {
3305
- bodyMapper: DataLakeAnalyticsAccountListResult
3306
- },
3307
- default: {
3308
- bodyMapper: ErrorResponse
3309
- }
3310
- },
3311
- queryParameters: [
3312
- filter,
3313
- top,
3314
- skip,
3315
- select,
3316
- orderby,
3317
- count,
3318
- apiVersion
3319
- ],
3320
- urlParameters: [
3321
- $host,
3322
- subscriptionId,
3323
- resourceGroupName,
3324
- nextLink
3325
- ],
3326
- headerParameters: [accept],
3327
- serializer: serializer$6
3328
- };
3329
-
3330
- /*
3331
- * Copyright (c) Microsoft Corporation.
3332
- * Licensed under the MIT License.
3333
- *
3334
- * Code generated by Microsoft (R) AutoRest Code Generator.
3335
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3336
- */
3337
- /// <reference lib="esnext.asynciterable" />
3338
- /** Class containing DataLakeStoreAccounts operations. */
3339
- class DataLakeStoreAccountsImpl {
3340
- /**
3341
- * Initialize a new instance of the class DataLakeStoreAccounts class.
3342
- * @param client Reference to the service client
3343
- */
3344
- constructor(client) {
3345
- this.client = client;
3346
- }
3347
- /**
3348
- * Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account.
3349
- * The response includes a link to the next page, if any.
3350
- * @param resourceGroupName The name of the Azure resource group.
3351
- * @param accountName The name of the Data Lake Analytics account.
3352
- * @param options The options parameters.
3353
- */
3354
- listByAccount(resourceGroupName, accountName, options) {
3355
- const iter = this.listByAccountPagingAll(resourceGroupName, accountName, options);
3356
- return {
3357
- next() {
3358
- return iter.next();
3359
- },
3360
- [Symbol.asyncIterator]() {
3361
- return this;
3362
- },
3363
- byPage: (settings) => {
3364
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
3365
- throw new Error("maxPageSize is not supported by this operation.");
3366
- }
3367
- return this.listByAccountPagingPage(resourceGroupName, accountName, options, settings);
3368
- }
3369
- };
3370
- }
3371
- listByAccountPagingPage(resourceGroupName, accountName, options, settings) {
3372
- return tslib.__asyncGenerator(this, arguments, function* listByAccountPagingPage_1() {
3373
- let result;
3374
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
3375
- if (!continuationToken) {
3376
- result = yield tslib.__await(this._listByAccount(resourceGroupName, accountName, options));
3377
- let page = result.value || [];
3378
- continuationToken = result.nextLink;
3379
- setContinuationToken(page, continuationToken);
3380
- yield yield tslib.__await(page);
3381
- }
3382
- while (continuationToken) {
3383
- result = yield tslib.__await(this._listByAccountNext(resourceGroupName, accountName, continuationToken, options));
3384
- continuationToken = result.nextLink;
3385
- let page = result.value || [];
3386
- setContinuationToken(page, continuationToken);
3387
- yield yield tslib.__await(page);
3388
- }
3389
- });
3390
- }
3391
- listByAccountPagingAll(resourceGroupName, accountName, options) {
3392
- return tslib.__asyncGenerator(this, arguments, function* listByAccountPagingAll_1() {
3393
- var e_1, _a;
3394
- try {
3395
- for (var _b = tslib.__asyncValues(this.listByAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3396
- const page = _c.value;
3397
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3398
- }
3399
- }
3400
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3401
- finally {
3402
- try {
3403
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3404
- }
3405
- finally { if (e_1) throw e_1.error; }
3406
- }
3407
- });
3408
- }
3409
- /**
3410
- * Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account.
3411
- * The response includes a link to the next page, if any.
3412
- * @param resourceGroupName The name of the Azure resource group.
3413
- * @param accountName The name of the Data Lake Analytics account.
3414
- * @param options The options parameters.
3415
- */
3416
- _listByAccount(resourceGroupName, accountName, options) {
3417
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$3);
3418
- }
3419
- /**
3420
- * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account.
3421
- * @param resourceGroupName The name of the Azure resource group.
3422
- * @param accountName The name of the Data Lake Analytics account.
3423
- * @param dataLakeStoreAccountName The name of the Data Lake Store account to add.
3424
- * @param options The options parameters.
3425
- */
3426
- add(resourceGroupName, accountName, dataLakeStoreAccountName, options) {
3427
- return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, addOperationSpec$1);
3428
- }
3429
- /**
3430
- * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account.
3431
- * @param resourceGroupName The name of the Azure resource group.
3432
- * @param accountName The name of the Data Lake Analytics account.
3433
- * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve
3434
- * @param options The options parameters.
3435
- */
3436
- get(resourceGroupName, accountName, dataLakeStoreAccountName, options) {
3437
- return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, getOperationSpec$3);
3438
- }
3439
- /**
3440
- * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account.
3441
- * @param resourceGroupName The name of the Azure resource group.
3442
- * @param accountName The name of the Data Lake Analytics account.
3443
- * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove
3444
- * @param options The options parameters.
3445
- */
3446
- delete(resourceGroupName, accountName, dataLakeStoreAccountName, options) {
3447
- return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, deleteOperationSpec$3);
3448
- }
3449
- /**
3450
- * ListByAccountNext
3451
- * @param resourceGroupName The name of the Azure resource group.
3452
- * @param accountName The name of the Data Lake Analytics account.
3453
- * @param nextLink The nextLink from the previous successful call to the ListByAccount method.
3454
- * @param options The options parameters.
3455
- */
3456
- _listByAccountNext(resourceGroupName, accountName, nextLink, options) {
3457
- return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$3);
3458
- }
3459
- }
3460
- // Operation Specifications
3461
- const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3462
- const listByAccountOperationSpec$3 = {
3463
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts",
3464
- httpMethod: "GET",
3465
- responses: {
3466
- 200: {
3467
- bodyMapper: DataLakeStoreAccountInformationListResult
3468
- },
3469
- default: {
3470
- bodyMapper: ErrorResponse
3471
- }
3472
- },
3473
- queryParameters: [
3474
- filter,
3475
- top,
3476
- skip,
3477
- select,
3478
- orderby,
3479
- count,
3480
- apiVersion
3481
- ],
3482
- urlParameters: [
3483
- $host,
3484
- subscriptionId,
3485
- resourceGroupName,
3486
- accountName
3487
- ],
3488
- headerParameters: [accept],
3489
- serializer: serializer$5
3490
- };
3491
- const addOperationSpec$1 = {
3492
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
3493
- httpMethod: "PUT",
3494
- responses: {
3495
- 200: {},
3496
- default: {
3497
- bodyMapper: ErrorResponse
3498
- }
3499
- },
3500
- requestBody: parameters3,
3501
- queryParameters: [apiVersion],
3502
- urlParameters: [
3503
- $host,
3504
- subscriptionId,
3505
- resourceGroupName,
3506
- accountName,
3507
- dataLakeStoreAccountName
3508
- ],
3509
- headerParameters: [accept, contentType],
3510
- mediaType: "json",
3511
- serializer: serializer$5
3512
- };
3513
- const getOperationSpec$3 = {
3514
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
3515
- httpMethod: "GET",
3516
- responses: {
3517
- 200: {
3518
- bodyMapper: DataLakeStoreAccountInformation
3519
- },
3520
- default: {
3521
- bodyMapper: ErrorResponse
3522
- }
3523
- },
3524
- queryParameters: [apiVersion],
3525
- urlParameters: [
3526
- $host,
3527
- subscriptionId,
3528
- resourceGroupName,
3529
- accountName,
3530
- dataLakeStoreAccountName
3531
- ],
3532
- headerParameters: [accept],
3533
- serializer: serializer$5
3534
- };
3535
- const deleteOperationSpec$3 = {
3536
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
3537
- httpMethod: "DELETE",
3538
- responses: {
3539
- 200: {},
3540
- 204: {},
3541
- default: {
3542
- bodyMapper: ErrorResponse
3543
- }
3544
- },
3545
- queryParameters: [apiVersion],
3546
- urlParameters: [
3547
- $host,
3548
- subscriptionId,
3549
- resourceGroupName,
3550
- accountName,
3551
- dataLakeStoreAccountName
3552
- ],
3553
- headerParameters: [accept],
3554
- serializer: serializer$5
3555
- };
3556
- const listByAccountNextOperationSpec$3 = {
3557
- path: "{nextLink}",
3558
- httpMethod: "GET",
3559
- responses: {
3560
- 200: {
3561
- bodyMapper: DataLakeStoreAccountInformationListResult
3562
- },
3563
- default: {
3564
- bodyMapper: ErrorResponse
3565
- }
3566
- },
3567
- queryParameters: [
3568
- filter,
3569
- top,
3570
- skip,
3571
- select,
3572
- orderby,
3573
- count,
3574
- apiVersion
3575
- ],
3576
- urlParameters: [
3577
- $host,
3578
- subscriptionId,
3579
- resourceGroupName,
3580
- accountName,
3581
- nextLink
3582
- ],
3583
- headerParameters: [accept],
3584
- serializer: serializer$5
3585
- };
3586
-
3587
- /*
3588
- * Copyright (c) Microsoft Corporation.
3589
- * Licensed under the MIT License.
3590
- *
3591
- * Code generated by Microsoft (R) AutoRest Code Generator.
3592
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3593
- */
3594
- /// <reference lib="esnext.asynciterable" />
3595
- /** Class containing StorageAccounts operations. */
3596
- class StorageAccountsImpl {
3597
- /**
3598
- * Initialize a new instance of the class StorageAccounts class.
3599
- * @param client Reference to the service client
3600
- */
3601
- constructor(client) {
3602
- this.client = client;
3603
- }
3604
- /**
3605
- * Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics
3606
- * account. The response includes a link to the next page, if any.
3607
- * @param resourceGroupName The name of the Azure resource group.
3608
- * @param accountName The name of the Data Lake Analytics account.
3609
- * @param options The options parameters.
3610
- */
3611
- listByAccount(resourceGroupName, accountName, options) {
3612
- const iter = this.listByAccountPagingAll(resourceGroupName, accountName, options);
3613
- return {
3614
- next() {
3615
- return iter.next();
3616
- },
3617
- [Symbol.asyncIterator]() {
3618
- return this;
3619
- },
3620
- byPage: (settings) => {
3621
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
3622
- throw new Error("maxPageSize is not supported by this operation.");
3623
- }
3624
- return this.listByAccountPagingPage(resourceGroupName, accountName, options, settings);
3625
- }
3626
- };
3627
- }
3628
- listByAccountPagingPage(resourceGroupName, accountName, options, settings) {
3629
- return tslib.__asyncGenerator(this, arguments, function* listByAccountPagingPage_1() {
3630
- let result;
3631
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
3632
- if (!continuationToken) {
3633
- result = yield tslib.__await(this._listByAccount(resourceGroupName, accountName, options));
3634
- let page = result.value || [];
3635
- continuationToken = result.nextLink;
3636
- setContinuationToken(page, continuationToken);
3637
- yield yield tslib.__await(page);
3638
- }
3639
- while (continuationToken) {
3640
- result = yield tslib.__await(this._listByAccountNext(resourceGroupName, accountName, continuationToken, options));
3641
- continuationToken = result.nextLink;
3642
- let page = result.value || [];
3643
- setContinuationToken(page, continuationToken);
3644
- yield yield tslib.__await(page);
3645
- }
3646
- });
3647
- }
3648
- listByAccountPagingAll(resourceGroupName, accountName, options) {
3649
- return tslib.__asyncGenerator(this, arguments, function* listByAccountPagingAll_1() {
3650
- var e_1, _a;
3651
- try {
3652
- for (var _b = tslib.__asyncValues(this.listByAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3653
- const page = _c.value;
3654
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3655
- }
3656
- }
3657
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3658
- finally {
3659
- try {
3660
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3661
- }
3662
- finally { if (e_1) throw e_1.error; }
3663
- }
3664
- });
3665
- }
3666
- /**
3667
- * Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and
3668
- * Azure Storage account combination. The response includes a link to the next page of results, if any.
3669
- * @param resourceGroupName The name of the Azure resource group.
3670
- * @param accountName The name of the Data Lake Analytics account.
3671
- * @param storageAccountName The name of the Azure storage account from which to list blob containers.
3672
- * @param options The options parameters.
3673
- */
3674
- listStorageContainers(resourceGroupName, accountName, storageAccountName, options) {
3675
- const iter = this.listStorageContainersPagingAll(resourceGroupName, accountName, storageAccountName, options);
3676
- return {
3677
- next() {
3678
- return iter.next();
3679
- },
3680
- [Symbol.asyncIterator]() {
3681
- return this;
3682
- },
3683
- byPage: (settings) => {
3684
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
3685
- throw new Error("maxPageSize is not supported by this operation.");
3686
- }
3687
- return this.listStorageContainersPagingPage(resourceGroupName, accountName, storageAccountName, options, settings);
3688
- }
3689
- };
3690
- }
3691
- listStorageContainersPagingPage(resourceGroupName, accountName, storageAccountName, options, settings) {
3692
- return tslib.__asyncGenerator(this, arguments, function* listStorageContainersPagingPage_1() {
3693
- let result;
3694
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
3695
- if (!continuationToken) {
3696
- result = yield tslib.__await(this._listStorageContainers(resourceGroupName, accountName, storageAccountName, options));
3697
- let page = result.value || [];
3698
- continuationToken = result.nextLink;
3699
- setContinuationToken(page, continuationToken);
3700
- yield yield tslib.__await(page);
3701
- }
3702
- while (continuationToken) {
3703
- result = yield tslib.__await(this._listStorageContainersNext(resourceGroupName, accountName, storageAccountName, continuationToken, options));
3704
- continuationToken = result.nextLink;
3705
- let page = result.value || [];
3706
- setContinuationToken(page, continuationToken);
3707
- yield yield tslib.__await(page);
3708
- }
3709
- });
3710
- }
3711
- listStorageContainersPagingAll(resourceGroupName, accountName, storageAccountName, options) {
3712
- return tslib.__asyncGenerator(this, arguments, function* listStorageContainersPagingAll_1() {
3713
- var e_2, _a;
3714
- try {
3715
- for (var _b = tslib.__asyncValues(this.listStorageContainersPagingPage(resourceGroupName, accountName, storageAccountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3716
- const page = _c.value;
3717
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3718
- }
3719
- }
3720
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
3721
- finally {
3722
- try {
3723
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3724
- }
3725
- finally { if (e_2) throw e_2.error; }
3726
- }
3727
- });
3728
- }
3729
- /**
3730
- * Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and
3731
- * container combination.
3732
- * @param resourceGroupName The name of the Azure resource group.
3733
- * @param accountName The name of the Data Lake Analytics account.
3734
- * @param storageAccountName The name of the Azure storage account for which the SAS token is being
3735
- * requested.
3736
- * @param containerName The name of the Azure storage container for which the SAS token is being
3737
- * requested.
3738
- * @param options The options parameters.
3739
- */
3740
- listSasTokens(resourceGroupName, accountName, storageAccountName, containerName, options) {
3741
- const iter = this.listSasTokensPagingAll(resourceGroupName, accountName, storageAccountName, containerName, options);
3742
- return {
3743
- next() {
3744
- return iter.next();
3745
- },
3746
- [Symbol.asyncIterator]() {
3747
- return this;
3748
- },
3749
- byPage: (settings) => {
3750
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
3751
- throw new Error("maxPageSize is not supported by this operation.");
3752
- }
3753
- return this.listSasTokensPagingPage(resourceGroupName, accountName, storageAccountName, containerName, options, settings);
3754
- }
3755
- };
3756
- }
3757
- listSasTokensPagingPage(resourceGroupName, accountName, storageAccountName, containerName, options, settings) {
3758
- return tslib.__asyncGenerator(this, arguments, function* listSasTokensPagingPage_1() {
3759
- let result;
3760
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
3761
- if (!continuationToken) {
3762
- result = yield tslib.__await(this._listSasTokens(resourceGroupName, accountName, storageAccountName, containerName, options));
3763
- let page = result.value || [];
3764
- continuationToken = result.nextLink;
3765
- setContinuationToken(page, continuationToken);
3766
- yield yield tslib.__await(page);
3767
- }
3768
- while (continuationToken) {
3769
- result = yield tslib.__await(this._listSasTokensNext(resourceGroupName, accountName, storageAccountName, containerName, continuationToken, options));
3770
- continuationToken = result.nextLink;
3771
- let page = result.value || [];
3772
- setContinuationToken(page, continuationToken);
3773
- yield yield tslib.__await(page);
3774
- }
3775
- });
3776
- }
3777
- listSasTokensPagingAll(resourceGroupName, accountName, storageAccountName, containerName, options) {
3778
- return tslib.__asyncGenerator(this, arguments, function* listSasTokensPagingAll_1() {
3779
- var e_3, _a;
3780
- try {
3781
- for (var _b = tslib.__asyncValues(this.listSasTokensPagingPage(resourceGroupName, accountName, storageAccountName, containerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3782
- const page = _c.value;
3783
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3784
- }
3785
- }
3786
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
3787
- finally {
3788
- try {
3789
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3790
- }
3791
- finally { if (e_3) throw e_3.error; }
3792
- }
3793
- });
3794
- }
3795
- /**
3796
- * Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics
3797
- * account. The response includes a link to the next page, if any.
3798
- * @param resourceGroupName The name of the Azure resource group.
3799
- * @param accountName The name of the Data Lake Analytics account.
3800
- * @param options The options parameters.
3801
- */
3802
- _listByAccount(resourceGroupName, accountName, options) {
3803
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$2);
3804
- }
3805
- /**
3806
- * Updates the specified Data Lake Analytics account to add an Azure Storage account.
3807
- * @param resourceGroupName The name of the Azure resource group.
3808
- * @param accountName The name of the Data Lake Analytics account.
3809
- * @param storageAccountName The name of the Azure Storage account to add
3810
- * @param parameters The parameters containing the access key and optional suffix for the Azure Storage
3811
- * Account.
3812
- * @param options The options parameters.
3813
- */
3814
- add(resourceGroupName, accountName, storageAccountName, parameters, options) {
3815
- return this.client.sendOperationRequest({
3816
- resourceGroupName,
3817
- accountName,
3818
- storageAccountName,
3819
- parameters,
3820
- options
3821
- }, addOperationSpec);
3822
- }
3823
- /**
3824
- * Gets the specified Azure Storage account linked to the given Data Lake Analytics account.
3825
- * @param resourceGroupName The name of the Azure resource group.
3826
- * @param accountName The name of the Data Lake Analytics account.
3827
- * @param storageAccountName The name of the Azure Storage account for which to retrieve the details.
3828
- * @param options The options parameters.
3829
- */
3830
- get(resourceGroupName, accountName, storageAccountName, options) {
3831
- return this.client.sendOperationRequest({ resourceGroupName, accountName, storageAccountName, options }, getOperationSpec$2);
3832
- }
3833
- /**
3834
- * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the
3835
- * access key and/or suffix.
3836
- * @param resourceGroupName The name of the Azure resource group.
3837
- * @param accountName The name of the Data Lake Analytics account.
3838
- * @param storageAccountName The Azure Storage account to modify
3839
- * @param options The options parameters.
3840
- */
3841
- update(resourceGroupName, accountName, storageAccountName, options) {
3842
- return this.client.sendOperationRequest({ resourceGroupName, accountName, storageAccountName, options }, updateOperationSpec$2);
3843
- }
3844
- /**
3845
- * Updates the specified Data Lake Analytics account to remove an Azure Storage account.
3846
- * @param resourceGroupName The name of the Azure resource group.
3847
- * @param accountName The name of the Data Lake Analytics account.
3848
- * @param storageAccountName The name of the Azure Storage account to remove
3849
- * @param options The options parameters.
3850
- */
3851
- delete(resourceGroupName, accountName, storageAccountName, options) {
3852
- return this.client.sendOperationRequest({ resourceGroupName, accountName, storageAccountName, options }, deleteOperationSpec$2);
3853
- }
3854
- /**
3855
- * Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and
3856
- * Azure Storage account combination. The response includes a link to the next page of results, if any.
3857
- * @param resourceGroupName The name of the Azure resource group.
3858
- * @param accountName The name of the Data Lake Analytics account.
3859
- * @param storageAccountName The name of the Azure storage account from which to list blob containers.
3860
- * @param options The options parameters.
3861
- */
3862
- _listStorageContainers(resourceGroupName, accountName, storageAccountName, options) {
3863
- return this.client.sendOperationRequest({ resourceGroupName, accountName, storageAccountName, options }, listStorageContainersOperationSpec);
3864
- }
3865
- /**
3866
- * Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure
3867
- * Storage accounts.
3868
- * @param resourceGroupName The name of the Azure resource group.
3869
- * @param accountName The name of the Data Lake Analytics account.
3870
- * @param storageAccountName The name of the Azure storage account from which to retrieve the blob
3871
- * container.
3872
- * @param containerName The name of the Azure storage container to retrieve
3873
- * @param options The options parameters.
3874
- */
3875
- getStorageContainer(resourceGroupName, accountName, storageAccountName, containerName, options) {
3876
- return this.client.sendOperationRequest({
3877
- resourceGroupName,
3878
- accountName,
3879
- storageAccountName,
3880
- containerName,
3881
- options
3882
- }, getStorageContainerOperationSpec);
3883
- }
3884
- /**
3885
- * Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and
3886
- * container combination.
3887
- * @param resourceGroupName The name of the Azure resource group.
3888
- * @param accountName The name of the Data Lake Analytics account.
3889
- * @param storageAccountName The name of the Azure storage account for which the SAS token is being
3890
- * requested.
3891
- * @param containerName The name of the Azure storage container for which the SAS token is being
3892
- * requested.
3893
- * @param options The options parameters.
3894
- */
3895
- _listSasTokens(resourceGroupName, accountName, storageAccountName, containerName, options) {
3896
- return this.client.sendOperationRequest({
3897
- resourceGroupName,
3898
- accountName,
3899
- storageAccountName,
3900
- containerName,
3901
- options
3902
- }, listSasTokensOperationSpec);
3903
- }
3904
- /**
3905
- * ListByAccountNext
3906
- * @param resourceGroupName The name of the Azure resource group.
3907
- * @param accountName The name of the Data Lake Analytics account.
3908
- * @param nextLink The nextLink from the previous successful call to the ListByAccount method.
3909
- * @param options The options parameters.
3910
- */
3911
- _listByAccountNext(resourceGroupName, accountName, nextLink, options) {
3912
- return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$2);
3913
- }
3914
- /**
3915
- * ListStorageContainersNext
3916
- * @param resourceGroupName The name of the Azure resource group.
3917
- * @param accountName The name of the Data Lake Analytics account.
3918
- * @param storageAccountName The name of the Azure storage account from which to list blob containers.
3919
- * @param nextLink The nextLink from the previous successful call to the ListStorageContainers method.
3920
- * @param options The options parameters.
3921
- */
3922
- _listStorageContainersNext(resourceGroupName, accountName, storageAccountName, nextLink, options) {
3923
- return this.client.sendOperationRequest({ resourceGroupName, accountName, storageAccountName, nextLink, options }, listStorageContainersNextOperationSpec);
3924
- }
3925
- /**
3926
- * ListSasTokensNext
3927
- * @param resourceGroupName The name of the Azure resource group.
3928
- * @param accountName The name of the Data Lake Analytics account.
3929
- * @param storageAccountName The name of the Azure storage account for which the SAS token is being
3930
- * requested.
3931
- * @param containerName The name of the Azure storage container for which the SAS token is being
3932
- * requested.
3933
- * @param nextLink The nextLink from the previous successful call to the ListSasTokens method.
3934
- * @param options The options parameters.
3935
- */
3936
- _listSasTokensNext(resourceGroupName, accountName, storageAccountName, containerName, nextLink, options) {
3937
- return this.client.sendOperationRequest({
3938
- resourceGroupName,
3939
- accountName,
3940
- storageAccountName,
3941
- containerName,
3942
- nextLink,
3943
- options
3944
- }, listSasTokensNextOperationSpec);
3945
- }
3946
- }
3947
- // Operation Specifications
3948
- const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3949
- const listByAccountOperationSpec$2 = {
3950
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts",
3951
- httpMethod: "GET",
3952
- responses: {
3953
- 200: {
3954
- bodyMapper: StorageAccountInformationListResult
3955
- },
3956
- default: {
3957
- bodyMapper: ErrorResponse
3958
- }
3959
- },
3960
- queryParameters: [
3961
- filter,
3962
- top,
3963
- skip,
3964
- select,
3965
- orderby,
3966
- count,
3967
- apiVersion
3968
- ],
3969
- urlParameters: [
3970
- $host,
3971
- subscriptionId,
3972
- resourceGroupName,
3973
- accountName
3974
- ],
3975
- headerParameters: [accept],
3976
- serializer: serializer$4
3977
- };
3978
- const addOperationSpec = {
3979
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
3980
- httpMethod: "PUT",
3981
- responses: {
3982
- 200: {},
3983
- default: {
3984
- bodyMapper: ErrorResponse
3985
- }
3986
- },
3987
- requestBody: parameters4,
3988
- queryParameters: [apiVersion],
3989
- urlParameters: [
3990
- $host,
3991
- subscriptionId,
3992
- resourceGroupName,
3993
- accountName,
3994
- storageAccountName
3995
- ],
3996
- headerParameters: [accept, contentType],
3997
- mediaType: "json",
3998
- serializer: serializer$4
3999
- };
4000
- const getOperationSpec$2 = {
4001
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
4002
- httpMethod: "GET",
4003
- responses: {
4004
- 200: {
4005
- bodyMapper: StorageAccountInformation
4006
- },
4007
- default: {
4008
- bodyMapper: ErrorResponse
4009
- }
4010
- },
4011
- queryParameters: [apiVersion],
4012
- urlParameters: [
4013
- $host,
4014
- subscriptionId,
4015
- resourceGroupName,
4016
- accountName,
4017
- storageAccountName
4018
- ],
4019
- headerParameters: [accept],
4020
- serializer: serializer$4
4021
- };
4022
- const updateOperationSpec$2 = {
4023
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
4024
- httpMethod: "PATCH",
4025
- responses: {
4026
- 200: {},
4027
- default: {
4028
- bodyMapper: ErrorResponse
4029
- }
4030
- },
4031
- requestBody: parameters5,
4032
- queryParameters: [apiVersion],
4033
- urlParameters: [
4034
- $host,
4035
- subscriptionId,
4036
- resourceGroupName,
4037
- accountName,
4038
- storageAccountName
4039
- ],
4040
- headerParameters: [accept, contentType],
4041
- mediaType: "json",
4042
- serializer: serializer$4
4043
- };
4044
- const deleteOperationSpec$2 = {
4045
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
4046
- httpMethod: "DELETE",
4047
- responses: {
4048
- 200: {},
4049
- default: {
4050
- bodyMapper: ErrorResponse
4051
- }
4052
- },
4053
- queryParameters: [apiVersion],
4054
- urlParameters: [
4055
- $host,
4056
- subscriptionId,
4057
- resourceGroupName,
4058
- accountName,
4059
- storageAccountName
4060
- ],
4061
- headerParameters: [accept],
4062
- serializer: serializer$4
4063
- };
4064
- const listStorageContainersOperationSpec = {
4065
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers",
4066
- httpMethod: "GET",
4067
- responses: {
4068
- 200: {
4069
- bodyMapper: StorageContainerListResult
4070
- },
4071
- default: {
4072
- bodyMapper: ErrorResponse
4073
- }
4074
- },
4075
- queryParameters: [apiVersion],
4076
- urlParameters: [
4077
- $host,
4078
- subscriptionId,
4079
- resourceGroupName,
4080
- accountName,
4081
- storageAccountName
4082
- ],
4083
- headerParameters: [accept],
4084
- serializer: serializer$4
4085
- };
4086
- const getStorageContainerOperationSpec = {
4087
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers/{containerName}",
4088
- httpMethod: "GET",
4089
- responses: {
4090
- 200: {
4091
- bodyMapper: StorageContainer
4092
- },
4093
- default: {
4094
- bodyMapper: ErrorResponse
4095
- }
4096
- },
4097
- queryParameters: [apiVersion],
4098
- urlParameters: [
4099
- $host,
4100
- subscriptionId,
4101
- resourceGroupName,
4102
- accountName,
4103
- storageAccountName,
4104
- containerName
4105
- ],
4106
- headerParameters: [accept],
4107
- serializer: serializer$4
4108
- };
4109
- const listSasTokensOperationSpec = {
4110
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers/{containerName}/listSasTokens",
4111
- httpMethod: "POST",
4112
- responses: {
4113
- 200: {
4114
- bodyMapper: SasTokenInformationListResult
4115
- },
4116
- default: {
4117
- bodyMapper: ErrorResponse
4118
- }
4119
- },
4120
- queryParameters: [apiVersion],
4121
- urlParameters: [
4122
- $host,
4123
- subscriptionId,
4124
- resourceGroupName,
4125
- accountName,
4126
- storageAccountName,
4127
- containerName
4128
- ],
4129
- headerParameters: [accept],
4130
- serializer: serializer$4
4131
- };
4132
- const listByAccountNextOperationSpec$2 = {
4133
- path: "{nextLink}",
4134
- httpMethod: "GET",
4135
- responses: {
4136
- 200: {
4137
- bodyMapper: StorageAccountInformationListResult
4138
- },
4139
- default: {
4140
- bodyMapper: ErrorResponse
4141
- }
4142
- },
4143
- queryParameters: [
4144
- filter,
4145
- top,
4146
- skip,
4147
- select,
4148
- orderby,
4149
- count,
4150
- apiVersion
4151
- ],
4152
- urlParameters: [
4153
- $host,
4154
- subscriptionId,
4155
- resourceGroupName,
4156
- accountName,
4157
- nextLink
4158
- ],
4159
- headerParameters: [accept],
4160
- serializer: serializer$4
4161
- };
4162
- const listStorageContainersNextOperationSpec = {
4163
- path: "{nextLink}",
4164
- httpMethod: "GET",
4165
- responses: {
4166
- 200: {
4167
- bodyMapper: StorageContainerListResult
4168
- },
4169
- default: {
4170
- bodyMapper: ErrorResponse
4171
- }
4172
- },
4173
- queryParameters: [apiVersion],
4174
- urlParameters: [
4175
- $host,
4176
- subscriptionId,
4177
- resourceGroupName,
4178
- accountName,
4179
- nextLink,
4180
- storageAccountName
4181
- ],
4182
- headerParameters: [accept],
4183
- serializer: serializer$4
4184
- };
4185
- const listSasTokensNextOperationSpec = {
4186
- path: "{nextLink}",
4187
- httpMethod: "GET",
4188
- responses: {
4189
- 200: {
4190
- bodyMapper: SasTokenInformationListResult
4191
- },
4192
- default: {
4193
- bodyMapper: ErrorResponse
4194
- }
4195
- },
4196
- queryParameters: [apiVersion],
4197
- urlParameters: [
4198
- $host,
4199
- subscriptionId,
4200
- resourceGroupName,
4201
- accountName,
4202
- nextLink,
4203
- storageAccountName,
4204
- containerName
4205
- ],
4206
- headerParameters: [accept],
4207
- serializer: serializer$4
4208
- };
4209
-
4210
- /*
4211
- * Copyright (c) Microsoft Corporation.
4212
- * Licensed under the MIT License.
4213
- *
4214
- * Code generated by Microsoft (R) AutoRest Code Generator.
4215
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4216
- */
4217
- /// <reference lib="esnext.asynciterable" />
4218
- /** Class containing ComputePolicies operations. */
4219
- class ComputePoliciesImpl {
4220
- /**
4221
- * Initialize a new instance of the class ComputePolicies class.
4222
- * @param client Reference to the service client
4223
- */
4224
- constructor(client) {
4225
- this.client = client;
4226
- }
4227
- /**
4228
- * Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An
4229
- * account supports, at most, 50 policies
4230
- * @param resourceGroupName The name of the Azure resource group.
4231
- * @param accountName The name of the Data Lake Analytics account.
4232
- * @param options The options parameters.
4233
- */
4234
- listByAccount(resourceGroupName, accountName, options) {
4235
- const iter = this.listByAccountPagingAll(resourceGroupName, accountName, options);
4236
- return {
4237
- next() {
4238
- return iter.next();
4239
- },
4240
- [Symbol.asyncIterator]() {
4241
- return this;
4242
- },
4243
- byPage: (settings) => {
4244
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
4245
- throw new Error("maxPageSize is not supported by this operation.");
4246
- }
4247
- return this.listByAccountPagingPage(resourceGroupName, accountName, options, settings);
4248
- }
4249
- };
4250
- }
4251
- listByAccountPagingPage(resourceGroupName, accountName, options, settings) {
4252
- return tslib.__asyncGenerator(this, arguments, function* listByAccountPagingPage_1() {
4253
- let result;
4254
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
4255
- if (!continuationToken) {
4256
- result = yield tslib.__await(this._listByAccount(resourceGroupName, accountName, options));
4257
- let page = result.value || [];
4258
- continuationToken = result.nextLink;
4259
- setContinuationToken(page, continuationToken);
4260
- yield yield tslib.__await(page);
4261
- }
4262
- while (continuationToken) {
4263
- result = yield tslib.__await(this._listByAccountNext(resourceGroupName, accountName, continuationToken, options));
4264
- continuationToken = result.nextLink;
4265
- let page = result.value || [];
4266
- setContinuationToken(page, continuationToken);
4267
- yield yield tslib.__await(page);
4268
- }
4269
- });
4270
- }
4271
- listByAccountPagingAll(resourceGroupName, accountName, options) {
4272
- return tslib.__asyncGenerator(this, arguments, function* listByAccountPagingAll_1() {
4273
- var e_1, _a;
4274
- try {
4275
- for (var _b = tslib.__asyncValues(this.listByAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4276
- const page = _c.value;
4277
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4278
- }
4279
- }
4280
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
4281
- finally {
4282
- try {
4283
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4284
- }
4285
- finally { if (e_1) throw e_1.error; }
4286
- }
4287
- });
4288
- }
4289
- /**
4290
- * Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An
4291
- * account supports, at most, 50 policies
4292
- * @param resourceGroupName The name of the Azure resource group.
4293
- * @param accountName The name of the Data Lake Analytics account.
4294
- * @param options The options parameters.
4295
- */
4296
- _listByAccount(resourceGroupName, accountName, options) {
4297
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$1);
4298
- }
4299
- /**
4300
- * Creates or updates the specified compute policy. During update, the compute policy with the
4301
- * specified name will be replaced with this new compute policy. An account supports, at most, 50
4302
- * policies
4303
- * @param resourceGroupName The name of the Azure resource group.
4304
- * @param accountName The name of the Data Lake Analytics account.
4305
- * @param computePolicyName The name of the compute policy to create or update.
4306
- * @param parameters Parameters supplied to create or update the compute policy. The max degree of
4307
- * parallelism per job property, min priority per job property, or both must be present.
4308
- * @param options The options parameters.
4309
- */
4310
- createOrUpdate(resourceGroupName, accountName, computePolicyName, parameters, options) {
4311
- return this.client.sendOperationRequest({
4312
- resourceGroupName,
4313
- accountName,
4314
- computePolicyName,
4315
- parameters,
4316
- options
4317
- }, createOrUpdateOperationSpec$1);
4318
- }
4319
- /**
4320
- * Gets the specified Data Lake Analytics compute policy.
4321
- * @param resourceGroupName The name of the Azure resource group.
4322
- * @param accountName The name of the Data Lake Analytics account.
4323
- * @param computePolicyName The name of the compute policy to retrieve.
4324
- * @param options The options parameters.
4325
- */
4326
- get(resourceGroupName, accountName, computePolicyName, options) {
4327
- return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, getOperationSpec$1);
4328
- }
4329
- /**
4330
- * Updates the specified compute policy.
4331
- * @param resourceGroupName The name of the Azure resource group.
4332
- * @param accountName The name of the Data Lake Analytics account.
4333
- * @param computePolicyName The name of the compute policy to update.
4334
- * @param options The options parameters.
4335
- */
4336
- update(resourceGroupName, accountName, computePolicyName, options) {
4337
- return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, updateOperationSpec$1);
4338
- }
4339
- /**
4340
- * Deletes the specified compute policy from the specified Data Lake Analytics account
4341
- * @param resourceGroupName The name of the Azure resource group.
4342
- * @param accountName The name of the Data Lake Analytics account.
4343
- * @param computePolicyName The name of the compute policy to delete.
4344
- * @param options The options parameters.
4345
- */
4346
- delete(resourceGroupName, accountName, computePolicyName, options) {
4347
- return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, deleteOperationSpec$1);
4348
- }
4349
- /**
4350
- * ListByAccountNext
4351
- * @param resourceGroupName The name of the Azure resource group.
4352
- * @param accountName The name of the Data Lake Analytics account.
4353
- * @param nextLink The nextLink from the previous successful call to the ListByAccount method.
4354
- * @param options The options parameters.
4355
- */
4356
- _listByAccountNext(resourceGroupName, accountName, nextLink, options) {
4357
- return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$1);
4358
- }
4359
- }
4360
- // Operation Specifications
4361
- const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4362
- const listByAccountOperationSpec$1 = {
4363
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies",
4364
- httpMethod: "GET",
4365
- responses: {
4366
- 200: {
4367
- bodyMapper: ComputePolicyListResult
4368
- },
4369
- default: {
4370
- bodyMapper: ErrorResponse
4371
- }
4372
- },
4373
- queryParameters: [apiVersion],
4374
- urlParameters: [
4375
- $host,
4376
- subscriptionId,
4377
- resourceGroupName,
4378
- accountName
4379
- ],
4380
- headerParameters: [accept],
4381
- serializer: serializer$3
4382
- };
4383
- const createOrUpdateOperationSpec$1 = {
4384
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
4385
- httpMethod: "PUT",
4386
- responses: {
4387
- 200: {
4388
- bodyMapper: ComputePolicy
4389
- },
4390
- default: {
4391
- bodyMapper: ErrorResponse
4392
- }
4393
- },
4394
- requestBody: parameters6,
4395
- queryParameters: [apiVersion],
4396
- urlParameters: [
4397
- $host,
4398
- subscriptionId,
4399
- resourceGroupName,
4400
- accountName,
4401
- computePolicyName
4402
- ],
4403
- headerParameters: [accept, contentType],
4404
- mediaType: "json",
4405
- serializer: serializer$3
4406
- };
4407
- const getOperationSpec$1 = {
4408
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
4409
- httpMethod: "GET",
4410
- responses: {
4411
- 200: {
4412
- bodyMapper: ComputePolicy
4413
- },
4414
- default: {
4415
- bodyMapper: ErrorResponse
4416
- }
4417
- },
4418
- queryParameters: [apiVersion],
4419
- urlParameters: [
4420
- $host,
4421
- subscriptionId,
4422
- resourceGroupName,
4423
- accountName,
4424
- computePolicyName
4425
- ],
4426
- headerParameters: [accept],
4427
- serializer: serializer$3
4428
- };
4429
- const updateOperationSpec$1 = {
4430
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
4431
- httpMethod: "PATCH",
4432
- responses: {
4433
- 200: {
4434
- bodyMapper: ComputePolicy
4435
- },
4436
- default: {
4437
- bodyMapper: ErrorResponse
4438
- }
4439
- },
4440
- requestBody: parameters7,
4441
- queryParameters: [apiVersion],
4442
- urlParameters: [
4443
- $host,
4444
- subscriptionId,
4445
- resourceGroupName,
4446
- accountName,
4447
- computePolicyName
4448
- ],
4449
- headerParameters: [accept, contentType],
4450
- mediaType: "json",
4451
- serializer: serializer$3
4452
- };
4453
- const deleteOperationSpec$1 = {
4454
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
4455
- httpMethod: "DELETE",
4456
- responses: {
4457
- 200: {},
4458
- 204: {},
4459
- default: {
4460
- bodyMapper: ErrorResponse
4461
- }
4462
- },
4463
- queryParameters: [apiVersion],
4464
- urlParameters: [
4465
- $host,
4466
- subscriptionId,
4467
- resourceGroupName,
4468
- accountName,
4469
- computePolicyName
4470
- ],
4471
- headerParameters: [accept],
4472
- serializer: serializer$3
4473
- };
4474
- const listByAccountNextOperationSpec$1 = {
4475
- path: "{nextLink}",
4476
- httpMethod: "GET",
4477
- responses: {
4478
- 200: {
4479
- bodyMapper: ComputePolicyListResult
4480
- },
4481
- default: {
4482
- bodyMapper: ErrorResponse
4483
- }
4484
- },
4485
- queryParameters: [apiVersion],
4486
- urlParameters: [
4487
- $host,
4488
- subscriptionId,
4489
- resourceGroupName,
4490
- accountName,
4491
- nextLink
4492
- ],
4493
- headerParameters: [accept],
4494
- serializer: serializer$3
4495
- };
4496
-
4497
- /*
4498
- * Copyright (c) Microsoft Corporation.
4499
- * Licensed under the MIT License.
4500
- *
4501
- * Code generated by Microsoft (R) AutoRest Code Generator.
4502
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4503
- */
4504
- /// <reference lib="esnext.asynciterable" />
4505
- /** Class containing FirewallRules operations. */
4506
- class FirewallRulesImpl {
4507
- /**
4508
- * Initialize a new instance of the class FirewallRules class.
4509
- * @param client Reference to the service client
4510
- */
4511
- constructor(client) {
4512
- this.client = client;
4513
- }
4514
- /**
4515
- * Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.
4516
- * @param resourceGroupName The name of the Azure resource group.
4517
- * @param accountName The name of the Data Lake Analytics account.
4518
- * @param options The options parameters.
4519
- */
4520
- listByAccount(resourceGroupName, accountName, options) {
4521
- const iter = this.listByAccountPagingAll(resourceGroupName, accountName, options);
4522
- return {
4523
- next() {
4524
- return iter.next();
4525
- },
4526
- [Symbol.asyncIterator]() {
4527
- return this;
4528
- },
4529
- byPage: (settings) => {
4530
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
4531
- throw new Error("maxPageSize is not supported by this operation.");
4532
- }
4533
- return this.listByAccountPagingPage(resourceGroupName, accountName, options, settings);
4534
- }
4535
- };
4536
- }
4537
- listByAccountPagingPage(resourceGroupName, accountName, options, settings) {
4538
- return tslib.__asyncGenerator(this, arguments, function* listByAccountPagingPage_1() {
4539
- let result;
4540
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
4541
- if (!continuationToken) {
4542
- result = yield tslib.__await(this._listByAccount(resourceGroupName, accountName, options));
4543
- let page = result.value || [];
4544
- continuationToken = result.nextLink;
4545
- setContinuationToken(page, continuationToken);
4546
- yield yield tslib.__await(page);
4547
- }
4548
- while (continuationToken) {
4549
- result = yield tslib.__await(this._listByAccountNext(resourceGroupName, accountName, continuationToken, options));
4550
- continuationToken = result.nextLink;
4551
- let page = result.value || [];
4552
- setContinuationToken(page, continuationToken);
4553
- yield yield tslib.__await(page);
4554
- }
4555
- });
4556
- }
4557
- listByAccountPagingAll(resourceGroupName, accountName, options) {
4558
- return tslib.__asyncGenerator(this, arguments, function* listByAccountPagingAll_1() {
4559
- var e_1, _a;
4560
- try {
4561
- for (var _b = tslib.__asyncValues(this.listByAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4562
- const page = _c.value;
4563
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4564
- }
4565
- }
4566
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
4567
- finally {
4568
- try {
4569
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4570
- }
4571
- finally { if (e_1) throw e_1.error; }
4572
- }
4573
- });
4574
- }
4575
- /**
4576
- * Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.
4577
- * @param resourceGroupName The name of the Azure resource group.
4578
- * @param accountName The name of the Data Lake Analytics account.
4579
- * @param options The options parameters.
4580
- */
4581
- _listByAccount(resourceGroupName, accountName, options) {
4582
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec);
4583
- }
4584
- /**
4585
- * Creates or updates the specified firewall rule. During update, the firewall rule with the specified
4586
- * name will be replaced with this new firewall rule.
4587
- * @param resourceGroupName The name of the Azure resource group.
4588
- * @param accountName The name of the Data Lake Analytics account.
4589
- * @param firewallRuleName The name of the firewall rule to create or update.
4590
- * @param parameters Parameters supplied to create or update the firewall rule.
4591
- * @param options The options parameters.
4592
- */
4593
- createOrUpdate(resourceGroupName, accountName, firewallRuleName, parameters, options) {
4594
- return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, parameters, options }, createOrUpdateOperationSpec);
4595
- }
4596
- /**
4597
- * Gets the specified Data Lake Analytics firewall rule.
4598
- * @param resourceGroupName The name of the Azure resource group.
4599
- * @param accountName The name of the Data Lake Analytics account.
4600
- * @param firewallRuleName The name of the firewall rule to retrieve.
4601
- * @param options The options parameters.
4602
- */
4603
- get(resourceGroupName, accountName, firewallRuleName, options) {
4604
- return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, getOperationSpec);
4605
- }
4606
- /**
4607
- * Updates the specified firewall rule.
4608
- * @param resourceGroupName The name of the Azure resource group.
4609
- * @param accountName The name of the Data Lake Analytics account.
4610
- * @param firewallRuleName The name of the firewall rule to update.
4611
- * @param options The options parameters.
4612
- */
4613
- update(resourceGroupName, accountName, firewallRuleName, options) {
4614
- return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, updateOperationSpec);
4615
- }
4616
- /**
4617
- * Deletes the specified firewall rule from the specified Data Lake Analytics account
4618
- * @param resourceGroupName The name of the Azure resource group.
4619
- * @param accountName The name of the Data Lake Analytics account.
4620
- * @param firewallRuleName The name of the firewall rule to delete.
4621
- * @param options The options parameters.
4622
- */
4623
- delete(resourceGroupName, accountName, firewallRuleName, options) {
4624
- return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, deleteOperationSpec);
4625
- }
4626
- /**
4627
- * ListByAccountNext
4628
- * @param resourceGroupName The name of the Azure resource group.
4629
- * @param accountName The name of the Data Lake Analytics account.
4630
- * @param nextLink The nextLink from the previous successful call to the ListByAccount method.
4631
- * @param options The options parameters.
4632
- */
4633
- _listByAccountNext(resourceGroupName, accountName, nextLink, options) {
4634
- return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec);
4635
- }
4636
- }
4637
- // Operation Specifications
4638
- const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4639
- const listByAccountOperationSpec = {
4640
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules",
4641
- httpMethod: "GET",
4642
- responses: {
4643
- 200: {
4644
- bodyMapper: FirewallRuleListResult
4645
- },
4646
- default: {
4647
- bodyMapper: ErrorResponse
4648
- }
4649
- },
4650
- queryParameters: [apiVersion],
4651
- urlParameters: [
4652
- $host,
4653
- subscriptionId,
4654
- resourceGroupName,
4655
- accountName
4656
- ],
4657
- headerParameters: [accept],
4658
- serializer: serializer$2
4659
- };
4660
- const createOrUpdateOperationSpec = {
4661
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
4662
- httpMethod: "PUT",
4663
- responses: {
4664
- 200: {
4665
- bodyMapper: FirewallRule
4666
- },
4667
- default: {
4668
- bodyMapper: ErrorResponse
4669
- }
4670
- },
4671
- requestBody: parameters8,
4672
- queryParameters: [apiVersion],
4673
- urlParameters: [
4674
- $host,
4675
- subscriptionId,
4676
- resourceGroupName,
4677
- accountName,
4678
- firewallRuleName
4679
- ],
4680
- headerParameters: [accept, contentType],
4681
- mediaType: "json",
4682
- serializer: serializer$2
4683
- };
4684
- const getOperationSpec = {
4685
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
4686
- httpMethod: "GET",
4687
- responses: {
4688
- 200: {
4689
- bodyMapper: FirewallRule
4690
- },
4691
- default: {
4692
- bodyMapper: ErrorResponse
4693
- }
4694
- },
4695
- queryParameters: [apiVersion],
4696
- urlParameters: [
4697
- $host,
4698
- subscriptionId,
4699
- resourceGroupName,
4700
- accountName,
4701
- firewallRuleName
4702
- ],
4703
- headerParameters: [accept],
4704
- serializer: serializer$2
4705
- };
4706
- const updateOperationSpec = {
4707
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
4708
- httpMethod: "PATCH",
4709
- responses: {
4710
- 200: {
4711
- bodyMapper: FirewallRule
4712
- },
4713
- default: {
4714
- bodyMapper: ErrorResponse
4715
- }
4716
- },
4717
- requestBody: parameters9,
4718
- queryParameters: [apiVersion],
4719
- urlParameters: [
4720
- $host,
4721
- subscriptionId,
4722
- resourceGroupName,
4723
- accountName,
4724
- firewallRuleName
4725
- ],
4726
- headerParameters: [accept, contentType],
4727
- mediaType: "json",
4728
- serializer: serializer$2
4729
- };
4730
- const deleteOperationSpec = {
4731
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
4732
- httpMethod: "DELETE",
4733
- responses: {
4734
- 200: {},
4735
- 204: {},
4736
- default: {
4737
- bodyMapper: ErrorResponse
4738
- }
4739
- },
4740
- queryParameters: [apiVersion],
4741
- urlParameters: [
4742
- $host,
4743
- subscriptionId,
4744
- resourceGroupName,
4745
- accountName,
4746
- firewallRuleName
4747
- ],
4748
- headerParameters: [accept],
4749
- serializer: serializer$2
4750
- };
4751
- const listByAccountNextOperationSpec = {
4752
- path: "{nextLink}",
4753
- httpMethod: "GET",
4754
- responses: {
4755
- 200: {
4756
- bodyMapper: FirewallRuleListResult
4757
- },
4758
- default: {
4759
- bodyMapper: ErrorResponse
4760
- }
4761
- },
4762
- queryParameters: [apiVersion],
4763
- urlParameters: [
4764
- $host,
4765
- subscriptionId,
4766
- resourceGroupName,
4767
- accountName,
4768
- nextLink
4769
- ],
4770
- headerParameters: [accept],
4771
- serializer: serializer$2
4772
- };
4773
-
4774
- /*
4775
- * Copyright (c) Microsoft Corporation.
4776
- * Licensed under the MIT License.
4777
- *
4778
- * Code generated by Microsoft (R) AutoRest Code Generator.
4779
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4780
- */
4781
- /** Class containing Operations operations. */
4782
- class OperationsImpl {
4783
- /**
4784
- * Initialize a new instance of the class Operations class.
4785
- * @param client Reference to the service client
4786
- */
4787
- constructor(client) {
4788
- this.client = client;
4789
- }
4790
- /**
4791
- * Lists all of the available Data Lake Analytics REST API operations.
4792
- * @param options The options parameters.
4793
- */
4794
- list(options) {
4795
- return this.client.sendOperationRequest({ options }, listOperationSpec);
4796
- }
4797
- }
4798
- // Operation Specifications
4799
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4800
- const listOperationSpec = {
4801
- path: "/providers/Microsoft.DataLakeAnalytics/operations",
4802
- httpMethod: "GET",
4803
- responses: {
4804
- 200: {
4805
- bodyMapper: OperationListResult
4806
- },
4807
- default: {
4808
- bodyMapper: ErrorResponse
4809
- }
4810
- },
4811
- queryParameters: [apiVersion],
4812
- urlParameters: [$host],
4813
- headerParameters: [accept],
4814
- serializer: serializer$1
4815
- };
4816
-
4817
- /*
4818
- * Copyright (c) Microsoft Corporation.
4819
- * Licensed under the MIT License.
4820
- *
4821
- * Code generated by Microsoft (R) AutoRest Code Generator.
4822
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4823
- */
4824
- /** Class containing Locations operations. */
4825
- class LocationsImpl {
4826
- /**
4827
- * Initialize a new instance of the class Locations class.
4828
- * @param client Reference to the service client
4829
- */
4830
- constructor(client) {
4831
- this.client = client;
4832
- }
4833
- /**
4834
- * Gets subscription-level properties and limits for Data Lake Analytics specified by resource
4835
- * location.
4836
- * @param location The resource location without whitespace.
4837
- * @param options The options parameters.
4838
- */
4839
- getCapability(location, options) {
4840
- return this.client.sendOperationRequest({ location, options }, getCapabilityOperationSpec);
4841
- }
4842
- }
4843
- // Operation Specifications
4844
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4845
- const getCapabilityOperationSpec = {
4846
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/capability",
4847
- httpMethod: "GET",
4848
- responses: {
4849
- 200: {
4850
- bodyMapper: CapabilityInformation
4851
- },
4852
- 404: {},
4853
- default: {
4854
- bodyMapper: ErrorResponse
4855
- }
4856
- },
4857
- queryParameters: [apiVersion],
4858
- urlParameters: [
4859
- $host,
4860
- subscriptionId,
4861
- location
4862
- ],
4863
- headerParameters: [accept],
4864
- serializer
4865
- };
4866
-
4867
- /*
4868
- * Copyright (c) Microsoft Corporation.
4869
- * Licensed under the MIT License.
4870
- *
4871
- * Code generated by Microsoft (R) AutoRest Code Generator.
4872
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4873
- */
4874
- class DataLakeAnalyticsAccountManagementClient extends coreClient__namespace.ServiceClient {
4875
- /**
4876
- * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
4877
- * @param credentials Subscription credentials which uniquely identify client subscription.
4878
- * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure
4879
- * subscription. The subscription ID forms part of the URI for every service call.
4880
- * @param options The parameter options
4881
- */
4882
- constructor(credentials, subscriptionId, options) {
4883
- var _a, _b, _c;
4884
- if (credentials === undefined) {
4885
- throw new Error("'credentials' cannot be null");
4886
- }
4887
- if (subscriptionId === undefined) {
4888
- throw new Error("'subscriptionId' cannot be null");
4889
- }
4890
- // Initializing default values for options
4891
- if (!options) {
4892
- options = {};
4893
- }
4894
- const defaults = {
4895
- requestContentType: "application/json; charset=utf-8",
4896
- credential: credentials
4897
- };
4898
- const packageDetails = `azsdk-js-arm-datalake-analytics/2.0.0-beta.4`;
4899
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4900
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4901
- : `${packageDetails}`;
4902
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
4903
- userAgentPrefix
4904
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
4905
- super(optionsWithDefaults);
4906
- let bearerTokenAuthenticationPolicyFound = false;
4907
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
4908
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
4909
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
4910
- coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
4911
- }
4912
- if (!options ||
4913
- !options.pipeline ||
4914
- options.pipeline.getOrderedPolicies().length == 0 ||
4915
- !bearerTokenAuthenticationPolicyFound) {
4916
- this.pipeline.removePolicy({
4917
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
4918
- });
4919
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
4920
- credential: credentials,
4921
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
4922
- challengeCallbacks: {
4923
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
4924
- }
4925
- }));
4926
- }
4927
- // Parameter assignments
4928
- this.subscriptionId = subscriptionId;
4929
- // Assigning values to Constant parameters
4930
- this.$host = options.$host || "https://management.azure.com";
4931
- this.apiVersion = options.apiVersion || "2019-11-01-preview";
4932
- this.accounts = new AccountsImpl(this);
4933
- this.dataLakeStoreAccounts = new DataLakeStoreAccountsImpl(this);
4934
- this.storageAccounts = new StorageAccountsImpl(this);
4935
- this.computePolicies = new ComputePoliciesImpl(this);
4936
- this.firewallRules = new FirewallRulesImpl(this);
4937
- this.operations = new OperationsImpl(this);
4938
- this.locations = new LocationsImpl(this);
4939
- this.addCustomApiVersionPolicy(options.apiVersion);
4940
- }
4941
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
4942
- addCustomApiVersionPolicy(apiVersion) {
4943
- if (!apiVersion) {
4944
- return;
4945
- }
4946
- const apiVersionPolicy = {
4947
- name: "CustomApiVersionPolicy",
4948
- sendRequest(request, next) {
4949
- return tslib.__awaiter(this, void 0, void 0, function* () {
4950
- const param = request.url.split("?");
4951
- if (param.length > 1) {
4952
- const newParams = param[1].split("&").map((item) => {
4953
- if (item.indexOf("api-version") > -1) {
4954
- return "api-version=" + apiVersion;
4955
- }
4956
- else {
4957
- return item;
4958
- }
4959
- });
4960
- request.url = param[0] + "?" + newParams.join("&");
4961
- }
4962
- return next(request);
4963
- });
4964
- }
4965
- };
4966
- this.pipeline.addPolicy(apiVersionPolicy);
4967
- }
4968
- }
4969
-
4970
- exports.DataLakeAnalyticsAccountManagementClient = DataLakeAnalyticsAccountManagementClient;
4971
- exports.getContinuationToken = getContinuationToken;
4972
- //# sourceMappingURL=index.js.map