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