@azure/storage-file-datalake 12.26.0 → 12.27.0-beta.1

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 (836) hide show
  1. package/README.md +117 -190
  2. package/dist/browser/DataLakeFileSystemClient.d.ts +473 -0
  3. package/dist/browser/DataLakeFileSystemClient.d.ts.map +1 -0
  4. package/{dist-esm/storage-file-datalake/src → dist/browser}/DataLakeFileSystemClient.js +170 -75
  5. package/dist/browser/DataLakeFileSystemClient.js.map +1 -0
  6. package/dist/browser/DataLakeLeaseClient.d.ts +14 -0
  7. package/dist/browser/DataLakeLeaseClient.d.ts.map +1 -0
  8. package/{dist-esm/storage-file-datalake/src → dist/browser}/DataLakeLeaseClient.js +3 -1
  9. package/dist/browser/DataLakeLeaseClient.js.map +1 -0
  10. package/dist/browser/DataLakeServiceClient.d.ts +281 -0
  11. package/dist/browser/DataLakeServiceClient.d.ts.map +1 -0
  12. package/{dist-esm/storage-file-datalake/src → dist/browser}/DataLakeServiceClient.js +94 -62
  13. package/dist/browser/DataLakeServiceClient.js.map +1 -0
  14. package/dist/browser/Pipeline.d.ts +52 -0
  15. package/dist/browser/Pipeline.d.ts.map +1 -0
  16. package/{dist-esm/storage-file-datalake/src → dist/browser}/Pipeline.js +8 -8
  17. package/dist/browser/Pipeline.js.map +1 -0
  18. package/dist/browser/StorageClient.d.ts +61 -0
  19. package/dist/browser/StorageClient.d.ts.map +1 -0
  20. package/{dist-esm/storage-file-datalake/src → dist/browser}/StorageClient.js +5 -3
  21. package/dist/browser/StorageClient.js.map +1 -0
  22. package/dist/browser/StorageContextClient.d.ts +9 -0
  23. package/dist/browser/StorageContextClient.d.ts.map +1 -0
  24. package/{dist-esm/storage-file-datalake/src → dist/browser}/StorageContextClient.js +3 -3
  25. package/dist/browser/StorageContextClient.js.map +1 -0
  26. package/dist/browser/clients.d.ts +689 -0
  27. package/dist/browser/clients.d.ts.map +1 -0
  28. package/{dist-esm/storage-file-datalake/src → dist/browser}/clients.js +87 -45
  29. package/dist/browser/clients.js.map +1 -0
  30. package/dist/browser/credentials/StorageSharedKeyCredential-browser.d.mts.map +1 -0
  31. package/dist/browser/credentials/StorageSharedKeyCredential-browser.mjs.map +1 -0
  32. package/dist/browser/credentials/StorageSharedKeyCredential.d.ts +3 -0
  33. package/{dist-esm/storage-file-datalake/src/credentials/StorageSharedKeyCredential.browser.js → dist/browser/credentials/StorageSharedKeyCredential.js} +1 -1
  34. package/dist/browser/credentials/UserDelegationKeyCredential-browser.d.mts.map +1 -0
  35. package/dist/browser/credentials/UserDelegationKeyCredential-browser.mjs.map +1 -0
  36. package/dist/browser/credentials/UserDelegationKeyCredential.d.ts +3 -0
  37. package/{dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.browser.js → dist/browser/credentials/UserDelegationKeyCredential.js} +1 -1
  38. package/dist/browser/generated/src/index.d.ts +4 -0
  39. package/dist/browser/generated/src/index.d.ts.map +1 -0
  40. package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/index.js +3 -3
  41. package/dist/browser/generated/src/index.js.map +1 -0
  42. package/dist/browser/generated/src/models/index.d.ts +1091 -0
  43. package/dist/browser/generated/src/models/index.d.ts.map +1 -0
  44. package/dist/browser/generated/src/models/index.js.map +1 -0
  45. package/dist/browser/generated/src/models/mappers.d.ts +53 -0
  46. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
  47. package/dist/browser/generated/src/models/mappers.js.map +1 -0
  48. package/dist/browser/generated/src/models/parameters.d.ts +87 -0
  49. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
  50. package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/models/parameters.js +1 -1
  51. package/dist/browser/generated/src/models/parameters.js.map +1 -0
  52. package/dist/browser/generated/src/operations/fileSystemOperations.d.ts +55 -0
  53. package/dist/browser/generated/src/operations/fileSystemOperations.d.ts.map +1 -0
  54. package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operations/fileSystemOperations.js +2 -2
  55. package/dist/browser/generated/src/operations/fileSystemOperations.js.map +1 -0
  56. package/dist/browser/generated/src/operations/index.d.ts +4 -0
  57. package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
  58. package/{dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces → dist/browser/generated/src/operations}/index.js +3 -3
  59. package/dist/browser/generated/src/operations/index.js.map +1 -0
  60. package/dist/browser/generated/src/operations/pathOperations.d.ts +120 -0
  61. package/dist/browser/generated/src/operations/pathOperations.d.ts.map +1 -0
  62. package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operations/pathOperations.js +2 -2
  63. package/dist/browser/generated/src/operations/pathOperations.js.map +1 -0
  64. package/dist/browser/generated/src/operations/service.d.ts +18 -0
  65. package/dist/browser/generated/src/operations/service.d.ts.map +1 -0
  66. package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operations/service.js +2 -2
  67. package/dist/browser/generated/src/operations/service.js.map +1 -0
  68. package/dist/browser/generated/src/operationsInterfaces/fileSystemOperations.d.ts +47 -0
  69. package/dist/browser/generated/src/operationsInterfaces/fileSystemOperations.d.ts.map +1 -0
  70. package/dist/browser/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -0
  71. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +4 -0
  72. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  73. package/dist/browser/generated/src/operationsInterfaces/index.js +11 -0
  74. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -0
  75. package/dist/browser/generated/src/operationsInterfaces/pathOperations.d.ts +112 -0
  76. package/dist/browser/generated/src/operationsInterfaces/pathOperations.d.ts.map +1 -0
  77. package/dist/browser/generated/src/operationsInterfaces/pathOperations.js.map +1 -0
  78. package/dist/browser/generated/src/operationsInterfaces/service.d.ts +10 -0
  79. package/dist/browser/generated/src/operationsInterfaces/service.d.ts.map +1 -0
  80. package/dist/browser/generated/src/operationsInterfaces/service.js.map +1 -0
  81. package/dist/browser/generated/src/storageClient.d.ts +20 -0
  82. package/dist/browser/generated/src/storageClient.d.ts.map +1 -0
  83. package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/storageClient.js +3 -3
  84. package/dist/browser/generated/src/storageClient.js.map +1 -0
  85. package/dist/browser/index-browser.d.mts.map +1 -0
  86. package/dist/browser/index-browser.mjs.map +1 -0
  87. package/dist/browser/index.d.ts +13 -0
  88. package/{dist-esm/storage-file-datalake/src/index.browser.js → dist/browser/index.js} +10 -10
  89. package/dist/browser/log.d.ts +5 -0
  90. package/dist/browser/log.d.ts.map +1 -0
  91. package/dist/browser/log.js.map +1 -0
  92. package/dist/browser/models.d.ts +1318 -0
  93. package/dist/browser/models.d.ts.map +1 -0
  94. package/dist/browser/models.internal.d.ts +2 -0
  95. package/dist/browser/models.internal.d.ts.map +1 -0
  96. package/dist/browser/models.internal.js.map +1 -0
  97. package/{dist-esm/storage-file-datalake/src → dist/browser}/models.js +2 -0
  98. package/dist/browser/models.js.map +1 -0
  99. package/dist/browser/package.json +3 -0
  100. package/dist/browser/sas/AccountSASPermissions.d.ts +61 -0
  101. package/dist/browser/sas/AccountSASPermissions.d.ts.map +1 -0
  102. package/dist/browser/sas/AccountSASPermissions.js.map +1 -0
  103. package/dist/browser/sas/AccountSASResourceTypes.d.ts +38 -0
  104. package/dist/browser/sas/AccountSASResourceTypes.d.ts.map +1 -0
  105. package/dist/browser/sas/AccountSASResourceTypes.js.map +1 -0
  106. package/dist/browser/sas/AccountSASServices.d.ts +40 -0
  107. package/dist/browser/sas/AccountSASServices.d.ts.map +1 -0
  108. package/dist/browser/sas/AccountSASServices.js.map +1 -0
  109. package/dist/browser/sas/AccountSASSignatureValues.d.ts +78 -0
  110. package/dist/browser/sas/AccountSASSignatureValues.d.ts.map +1 -0
  111. package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/AccountSASSignatureValues.js +7 -7
  112. package/dist/browser/sas/AccountSASSignatureValues.js.map +1 -0
  113. package/dist/browser/sas/DataLakeSASPermissions.d.ts +65 -0
  114. package/dist/browser/sas/DataLakeSASPermissions.d.ts.map +1 -0
  115. package/dist/browser/sas/DataLakeSASPermissions.js.map +1 -0
  116. package/dist/browser/sas/DataLakeSASSignatureValues.d.ts +205 -0
  117. package/dist/browser/sas/DataLakeSASSignatureValues.d.ts.map +1 -0
  118. package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/DataLakeSASSignatureValues.js +107 -10
  119. package/dist/browser/sas/DataLakeSASSignatureValues.js.map +1 -0
  120. package/dist/browser/sas/DirectorySASPermissions.d.ts +69 -0
  121. package/dist/browser/sas/DirectorySASPermissions.d.ts.map +1 -0
  122. package/dist/browser/sas/DirectorySASPermissions.js.map +1 -0
  123. package/dist/browser/sas/FileSystemSASPermissions.d.ts +69 -0
  124. package/dist/browser/sas/FileSystemSASPermissions.d.ts.map +1 -0
  125. package/dist/browser/sas/FileSystemSASPermissions.js.map +1 -0
  126. package/dist/browser/sas/SASQueryParameters.d.ts +309 -0
  127. package/dist/browser/sas/SASQueryParameters.d.ts.map +1 -0
  128. package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/SASQueryParameters.js +4 -2
  129. package/dist/browser/sas/SASQueryParameters.js.map +1 -0
  130. package/dist/browser/sas/SasIPRange.d.ts +24 -0
  131. package/dist/browser/sas/SasIPRange.d.ts.map +1 -0
  132. package/dist/browser/sas/SasIPRange.js.map +1 -0
  133. package/dist/browser/transforms.d.ts +51 -0
  134. package/dist/browser/transforms.d.ts.map +1 -0
  135. package/{dist-esm/storage-file-datalake/src → dist/browser}/transforms.js +2 -2
  136. package/dist/browser/transforms.js.map +1 -0
  137. package/dist/browser/utils/Batch.d.ts +68 -0
  138. package/dist/browser/utils/Batch.d.ts.map +1 -0
  139. package/dist/browser/utils/Batch.js.map +1 -0
  140. package/dist/browser/utils/BufferScheduler.d.ts +158 -0
  141. package/dist/browser/utils/BufferScheduler.d.ts.map +1 -0
  142. package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/BufferScheduler.js +1 -1
  143. package/dist/browser/utils/BufferScheduler.js.map +1 -0
  144. package/dist/browser/utils/DataLakeAclChangeFailedError.d.ts +16 -0
  145. package/dist/browser/utils/DataLakeAclChangeFailedError.d.ts.map +1 -0
  146. package/dist/browser/utils/DataLakeAclChangeFailedError.js.map +1 -0
  147. package/dist/browser/utils/PathClientInternal.d.ts +24 -0
  148. package/dist/browser/utils/PathClientInternal.d.ts.map +1 -0
  149. package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/PathClientInternal.js +2 -2
  150. package/dist/browser/utils/PathClientInternal.js.map +1 -0
  151. package/dist/browser/utils/constants.d.ts +70 -0
  152. package/dist/browser/utils/constants.d.ts.map +1 -0
  153. package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/constants.js +2 -2
  154. package/dist/browser/utils/constants.js.map +1 -0
  155. package/dist/browser/utils/tracing.d.ts +6 -0
  156. package/dist/browser/utils/tracing.d.ts.map +1 -0
  157. package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/tracing.js +1 -1
  158. package/dist/browser/utils/tracing.js.map +1 -0
  159. package/dist/browser/utils/utils-browser.d.mts.map +1 -0
  160. package/dist/browser/utils/utils-browser.mjs.map +1 -0
  161. package/dist/browser/utils/utils.common.d.ts +236 -0
  162. package/dist/browser/utils/utils.common.d.ts.map +1 -0
  163. package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/utils.common.js +5 -5
  164. package/dist/browser/utils/utils.common.js.map +1 -0
  165. package/dist/browser/utils/utils.d.ts +3 -0
  166. package/dist/browser/utils/utils.js +9 -0
  167. package/dist/commonjs/DataLakeFileSystemClient.d.ts +473 -0
  168. package/dist/commonjs/DataLakeFileSystemClient.d.ts.map +1 -0
  169. package/dist/commonjs/DataLakeFileSystemClient.js +683 -0
  170. package/dist/commonjs/DataLakeFileSystemClient.js.map +1 -0
  171. package/dist/commonjs/DataLakeLeaseClient.d.ts +14 -0
  172. package/dist/commonjs/DataLakeLeaseClient.d.ts.map +1 -0
  173. package/dist/commonjs/DataLakeLeaseClient.js +49 -0
  174. package/dist/commonjs/DataLakeLeaseClient.js.map +1 -0
  175. package/dist/commonjs/DataLakeServiceClient.d.ts +281 -0
  176. package/dist/commonjs/DataLakeServiceClient.d.ts.map +1 -0
  177. package/dist/commonjs/DataLakeServiceClient.js +372 -0
  178. package/dist/commonjs/DataLakeServiceClient.js.map +1 -0
  179. package/dist/commonjs/Pipeline.d.ts +52 -0
  180. package/dist/commonjs/Pipeline.d.ts.map +1 -0
  181. package/dist/commonjs/Pipeline.js +222 -0
  182. package/dist/commonjs/Pipeline.js.map +1 -0
  183. package/dist/commonjs/StorageClient.d.ts +61 -0
  184. package/dist/commonjs/StorageClient.d.ts.map +1 -0
  185. package/dist/commonjs/StorageClient.js +55 -0
  186. package/dist/commonjs/StorageClient.js.map +1 -0
  187. package/dist/commonjs/StorageContextClient.d.ts +9 -0
  188. package/dist/commonjs/StorageContextClient.d.ts.map +1 -0
  189. package/dist/commonjs/StorageContextClient.js +39 -0
  190. package/dist/commonjs/StorageContextClient.js.map +1 -0
  191. package/dist/commonjs/clients.d.ts +689 -0
  192. package/dist/commonjs/clients.d.ts.map +1 -0
  193. package/dist/commonjs/clients.js +1195 -0
  194. package/dist/commonjs/clients.js.map +1 -0
  195. package/dist/commonjs/credentials/StorageSharedKeyCredential.d.ts +2 -0
  196. package/dist/commonjs/credentials/StorageSharedKeyCredential.d.ts.map +1 -0
  197. package/dist/commonjs/credentials/StorageSharedKeyCredential.js +8 -0
  198. package/dist/commonjs/credentials/StorageSharedKeyCredential.js.map +1 -0
  199. package/dist/commonjs/credentials/UserDelegationKeyCredential.d.ts +34 -0
  200. package/dist/commonjs/credentials/UserDelegationKeyCredential.d.ts.map +1 -0
  201. package/dist/commonjs/credentials/UserDelegationKeyCredential.js +35 -0
  202. package/dist/commonjs/credentials/UserDelegationKeyCredential.js.map +1 -0
  203. package/dist/commonjs/generated/src/index.d.ts +4 -0
  204. package/dist/commonjs/generated/src/index.d.ts.map +1 -0
  205. package/dist/commonjs/generated/src/index.js +16 -0
  206. package/dist/commonjs/generated/src/index.js.map +1 -0
  207. package/dist/commonjs/generated/src/models/index.d.ts +1091 -0
  208. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
  209. package/dist/commonjs/generated/src/models/index.js +19 -0
  210. package/dist/commonjs/generated/src/models/index.js.map +1 -0
  211. package/dist/commonjs/generated/src/models/mappers.d.ts +53 -0
  212. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
  213. package/dist/commonjs/generated/src/models/mappers.js +2450 -0
  214. package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
  215. package/dist/commonjs/generated/src/models/parameters.d.ts +87 -0
  216. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
  217. package/dist/commonjs/generated/src/models/parameters.js +952 -0
  218. package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
  219. package/dist/commonjs/generated/src/operations/fileSystemOperations.d.ts +55 -0
  220. package/dist/commonjs/generated/src/operations/fileSystemOperations.d.ts.map +1 -0
  221. package/dist/commonjs/generated/src/operations/fileSystemOperations.js +236 -0
  222. package/dist/commonjs/generated/src/operations/fileSystemOperations.js.map +1 -0
  223. package/dist/commonjs/generated/src/operations/index.d.ts +4 -0
  224. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
  225. package/dist/commonjs/generated/src/operations/index.js +14 -0
  226. package/dist/commonjs/generated/src/operations/index.js.map +1 -0
  227. package/dist/commonjs/generated/src/operations/pathOperations.d.ts +120 -0
  228. package/dist/commonjs/generated/src/operations/pathOperations.d.ts.map +1 -0
  229. package/dist/commonjs/generated/src/operations/pathOperations.js +596 -0
  230. package/dist/commonjs/generated/src/operations/pathOperations.js.map +1 -0
  231. package/dist/commonjs/generated/src/operations/service.d.ts +18 -0
  232. package/dist/commonjs/generated/src/operations/service.d.ts.map +1 -0
  233. package/dist/commonjs/generated/src/operations/service.js +63 -0
  234. package/dist/commonjs/generated/src/operations/service.js.map +1 -0
  235. package/dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.d.ts +47 -0
  236. package/dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.d.ts.map +1 -0
  237. package/{dist-esm/storage-file-datalake/src/generated/src/operations/index.js → dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.js} +3 -4
  238. package/dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -0
  239. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +4 -0
  240. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  241. package/dist/commonjs/generated/src/operationsInterfaces/index.js +14 -0
  242. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
  243. package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.d.ts +112 -0
  244. package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.d.ts.map +1 -0
  245. package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.js +10 -0
  246. package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.js.map +1 -0
  247. package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts +10 -0
  248. package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts.map +1 -0
  249. package/dist/commonjs/generated/src/operationsInterfaces/service.js +10 -0
  250. package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +1 -0
  251. package/dist/commonjs/generated/src/storageClient.d.ts +20 -0
  252. package/dist/commonjs/generated/src/storageClient.d.ts.map +1 -0
  253. package/dist/commonjs/generated/src/storageClient.js +52 -0
  254. package/dist/commonjs/generated/src/storageClient.js.map +1 -0
  255. package/dist/commonjs/index.d.ts +23 -0
  256. package/dist/commonjs/index.d.ts.map +1 -0
  257. package/dist/commonjs/index.js +49 -0
  258. package/dist/commonjs/index.js.map +1 -0
  259. package/dist/commonjs/log.d.ts +5 -0
  260. package/dist/commonjs/log.d.ts.map +1 -0
  261. package/dist/commonjs/log.js +11 -0
  262. package/dist/commonjs/log.js.map +1 -0
  263. package/dist/commonjs/models.d.ts +1318 -0
  264. package/dist/commonjs/models.d.ts.map +1 -0
  265. package/dist/commonjs/models.internal.d.ts +2 -0
  266. package/dist/commonjs/models.internal.d.ts.map +1 -0
  267. package/dist/commonjs/models.internal.js +5 -0
  268. package/dist/commonjs/models.internal.js.map +1 -0
  269. package/dist/commonjs/models.js +57 -0
  270. package/dist/commonjs/models.js.map +1 -0
  271. package/dist/commonjs/package.json +3 -0
  272. package/dist/commonjs/sas/AccountSASPermissions.d.ts +61 -0
  273. package/dist/commonjs/sas/AccountSASPermissions.d.ts.map +1 -0
  274. package/dist/commonjs/sas/AccountSASPermissions.js +132 -0
  275. package/dist/commonjs/sas/AccountSASPermissions.js.map +1 -0
  276. package/dist/commonjs/sas/AccountSASResourceTypes.d.ts +38 -0
  277. package/dist/commonjs/sas/AccountSASResourceTypes.d.ts.map +1 -0
  278. package/dist/commonjs/sas/AccountSASResourceTypes.js +76 -0
  279. package/dist/commonjs/sas/AccountSASResourceTypes.js.map +1 -0
  280. package/dist/commonjs/sas/AccountSASServices.d.ts +40 -0
  281. package/dist/commonjs/sas/AccountSASServices.d.ts.map +1 -0
  282. package/dist/commonjs/sas/AccountSASServices.js +84 -0
  283. package/dist/commonjs/sas/AccountSASServices.js.map +1 -0
  284. package/dist/commonjs/sas/AccountSASSignatureValues.d.ts +78 -0
  285. package/dist/commonjs/sas/AccountSASSignatureValues.d.ts.map +1 -0
  286. package/dist/commonjs/sas/AccountSASSignatureValues.js +76 -0
  287. package/dist/commonjs/sas/AccountSASSignatureValues.js.map +1 -0
  288. package/dist/commonjs/sas/DataLakeSASPermissions.d.ts +65 -0
  289. package/dist/commonjs/sas/DataLakeSASPermissions.d.ts.map +1 -0
  290. package/dist/commonjs/sas/DataLakeSASPermissions.js +139 -0
  291. package/dist/commonjs/sas/DataLakeSASPermissions.js.map +1 -0
  292. package/dist/commonjs/sas/DataLakeSASSignatureValues.d.ts +205 -0
  293. package/dist/commonjs/sas/DataLakeSASSignatureValues.d.ts.map +1 -0
  294. package/dist/commonjs/sas/DataLakeSASSignatureValues.js +722 -0
  295. package/dist/commonjs/sas/DataLakeSASSignatureValues.js.map +1 -0
  296. package/dist/commonjs/sas/DirectorySASPermissions.d.ts +69 -0
  297. package/dist/commonjs/sas/DirectorySASPermissions.d.ts.map +1 -0
  298. package/dist/commonjs/sas/DirectorySASPermissions.js +149 -0
  299. package/dist/commonjs/sas/DirectorySASPermissions.js.map +1 -0
  300. package/dist/commonjs/sas/FileSystemSASPermissions.d.ts +69 -0
  301. package/dist/commonjs/sas/FileSystemSASPermissions.d.ts.map +1 -0
  302. package/dist/commonjs/sas/FileSystemSASPermissions.js +149 -0
  303. package/dist/commonjs/sas/FileSystemSASPermissions.js.map +1 -0
  304. package/dist/commonjs/sas/SASQueryParameters.d.ts +309 -0
  305. package/dist/commonjs/sas/SASQueryParameters.d.ts.map +1 -0
  306. package/dist/commonjs/sas/SASQueryParameters.js +252 -0
  307. package/dist/commonjs/sas/SASQueryParameters.js.map +1 -0
  308. package/dist/commonjs/sas/SasIPRange.d.ts +24 -0
  309. package/dist/commonjs/sas/SasIPRange.d.ts.map +1 -0
  310. package/dist/commonjs/sas/SasIPRange.js +16 -0
  311. package/dist/commonjs/sas/SasIPRange.js.map +1 -0
  312. package/dist/commonjs/transforms.d.ts +51 -0
  313. package/dist/commonjs/transforms.d.ts.map +1 -0
  314. package/dist/commonjs/transforms.js +357 -0
  315. package/dist/commonjs/transforms.js.map +1 -0
  316. package/dist/commonjs/tsdoc-metadata.json +11 -0
  317. package/dist/commonjs/utils/Batch.d.ts +68 -0
  318. package/dist/commonjs/utils/Batch.d.ts.map +1 -0
  319. package/dist/commonjs/utils/Batch.js +126 -0
  320. package/dist/commonjs/utils/Batch.js.map +1 -0
  321. package/dist/commonjs/utils/BufferScheduler.d.ts +158 -0
  322. package/dist/commonjs/utils/BufferScheduler.d.ts.map +1 -0
  323. package/dist/commonjs/utils/BufferScheduler.js +268 -0
  324. package/dist/commonjs/utils/BufferScheduler.js.map +1 -0
  325. package/dist/commonjs/utils/DataLakeAclChangeFailedError.d.ts +16 -0
  326. package/dist/commonjs/utils/DataLakeAclChangeFailedError.d.ts.map +1 -0
  327. package/dist/commonjs/utils/DataLakeAclChangeFailedError.js +17 -0
  328. package/dist/commonjs/utils/DataLakeAclChangeFailedError.js.map +1 -0
  329. package/dist/commonjs/utils/PathClientInternal.d.ts +24 -0
  330. package/dist/commonjs/utils/PathClientInternal.d.ts.map +1 -0
  331. package/dist/commonjs/utils/PathClientInternal.js +28 -0
  332. package/dist/commonjs/utils/PathClientInternal.js.map +1 -0
  333. package/dist/commonjs/utils/constants.d.ts +70 -0
  334. package/dist/commonjs/utils/constants.d.ts.map +1 -0
  335. package/dist/commonjs/utils/constants.js +247 -0
  336. package/dist/commonjs/utils/constants.js.map +1 -0
  337. package/dist/commonjs/utils/tracing.d.ts +6 -0
  338. package/dist/commonjs/utils/tracing.d.ts.map +1 -0
  339. package/dist/commonjs/utils/tracing.js +17 -0
  340. package/dist/commonjs/utils/tracing.js.map +1 -0
  341. package/dist/commonjs/utils/utils.common.d.ts +236 -0
  342. package/dist/commonjs/utils/utils.common.d.ts.map +1 -0
  343. package/dist/commonjs/utils/utils.common.js +595 -0
  344. package/dist/commonjs/utils/utils.common.js.map +1 -0
  345. package/dist/commonjs/utils/utils.d.ts +29 -0
  346. package/dist/commonjs/utils/utils.d.ts.map +1 -0
  347. package/dist/commonjs/utils/utils.js +91 -0
  348. package/dist/commonjs/utils/utils.js.map +1 -0
  349. package/dist/esm/DataLakeFileSystemClient.d.ts +473 -0
  350. package/dist/esm/DataLakeFileSystemClient.d.ts.map +1 -0
  351. package/dist/esm/DataLakeFileSystemClient.js +679 -0
  352. package/dist/esm/DataLakeFileSystemClient.js.map +1 -0
  353. package/dist/esm/DataLakeLeaseClient.d.ts +14 -0
  354. package/dist/esm/DataLakeLeaseClient.d.ts.map +1 -0
  355. package/dist/esm/DataLakeLeaseClient.js +45 -0
  356. package/dist/esm/DataLakeLeaseClient.js.map +1 -0
  357. package/dist/esm/DataLakeServiceClient.d.ts +281 -0
  358. package/dist/esm/DataLakeServiceClient.d.ts.map +1 -0
  359. package/dist/esm/DataLakeServiceClient.js +368 -0
  360. package/dist/esm/DataLakeServiceClient.js.map +1 -0
  361. package/dist/esm/Pipeline.d.ts +52 -0
  362. package/dist/esm/Pipeline.d.ts.map +1 -0
  363. package/dist/esm/Pipeline.js +216 -0
  364. package/dist/esm/Pipeline.js.map +1 -0
  365. package/dist/esm/StorageClient.d.ts +61 -0
  366. package/dist/esm/StorageClient.d.ts.map +1 -0
  367. package/dist/esm/StorageClient.js +51 -0
  368. package/dist/esm/StorageClient.js.map +1 -0
  369. package/dist/esm/StorageContextClient.d.ts +9 -0
  370. package/dist/esm/StorageContextClient.d.ts.map +1 -0
  371. package/dist/esm/StorageContextClient.js +35 -0
  372. package/dist/esm/StorageContextClient.js.map +1 -0
  373. package/dist/esm/clients.d.ts +689 -0
  374. package/dist/esm/clients.d.ts.map +1 -0
  375. package/dist/esm/clients.js +1189 -0
  376. package/dist/esm/clients.js.map +1 -0
  377. package/dist/esm/credentials/StorageSharedKeyCredential.d.ts +2 -0
  378. package/dist/esm/credentials/StorageSharedKeyCredential.d.ts.map +1 -0
  379. package/dist/esm/credentials/StorageSharedKeyCredential.js.map +1 -0
  380. package/dist/esm/credentials/UserDelegationKeyCredential.d.ts +34 -0
  381. package/dist/esm/credentials/UserDelegationKeyCredential.d.ts.map +1 -0
  382. package/{dist-esm/storage-file-datalake/src → dist/esm}/credentials/UserDelegationKeyCredential.js +1 -1
  383. package/dist/esm/credentials/UserDelegationKeyCredential.js.map +1 -0
  384. package/dist/esm/generated/src/index.d.ts +4 -0
  385. package/dist/esm/generated/src/index.d.ts.map +1 -0
  386. package/dist/esm/generated/src/index.js +11 -0
  387. package/dist/esm/generated/src/index.js.map +1 -0
  388. package/dist/esm/generated/src/models/index.d.ts +1091 -0
  389. package/dist/esm/generated/src/models/index.d.ts.map +1 -0
  390. package/dist/esm/generated/src/models/index.js +16 -0
  391. package/dist/esm/generated/src/models/index.js.map +1 -0
  392. package/dist/esm/generated/src/models/mappers.d.ts +53 -0
  393. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
  394. package/dist/esm/generated/src/models/mappers.js +2446 -0
  395. package/dist/esm/generated/src/models/mappers.js.map +1 -0
  396. package/dist/esm/generated/src/models/parameters.d.ts +87 -0
  397. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
  398. package/dist/esm/generated/src/models/parameters.js +948 -0
  399. package/dist/esm/generated/src/models/parameters.js.map +1 -0
  400. package/dist/esm/generated/src/operations/fileSystemOperations.d.ts +55 -0
  401. package/dist/esm/generated/src/operations/fileSystemOperations.d.ts.map +1 -0
  402. package/dist/esm/generated/src/operations/fileSystemOperations.js +231 -0
  403. package/dist/esm/generated/src/operations/fileSystemOperations.js.map +1 -0
  404. package/dist/esm/generated/src/operations/index.d.ts +4 -0
  405. package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
  406. package/dist/esm/generated/src/operations/index.js +11 -0
  407. package/dist/esm/generated/src/operations/index.js.map +1 -0
  408. package/dist/esm/generated/src/operations/pathOperations.d.ts +120 -0
  409. package/dist/esm/generated/src/operations/pathOperations.d.ts.map +1 -0
  410. package/dist/esm/generated/src/operations/pathOperations.js +591 -0
  411. package/dist/esm/generated/src/operations/pathOperations.js.map +1 -0
  412. package/dist/esm/generated/src/operations/service.d.ts +18 -0
  413. package/dist/esm/generated/src/operations/service.d.ts.map +1 -0
  414. package/dist/esm/generated/src/operations/service.js +58 -0
  415. package/dist/esm/generated/src/operations/service.js.map +1 -0
  416. package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.d.ts +47 -0
  417. package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.d.ts.map +1 -0
  418. package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.js +9 -0
  419. package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -0
  420. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +4 -0
  421. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  422. package/dist/esm/generated/src/operationsInterfaces/index.js +11 -0
  423. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
  424. package/dist/esm/generated/src/operationsInterfaces/pathOperations.d.ts +112 -0
  425. package/dist/esm/generated/src/operationsInterfaces/pathOperations.d.ts.map +1 -0
  426. package/dist/esm/generated/src/operationsInterfaces/pathOperations.js +9 -0
  427. package/dist/esm/generated/src/operationsInterfaces/pathOperations.js.map +1 -0
  428. package/dist/esm/generated/src/operationsInterfaces/service.d.ts +10 -0
  429. package/dist/esm/generated/src/operationsInterfaces/service.d.ts.map +1 -0
  430. package/dist/esm/generated/src/operationsInterfaces/service.js +9 -0
  431. package/dist/esm/generated/src/operationsInterfaces/service.js.map +1 -0
  432. package/dist/esm/generated/src/storageClient.d.ts +20 -0
  433. package/dist/esm/generated/src/storageClient.d.ts.map +1 -0
  434. package/dist/esm/generated/src/storageClient.js +47 -0
  435. package/dist/esm/generated/src/storageClient.js.map +1 -0
  436. package/dist/esm/index.d.ts +23 -0
  437. package/dist/esm/index.d.ts.map +1 -0
  438. package/dist/esm/index.js +23 -0
  439. package/dist/esm/index.js.map +1 -0
  440. package/dist/esm/log.d.ts +5 -0
  441. package/dist/esm/log.d.ts.map +1 -0
  442. package/{dist-esm/storage-blob/src → dist/esm}/log.js +1 -1
  443. package/dist/esm/log.js.map +1 -0
  444. package/dist/esm/models.d.ts +1318 -0
  445. package/dist/esm/models.d.ts.map +1 -0
  446. package/dist/esm/models.internal.d.ts +2 -0
  447. package/dist/esm/models.internal.d.ts.map +1 -0
  448. package/dist/esm/models.internal.js +4 -0
  449. package/dist/esm/models.internal.js.map +1 -0
  450. package/dist/esm/models.js +53 -0
  451. package/dist/esm/models.js.map +1 -0
  452. package/dist/esm/package.json +3 -0
  453. package/dist/esm/sas/AccountSASPermissions.d.ts +61 -0
  454. package/dist/esm/sas/AccountSASPermissions.d.ts.map +1 -0
  455. package/dist/esm/sas/AccountSASPermissions.js +128 -0
  456. package/dist/esm/sas/AccountSASPermissions.js.map +1 -0
  457. package/dist/esm/sas/AccountSASResourceTypes.d.ts +38 -0
  458. package/dist/esm/sas/AccountSASResourceTypes.d.ts.map +1 -0
  459. package/dist/esm/sas/AccountSASResourceTypes.js +72 -0
  460. package/dist/esm/sas/AccountSASResourceTypes.js.map +1 -0
  461. package/dist/esm/sas/AccountSASServices.d.ts +40 -0
  462. package/dist/esm/sas/AccountSASServices.d.ts.map +1 -0
  463. package/dist/esm/sas/AccountSASServices.js +80 -0
  464. package/dist/esm/sas/AccountSASServices.js.map +1 -0
  465. package/dist/esm/sas/AccountSASSignatureValues.d.ts +78 -0
  466. package/dist/esm/sas/AccountSASSignatureValues.d.ts.map +1 -0
  467. package/dist/esm/sas/AccountSASSignatureValues.js +72 -0
  468. package/dist/esm/sas/AccountSASSignatureValues.js.map +1 -0
  469. package/dist/esm/sas/DataLakeSASPermissions.d.ts +65 -0
  470. package/dist/esm/sas/DataLakeSASPermissions.d.ts.map +1 -0
  471. package/dist/esm/sas/DataLakeSASPermissions.js +135 -0
  472. package/dist/esm/sas/DataLakeSASPermissions.js.map +1 -0
  473. package/dist/esm/sas/DataLakeSASSignatureValues.d.ts +205 -0
  474. package/dist/esm/sas/DataLakeSASSignatureValues.d.ts.map +1 -0
  475. package/dist/esm/sas/DataLakeSASSignatureValues.js +718 -0
  476. package/dist/esm/sas/DataLakeSASSignatureValues.js.map +1 -0
  477. package/dist/esm/sas/DirectorySASPermissions.d.ts +69 -0
  478. package/dist/esm/sas/DirectorySASPermissions.d.ts.map +1 -0
  479. package/dist/esm/sas/DirectorySASPermissions.js +145 -0
  480. package/dist/esm/sas/DirectorySASPermissions.js.map +1 -0
  481. package/dist/esm/sas/FileSystemSASPermissions.d.ts +69 -0
  482. package/dist/esm/sas/FileSystemSASPermissions.d.ts.map +1 -0
  483. package/dist/esm/sas/FileSystemSASPermissions.js +145 -0
  484. package/dist/esm/sas/FileSystemSASPermissions.js.map +1 -0
  485. package/dist/esm/sas/SASQueryParameters.d.ts +309 -0
  486. package/dist/esm/sas/SASQueryParameters.d.ts.map +1 -0
  487. package/dist/esm/sas/SASQueryParameters.js +248 -0
  488. package/dist/esm/sas/SASQueryParameters.js.map +1 -0
  489. package/dist/esm/sas/SasIPRange.d.ts +24 -0
  490. package/dist/esm/sas/SasIPRange.d.ts.map +1 -0
  491. package/dist/esm/sas/SasIPRange.js +13 -0
  492. package/dist/esm/sas/SasIPRange.js.map +1 -0
  493. package/dist/esm/transforms.d.ts +51 -0
  494. package/dist/esm/transforms.d.ts.map +1 -0
  495. package/dist/esm/transforms.js +337 -0
  496. package/dist/esm/transforms.js.map +1 -0
  497. package/dist/esm/utils/Batch.d.ts +68 -0
  498. package/dist/esm/utils/Batch.d.ts.map +1 -0
  499. package/dist/esm/utils/Batch.js.map +1 -0
  500. package/dist/esm/utils/BufferScheduler.d.ts +158 -0
  501. package/dist/esm/utils/BufferScheduler.d.ts.map +1 -0
  502. package/{dist-esm/storage-common/src → dist/esm/utils}/BufferScheduler.js +27 -15
  503. package/dist/esm/utils/BufferScheduler.js.map +1 -0
  504. package/dist/esm/utils/DataLakeAclChangeFailedError.d.ts +16 -0
  505. package/dist/esm/utils/DataLakeAclChangeFailedError.d.ts.map +1 -0
  506. package/dist/esm/utils/DataLakeAclChangeFailedError.js +13 -0
  507. package/dist/esm/utils/DataLakeAclChangeFailedError.js.map +1 -0
  508. package/dist/esm/utils/PathClientInternal.d.ts +24 -0
  509. package/dist/esm/utils/PathClientInternal.d.ts.map +1 -0
  510. package/dist/esm/utils/PathClientInternal.js +24 -0
  511. package/dist/esm/utils/PathClientInternal.js.map +1 -0
  512. package/dist/esm/utils/constants.d.ts +70 -0
  513. package/dist/esm/utils/constants.d.ts.map +1 -0
  514. package/{dist-esm/storage-blob/src → dist/esm}/utils/constants.js +85 -67
  515. package/dist/esm/utils/constants.js.map +1 -0
  516. package/dist/esm/utils/tracing.d.ts +6 -0
  517. package/dist/esm/utils/tracing.d.ts.map +1 -0
  518. package/{dist-esm/storage-blob/src → dist/esm}/utils/tracing.js +2 -2
  519. package/dist/esm/utils/tracing.js.map +1 -0
  520. package/dist/esm/utils/utils.common.d.ts +236 -0
  521. package/dist/esm/utils/utils.common.d.ts.map +1 -0
  522. package/{dist-esm/storage-blob/src → dist/esm}/utils/utils.common.js +105 -297
  523. package/dist/esm/utils/utils.common.js.map +1 -0
  524. package/dist/esm/utils/utils.d.ts +29 -0
  525. package/dist/esm/utils/utils.d.ts.map +1 -0
  526. package/{dist-esm/storage-file-datalake/src/utils/utils.node.js → dist/esm/utils/utils.js} +3 -3
  527. package/dist/esm/utils/utils.js.map +1 -0
  528. package/dist/react-native/DataLakeFileSystemClient.d.ts +473 -0
  529. package/dist/react-native/DataLakeFileSystemClient.d.ts.map +1 -0
  530. package/dist/react-native/DataLakeFileSystemClient.js +679 -0
  531. package/dist/react-native/DataLakeFileSystemClient.js.map +1 -0
  532. package/dist/react-native/DataLakeLeaseClient.d.ts +14 -0
  533. package/dist/react-native/DataLakeLeaseClient.d.ts.map +1 -0
  534. package/dist/react-native/DataLakeLeaseClient.js +45 -0
  535. package/dist/react-native/DataLakeLeaseClient.js.map +1 -0
  536. package/dist/react-native/DataLakeServiceClient.d.ts +281 -0
  537. package/dist/react-native/DataLakeServiceClient.d.ts.map +1 -0
  538. package/dist/react-native/DataLakeServiceClient.js +368 -0
  539. package/dist/react-native/DataLakeServiceClient.js.map +1 -0
  540. package/dist/react-native/Pipeline.d.ts +52 -0
  541. package/dist/react-native/Pipeline.d.ts.map +1 -0
  542. package/dist/react-native/Pipeline.js +216 -0
  543. package/dist/react-native/Pipeline.js.map +1 -0
  544. package/dist/react-native/StorageClient.d.ts +61 -0
  545. package/dist/react-native/StorageClient.d.ts.map +1 -0
  546. package/dist/react-native/StorageClient.js +51 -0
  547. package/dist/react-native/StorageClient.js.map +1 -0
  548. package/dist/react-native/StorageContextClient.d.ts +9 -0
  549. package/dist/react-native/StorageContextClient.d.ts.map +1 -0
  550. package/dist/react-native/StorageContextClient.js +35 -0
  551. package/dist/react-native/StorageContextClient.js.map +1 -0
  552. package/dist/react-native/clients.d.ts +689 -0
  553. package/dist/react-native/clients.d.ts.map +1 -0
  554. package/dist/react-native/clients.js +1189 -0
  555. package/dist/react-native/clients.js.map +1 -0
  556. package/dist/react-native/credentials/StorageSharedKeyCredential.d.ts +2 -0
  557. package/dist/react-native/credentials/StorageSharedKeyCredential.d.ts.map +1 -0
  558. package/dist/react-native/credentials/StorageSharedKeyCredential.js +4 -0
  559. package/dist/react-native/credentials/StorageSharedKeyCredential.js.map +1 -0
  560. package/dist/react-native/credentials/UserDelegationKeyCredential.d.ts +34 -0
  561. package/dist/react-native/credentials/UserDelegationKeyCredential.d.ts.map +1 -0
  562. package/dist/react-native/credentials/UserDelegationKeyCredential.js +31 -0
  563. package/dist/react-native/credentials/UserDelegationKeyCredential.js.map +1 -0
  564. package/dist/react-native/generated/src/index.d.ts +4 -0
  565. package/dist/react-native/generated/src/index.d.ts.map +1 -0
  566. package/dist/react-native/generated/src/index.js +11 -0
  567. package/dist/react-native/generated/src/index.js.map +1 -0
  568. package/dist/react-native/generated/src/models/index.d.ts +1091 -0
  569. package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
  570. package/dist/react-native/generated/src/models/index.js +16 -0
  571. package/dist/react-native/generated/src/models/index.js.map +1 -0
  572. package/dist/react-native/generated/src/models/mappers.d.ts +53 -0
  573. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
  574. package/dist/react-native/generated/src/models/mappers.js +2446 -0
  575. package/dist/react-native/generated/src/models/mappers.js.map +1 -0
  576. package/dist/react-native/generated/src/models/parameters.d.ts +87 -0
  577. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
  578. package/dist/react-native/generated/src/models/parameters.js +948 -0
  579. package/dist/react-native/generated/src/models/parameters.js.map +1 -0
  580. package/dist/react-native/generated/src/operations/fileSystemOperations.d.ts +55 -0
  581. package/dist/react-native/generated/src/operations/fileSystemOperations.d.ts.map +1 -0
  582. package/dist/react-native/generated/src/operations/fileSystemOperations.js +231 -0
  583. package/dist/react-native/generated/src/operations/fileSystemOperations.js.map +1 -0
  584. package/dist/react-native/generated/src/operations/index.d.ts +4 -0
  585. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
  586. package/dist/react-native/generated/src/operations/index.js +11 -0
  587. package/dist/react-native/generated/src/operations/index.js.map +1 -0
  588. package/dist/react-native/generated/src/operations/pathOperations.d.ts +120 -0
  589. package/dist/react-native/generated/src/operations/pathOperations.d.ts.map +1 -0
  590. package/dist/react-native/generated/src/operations/pathOperations.js +591 -0
  591. package/dist/react-native/generated/src/operations/pathOperations.js.map +1 -0
  592. package/dist/react-native/generated/src/operations/service.d.ts +18 -0
  593. package/dist/react-native/generated/src/operations/service.d.ts.map +1 -0
  594. package/dist/react-native/generated/src/operations/service.js +58 -0
  595. package/dist/react-native/generated/src/operations/service.js.map +1 -0
  596. package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.d.ts +47 -0
  597. package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.d.ts.map +1 -0
  598. package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.js +9 -0
  599. package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -0
  600. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +4 -0
  601. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  602. package/dist/react-native/generated/src/operationsInterfaces/index.js +11 -0
  603. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
  604. package/dist/react-native/generated/src/operationsInterfaces/pathOperations.d.ts +112 -0
  605. package/dist/react-native/generated/src/operationsInterfaces/pathOperations.d.ts.map +1 -0
  606. package/dist/react-native/generated/src/operationsInterfaces/pathOperations.js +9 -0
  607. package/dist/react-native/generated/src/operationsInterfaces/pathOperations.js.map +1 -0
  608. package/dist/react-native/generated/src/operationsInterfaces/service.d.ts +10 -0
  609. package/dist/react-native/generated/src/operationsInterfaces/service.d.ts.map +1 -0
  610. package/dist/react-native/generated/src/operationsInterfaces/service.js +9 -0
  611. package/dist/react-native/generated/src/operationsInterfaces/service.js.map +1 -0
  612. package/dist/react-native/generated/src/storageClient.d.ts +20 -0
  613. package/dist/react-native/generated/src/storageClient.d.ts.map +1 -0
  614. package/dist/react-native/generated/src/storageClient.js +47 -0
  615. package/dist/react-native/generated/src/storageClient.js.map +1 -0
  616. package/dist/react-native/index.d.ts +23 -0
  617. package/dist/react-native/index.d.ts.map +1 -0
  618. package/dist/react-native/index.js +23 -0
  619. package/dist/react-native/index.js.map +1 -0
  620. package/dist/react-native/log.d.ts +5 -0
  621. package/dist/react-native/log.d.ts.map +1 -0
  622. package/dist/react-native/log.js +8 -0
  623. package/dist/react-native/log.js.map +1 -0
  624. package/dist/react-native/models.d.ts +1318 -0
  625. package/dist/react-native/models.d.ts.map +1 -0
  626. package/dist/react-native/models.internal.d.ts +2 -0
  627. package/dist/react-native/models.internal.d.ts.map +1 -0
  628. package/dist/react-native/models.internal.js +4 -0
  629. package/dist/react-native/models.internal.js.map +1 -0
  630. package/dist/react-native/models.js +53 -0
  631. package/dist/react-native/models.js.map +1 -0
  632. package/dist/react-native/package.json +3 -0
  633. package/dist/react-native/sas/AccountSASPermissions.d.ts +61 -0
  634. package/dist/react-native/sas/AccountSASPermissions.d.ts.map +1 -0
  635. package/dist/react-native/sas/AccountSASPermissions.js +128 -0
  636. package/dist/react-native/sas/AccountSASPermissions.js.map +1 -0
  637. package/dist/react-native/sas/AccountSASResourceTypes.d.ts +38 -0
  638. package/dist/react-native/sas/AccountSASResourceTypes.d.ts.map +1 -0
  639. package/dist/react-native/sas/AccountSASResourceTypes.js +72 -0
  640. package/dist/react-native/sas/AccountSASResourceTypes.js.map +1 -0
  641. package/dist/react-native/sas/AccountSASServices.d.ts +40 -0
  642. package/dist/react-native/sas/AccountSASServices.d.ts.map +1 -0
  643. package/dist/react-native/sas/AccountSASServices.js +80 -0
  644. package/dist/react-native/sas/AccountSASServices.js.map +1 -0
  645. package/dist/react-native/sas/AccountSASSignatureValues.d.ts +78 -0
  646. package/dist/react-native/sas/AccountSASSignatureValues.d.ts.map +1 -0
  647. package/dist/react-native/sas/AccountSASSignatureValues.js +72 -0
  648. package/dist/react-native/sas/AccountSASSignatureValues.js.map +1 -0
  649. package/dist/react-native/sas/DataLakeSASPermissions.d.ts +65 -0
  650. package/dist/react-native/sas/DataLakeSASPermissions.d.ts.map +1 -0
  651. package/dist/react-native/sas/DataLakeSASPermissions.js +135 -0
  652. package/dist/react-native/sas/DataLakeSASPermissions.js.map +1 -0
  653. package/dist/react-native/sas/DataLakeSASSignatureValues.d.ts +205 -0
  654. package/dist/react-native/sas/DataLakeSASSignatureValues.d.ts.map +1 -0
  655. package/dist/react-native/sas/DataLakeSASSignatureValues.js +718 -0
  656. package/dist/react-native/sas/DataLakeSASSignatureValues.js.map +1 -0
  657. package/dist/react-native/sas/DirectorySASPermissions.d.ts +69 -0
  658. package/dist/react-native/sas/DirectorySASPermissions.d.ts.map +1 -0
  659. package/dist/react-native/sas/DirectorySASPermissions.js +145 -0
  660. package/dist/react-native/sas/DirectorySASPermissions.js.map +1 -0
  661. package/dist/react-native/sas/FileSystemSASPermissions.d.ts +69 -0
  662. package/dist/react-native/sas/FileSystemSASPermissions.d.ts.map +1 -0
  663. package/dist/react-native/sas/FileSystemSASPermissions.js +145 -0
  664. package/dist/react-native/sas/FileSystemSASPermissions.js.map +1 -0
  665. package/dist/react-native/sas/SASQueryParameters.d.ts +309 -0
  666. package/dist/react-native/sas/SASQueryParameters.d.ts.map +1 -0
  667. package/dist/react-native/sas/SASQueryParameters.js +248 -0
  668. package/dist/react-native/sas/SASQueryParameters.js.map +1 -0
  669. package/dist/react-native/sas/SasIPRange.d.ts +24 -0
  670. package/dist/react-native/sas/SasIPRange.d.ts.map +1 -0
  671. package/dist/react-native/sas/SasIPRange.js +13 -0
  672. package/dist/react-native/sas/SasIPRange.js.map +1 -0
  673. package/dist/react-native/transforms.d.ts +51 -0
  674. package/dist/react-native/transforms.d.ts.map +1 -0
  675. package/dist/react-native/transforms.js +337 -0
  676. package/dist/react-native/transforms.js.map +1 -0
  677. package/dist/react-native/utils/Batch.d.ts +68 -0
  678. package/dist/react-native/utils/Batch.d.ts.map +1 -0
  679. package/dist/react-native/utils/Batch.js +122 -0
  680. package/dist/react-native/utils/Batch.js.map +1 -0
  681. package/dist/react-native/utils/BufferScheduler.d.ts +158 -0
  682. package/dist/react-native/utils/BufferScheduler.d.ts.map +1 -0
  683. package/dist/react-native/utils/BufferScheduler.js +264 -0
  684. package/dist/react-native/utils/BufferScheduler.js.map +1 -0
  685. package/dist/react-native/utils/DataLakeAclChangeFailedError.d.ts +16 -0
  686. package/dist/react-native/utils/DataLakeAclChangeFailedError.d.ts.map +1 -0
  687. package/dist/react-native/utils/DataLakeAclChangeFailedError.js +13 -0
  688. package/dist/react-native/utils/DataLakeAclChangeFailedError.js.map +1 -0
  689. package/dist/react-native/utils/PathClientInternal.d.ts +24 -0
  690. package/dist/react-native/utils/PathClientInternal.d.ts.map +1 -0
  691. package/dist/react-native/utils/PathClientInternal.js +24 -0
  692. package/dist/react-native/utils/PathClientInternal.js.map +1 -0
  693. package/dist/react-native/utils/constants.d.ts +70 -0
  694. package/dist/react-native/utils/constants.d.ts.map +1 -0
  695. package/dist/react-native/utils/constants.js +244 -0
  696. package/dist/react-native/utils/constants.js.map +1 -0
  697. package/dist/react-native/utils/tracing.d.ts +6 -0
  698. package/dist/react-native/utils/tracing.d.ts.map +1 -0
  699. package/dist/react-native/utils/tracing.js +14 -0
  700. package/dist/react-native/utils/tracing.js.map +1 -0
  701. package/dist/react-native/utils/utils.common.d.ts +236 -0
  702. package/dist/react-native/utils/utils.common.d.ts.map +1 -0
  703. package/dist/react-native/utils/utils.common.js +564 -0
  704. package/dist/react-native/utils/utils.common.js.map +1 -0
  705. package/dist/react-native/utils/utils.d.ts +29 -0
  706. package/dist/react-native/utils/utils.d.ts.map +1 -0
  707. package/{dist-esm/storage-blob/src/utils/utils.node.js → dist/react-native/utils/utils.js} +4 -51
  708. package/dist/react-native/utils/utils.js.map +1 -0
  709. package/package.json +70 -83
  710. package/dist/index.js +0 -9735
  711. package/dist/index.js.map +0 -1
  712. package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js +0 -19
  713. package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js.map +0 -1
  714. package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js +0 -26
  715. package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +0 -1
  716. package/dist-esm/storage-blob/src/log.js.map +0 -1
  717. package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js +0 -20
  718. package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js.map +0 -1
  719. package/dist-esm/storage-blob/src/policies/CredentialPolicy.js +0 -29
  720. package/dist-esm/storage-blob/src/policies/CredentialPolicy.js.map +0 -1
  721. package/dist-esm/storage-blob/src/policies/RequestPolicy.js +0 -40
  722. package/dist-esm/storage-blob/src/policies/RequestPolicy.js.map +0 -1
  723. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js +0 -47
  724. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js.map +0 -1
  725. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js +0 -31
  726. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js.map +0 -1
  727. package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js +0 -18
  728. package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js.map +0 -1
  729. package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js +0 -27
  730. package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js.map +0 -1
  731. package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js +0 -229
  732. package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js.map +0 -1
  733. package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js +0 -180
  734. package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js.map +0 -1
  735. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js +0 -141
  736. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +0 -1
  737. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js +0 -18
  738. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js.map +0 -1
  739. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +0 -132
  740. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +0 -1
  741. package/dist-esm/storage-blob/src/utils/Batch.js.map +0 -1
  742. package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js +0 -111
  743. package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js.map +0 -1
  744. package/dist-esm/storage-blob/src/utils/Mutex.js +0 -65
  745. package/dist-esm/storage-blob/src/utils/Mutex.js.map +0 -1
  746. package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js +0 -119
  747. package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js.map +0 -1
  748. package/dist-esm/storage-blob/src/utils/SharedKeyComparator.js +0 -73
  749. package/dist-esm/storage-blob/src/utils/SharedKeyComparator.js.map +0 -1
  750. package/dist-esm/storage-blob/src/utils/cache.js +0 -11
  751. package/dist-esm/storage-blob/src/utils/cache.js.map +0 -1
  752. package/dist-esm/storage-blob/src/utils/constants.js.map +0 -1
  753. package/dist-esm/storage-blob/src/utils/tracing.js.map +0 -1
  754. package/dist-esm/storage-blob/src/utils/utils.common.js.map +0 -1
  755. package/dist-esm/storage-blob/src/utils/utils.node.js.map +0 -1
  756. package/dist-esm/storage-common/src/BufferScheduler.browser.js +0 -8
  757. package/dist-esm/storage-common/src/BufferScheduler.browser.js.map +0 -1
  758. package/dist-esm/storage-common/src/BufferScheduler.js.map +0 -1
  759. package/dist-esm/storage-common/src/BuffersStream.js +0 -83
  760. package/dist-esm/storage-common/src/BuffersStream.js.map +0 -1
  761. package/dist-esm/storage-common/src/PooledBuffer.js +0 -87
  762. package/dist-esm/storage-common/src/PooledBuffer.js.map +0 -1
  763. package/dist-esm/storage-common/src/index.browser.js +0 -4
  764. package/dist-esm/storage-common/src/index.browser.js.map +0 -1
  765. package/dist-esm/storage-common/src/index.js +0 -4
  766. package/dist-esm/storage-common/src/index.js.map +0 -1
  767. package/dist-esm/storage-file-datalake/src/DataLakeFileSystemClient.js.map +0 -1
  768. package/dist-esm/storage-file-datalake/src/DataLakeLeaseClient.js.map +0 -1
  769. package/dist-esm/storage-file-datalake/src/DataLakeServiceClient.js.map +0 -1
  770. package/dist-esm/storage-file-datalake/src/Pipeline.js.map +0 -1
  771. package/dist-esm/storage-file-datalake/src/StorageClient.js.map +0 -1
  772. package/dist-esm/storage-file-datalake/src/StorageContextClient.js.map +0 -1
  773. package/dist-esm/storage-file-datalake/src/clients.js.map +0 -1
  774. package/dist-esm/storage-file-datalake/src/credentials/StorageSharedKeyCredential.browser.js.map +0 -1
  775. package/dist-esm/storage-file-datalake/src/credentials/StorageSharedKeyCredential.js.map +0 -1
  776. package/dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.browser.js.map +0 -1
  777. package/dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.js.map +0 -1
  778. package/dist-esm/storage-file-datalake/src/generated/src/index.js.map +0 -1
  779. package/dist-esm/storage-file-datalake/src/generated/src/models/index.js.map +0 -1
  780. package/dist-esm/storage-file-datalake/src/generated/src/models/mappers.js.map +0 -1
  781. package/dist-esm/storage-file-datalake/src/generated/src/models/parameters.js.map +0 -1
  782. package/dist-esm/storage-file-datalake/src/generated/src/operations/fileSystemOperations.js.map +0 -1
  783. package/dist-esm/storage-file-datalake/src/generated/src/operations/index.js.map +0 -1
  784. package/dist-esm/storage-file-datalake/src/generated/src/operations/pathOperations.js.map +0 -1
  785. package/dist-esm/storage-file-datalake/src/generated/src/operations/service.js.map +0 -1
  786. package/dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces/fileSystemOperations.js.map +0 -1
  787. package/dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces/index.js.map +0 -1
  788. package/dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces/pathOperations.js.map +0 -1
  789. package/dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces/service.js.map +0 -1
  790. package/dist-esm/storage-file-datalake/src/generated/src/storageClient.js.map +0 -1
  791. package/dist-esm/storage-file-datalake/src/index.browser.js.map +0 -1
  792. package/dist-esm/storage-file-datalake/src/index.js +0 -23
  793. package/dist-esm/storage-file-datalake/src/index.js.map +0 -1
  794. package/dist-esm/storage-file-datalake/src/log.js.map +0 -1
  795. package/dist-esm/storage-file-datalake/src/models.internal.js.map +0 -1
  796. package/dist-esm/storage-file-datalake/src/models.js.map +0 -1
  797. package/dist-esm/storage-file-datalake/src/sas/AccountSASPermissions.js.map +0 -1
  798. package/dist-esm/storage-file-datalake/src/sas/AccountSASResourceTypes.js.map +0 -1
  799. package/dist-esm/storage-file-datalake/src/sas/AccountSASServices.js.map +0 -1
  800. package/dist-esm/storage-file-datalake/src/sas/AccountSASSignatureValues.js.map +0 -1
  801. package/dist-esm/storage-file-datalake/src/sas/DataLakeSASPermissions.js.map +0 -1
  802. package/dist-esm/storage-file-datalake/src/sas/DataLakeSASSignatureValues.js.map +0 -1
  803. package/dist-esm/storage-file-datalake/src/sas/DirectorySASPermissions.js.map +0 -1
  804. package/dist-esm/storage-file-datalake/src/sas/FileSystemSASPermissions.js.map +0 -1
  805. package/dist-esm/storage-file-datalake/src/sas/SASQueryParameters.js.map +0 -1
  806. package/dist-esm/storage-file-datalake/src/sas/SasIPRange.js.map +0 -1
  807. package/dist-esm/storage-file-datalake/src/transforms.js.map +0 -1
  808. package/dist-esm/storage-file-datalake/src/utils/Batch.js.map +0 -1
  809. package/dist-esm/storage-file-datalake/src/utils/BufferScheduler.js.map +0 -1
  810. package/dist-esm/storage-file-datalake/src/utils/DataLakeAclChangeFailedError.js.map +0 -1
  811. package/dist-esm/storage-file-datalake/src/utils/PathClientInternal.js.map +0 -1
  812. package/dist-esm/storage-file-datalake/src/utils/constants.js.map +0 -1
  813. package/dist-esm/storage-file-datalake/src/utils/tracing.js.map +0 -1
  814. package/dist-esm/storage-file-datalake/src/utils/utils.browser.js +0 -39
  815. package/dist-esm/storage-file-datalake/src/utils/utils.browser.js.map +0 -1
  816. package/dist-esm/storage-file-datalake/src/utils/utils.common.js.map +0 -1
  817. package/dist-esm/storage-file-datalake/src/utils/utils.node.js.map +0 -1
  818. package/types/latest/storage-file-datalake.d.ts +0 -5102
  819. /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/models/index.js +0 -0
  820. /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/models/mappers.js +0 -0
  821. /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operationsInterfaces/fileSystemOperations.js +0 -0
  822. /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operationsInterfaces/pathOperations.js +0 -0
  823. /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operationsInterfaces/service.js +0 -0
  824. /package/{dist-esm/storage-file-datalake/src → dist/browser}/log.js +0 -0
  825. /package/{dist-esm/storage-file-datalake/src → dist/browser}/models.internal.js +0 -0
  826. /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/AccountSASPermissions.js +0 -0
  827. /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/AccountSASResourceTypes.js +0 -0
  828. /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/AccountSASServices.js +0 -0
  829. /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/DataLakeSASPermissions.js +0 -0
  830. /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/DirectorySASPermissions.js +0 -0
  831. /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/FileSystemSASPermissions.js +0 -0
  832. /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/SasIPRange.js +0 -0
  833. /package/{dist-esm/storage-blob/src → dist/browser}/utils/Batch.js +0 -0
  834. /package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/DataLakeAclChangeFailedError.js +0 -0
  835. /package/{dist-esm/storage-file-datalake/src → dist/esm}/credentials/StorageSharedKeyCredential.js +0 -0
  836. /package/{dist-esm/storage-file-datalake/src → dist/esm}/utils/Batch.js +0 -0
@@ -0,0 +1,679 @@
1
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
2
+ import { ContainerClient } from "@azure/storage-blob";
3
+ import { isPipelineLike, newPipeline } from "./Pipeline.js";
4
+ import { StorageSharedKeyCredential } from "./credentials/StorageSharedKeyCredential.js";
5
+ import { AnonymousCredential } from "@azure/storage-blob";
6
+ import { DataLakeLeaseClient } from "./DataLakeLeaseClient.js";
7
+ import { FileSystemOperationsImpl as FileSystem } from "./generated/src/operations/index.js";
8
+ import { StorageClient } from "./StorageClient.js";
9
+ import { toContainerPublicAccessType, toPublicAccessType, toPermissions } from "./transforms.js";
10
+ import { tracingClient } from "./utils/tracing.js";
11
+ import { appendToURLPath, appendToURLQuery, assertResponse, EscapePath, windowsFileTimeTicksToTime, } from "./utils/utils.common.js";
12
+ import { DataLakeFileClient, DataLakeDirectoryClient } from "./clients.js";
13
+ import { generateDataLakeSASQueryParameters, generateDataLakeSASQueryParametersInternal, } from "./sas/DataLakeSASSignatureValues.js";
14
+ import { DeletionIdKey, PathResultTypeConstants } from "./utils/constants.js";
15
+ import { PathClientInternal } from "./utils/PathClientInternal.js";
16
+ /**
17
+ * A DataLakeFileSystemClient represents a URL to the Azure Storage file system
18
+ * allowing you to manipulate its directories and files.
19
+ */
20
+ export class DataLakeFileSystemClient extends StorageClient {
21
+ constructor(url, credentialOrPipeline,
22
+ // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.
23
+ /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */
24
+ options) {
25
+ if (isPipelineLike(credentialOrPipeline)) {
26
+ super(url, credentialOrPipeline);
27
+ }
28
+ else {
29
+ let credential;
30
+ if (credentialOrPipeline === undefined) {
31
+ credential = new AnonymousCredential();
32
+ }
33
+ else {
34
+ credential = credentialOrPipeline;
35
+ }
36
+ const pipeline = newPipeline(credential, options);
37
+ super(url, pipeline);
38
+ }
39
+ this.fileSystemContext = new FileSystem(this.storageClientContext);
40
+ this.fileSystemContextToBlobEndpoint = new FileSystem(this.storageClientContextToBlobEndpoint);
41
+ this.blobContainerClient = new ContainerClient(this.blobEndpointUrl, this.pipeline);
42
+ }
43
+ /**
44
+ * Name of current file system.
45
+ *
46
+ * @readonly
47
+ */
48
+ get name() {
49
+ return this.blobContainerClient.containerName;
50
+ }
51
+ /**
52
+ * Creates a {@link DataLakeDirectoryClient} object under current file system.
53
+ *
54
+ * @param directoryName -
55
+ */
56
+ // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.
57
+ /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */
58
+ getDirectoryClient(directoryName) {
59
+ return new DataLakeDirectoryClient(appendToURLPath(this.url, EscapePath(directoryName)), this.pipeline);
60
+ }
61
+ /**
62
+ * Creates a {@link DataLakeFileClient} object under current file system.
63
+ *
64
+ * @param fileName -
65
+ */
66
+ // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.
67
+ /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */
68
+ getFileClient(fileName) {
69
+ return new DataLakeFileClient(appendToURLPath(this.url, EscapePath(fileName)), this.pipeline);
70
+ }
71
+ /**
72
+ * Get a {@link DataLakeLeaseClient} that manages leases on the file system.
73
+ *
74
+ * @param proposeLeaseId - Optional. Initial proposed lease Id.
75
+ */
76
+ getDataLakeLeaseClient(proposeLeaseId) {
77
+ return new DataLakeLeaseClient(this.blobContainerClient.getBlobLeaseClient(proposeLeaseId));
78
+ }
79
+ /**
80
+ * Creates a new file system under the specified account. If the file system with
81
+ * the same name already exists, the operation fails.
82
+ *
83
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container
84
+ *
85
+ * @param options - Optional. Options when creating file system.
86
+ */
87
+ async create(options = {}) {
88
+ return tracingClient.withSpan("DataLakeFileSystemClient-create", options, async (updatedOptions) => {
89
+ return this.blobContainerClient.create(Object.assign(Object.assign({}, options), { access: toContainerPublicAccessType(options.access), tracingOptions: updatedOptions.tracingOptions, containerEncryptionScope: options.fileSystemEncryptionScope }));
90
+ });
91
+ }
92
+ /**
93
+ * Creates a new file system under the specified account. If the file system with
94
+ * the same name already exists, it is not changed.
95
+ *
96
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container
97
+ *
98
+ * @param options -
99
+ */
100
+ async createIfNotExists(options = {}) {
101
+ return tracingClient.withSpan("DataLakeFileSystemClient-createIfNotExists", options, async (updatedOptions) => {
102
+ return this.blobContainerClient.createIfNotExists(Object.assign(Object.assign({}, options), { access: toContainerPublicAccessType(options.access), containerEncryptionScope: options.fileSystemEncryptionScope, tracingOptions: updatedOptions.tracingOptions }));
103
+ });
104
+ }
105
+ /**
106
+ * Returns true if the File system represented by this client exists; false otherwise.
107
+ *
108
+ * NOTE: use this function with care since an existing file system might be deleted by other clients or
109
+ * applications. Vice versa new file system with the same name might be added by other clients or
110
+ * applications after this function completes.
111
+ *
112
+ * @param options -
113
+ */
114
+ async exists(options = {}) {
115
+ return tracingClient.withSpan("DataLakeFileSystemClient-exists", options, async (updatedOptions) => {
116
+ return this.blobContainerClient.exists(updatedOptions);
117
+ });
118
+ }
119
+ /**
120
+ * Delete current file system.
121
+ *
122
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container
123
+ *
124
+ * @param options - Optional. Options when deleting file system.
125
+ */
126
+ async delete(options = {}) {
127
+ return tracingClient.withSpan("DataLakeFileSystemClient-delete", options, async (updatedOptions) => {
128
+ return this.blobContainerClient.delete(Object.assign(Object.assign({}, options), { tracingOptions: updatedOptions.tracingOptions }));
129
+ });
130
+ }
131
+ /**
132
+ * Delete current file system if it exists.
133
+ *
134
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container
135
+ *
136
+ * @param options -
137
+ */
138
+ async deleteIfExists(options = {}) {
139
+ return tracingClient.withSpan("DataLakeFileSystemClient-deleteIfExists", options, async (updatedOptions) => {
140
+ return this.blobContainerClient.deleteIfExists(updatedOptions);
141
+ });
142
+ }
143
+ /**
144
+ * Returns all user-defined metadata and system properties for the specified
145
+ * file system.
146
+ *
147
+ * WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if
148
+ * they originally contained uppercase characters. This differs from the metadata keys returned by
149
+ * the `listFileSystems` method of {@link DataLakeServiceClient} using the `includeMetadata` option, which
150
+ * will retain their original casing.
151
+ *
152
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-properties
153
+ *
154
+ * @param options - Optional. Options when getting file system properties.
155
+ */
156
+ async getProperties(options = {}) {
157
+ return tracingClient.withSpan("DataLakeFileSystemClient-getProperties", options, async (updatedOptions) => {
158
+ const rawResponse = await this.blobContainerClient.getProperties(Object.assign(Object.assign({}, options), { tracingOptions: updatedOptions.tracingOptions }));
159
+ // Transfer and rename blobPublicAccess to publicAccess
160
+ const response = rawResponse;
161
+ response.publicAccess = toPublicAccessType(rawResponse.blobPublicAccess);
162
+ response._response.parsedHeaders.publicAccess = response.publicAccess;
163
+ delete rawResponse.blobPublicAccess;
164
+ delete rawResponse._response.parsedHeaders.blobPublicAccess;
165
+ return response;
166
+ });
167
+ }
168
+ /**
169
+ * Sets one or more user-defined name-value pairs for the specified file system.
170
+ *
171
+ * If no option provided, or no metadata defined in the parameter, the file system
172
+ * metadata will be removed.
173
+ *
174
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-metadata
175
+ *
176
+ * @param metadata - Replace existing metadata with this value.
177
+ * If no value provided the existing metadata will be removed.
178
+ * @param options - Optional. Options when setting file system metadata.
179
+ */
180
+ async setMetadata(metadata, options = {}) {
181
+ return tracingClient.withSpan("DataLakeFileSystemClient-setMetadata", options, async (updatedOptions) => {
182
+ return this.blobContainerClient.setMetadata(metadata, Object.assign(Object.assign({}, options), { tracingOptions: updatedOptions.tracingOptions }));
183
+ });
184
+ }
185
+ /**
186
+ * Gets the permissions for the specified file system. The permissions indicate
187
+ * whether file system data may be accessed publicly.
188
+ *
189
+ * WARNING: JavaScript Date will potentially lose precision when parsing startsOn and expiresOn strings.
190
+ * For example, new Date("2018-12-31T03:44:23.8827891Z").toISOString() will get "2018-12-31T03:44:23.882Z".
191
+ *
192
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-acl
193
+ *
194
+ * @param options - Optional. Options when getting file system access policy.
195
+ */
196
+ async getAccessPolicy(options = {}) {
197
+ return tracingClient.withSpan("DataLakeFileSystemClient-getAccessPolicy", options, async (updatedOptions) => {
198
+ const rawResponse = await this.blobContainerClient.getAccessPolicy(Object.assign(Object.assign({}, options), { tracingOptions: updatedOptions.tracingOptions }));
199
+ // Transfer and rename blobPublicAccess to publicAccess
200
+ const response = rawResponse;
201
+ response.publicAccess = toPublicAccessType(rawResponse.blobPublicAccess);
202
+ response._response.parsedHeaders.publicAccess = response.publicAccess;
203
+ delete rawResponse.blobPublicAccess;
204
+ delete rawResponse._response.parsedHeaders.blobPublicAccess;
205
+ return response;
206
+ });
207
+ }
208
+ /**
209
+ * Sets the permissions for the specified file system. The permissions indicate
210
+ * whether directories or files in a file system may be accessed publicly.
211
+ *
212
+ * When you set permissions for a file system, the existing permissions are replaced.
213
+ * If no access or containerAcl provided, the existing file system ACL will be
214
+ * removed.
215
+ *
216
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-acl
217
+ *
218
+ * @param access - Optional. The level of public access to data in the file system.
219
+ * @param fileSystemAcl - Optional. Array of elements each having a unique Id and details of the access policy.
220
+ * @param options - Optional. Options when setting file system access policy.
221
+ */
222
+ async setAccessPolicy(access, fileSystemAcl, options = {}) {
223
+ return tracingClient.withSpan("DataLakeFileSystemClient-setAccessPolicy", options, async (updatedOptions) => {
224
+ return this.blobContainerClient.setAccessPolicy(toContainerPublicAccessType(access), fileSystemAcl, Object.assign(Object.assign({}, options), { tracingOptions: updatedOptions.tracingOptions }));
225
+ });
226
+ }
227
+ /**
228
+ * Returns an async iterable iterator to list all the paths (directories and files)
229
+ * under the specified file system.
230
+ *
231
+ * .byPage() returns an async iterable iterator to list the paths in pages.
232
+ *
233
+ * Example using `for await` syntax:
234
+ *
235
+ * ```ts snippet:ReadmeSampleListPaths
236
+ * import { DataLakeServiceClient } from "@azure/storage-file-datalake";
237
+ * import { DefaultAzureCredential } from "@azure/identity";
238
+ *
239
+ * const account = "<account>";
240
+ * const datalakeServiceClient = new DataLakeServiceClient(
241
+ * `https://${account}.dfs.core.windows.net`,
242
+ * new DefaultAzureCredential(),
243
+ * );
244
+ *
245
+ * const fileSystemName = "<file system name>";
246
+ * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
247
+ *
248
+ * let i = 1;
249
+ * const paths = fileSystemClient.listPaths();
250
+ * for await (const path of paths) {
251
+ * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);
252
+ * }
253
+ * ```
254
+ *
255
+ * Example using `iter.next()`:
256
+ *
257
+ * ```ts snippet:ReadmeSampleListPaths_Iterator
258
+ * import { DataLakeServiceClient } from "@azure/storage-file-datalake";
259
+ * import { DefaultAzureCredential } from "@azure/identity";
260
+ *
261
+ * const account = "<account>";
262
+ * const datalakeServiceClient = new DataLakeServiceClient(
263
+ * `https://${account}.dfs.core.windows.net`,
264
+ * new DefaultAzureCredential(),
265
+ * );
266
+ *
267
+ * const fileSystemName = "<file system name>";
268
+ * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
269
+ *
270
+ * let i = 1;
271
+ * const paths = fileSystemClient.listPaths();
272
+ * let { value, done } = await paths.next();
273
+ * while (!done) {
274
+ * console.log(`Path ${i++}: ${value.name}, is directory: ${value.isDirectory}`);
275
+ * ({ value, done } = await paths.next());
276
+ * }
277
+ * ```
278
+ *
279
+ * Example using `byPage()`:
280
+ *
281
+ * ```ts snippet:ReadmeSampleListPaths_ByPage
282
+ * import { DataLakeServiceClient } from "@azure/storage-file-datalake";
283
+ * import { DefaultAzureCredential } from "@azure/identity";
284
+ *
285
+ * const account = "<account>";
286
+ * const datalakeServiceClient = new DataLakeServiceClient(
287
+ * `https://${account}.dfs.core.windows.net`,
288
+ * new DefaultAzureCredential(),
289
+ * );
290
+ *
291
+ * const fileSystemName = "<file system name>";
292
+ * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
293
+ *
294
+ * let i = 1;
295
+ * for await (const response of fileSystemClient.listPaths().byPage({ maxPageSize: 20 })) {
296
+ * if (response.pathItems) {
297
+ * for (const path of response.pathItems) {
298
+ * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);
299
+ * }
300
+ * }
301
+ * }
302
+ * ```
303
+ *
304
+ * Example using paging with a marker:
305
+ *
306
+ * ```ts snippet:ReadmeSampleListPaths_Continuation
307
+ * import { DataLakeServiceClient } from "@azure/storage-file-datalake";
308
+ * import { DefaultAzureCredential } from "@azure/identity";
309
+ *
310
+ * const account = "<account>";
311
+ * const datalakeServiceClient = new DataLakeServiceClient(
312
+ * `https://${account}.dfs.core.windows.net`,
313
+ * new DefaultAzureCredential(),
314
+ * );
315
+ *
316
+ * const fileSystemName = "<file system name>";
317
+ * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
318
+ *
319
+ * let i = 1;
320
+ * let paths = fileSystemClient.listPaths().byPage({ maxPageSize: 2 });
321
+ * let response = (await paths.next()).value;
322
+ * // Prints 2 paths
323
+ * if (response.pathItems) {
324
+ * for (const path of response.pathItems) {
325
+ * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);
326
+ * }
327
+ * }
328
+ * // Gets next marker
329
+ * let marker = response.continuationToken;
330
+ * // Passing next marker as continuationToken
331
+ * paths = fileSystemClient.listPaths().byPage({ continuationToken: marker, maxPageSize: 10 });
332
+ * response = (await paths.next()).value;
333
+ * // Prints 10 paths
334
+ * if (response.pathItems) {
335
+ * for (const path of response.pathItems) {
336
+ * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);
337
+ * }
338
+ * }
339
+ * ```
340
+ *
341
+ * @see https://learn.microsoft.com/rest/api/storageservices/list-blobs
342
+ *
343
+ * @param options - Optional. Options when listing paths.
344
+ */
345
+ listPaths(options = {}) {
346
+ options.path = options.path === "" ? undefined : options.path;
347
+ const iter = this.listItems(options);
348
+ return {
349
+ next() {
350
+ return iter.next();
351
+ },
352
+ [Symbol.asyncIterator]() {
353
+ return this;
354
+ },
355
+ byPage: (settings = {}) => {
356
+ return this.listSegments(settings.continuationToken, Object.assign({ maxResults: settings.maxPageSize }, options));
357
+ },
358
+ };
359
+ }
360
+ listItems() {
361
+ return __asyncGenerator(this, arguments, function* listItems_1(options = {}) {
362
+ var _a, e_1, _b, _c;
363
+ try {
364
+ for (var _d = true, _e = __asyncValues(this.listSegments(undefined, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
365
+ _c = _f.value;
366
+ _d = false;
367
+ const response = _c;
368
+ yield __await(yield* __asyncDelegator(__asyncValues(response.pathItems || [])));
369
+ }
370
+ }
371
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
372
+ finally {
373
+ try {
374
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
375
+ }
376
+ finally { if (e_1) throw e_1.error; }
377
+ }
378
+ });
379
+ }
380
+ listSegments(continuation_1) {
381
+ return __asyncGenerator(this, arguments, function* listSegments_1(continuation, options = {}) {
382
+ let response;
383
+ if (!!continuation || continuation === undefined) {
384
+ do {
385
+ response = yield __await(this.listPathsSegment(continuation, options));
386
+ continuation = response.continuation;
387
+ yield yield __await(response);
388
+ } while (continuation);
389
+ }
390
+ });
391
+ }
392
+ async listPathsSegment(continuation, options = {}) {
393
+ return tracingClient.withSpan("DataLakeFileSystemClient-listPathsSegment", options, async (updatedOptions) => {
394
+ const rawResponse = await this.fileSystemContext.listPaths(options.recursive || false, Object.assign(Object.assign({ continuation }, updatedOptions), { upn: options.userPrincipalName }));
395
+ const response = rawResponse;
396
+ response.pathItems = [];
397
+ for (const path of rawResponse.paths || []) {
398
+ response.pathItems.push(Object.assign(Object.assign({}, path), { permissions: toPermissions(path.permissions), createdOn: windowsFileTimeTicksToTime(path.creationTime), expiresOn: windowsFileTimeTicksToTime(path.expiryTime) }));
399
+ }
400
+ delete rawResponse.paths;
401
+ return response;
402
+ });
403
+ }
404
+ /**
405
+ * Returns an async iterable iterator to list all the paths (directories and files)
406
+ * under the specified file system.
407
+ *
408
+ * .byPage() returns an async iterable iterator to list the paths in pages.
409
+ *
410
+ * Example using `for await` syntax:
411
+ *
412
+ * ```ts snippet:ReadmeSampleListDeletedPaths
413
+ * import { DataLakeServiceClient } from "@azure/storage-file-datalake";
414
+ * import { DefaultAzureCredential } from "@azure/identity";
415
+ *
416
+ * const account = "<account>";
417
+ * const datalakeServiceClient = new DataLakeServiceClient(
418
+ * `https://${account}.dfs.core.windows.net`,
419
+ * new DefaultAzureCredential(),
420
+ * );
421
+ *
422
+ * const fileSystemName = "<file system name>";
423
+ * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
424
+ *
425
+ * let i = 1;
426
+ * const deletedPaths = fileSystemClient.listDeletedPaths();
427
+ * for await (const deletedPath of deletedPaths) {
428
+ * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);
429
+ * }
430
+ * ```
431
+ *
432
+ * Example using `iter.next()`:
433
+ *
434
+ * ```ts snippet:ReadmeSampleListDeletedPaths_Iterator
435
+ * import { DataLakeServiceClient } from "@azure/storage-file-datalake";
436
+ * import { DefaultAzureCredential } from "@azure/identity";
437
+ *
438
+ * const account = "<account>";
439
+ * const datalakeServiceClient = new DataLakeServiceClient(
440
+ * `https://${account}.dfs.core.windows.net`,
441
+ * new DefaultAzureCredential(),
442
+ * );
443
+ *
444
+ * const fileSystemName = "<file system name>";
445
+ * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
446
+ *
447
+ * let i = 1;
448
+ * const deletedPaths = fileSystemClient.listDeletedPaths();
449
+ * let { value, done } = await deletedPaths.next();
450
+ * while (!done) {
451
+ * console.log(`Deleted path ${i++}: ${value.name}, deleted on: ${value.deletedOn}`);
452
+ * ({ value, done } = await deletedPaths.next());
453
+ * }
454
+ * ```
455
+ *
456
+ * Example using `byPage()`:
457
+ *
458
+ * ```ts snippet:ReadmeSampleListDeletedPaths_ByPage
459
+ * import { DataLakeServiceClient } from "@azure/storage-file-datalake";
460
+ * import { DefaultAzureCredential } from "@azure/identity";
461
+ *
462
+ * const account = "<account>";
463
+ * const datalakeServiceClient = new DataLakeServiceClient(
464
+ * `https://${account}.dfs.core.windows.net`,
465
+ * new DefaultAzureCredential(),
466
+ * );
467
+ *
468
+ * const fileSystemName = "<file system name>";
469
+ * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
470
+ *
471
+ * let i = 1;
472
+ * for await (const response of fileSystemClient.listDeletedPaths().byPage({ maxPageSize: 20 })) {
473
+ * if (response.pathItems) {
474
+ * for (const deletedPath of response.pathItems) {
475
+ * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);
476
+ * }
477
+ * }
478
+ * }
479
+ * ```
480
+ *
481
+ * Example using paging with a marker:
482
+ *
483
+ * ```ts snippet:ReadmeSampleListDeletedPaths_Continuation
484
+ * import { DataLakeServiceClient } from "@azure/storage-file-datalake";
485
+ * import { DefaultAzureCredential } from "@azure/identity";
486
+ *
487
+ * const account = "<account>";
488
+ * const datalakeServiceClient = new DataLakeServiceClient(
489
+ * `https://${account}.dfs.core.windows.net`,
490
+ * new DefaultAzureCredential(),
491
+ * );
492
+ *
493
+ * const fileSystemName = "<file system name>";
494
+ * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
495
+ *
496
+ * let i = 1;
497
+ * let deletedPaths = fileSystemClient.listDeletedPaths().byPage({ maxPageSize: 2 });
498
+ * let response = (await deletedPaths.next()).value;
499
+ * // Prints 2 deleted paths
500
+ * if (response.deletedPathItems) {
501
+ * for (const deletedPath of response.deletedPathItems) {
502
+ * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);
503
+ * }
504
+ * }
505
+ * // Gets next marker
506
+ * let marker = response.continuationToken;
507
+ * // Passing next marker as continuationToken
508
+ * deletedPaths = fileSystemClient
509
+ * .listDeletedPaths()
510
+ * .byPage({ continuationToken: marker, maxPageSize: 10 });
511
+ * response = (await deletedPaths.next()).value;
512
+ * // Prints 10 deleted paths
513
+ * if (response.deletedPathItems) {
514
+ * for (const deletedPath of response.deletedPathItems) {
515
+ * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);
516
+ * }
517
+ * }
518
+ * ```
519
+ *
520
+ * @see https://learn.microsoft.com/rest/api/storageservices/list-blobs
521
+ *
522
+ * @param options - Optional. Options when listing deleted paths.
523
+ */
524
+ listDeletedPaths(options = {}) {
525
+ const iter = this.listDeletedItems(options);
526
+ return {
527
+ next() {
528
+ return iter.next();
529
+ },
530
+ [Symbol.asyncIterator]() {
531
+ return this;
532
+ },
533
+ byPage: (settings = {}) => {
534
+ return this.listDeletedSegments(settings.continuationToken, Object.assign({ maxResults: settings.maxPageSize }, options));
535
+ },
536
+ };
537
+ }
538
+ listDeletedItems() {
539
+ return __asyncGenerator(this, arguments, function* listDeletedItems_1(options = {}) {
540
+ var _a, e_2, _b, _c;
541
+ try {
542
+ for (var _d = true, _e = __asyncValues(this.listDeletedSegments(undefined, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
543
+ _c = _f.value;
544
+ _d = false;
545
+ const response = _c;
546
+ yield __await(yield* __asyncDelegator(__asyncValues(response.pathItems || [])));
547
+ }
548
+ }
549
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
550
+ finally {
551
+ try {
552
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
553
+ }
554
+ finally { if (e_2) throw e_2.error; }
555
+ }
556
+ });
557
+ }
558
+ listDeletedSegments(continuation_1) {
559
+ return __asyncGenerator(this, arguments, function* listDeletedSegments_1(continuation, options = {}) {
560
+ let response;
561
+ if (!!continuation || continuation === undefined) {
562
+ do {
563
+ response = yield __await(this.listDeletedPathsSegment(continuation, options));
564
+ continuation = response.continuation;
565
+ yield yield __await(response);
566
+ } while (continuation);
567
+ }
568
+ });
569
+ }
570
+ async listDeletedPathsSegment(continuation, options = {}) {
571
+ return tracingClient.withSpan("DataLakeFileSystemClient-listDeletedPathsSegment", options, async (updatedOptions) => {
572
+ const rawResponse = await this.fileSystemContextToBlobEndpoint.listBlobHierarchySegment(Object.assign(Object.assign({ marker: continuation }, updatedOptions), { prefix: options.prefix === "" ? undefined : options.prefix }));
573
+ const response = rawResponse;
574
+ response.pathItems = [];
575
+ for (const path of rawResponse.segment.blobItems || []) {
576
+ response.pathItems.push({
577
+ name: path.name,
578
+ deletionId: path.deletionId,
579
+ deletedOn: path.properties.deletedTime,
580
+ remainingRetentionDays: path.properties.remainingRetentionDays,
581
+ });
582
+ }
583
+ if (response.nextMarker) {
584
+ response.continuation = response.nextMarker;
585
+ }
586
+ return response;
587
+ });
588
+ }
589
+ /**
590
+ * Restores a soft deleted path.
591
+ *
592
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/undelete-blob
593
+ *
594
+ * @param deletedPath - Required. The path of the deleted path.
595
+ *
596
+ * @param deletionId - Required. The deletion ID associated with the soft deleted path.
597
+ *
598
+ */
599
+ async undeletePath(deletedPath, deletionId, options = {}) {
600
+ return tracingClient.withSpan("DataLakeFileSystemClient-undeletePath", options, async (updatedOptions) => {
601
+ const pathClient = new PathClientInternal(appendToURLPath(this.blobEndpointUrl, EscapePath(deletedPath)), this.pipeline);
602
+ const rawResponse = assertResponse(await pathClient.blobPathContext.undelete(Object.assign(Object.assign({ undeleteSource: "?" + DeletionIdKey + "=" + deletionId }, options), { tracingOptions: updatedOptions.tracingOptions })));
603
+ if (rawResponse.resourceType === PathResultTypeConstants.DirectoryResourceType) {
604
+ return Object.assign({ pathClient: this.getDirectoryClient(deletedPath) }, rawResponse);
605
+ }
606
+ else {
607
+ return Object.assign({ pathClient: this.getFileClient(deletedPath) }, rawResponse);
608
+ }
609
+ });
610
+ }
611
+ /**
612
+ * Only available for DataLakeFileSystemClient constructed with a shared key credential.
613
+ *
614
+ * Generates a Service Shared Access Signature (SAS) URI based on the client properties
615
+ * and parameters passed in. The SAS is signed by the shared key credential of the client.
616
+ *
617
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
618
+ *
619
+ * @param options - Optional parameters.
620
+ * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
621
+ */
622
+ generateSasUrl(options) {
623
+ return new Promise((resolve) => {
624
+ if (!(this.credential instanceof StorageSharedKeyCredential)) {
625
+ throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");
626
+ }
627
+ const sas = generateDataLakeSASQueryParameters(Object.assign({ fileSystemName: this.name }, options), this.credential).toString();
628
+ resolve(appendToURLQuery(this.url, sas));
629
+ });
630
+ }
631
+ /**
632
+ * Only available for DataLakeFileSystemClient constructed with a shared key credential.
633
+ *
634
+ * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
635
+ * and parameters passed in. The SAS is signed by the shared key credential of the client.
636
+ *
637
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
638
+ *
639
+ * @param options - Optional parameters.
640
+ * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
641
+ */
642
+ /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/
643
+ generateSasStringToSign(options) {
644
+ if (!(this.credential instanceof StorageSharedKeyCredential)) {
645
+ throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");
646
+ }
647
+ return generateDataLakeSASQueryParametersInternal(Object.assign({ fileSystemName: this.name }, options), this.credential).stringToSign;
648
+ }
649
+ /**
650
+ * Generates a Service Shared Access Signature (SAS) URI based on the client properties
651
+ * and parameters passed in. The SAS is signed by the input user delegation key.
652
+ *
653
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
654
+ *
655
+ * @param options - Optional parameters.
656
+ * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
657
+ * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
658
+ */
659
+ generateUserDelegationSasUrl(options, userDelegationKey) {
660
+ return new Promise((resolve) => {
661
+ const sas = generateDataLakeSASQueryParameters(Object.assign({ fileSystemName: this.name }, options), userDelegationKey, this.accountName).toString();
662
+ resolve(appendToURLQuery(this.url, sas));
663
+ });
664
+ }
665
+ /**
666
+ * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
667
+ * and parameters passed in. The SAS is signed by the input user delegation key.
668
+ *
669
+ * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
670
+ *
671
+ * @param options - Optional parameters.
672
+ * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
673
+ * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
674
+ */
675
+ generateUserDelegationSasStringToSign(options, userDelegationKey) {
676
+ return generateDataLakeSASQueryParametersInternal(Object.assign({ fileSystemName: this.name }, options), userDelegationKey, this.accountName).stringToSign;
677
+ }
678
+ }
679
+ //# sourceMappingURL=DataLakeFileSystemClient.js.map