@depup/azure__storage-blob 12.31.0-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1105) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +40 -0
  3. package/changes.json +46 -0
  4. package/dist/browser/BatchResponse.d.ts +49 -0
  5. package/dist/browser/BatchResponse.d.ts.map +1 -0
  6. package/dist/browser/BatchResponse.js +4 -0
  7. package/dist/browser/BatchResponse.js.map +1 -0
  8. package/dist/browser/BatchResponseParser.d.ts +16 -0
  9. package/dist/browser/BatchResponseParser.d.ts.map +1 -0
  10. package/dist/browser/BatchResponseParser.js +142 -0
  11. package/dist/browser/BatchResponseParser.js.map +1 -0
  12. package/dist/browser/BatchUtils-browser.d.mts.map +1 -0
  13. package/dist/browser/BatchUtils-browser.mjs.map +1 -0
  14. package/dist/browser/BatchUtils.d.ts +4 -0
  15. package/dist/browser/BatchUtils.js +14 -0
  16. package/dist/browser/BlobBatch.d.ts +111 -0
  17. package/dist/browser/BlobBatch.d.ts.map +1 -0
  18. package/dist/browser/BlobBatch.js +274 -0
  19. package/dist/browser/BlobBatch.js.map +1 -0
  20. package/dist/browser/BlobBatchClient.d.ts +180 -0
  21. package/dist/browser/BlobBatchClient.d.ts.map +1 -0
  22. package/dist/browser/BlobBatchClient.js +172 -0
  23. package/dist/browser/BlobBatchClient.js.map +1 -0
  24. package/dist/browser/BlobDownloadResponse-browser.d.mts.map +1 -0
  25. package/dist/browser/BlobDownloadResponse-browser.mjs.map +1 -0
  26. package/dist/browser/BlobDownloadResponse.d.ts +2 -0
  27. package/dist/browser/BlobDownloadResponse.js +7 -0
  28. package/dist/browser/BlobLeaseClient.d.ts +159 -0
  29. package/dist/browser/BlobLeaseClient.d.ts.map +1 -0
  30. package/dist/browser/BlobLeaseClient.js +201 -0
  31. package/dist/browser/BlobLeaseClient.js.map +1 -0
  32. package/dist/browser/BlobQueryResponse-browser.d.mts.map +1 -0
  33. package/dist/browser/BlobQueryResponse-browser.mjs.map +1 -0
  34. package/dist/browser/BlobQueryResponse.common.d.ts +291 -0
  35. package/dist/browser/BlobQueryResponse.common.d.ts.map +1 -0
  36. package/dist/browser/BlobQueryResponse.common.js +363 -0
  37. package/dist/browser/BlobQueryResponse.common.js.map +1 -0
  38. package/dist/browser/BlobQueryResponse.d.ts +2 -0
  39. package/dist/browser/BlobQueryResponse.js +4 -0
  40. package/dist/browser/BlobServiceClient.d.ts +615 -0
  41. package/dist/browser/BlobServiceClient.d.ts.map +1 -0
  42. package/dist/browser/BlobServiceClient.js +702 -0
  43. package/dist/browser/BlobServiceClient.js.map +1 -0
  44. package/dist/browser/Clients.d.ts +3233 -0
  45. package/dist/browser/Clients.d.ts.map +1 -0
  46. package/dist/browser/Clients.js +2845 -0
  47. package/dist/browser/Clients.js.map +1 -0
  48. package/dist/browser/ContainerClient.d.ts +1103 -0
  49. package/dist/browser/ContainerClient.d.ts.map +1 -0
  50. package/dist/browser/ContainerClient.js +1293 -0
  51. package/dist/browser/ContainerClient.js.map +1 -0
  52. package/dist/browser/PageBlobRangeResponse.d.ts +35 -0
  53. package/dist/browser/PageBlobRangeResponse.d.ts.map +1 -0
  54. package/dist/browser/PageBlobRangeResponse.js +31 -0
  55. package/dist/browser/PageBlobRangeResponse.js.map +1 -0
  56. package/dist/browser/Pipeline.d.ts +135 -0
  57. package/dist/browser/Pipeline.d.ts.map +1 -0
  58. package/dist/browser/Pipeline.js +271 -0
  59. package/dist/browser/Pipeline.js.map +1 -0
  60. package/dist/browser/Range.d.ts +24 -0
  61. package/dist/browser/Range.d.ts.map +1 -0
  62. package/dist/browser/Range.js +21 -0
  63. package/dist/browser/Range.js.map +1 -0
  64. package/dist/browser/StorageClient.d.ts +50 -0
  65. package/dist/browser/StorageClient.d.ts.map +1 -0
  66. package/dist/browser/StorageClient.js +52 -0
  67. package/dist/browser/StorageClient.js.map +1 -0
  68. package/dist/browser/StorageContextClient.d.ts +9 -0
  69. package/dist/browser/StorageContextClient.d.ts.map +1 -0
  70. package/dist/browser/StorageContextClient.js +17 -0
  71. package/dist/browser/StorageContextClient.js.map +1 -0
  72. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.d.mts +3 -0
  73. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.d.mts.map +1 -0
  74. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.mjs +5 -0
  75. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.mjs.map +1 -0
  76. package/dist/browser/generated/src/index.d.ts +4 -0
  77. package/dist/browser/generated/src/index.d.ts.map +1 -0
  78. package/dist/browser/generated/src/index.js +11 -0
  79. package/dist/browser/generated/src/index.js.map +1 -0
  80. package/dist/browser/generated/src/models/index.d.ts +3978 -0
  81. package/dist/browser/generated/src/models/index.d.ts.map +1 -0
  82. package/dist/browser/generated/src/models/index.js +264 -0
  83. package/dist/browser/generated/src/models/index.js.map +1 -0
  84. package/dist/browser/generated/src/models/mappers.d.ts +181 -0
  85. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
  86. package/dist/browser/generated/src/models/mappers.js +8330 -0
  87. package/dist/browser/generated/src/models/mappers.js.map +1 -0
  88. package/dist/browser/generated/src/models/parameters.d.ts +152 -0
  89. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
  90. package/dist/browser/generated/src/models/parameters.js +1674 -0
  91. package/dist/browser/generated/src/models/parameters.js.map +1 -0
  92. package/dist/browser/generated/src/operations/appendBlob.d.ts +45 -0
  93. package/dist/browser/generated/src/operations/appendBlob.d.ts.map +1 -0
  94. package/dist/browser/generated/src/operations/appendBlob.js +223 -0
  95. package/dist/browser/generated/src/operations/appendBlob.js.map +1 -0
  96. package/dist/browser/generated/src/operations/blob.d.ts +178 -0
  97. package/dist/browser/generated/src/operations/blob.d.ts.map +1 -0
  98. package/dist/browser/generated/src/operations/blob.js +1030 -0
  99. package/dist/browser/generated/src/operations/blob.js.map +1 -0
  100. package/dist/browser/generated/src/operations/blockBlob.d.ts +79 -0
  101. package/dist/browser/generated/src/operations/blockBlob.d.ts.map +1 -0
  102. package/dist/browser/generated/src/operations/blockBlob.js +368 -0
  103. package/dist/browser/generated/src/operations/blockBlob.js.map +1 -0
  104. package/dist/browser/generated/src/operations/container.d.ts +130 -0
  105. package/dist/browser/generated/src/operations/container.d.ts.map +1 -0
  106. package/dist/browser/generated/src/operations/container.js +716 -0
  107. package/dist/browser/generated/src/operations/container.js.map +1 -0
  108. package/dist/browser/generated/src/operations/index.d.ts +7 -0
  109. package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
  110. package/dist/browser/generated/src/operations/index.js +14 -0
  111. package/dist/browser/generated/src/operations/index.js.map +1 -0
  112. package/dist/browser/generated/src/operations/pageBlob.d.ts +87 -0
  113. package/dist/browser/generated/src/operations/pageBlob.d.ts.map +1 -0
  114. package/dist/browser/generated/src/operations/pageBlob.js +458 -0
  115. package/dist/browser/generated/src/operations/pageBlob.js.map +1 -0
  116. package/dist/browser/generated/src/operations/service.d.ts +67 -0
  117. package/dist/browser/generated/src/operations/service.d.ts.map +1 -0
  118. package/dist/browser/generated/src/operations/service.js +324 -0
  119. package/dist/browser/generated/src/operations/service.js.map +1 -0
  120. package/dist/browser/generated/src/operationsInterfaces/appendBlob.d.ts +37 -0
  121. package/dist/browser/generated/src/operationsInterfaces/appendBlob.d.ts.map +1 -0
  122. package/dist/browser/generated/src/operationsInterfaces/appendBlob.js +9 -0
  123. package/dist/browser/generated/src/operationsInterfaces/appendBlob.js.map +1 -0
  124. package/dist/browser/generated/src/operationsInterfaces/blob.d.ts +170 -0
  125. package/dist/browser/generated/src/operationsInterfaces/blob.d.ts.map +1 -0
  126. package/dist/browser/generated/src/operationsInterfaces/blob.js +9 -0
  127. package/dist/browser/generated/src/operationsInterfaces/blob.js.map +1 -0
  128. package/dist/browser/generated/src/operationsInterfaces/blockBlob.d.ts +71 -0
  129. package/dist/browser/generated/src/operationsInterfaces/blockBlob.d.ts.map +1 -0
  130. package/dist/browser/generated/src/operationsInterfaces/blockBlob.js +9 -0
  131. package/dist/browser/generated/src/operationsInterfaces/blockBlob.js.map +1 -0
  132. package/dist/browser/generated/src/operationsInterfaces/container.d.ts +122 -0
  133. package/dist/browser/generated/src/operationsInterfaces/container.d.ts.map +1 -0
  134. package/dist/browser/generated/src/operationsInterfaces/container.js +9 -0
  135. package/dist/browser/generated/src/operationsInterfaces/container.js.map +1 -0
  136. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +7 -0
  137. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  138. package/dist/browser/generated/src/operationsInterfaces/index.js +14 -0
  139. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -0
  140. package/dist/browser/generated/src/operationsInterfaces/pageBlob.d.ts +79 -0
  141. package/dist/browser/generated/src/operationsInterfaces/pageBlob.d.ts.map +1 -0
  142. package/dist/browser/generated/src/operationsInterfaces/pageBlob.js +9 -0
  143. package/dist/browser/generated/src/operationsInterfaces/pageBlob.js.map +1 -0
  144. package/dist/browser/generated/src/operationsInterfaces/service.d.ts +59 -0
  145. package/dist/browser/generated/src/operationsInterfaces/service.d.ts.map +1 -0
  146. package/dist/browser/generated/src/operationsInterfaces/service.js +9 -0
  147. package/dist/browser/generated/src/operationsInterfaces/service.js.map +1 -0
  148. package/dist/browser/generated/src/storageClient.d.ts +21 -0
  149. package/dist/browser/generated/src/storageClient.d.ts.map +1 -0
  150. package/dist/browser/generated/src/storageClient.js +61 -0
  151. package/dist/browser/generated/src/storageClient.js.map +1 -0
  152. package/dist/browser/generatedModels.d.ts +260 -0
  153. package/dist/browser/generatedModels.d.ts.map +1 -0
  154. package/dist/browser/generatedModels.js +8 -0
  155. package/dist/browser/generatedModels.js.map +1 -0
  156. package/dist/browser/index-browser.d.mts.map +1 -0
  157. package/dist/browser/index-browser.mjs.map +1 -0
  158. package/dist/browser/index.d.ts +19 -0
  159. package/dist/browser/index.js +18 -0
  160. package/dist/browser/internal-avro/AvroConstants.d.ts +5 -0
  161. package/dist/browser/internal-avro/AvroConstants.d.ts.map +1 -0
  162. package/dist/browser/internal-avro/AvroConstants.js +7 -0
  163. package/dist/browser/internal-avro/AvroConstants.js.map +1 -0
  164. package/dist/browser/internal-avro/AvroParser.d.ts +57 -0
  165. package/dist/browser/internal-avro/AvroParser.d.ts.map +1 -0
  166. package/dist/browser/internal-avro/AvroParser.js +323 -0
  167. package/dist/browser/internal-avro/AvroParser.js.map +1 -0
  168. package/dist/browser/internal-avro/AvroReadable.d.ts +16 -0
  169. package/dist/browser/internal-avro/AvroReadable.d.ts.map +1 -0
  170. package/dist/browser/internal-avro/AvroReadable.js +5 -0
  171. package/dist/browser/internal-avro/AvroReadable.js.map +1 -0
  172. package/dist/browser/internal-avro/AvroReadableFromBlob.d.ts +10 -0
  173. package/dist/browser/internal-avro/AvroReadableFromBlob.d.ts.map +1 -0
  174. package/dist/browser/internal-avro/AvroReadableFromBlob.js +49 -0
  175. package/dist/browser/internal-avro/AvroReadableFromBlob.js.map +1 -0
  176. package/dist/browser/internal-avro/AvroReadableFromStream.d.ts +11 -0
  177. package/dist/browser/internal-avro/AvroReadableFromStream.d.ts.map +1 -0
  178. package/dist/browser/internal-avro/AvroReadableFromStream.js +86 -0
  179. package/dist/browser/internal-avro/AvroReadableFromStream.js.map +1 -0
  180. package/dist/browser/internal-avro/AvroReader.d.ts +32 -0
  181. package/dist/browser/internal-avro/AvroReader.d.ts.map +1 -0
  182. package/dist/browser/internal-avro/AvroReader.js +116 -0
  183. package/dist/browser/internal-avro/AvroReader.js.map +1 -0
  184. package/dist/browser/internal-avro/index-browser.d.mts.map +1 -0
  185. package/dist/browser/internal-avro/index-browser.mjs.map +1 -0
  186. package/dist/browser/internal-avro/index.d.ts +4 -0
  187. package/dist/browser/internal-avro/index.js +6 -0
  188. package/dist/browser/internal-avro/utils/utils.common.d.ts +6 -0
  189. package/dist/browser/internal-avro/utils/utils.common.d.ts.map +1 -0
  190. package/dist/browser/internal-avro/utils/utils.common.js +16 -0
  191. package/dist/browser/internal-avro/utils/utils.common.js.map +1 -0
  192. package/dist/browser/log.d.ts +5 -0
  193. package/dist/browser/log.d.ts.map +1 -0
  194. package/dist/browser/log.js +8 -0
  195. package/dist/browser/log.js.map +1 -0
  196. package/dist/browser/models.d.ts +333 -0
  197. package/dist/browser/models.d.ts.map +1 -0
  198. package/dist/browser/models.js +115 -0
  199. package/dist/browser/models.js.map +1 -0
  200. package/dist/browser/package.json +3 -0
  201. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +17 -0
  202. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +1 -0
  203. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +18 -0
  204. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +1 -0
  205. package/dist/browser/pollers/BlobStartCopyFromUrlPoller.d.ts +74 -0
  206. package/dist/browser/pollers/BlobStartCopyFromUrlPoller.d.ts.map +1 -0
  207. package/dist/browser/pollers/BlobStartCopyFromUrlPoller.js +134 -0
  208. package/dist/browser/pollers/BlobStartCopyFromUrlPoller.js.map +1 -0
  209. package/dist/browser/sas/AccountSASPermissions.d.ts +146 -0
  210. package/dist/browser/sas/AccountSASPermissions.d.ts.map +1 -0
  211. package/dist/browser/sas/AccountSASPermissions.js +225 -0
  212. package/dist/browser/sas/AccountSASPermissions.js.map +1 -0
  213. package/dist/browser/sas/AccountSASResourceTypes.d.ts +38 -0
  214. package/dist/browser/sas/AccountSASResourceTypes.d.ts.map +1 -0
  215. package/dist/browser/sas/AccountSASResourceTypes.js +70 -0
  216. package/dist/browser/sas/AccountSASResourceTypes.js.map +1 -0
  217. package/dist/browser/sas/AccountSASServices.d.ts +40 -0
  218. package/dist/browser/sas/AccountSASServices.d.ts.map +1 -0
  219. package/dist/browser/sas/AccountSASServices.js +78 -0
  220. package/dist/browser/sas/AccountSASServices.js.map +1 -0
  221. package/dist/browser/sas/AccountSASSignatureValues.d.ts +78 -0
  222. package/dist/browser/sas/AccountSASSignatureValues.d.ts.map +1 -0
  223. package/dist/browser/sas/AccountSASSignatureValues.js +100 -0
  224. package/dist/browser/sas/AccountSASSignatureValues.js.map +1 -0
  225. package/dist/browser/sas/BlobSASPermissions.d.ts +127 -0
  226. package/dist/browser/sas/BlobSASPermissions.d.ts.map +1 -0
  227. package/dist/browser/sas/BlobSASPermissions.js +193 -0
  228. package/dist/browser/sas/BlobSASPermissions.js.map +1 -0
  229. package/dist/browser/sas/BlobSASSignatureValues.d.ts +289 -0
  230. package/dist/browser/sas/BlobSASSignatureValues.d.ts.map +1 -0
  231. package/dist/browser/sas/BlobSASSignatureValues.js +666 -0
  232. package/dist/browser/sas/BlobSASSignatureValues.js.map +1 -0
  233. package/dist/browser/sas/ContainerSASPermissions.d.ts +143 -0
  234. package/dist/browser/sas/ContainerSASPermissions.d.ts.map +1 -0
  235. package/dist/browser/sas/ContainerSASPermissions.js +219 -0
  236. package/dist/browser/sas/ContainerSASPermissions.js.map +1 -0
  237. package/dist/browser/sas/SASQueryParameters.d.ts +298 -0
  238. package/dist/browser/sas/SASQueryParameters.d.ts.map +1 -0
  239. package/dist/browser/sas/SASQueryParameters.js +363 -0
  240. package/dist/browser/sas/SASQueryParameters.js.map +1 -0
  241. package/dist/browser/sas/SasIPRange.d.ts +24 -0
  242. package/dist/browser/sas/SasIPRange.d.ts.map +1 -0
  243. package/dist/browser/sas/SasIPRange.js +13 -0
  244. package/dist/browser/sas/SasIPRange.js.map +1 -0
  245. package/dist/browser/utils/Batch.d.ts +68 -0
  246. package/dist/browser/utils/Batch.d.ts.map +1 -0
  247. package/dist/browser/utils/Batch.js +130 -0
  248. package/dist/browser/utils/Batch.js.map +1 -0
  249. package/dist/browser/utils/BlobQuickQueryStream.d.ts +42 -0
  250. package/dist/browser/utils/BlobQuickQueryStream.d.ts.map +1 -0
  251. package/dist/browser/utils/BlobQuickQueryStream.js +116 -0
  252. package/dist/browser/utils/BlobQuickQueryStream.js.map +1 -0
  253. package/dist/browser/utils/Mutex.d.ts +23 -0
  254. package/dist/browser/utils/Mutex.d.ts.map +1 -0
  255. package/dist/browser/utils/Mutex.js +65 -0
  256. package/dist/browser/utils/Mutex.js.map +1 -0
  257. package/dist/browser/utils/RetriableReadableStream.d.ts +62 -0
  258. package/dist/browser/utils/RetriableReadableStream.d.ts.map +1 -0
  259. package/dist/browser/utils/RetriableReadableStream.js +127 -0
  260. package/dist/browser/utils/RetriableReadableStream.js.map +1 -0
  261. package/dist/browser/utils/SharedKeyComparator.d.ts +2 -0
  262. package/dist/browser/utils/SharedKeyComparator.d.ts.map +1 -0
  263. package/dist/browser/utils/SharedKeyComparator.js +73 -0
  264. package/dist/browser/utils/SharedKeyComparator.js.map +1 -0
  265. package/dist/browser/utils/constants.d.ts +70 -0
  266. package/dist/browser/utils/constants.d.ts.map +1 -0
  267. package/dist/browser/utils/constants.js +226 -0
  268. package/dist/browser/utils/constants.js.map +1 -0
  269. package/dist/browser/utils/tracing.d.ts +6 -0
  270. package/dist/browser/utils/tracing.d.ts.map +1 -0
  271. package/dist/browser/utils/tracing.js +14 -0
  272. package/dist/browser/utils/tracing.js.map +1 -0
  273. package/dist/browser/utils/utils-browser.d.mts.map +1 -0
  274. package/dist/browser/utils/utils-browser.mjs.map +1 -0
  275. package/dist/browser/utils/utils.common.d.ts +323 -0
  276. package/dist/browser/utils/utils.common.d.ts.map +1 -0
  277. package/dist/browser/utils/utils.common.js +769 -0
  278. package/dist/browser/utils/utils.common.js.map +1 -0
  279. package/dist/browser/utils/utils.d.ts +18 -0
  280. package/dist/browser/utils/utils.js +48 -0
  281. package/dist/commonjs/BatchResponse.d.ts +49 -0
  282. package/dist/commonjs/BatchResponse.d.ts.map +1 -0
  283. package/dist/commonjs/BatchResponse.js +5 -0
  284. package/dist/commonjs/BatchResponse.js.map +1 -0
  285. package/dist/commonjs/BatchResponseParser.d.ts +16 -0
  286. package/dist/commonjs/BatchResponseParser.d.ts.map +1 -0
  287. package/dist/commonjs/BatchResponseParser.js +146 -0
  288. package/dist/commonjs/BatchResponseParser.js.map +1 -0
  289. package/dist/commonjs/BatchUtils.d.ts +4 -0
  290. package/dist/commonjs/BatchUtils.d.ts.map +1 -0
  291. package/dist/commonjs/BatchUtils.js +19 -0
  292. package/dist/commonjs/BatchUtils.js.map +1 -0
  293. package/dist/commonjs/BlobBatch.d.ts +111 -0
  294. package/dist/commonjs/BlobBatch.d.ts.map +1 -0
  295. package/dist/commonjs/BlobBatch.js +278 -0
  296. package/dist/commonjs/BlobBatch.js.map +1 -0
  297. package/dist/commonjs/BlobBatchClient.d.ts +180 -0
  298. package/dist/commonjs/BlobBatchClient.d.ts.map +1 -0
  299. package/dist/commonjs/BlobBatchClient.js +176 -0
  300. package/dist/commonjs/BlobBatchClient.js.map +1 -0
  301. package/dist/commonjs/BlobDownloadResponse.d.ts +370 -0
  302. package/dist/commonjs/BlobDownloadResponse.d.ts.map +1 -0
  303. package/dist/commonjs/BlobDownloadResponse.js +469 -0
  304. package/dist/commonjs/BlobDownloadResponse.js.map +1 -0
  305. package/dist/commonjs/BlobLeaseClient.d.ts +159 -0
  306. package/dist/commonjs/BlobLeaseClient.d.ts.map +1 -0
  307. package/dist/commonjs/BlobLeaseClient.js +205 -0
  308. package/dist/commonjs/BlobLeaseClient.js.map +1 -0
  309. package/dist/commonjs/BlobQueryResponse.common.d.ts +291 -0
  310. package/dist/commonjs/BlobQueryResponse.common.d.ts.map +1 -0
  311. package/dist/commonjs/BlobQueryResponse.common.js +367 -0
  312. package/dist/commonjs/BlobQueryResponse.common.js.map +1 -0
  313. package/dist/commonjs/BlobQueryResponse.d.ts +295 -0
  314. package/dist/commonjs/BlobQueryResponse.d.ts.map +1 -0
  315. package/dist/commonjs/BlobQueryResponse.js +373 -0
  316. package/dist/commonjs/BlobQueryResponse.js.map +1 -0
  317. package/dist/commonjs/BlobServiceClient.d.ts +615 -0
  318. package/dist/commonjs/BlobServiceClient.d.ts.map +1 -0
  319. package/dist/commonjs/BlobServiceClient.js +706 -0
  320. package/dist/commonjs/BlobServiceClient.js.map +1 -0
  321. package/dist/commonjs/Clients.d.ts +3233 -0
  322. package/dist/commonjs/Clients.d.ts.map +1 -0
  323. package/dist/commonjs/Clients.js +2852 -0
  324. package/dist/commonjs/Clients.js.map +1 -0
  325. package/dist/commonjs/ContainerClient.d.ts +1103 -0
  326. package/dist/commonjs/ContainerClient.d.ts.map +1 -0
  327. package/dist/commonjs/ContainerClient.js +1297 -0
  328. package/dist/commonjs/ContainerClient.js.map +1 -0
  329. package/dist/commonjs/PageBlobRangeResponse.d.ts +35 -0
  330. package/dist/commonjs/PageBlobRangeResponse.d.ts.map +1 -0
  331. package/dist/commonjs/PageBlobRangeResponse.js +34 -0
  332. package/dist/commonjs/PageBlobRangeResponse.js.map +1 -0
  333. package/dist/commonjs/Pipeline.d.ts +135 -0
  334. package/dist/commonjs/Pipeline.d.ts.map +1 -0
  335. package/dist/commonjs/Pipeline.js +277 -0
  336. package/dist/commonjs/Pipeline.js.map +1 -0
  337. package/dist/commonjs/Range.d.ts +24 -0
  338. package/dist/commonjs/Range.d.ts.map +1 -0
  339. package/dist/commonjs/Range.js +24 -0
  340. package/dist/commonjs/Range.js.map +1 -0
  341. package/dist/commonjs/StorageClient.d.ts +50 -0
  342. package/dist/commonjs/StorageClient.d.ts.map +1 -0
  343. package/dist/commonjs/StorageClient.js +56 -0
  344. package/dist/commonjs/StorageClient.js.map +1 -0
  345. package/dist/commonjs/StorageContextClient.d.ts +9 -0
  346. package/dist/commonjs/StorageContextClient.d.ts.map +1 -0
  347. package/dist/commonjs/StorageContextClient.js +21 -0
  348. package/dist/commonjs/StorageContextClient.js.map +1 -0
  349. package/dist/commonjs/generated/src/index.d.ts +4 -0
  350. package/dist/commonjs/generated/src/index.d.ts.map +1 -0
  351. package/dist/commonjs/generated/src/index.js +16 -0
  352. package/dist/commonjs/generated/src/index.js.map +1 -0
  353. package/dist/commonjs/generated/src/models/index.d.ts +3978 -0
  354. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
  355. package/dist/commonjs/generated/src/models/index.js +267 -0
  356. package/dist/commonjs/generated/src/models/index.js.map +1 -0
  357. package/dist/commonjs/generated/src/models/mappers.d.ts +181 -0
  358. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
  359. package/dist/commonjs/generated/src/models/mappers.js +8336 -0
  360. package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
  361. package/dist/commonjs/generated/src/models/parameters.d.ts +152 -0
  362. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
  363. package/dist/commonjs/generated/src/models/parameters.js +1679 -0
  364. package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
  365. package/dist/commonjs/generated/src/operations/appendBlob.d.ts +45 -0
  366. package/dist/commonjs/generated/src/operations/appendBlob.d.ts.map +1 -0
  367. package/dist/commonjs/generated/src/operations/appendBlob.js +228 -0
  368. package/dist/commonjs/generated/src/operations/appendBlob.js.map +1 -0
  369. package/dist/commonjs/generated/src/operations/blob.d.ts +178 -0
  370. package/dist/commonjs/generated/src/operations/blob.d.ts.map +1 -0
  371. package/dist/commonjs/generated/src/operations/blob.js +1035 -0
  372. package/dist/commonjs/generated/src/operations/blob.js.map +1 -0
  373. package/dist/commonjs/generated/src/operations/blockBlob.d.ts +79 -0
  374. package/dist/commonjs/generated/src/operations/blockBlob.d.ts.map +1 -0
  375. package/dist/commonjs/generated/src/operations/blockBlob.js +373 -0
  376. package/dist/commonjs/generated/src/operations/blockBlob.js.map +1 -0
  377. package/dist/commonjs/generated/src/operations/container.d.ts +130 -0
  378. package/dist/commonjs/generated/src/operations/container.d.ts.map +1 -0
  379. package/dist/commonjs/generated/src/operations/container.js +721 -0
  380. package/dist/commonjs/generated/src/operations/container.js.map +1 -0
  381. package/dist/commonjs/generated/src/operations/index.d.ts +7 -0
  382. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
  383. package/dist/commonjs/generated/src/operations/index.js +17 -0
  384. package/dist/commonjs/generated/src/operations/index.js.map +1 -0
  385. package/dist/commonjs/generated/src/operations/pageBlob.d.ts +87 -0
  386. package/dist/commonjs/generated/src/operations/pageBlob.d.ts.map +1 -0
  387. package/dist/commonjs/generated/src/operations/pageBlob.js +463 -0
  388. package/dist/commonjs/generated/src/operations/pageBlob.js.map +1 -0
  389. package/dist/commonjs/generated/src/operations/service.d.ts +67 -0
  390. package/dist/commonjs/generated/src/operations/service.d.ts.map +1 -0
  391. package/dist/commonjs/generated/src/operations/service.js +329 -0
  392. package/dist/commonjs/generated/src/operations/service.js.map +1 -0
  393. package/dist/commonjs/generated/src/operationsInterfaces/appendBlob.d.ts +37 -0
  394. package/dist/commonjs/generated/src/operationsInterfaces/appendBlob.d.ts.map +1 -0
  395. package/dist/commonjs/generated/src/operationsInterfaces/appendBlob.js +10 -0
  396. package/dist/commonjs/generated/src/operationsInterfaces/appendBlob.js.map +1 -0
  397. package/dist/commonjs/generated/src/operationsInterfaces/blob.d.ts +170 -0
  398. package/dist/commonjs/generated/src/operationsInterfaces/blob.d.ts.map +1 -0
  399. package/dist/commonjs/generated/src/operationsInterfaces/blob.js +10 -0
  400. package/dist/commonjs/generated/src/operationsInterfaces/blob.js.map +1 -0
  401. package/dist/commonjs/generated/src/operationsInterfaces/blockBlob.d.ts +71 -0
  402. package/dist/commonjs/generated/src/operationsInterfaces/blockBlob.d.ts.map +1 -0
  403. package/dist/commonjs/generated/src/operationsInterfaces/blockBlob.js +10 -0
  404. package/dist/commonjs/generated/src/operationsInterfaces/blockBlob.js.map +1 -0
  405. package/dist/commonjs/generated/src/operationsInterfaces/container.d.ts +122 -0
  406. package/dist/commonjs/generated/src/operationsInterfaces/container.d.ts.map +1 -0
  407. package/dist/commonjs/generated/src/operationsInterfaces/container.js +10 -0
  408. package/dist/commonjs/generated/src/operationsInterfaces/container.js.map +1 -0
  409. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +7 -0
  410. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  411. package/dist/commonjs/generated/src/operationsInterfaces/index.js +17 -0
  412. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
  413. package/dist/commonjs/generated/src/operationsInterfaces/pageBlob.d.ts +79 -0
  414. package/dist/commonjs/generated/src/operationsInterfaces/pageBlob.d.ts.map +1 -0
  415. package/dist/commonjs/generated/src/operationsInterfaces/pageBlob.js +10 -0
  416. package/dist/commonjs/generated/src/operationsInterfaces/pageBlob.js.map +1 -0
  417. package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts +59 -0
  418. package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts.map +1 -0
  419. package/dist/commonjs/generated/src/operationsInterfaces/service.js +10 -0
  420. package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +1 -0
  421. package/dist/commonjs/generated/src/storageClient.d.ts +21 -0
  422. package/dist/commonjs/generated/src/storageClient.d.ts.map +1 -0
  423. package/dist/commonjs/generated/src/storageClient.js +66 -0
  424. package/dist/commonjs/generated/src/storageClient.js.map +1 -0
  425. package/dist/commonjs/generatedModels.d.ts +260 -0
  426. package/dist/commonjs/generatedModels.d.ts.map +1 -0
  427. package/dist/commonjs/generatedModels.js +11 -0
  428. package/dist/commonjs/generatedModels.js.map +1 -0
  429. package/dist/commonjs/index.d.ts +31 -0
  430. package/dist/commonjs/index.d.ts.map +1 -0
  431. package/dist/commonjs/index.js +52 -0
  432. package/dist/commonjs/index.js.map +1 -0
  433. package/dist/commonjs/internal-avro/AvroConstants.d.ts +5 -0
  434. package/dist/commonjs/internal-avro/AvroConstants.d.ts.map +1 -0
  435. package/dist/commonjs/internal-avro/AvroConstants.js +10 -0
  436. package/dist/commonjs/internal-avro/AvroConstants.js.map +1 -0
  437. package/dist/commonjs/internal-avro/AvroParser.d.ts +57 -0
  438. package/dist/commonjs/internal-avro/AvroParser.d.ts.map +1 -0
  439. package/dist/commonjs/internal-avro/AvroParser.js +328 -0
  440. package/dist/commonjs/internal-avro/AvroParser.js.map +1 -0
  441. package/dist/commonjs/internal-avro/AvroReadable.d.ts +16 -0
  442. package/dist/commonjs/internal-avro/AvroReadable.d.ts.map +1 -0
  443. package/dist/commonjs/internal-avro/AvroReadable.js +9 -0
  444. package/dist/commonjs/internal-avro/AvroReadable.js.map +1 -0
  445. package/dist/commonjs/internal-avro/AvroReadableFromBlob.d.ts +10 -0
  446. package/dist/commonjs/internal-avro/AvroReadableFromBlob.d.ts.map +1 -0
  447. package/dist/commonjs/internal-avro/AvroReadableFromBlob.js +53 -0
  448. package/dist/commonjs/internal-avro/AvroReadableFromBlob.js.map +1 -0
  449. package/dist/commonjs/internal-avro/AvroReadableFromStream.d.ts +11 -0
  450. package/dist/commonjs/internal-avro/AvroReadableFromStream.d.ts.map +1 -0
  451. package/dist/commonjs/internal-avro/AvroReadableFromStream.js +90 -0
  452. package/dist/commonjs/internal-avro/AvroReadableFromStream.js.map +1 -0
  453. package/dist/commonjs/internal-avro/AvroReader.d.ts +32 -0
  454. package/dist/commonjs/internal-avro/AvroReader.d.ts.map +1 -0
  455. package/dist/commonjs/internal-avro/AvroReader.js +120 -0
  456. package/dist/commonjs/internal-avro/AvroReader.js.map +1 -0
  457. package/dist/commonjs/internal-avro/index.d.ts +4 -0
  458. package/dist/commonjs/internal-avro/index.d.ts.map +1 -0
  459. package/dist/commonjs/internal-avro/index.js +12 -0
  460. package/dist/commonjs/internal-avro/index.js.map +1 -0
  461. package/dist/commonjs/internal-avro/utils/utils.common.d.ts +6 -0
  462. package/dist/commonjs/internal-avro/utils/utils.common.d.ts.map +1 -0
  463. package/dist/commonjs/internal-avro/utils/utils.common.js +19 -0
  464. package/dist/commonjs/internal-avro/utils/utils.common.js.map +1 -0
  465. package/dist/commonjs/log.d.ts +5 -0
  466. package/dist/commonjs/log.d.ts.map +1 -0
  467. package/dist/commonjs/log.js +11 -0
  468. package/dist/commonjs/log.js.map +1 -0
  469. package/dist/commonjs/models.d.ts +333 -0
  470. package/dist/commonjs/models.d.ts.map +1 -0
  471. package/dist/commonjs/models.js +121 -0
  472. package/dist/commonjs/models.js.map +1 -0
  473. package/dist/commonjs/package.json +3 -0
  474. package/dist/commonjs/pollers/BlobStartCopyFromUrlPoller.d.ts +74 -0
  475. package/dist/commonjs/pollers/BlobStartCopyFromUrlPoller.d.ts.map +1 -0
  476. package/dist/commonjs/pollers/BlobStartCopyFromUrlPoller.js +138 -0
  477. package/dist/commonjs/pollers/BlobStartCopyFromUrlPoller.js.map +1 -0
  478. package/dist/commonjs/sas/AccountSASPermissions.d.ts +146 -0
  479. package/dist/commonjs/sas/AccountSASPermissions.d.ts.map +1 -0
  480. package/dist/commonjs/sas/AccountSASPermissions.js +229 -0
  481. package/dist/commonjs/sas/AccountSASPermissions.js.map +1 -0
  482. package/dist/commonjs/sas/AccountSASResourceTypes.d.ts +38 -0
  483. package/dist/commonjs/sas/AccountSASResourceTypes.d.ts.map +1 -0
  484. package/dist/commonjs/sas/AccountSASResourceTypes.js +74 -0
  485. package/dist/commonjs/sas/AccountSASResourceTypes.js.map +1 -0
  486. package/dist/commonjs/sas/AccountSASServices.d.ts +40 -0
  487. package/dist/commonjs/sas/AccountSASServices.d.ts.map +1 -0
  488. package/dist/commonjs/sas/AccountSASServices.js +82 -0
  489. package/dist/commonjs/sas/AccountSASServices.js.map +1 -0
  490. package/dist/commonjs/sas/AccountSASSignatureValues.d.ts +78 -0
  491. package/dist/commonjs/sas/AccountSASSignatureValues.d.ts.map +1 -0
  492. package/dist/commonjs/sas/AccountSASSignatureValues.js +104 -0
  493. package/dist/commonjs/sas/AccountSASSignatureValues.js.map +1 -0
  494. package/dist/commonjs/sas/BlobSASPermissions.d.ts +127 -0
  495. package/dist/commonjs/sas/BlobSASPermissions.d.ts.map +1 -0
  496. package/dist/commonjs/sas/BlobSASPermissions.js +197 -0
  497. package/dist/commonjs/sas/BlobSASPermissions.js.map +1 -0
  498. package/dist/commonjs/sas/BlobSASSignatureValues.d.ts +289 -0
  499. package/dist/commonjs/sas/BlobSASSignatureValues.d.ts.map +1 -0
  500. package/dist/commonjs/sas/BlobSASSignatureValues.js +670 -0
  501. package/dist/commonjs/sas/BlobSASSignatureValues.js.map +1 -0
  502. package/dist/commonjs/sas/ContainerSASPermissions.d.ts +143 -0
  503. package/dist/commonjs/sas/ContainerSASPermissions.d.ts.map +1 -0
  504. package/dist/commonjs/sas/ContainerSASPermissions.js +223 -0
  505. package/dist/commonjs/sas/ContainerSASPermissions.js.map +1 -0
  506. package/dist/commonjs/sas/SASQueryParameters.d.ts +298 -0
  507. package/dist/commonjs/sas/SASQueryParameters.d.ts.map +1 -0
  508. package/dist/commonjs/sas/SASQueryParameters.js +367 -0
  509. package/dist/commonjs/sas/SASQueryParameters.js.map +1 -0
  510. package/dist/commonjs/sas/SasIPRange.d.ts +24 -0
  511. package/dist/commonjs/sas/SasIPRange.d.ts.map +1 -0
  512. package/dist/commonjs/sas/SasIPRange.js +16 -0
  513. package/dist/commonjs/sas/SasIPRange.js.map +1 -0
  514. package/dist/commonjs/tsdoc-metadata.json +11 -0
  515. package/dist/commonjs/utils/Batch.d.ts +68 -0
  516. package/dist/commonjs/utils/Batch.d.ts.map +1 -0
  517. package/dist/commonjs/utils/Batch.js +134 -0
  518. package/dist/commonjs/utils/Batch.js.map +1 -0
  519. package/dist/commonjs/utils/BlobQuickQueryStream.d.ts +42 -0
  520. package/dist/commonjs/utils/BlobQuickQueryStream.d.ts.map +1 -0
  521. package/dist/commonjs/utils/BlobQuickQueryStream.js +120 -0
  522. package/dist/commonjs/utils/BlobQuickQueryStream.js.map +1 -0
  523. package/dist/commonjs/utils/Mutex.d.ts +23 -0
  524. package/dist/commonjs/utils/Mutex.d.ts.map +1 -0
  525. package/dist/commonjs/utils/Mutex.js +69 -0
  526. package/dist/commonjs/utils/Mutex.js.map +1 -0
  527. package/dist/commonjs/utils/RetriableReadableStream.d.ts +62 -0
  528. package/dist/commonjs/utils/RetriableReadableStream.d.ts.map +1 -0
  529. package/dist/commonjs/utils/RetriableReadableStream.js +131 -0
  530. package/dist/commonjs/utils/RetriableReadableStream.js.map +1 -0
  531. package/dist/commonjs/utils/SharedKeyComparator.d.ts +2 -0
  532. package/dist/commonjs/utils/SharedKeyComparator.d.ts.map +1 -0
  533. package/dist/commonjs/utils/SharedKeyComparator.js +76 -0
  534. package/dist/commonjs/utils/SharedKeyComparator.js.map +1 -0
  535. package/dist/commonjs/utils/constants.d.ts +70 -0
  536. package/dist/commonjs/utils/constants.d.ts.map +1 -0
  537. package/dist/commonjs/utils/constants.js +229 -0
  538. package/dist/commonjs/utils/constants.js.map +1 -0
  539. package/dist/commonjs/utils/tracing.d.ts +6 -0
  540. package/dist/commonjs/utils/tracing.d.ts.map +1 -0
  541. package/dist/commonjs/utils/tracing.js +17 -0
  542. package/dist/commonjs/utils/tracing.js.map +1 -0
  543. package/dist/commonjs/utils/utils.common.d.ts +323 -0
  544. package/dist/commonjs/utils/utils.common.d.ts.map +1 -0
  545. package/dist/commonjs/utils/utils.common.js +807 -0
  546. package/dist/commonjs/utils/utils.common.js.map +1 -0
  547. package/dist/commonjs/utils/utils.d.ts +46 -0
  548. package/dist/commonjs/utils/utils.d.ts.map +1 -0
  549. package/dist/commonjs/utils/utils.js +140 -0
  550. package/dist/commonjs/utils/utils.js.map +1 -0
  551. package/dist/esm/BatchResponse.d.ts +49 -0
  552. package/dist/esm/BatchResponse.d.ts.map +1 -0
  553. package/dist/esm/BatchResponse.js +4 -0
  554. package/dist/esm/BatchResponse.js.map +1 -0
  555. package/dist/esm/BatchResponseParser.d.ts +16 -0
  556. package/dist/esm/BatchResponseParser.d.ts.map +1 -0
  557. package/dist/esm/BatchResponseParser.js +142 -0
  558. package/dist/esm/BatchResponseParser.js.map +1 -0
  559. package/dist/esm/BatchUtils.d.ts +4 -0
  560. package/dist/esm/BatchUtils.d.ts.map +1 -0
  561. package/dist/esm/BatchUtils.js +15 -0
  562. package/dist/esm/BatchUtils.js.map +1 -0
  563. package/dist/esm/BlobBatch.d.ts +111 -0
  564. package/dist/esm/BlobBatch.d.ts.map +1 -0
  565. package/dist/esm/BlobBatch.js +274 -0
  566. package/dist/esm/BlobBatch.js.map +1 -0
  567. package/dist/esm/BlobBatchClient.d.ts +180 -0
  568. package/dist/esm/BlobBatchClient.d.ts.map +1 -0
  569. package/dist/esm/BlobBatchClient.js +172 -0
  570. package/dist/esm/BlobBatchClient.js.map +1 -0
  571. package/dist/esm/BlobDownloadResponse.d.ts +370 -0
  572. package/dist/esm/BlobDownloadResponse.d.ts.map +1 -0
  573. package/dist/esm/BlobDownloadResponse.js +465 -0
  574. package/dist/esm/BlobDownloadResponse.js.map +1 -0
  575. package/dist/esm/BlobLeaseClient.d.ts +159 -0
  576. package/dist/esm/BlobLeaseClient.d.ts.map +1 -0
  577. package/dist/esm/BlobLeaseClient.js +201 -0
  578. package/dist/esm/BlobLeaseClient.js.map +1 -0
  579. package/dist/esm/BlobQueryResponse.common.d.ts +291 -0
  580. package/dist/esm/BlobQueryResponse.common.d.ts.map +1 -0
  581. package/dist/esm/BlobQueryResponse.common.js +363 -0
  582. package/dist/esm/BlobQueryResponse.common.js.map +1 -0
  583. package/dist/esm/BlobQueryResponse.d.ts +295 -0
  584. package/dist/esm/BlobQueryResponse.d.ts.map +1 -0
  585. package/dist/esm/BlobQueryResponse.js +369 -0
  586. package/dist/esm/BlobQueryResponse.js.map +1 -0
  587. package/dist/esm/BlobServiceClient.d.ts +615 -0
  588. package/dist/esm/BlobServiceClient.d.ts.map +1 -0
  589. package/dist/esm/BlobServiceClient.js +702 -0
  590. package/dist/esm/BlobServiceClient.js.map +1 -0
  591. package/dist/esm/Clients.d.ts +3233 -0
  592. package/dist/esm/Clients.d.ts.map +1 -0
  593. package/dist/esm/Clients.js +2845 -0
  594. package/dist/esm/Clients.js.map +1 -0
  595. package/dist/esm/ContainerClient.d.ts +1103 -0
  596. package/dist/esm/ContainerClient.d.ts.map +1 -0
  597. package/dist/esm/ContainerClient.js +1293 -0
  598. package/dist/esm/ContainerClient.js.map +1 -0
  599. package/dist/esm/PageBlobRangeResponse.d.ts +35 -0
  600. package/dist/esm/PageBlobRangeResponse.d.ts.map +1 -0
  601. package/dist/esm/PageBlobRangeResponse.js +31 -0
  602. package/dist/esm/PageBlobRangeResponse.js.map +1 -0
  603. package/dist/esm/Pipeline.d.ts +135 -0
  604. package/dist/esm/Pipeline.d.ts.map +1 -0
  605. package/dist/esm/Pipeline.js +271 -0
  606. package/dist/esm/Pipeline.js.map +1 -0
  607. package/dist/esm/Range.d.ts +24 -0
  608. package/dist/esm/Range.d.ts.map +1 -0
  609. package/dist/esm/Range.js +21 -0
  610. package/dist/esm/Range.js.map +1 -0
  611. package/dist/esm/StorageClient.d.ts +50 -0
  612. package/dist/esm/StorageClient.d.ts.map +1 -0
  613. package/dist/esm/StorageClient.js +52 -0
  614. package/dist/esm/StorageClient.js.map +1 -0
  615. package/dist/esm/StorageContextClient.d.ts +9 -0
  616. package/dist/esm/StorageContextClient.d.ts.map +1 -0
  617. package/dist/esm/StorageContextClient.js +17 -0
  618. package/dist/esm/StorageContextClient.js.map +1 -0
  619. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.d.mts +3 -0
  620. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.d.mts.map +1 -0
  621. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.mjs +5 -0
  622. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.mjs.map +1 -0
  623. package/dist/esm/generated/src/index.d.ts +4 -0
  624. package/dist/esm/generated/src/index.d.ts.map +1 -0
  625. package/dist/esm/generated/src/index.js +11 -0
  626. package/dist/esm/generated/src/index.js.map +1 -0
  627. package/dist/esm/generated/src/models/index.d.ts +3978 -0
  628. package/dist/esm/generated/src/models/index.d.ts.map +1 -0
  629. package/dist/esm/generated/src/models/index.js +264 -0
  630. package/dist/esm/generated/src/models/index.js.map +1 -0
  631. package/dist/esm/generated/src/models/mappers.d.ts +181 -0
  632. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
  633. package/dist/esm/generated/src/models/mappers.js +8330 -0
  634. package/dist/esm/generated/src/models/mappers.js.map +1 -0
  635. package/dist/esm/generated/src/models/parameters.d.ts +152 -0
  636. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
  637. package/dist/esm/generated/src/models/parameters.js +1674 -0
  638. package/dist/esm/generated/src/models/parameters.js.map +1 -0
  639. package/dist/esm/generated/src/operations/appendBlob.d.ts +45 -0
  640. package/dist/esm/generated/src/operations/appendBlob.d.ts.map +1 -0
  641. package/dist/esm/generated/src/operations/appendBlob.js +223 -0
  642. package/dist/esm/generated/src/operations/appendBlob.js.map +1 -0
  643. package/dist/esm/generated/src/operations/blob.d.ts +178 -0
  644. package/dist/esm/generated/src/operations/blob.d.ts.map +1 -0
  645. package/dist/esm/generated/src/operations/blob.js +1030 -0
  646. package/dist/esm/generated/src/operations/blob.js.map +1 -0
  647. package/dist/esm/generated/src/operations/blockBlob.d.ts +79 -0
  648. package/dist/esm/generated/src/operations/blockBlob.d.ts.map +1 -0
  649. package/dist/esm/generated/src/operations/blockBlob.js +368 -0
  650. package/dist/esm/generated/src/operations/blockBlob.js.map +1 -0
  651. package/dist/esm/generated/src/operations/container.d.ts +130 -0
  652. package/dist/esm/generated/src/operations/container.d.ts.map +1 -0
  653. package/dist/esm/generated/src/operations/container.js +716 -0
  654. package/dist/esm/generated/src/operations/container.js.map +1 -0
  655. package/dist/esm/generated/src/operations/index.d.ts +7 -0
  656. package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
  657. package/dist/esm/generated/src/operations/index.js +14 -0
  658. package/dist/esm/generated/src/operations/index.js.map +1 -0
  659. package/dist/esm/generated/src/operations/pageBlob.d.ts +87 -0
  660. package/dist/esm/generated/src/operations/pageBlob.d.ts.map +1 -0
  661. package/dist/esm/generated/src/operations/pageBlob.js +458 -0
  662. package/dist/esm/generated/src/operations/pageBlob.js.map +1 -0
  663. package/dist/esm/generated/src/operations/service.d.ts +67 -0
  664. package/dist/esm/generated/src/operations/service.d.ts.map +1 -0
  665. package/dist/esm/generated/src/operations/service.js +324 -0
  666. package/dist/esm/generated/src/operations/service.js.map +1 -0
  667. package/dist/esm/generated/src/operationsInterfaces/appendBlob.d.ts +37 -0
  668. package/dist/esm/generated/src/operationsInterfaces/appendBlob.d.ts.map +1 -0
  669. package/dist/esm/generated/src/operationsInterfaces/appendBlob.js +9 -0
  670. package/dist/esm/generated/src/operationsInterfaces/appendBlob.js.map +1 -0
  671. package/dist/esm/generated/src/operationsInterfaces/blob.d.ts +170 -0
  672. package/dist/esm/generated/src/operationsInterfaces/blob.d.ts.map +1 -0
  673. package/dist/esm/generated/src/operationsInterfaces/blob.js +9 -0
  674. package/dist/esm/generated/src/operationsInterfaces/blob.js.map +1 -0
  675. package/dist/esm/generated/src/operationsInterfaces/blockBlob.d.ts +71 -0
  676. package/dist/esm/generated/src/operationsInterfaces/blockBlob.d.ts.map +1 -0
  677. package/dist/esm/generated/src/operationsInterfaces/blockBlob.js +9 -0
  678. package/dist/esm/generated/src/operationsInterfaces/blockBlob.js.map +1 -0
  679. package/dist/esm/generated/src/operationsInterfaces/container.d.ts +122 -0
  680. package/dist/esm/generated/src/operationsInterfaces/container.d.ts.map +1 -0
  681. package/dist/esm/generated/src/operationsInterfaces/container.js +9 -0
  682. package/dist/esm/generated/src/operationsInterfaces/container.js.map +1 -0
  683. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +7 -0
  684. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  685. package/dist/esm/generated/src/operationsInterfaces/index.js +14 -0
  686. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
  687. package/dist/esm/generated/src/operationsInterfaces/pageBlob.d.ts +79 -0
  688. package/dist/esm/generated/src/operationsInterfaces/pageBlob.d.ts.map +1 -0
  689. package/dist/esm/generated/src/operationsInterfaces/pageBlob.js +9 -0
  690. package/dist/esm/generated/src/operationsInterfaces/pageBlob.js.map +1 -0
  691. package/dist/esm/generated/src/operationsInterfaces/service.d.ts +59 -0
  692. package/dist/esm/generated/src/operationsInterfaces/service.d.ts.map +1 -0
  693. package/dist/esm/generated/src/operationsInterfaces/service.js +9 -0
  694. package/dist/esm/generated/src/operationsInterfaces/service.js.map +1 -0
  695. package/dist/esm/generated/src/storageClient.d.ts +21 -0
  696. package/dist/esm/generated/src/storageClient.d.ts.map +1 -0
  697. package/dist/esm/generated/src/storageClient.js +61 -0
  698. package/dist/esm/generated/src/storageClient.js.map +1 -0
  699. package/dist/esm/generatedModels.d.ts +260 -0
  700. package/dist/esm/generatedModels.d.ts.map +1 -0
  701. package/dist/esm/generatedModels.js +8 -0
  702. package/dist/esm/generatedModels.js.map +1 -0
  703. package/dist/esm/index.d.ts +31 -0
  704. package/dist/esm/index.d.ts.map +1 -0
  705. package/dist/esm/index.js +25 -0
  706. package/dist/esm/index.js.map +1 -0
  707. package/dist/esm/internal-avro/AvroConstants.d.ts +5 -0
  708. package/dist/esm/internal-avro/AvroConstants.d.ts.map +1 -0
  709. package/dist/esm/internal-avro/AvroConstants.js +7 -0
  710. package/dist/esm/internal-avro/AvroConstants.js.map +1 -0
  711. package/dist/esm/internal-avro/AvroParser.d.ts +57 -0
  712. package/dist/esm/internal-avro/AvroParser.d.ts.map +1 -0
  713. package/dist/esm/internal-avro/AvroParser.js +323 -0
  714. package/dist/esm/internal-avro/AvroParser.js.map +1 -0
  715. package/dist/esm/internal-avro/AvroReadable.d.ts +16 -0
  716. package/dist/esm/internal-avro/AvroReadable.d.ts.map +1 -0
  717. package/dist/esm/internal-avro/AvroReadable.js +5 -0
  718. package/dist/esm/internal-avro/AvroReadable.js.map +1 -0
  719. package/dist/esm/internal-avro/AvroReadableFromBlob.d.ts +10 -0
  720. package/dist/esm/internal-avro/AvroReadableFromBlob.d.ts.map +1 -0
  721. package/dist/esm/internal-avro/AvroReadableFromBlob.js +49 -0
  722. package/dist/esm/internal-avro/AvroReadableFromBlob.js.map +1 -0
  723. package/dist/esm/internal-avro/AvroReadableFromStream.d.ts +11 -0
  724. package/dist/esm/internal-avro/AvroReadableFromStream.d.ts.map +1 -0
  725. package/dist/esm/internal-avro/AvroReadableFromStream.js +86 -0
  726. package/dist/esm/internal-avro/AvroReadableFromStream.js.map +1 -0
  727. package/dist/esm/internal-avro/AvroReader.d.ts +32 -0
  728. package/dist/esm/internal-avro/AvroReader.d.ts.map +1 -0
  729. package/dist/esm/internal-avro/AvroReader.js +116 -0
  730. package/dist/esm/internal-avro/AvroReader.js.map +1 -0
  731. package/dist/esm/internal-avro/index.d.ts +4 -0
  732. package/dist/esm/internal-avro/index.d.ts.map +1 -0
  733. package/dist/esm/internal-avro/index.js +6 -0
  734. package/dist/esm/internal-avro/index.js.map +1 -0
  735. package/dist/esm/internal-avro/utils/utils.common.d.ts +6 -0
  736. package/dist/esm/internal-avro/utils/utils.common.d.ts.map +1 -0
  737. package/dist/esm/internal-avro/utils/utils.common.js +16 -0
  738. package/dist/esm/internal-avro/utils/utils.common.js.map +1 -0
  739. package/dist/esm/log.d.ts +5 -0
  740. package/dist/esm/log.d.ts.map +1 -0
  741. package/dist/esm/log.js +8 -0
  742. package/dist/esm/log.js.map +1 -0
  743. package/dist/esm/models.d.ts +333 -0
  744. package/dist/esm/models.d.ts.map +1 -0
  745. package/dist/esm/models.js +115 -0
  746. package/dist/esm/models.js.map +1 -0
  747. package/dist/esm/package.json +3 -0
  748. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +17 -0
  749. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +1 -0
  750. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +18 -0
  751. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +1 -0
  752. package/dist/esm/pollers/BlobStartCopyFromUrlPoller.d.ts +74 -0
  753. package/dist/esm/pollers/BlobStartCopyFromUrlPoller.d.ts.map +1 -0
  754. package/dist/esm/pollers/BlobStartCopyFromUrlPoller.js +134 -0
  755. package/dist/esm/pollers/BlobStartCopyFromUrlPoller.js.map +1 -0
  756. package/dist/esm/sas/AccountSASPermissions.d.ts +146 -0
  757. package/dist/esm/sas/AccountSASPermissions.d.ts.map +1 -0
  758. package/dist/esm/sas/AccountSASPermissions.js +225 -0
  759. package/dist/esm/sas/AccountSASPermissions.js.map +1 -0
  760. package/dist/esm/sas/AccountSASResourceTypes.d.ts +38 -0
  761. package/dist/esm/sas/AccountSASResourceTypes.d.ts.map +1 -0
  762. package/dist/esm/sas/AccountSASResourceTypes.js +70 -0
  763. package/dist/esm/sas/AccountSASResourceTypes.js.map +1 -0
  764. package/dist/esm/sas/AccountSASServices.d.ts +40 -0
  765. package/dist/esm/sas/AccountSASServices.d.ts.map +1 -0
  766. package/dist/esm/sas/AccountSASServices.js +78 -0
  767. package/dist/esm/sas/AccountSASServices.js.map +1 -0
  768. package/dist/esm/sas/AccountSASSignatureValues.d.ts +78 -0
  769. package/dist/esm/sas/AccountSASSignatureValues.d.ts.map +1 -0
  770. package/dist/esm/sas/AccountSASSignatureValues.js +100 -0
  771. package/dist/esm/sas/AccountSASSignatureValues.js.map +1 -0
  772. package/dist/esm/sas/BlobSASPermissions.d.ts +127 -0
  773. package/dist/esm/sas/BlobSASPermissions.d.ts.map +1 -0
  774. package/dist/esm/sas/BlobSASPermissions.js +193 -0
  775. package/dist/esm/sas/BlobSASPermissions.js.map +1 -0
  776. package/dist/esm/sas/BlobSASSignatureValues.d.ts +289 -0
  777. package/dist/esm/sas/BlobSASSignatureValues.d.ts.map +1 -0
  778. package/dist/esm/sas/BlobSASSignatureValues.js +666 -0
  779. package/dist/esm/sas/BlobSASSignatureValues.js.map +1 -0
  780. package/dist/esm/sas/ContainerSASPermissions.d.ts +143 -0
  781. package/dist/esm/sas/ContainerSASPermissions.d.ts.map +1 -0
  782. package/dist/esm/sas/ContainerSASPermissions.js +219 -0
  783. package/dist/esm/sas/ContainerSASPermissions.js.map +1 -0
  784. package/dist/esm/sas/SASQueryParameters.d.ts +298 -0
  785. package/dist/esm/sas/SASQueryParameters.d.ts.map +1 -0
  786. package/dist/esm/sas/SASQueryParameters.js +363 -0
  787. package/dist/esm/sas/SASQueryParameters.js.map +1 -0
  788. package/dist/esm/sas/SasIPRange.d.ts +24 -0
  789. package/dist/esm/sas/SasIPRange.d.ts.map +1 -0
  790. package/dist/esm/sas/SasIPRange.js +13 -0
  791. package/dist/esm/sas/SasIPRange.js.map +1 -0
  792. package/dist/esm/utils/Batch.d.ts +68 -0
  793. package/dist/esm/utils/Batch.d.ts.map +1 -0
  794. package/dist/esm/utils/Batch.js +130 -0
  795. package/dist/esm/utils/Batch.js.map +1 -0
  796. package/dist/esm/utils/BlobQuickQueryStream.d.ts +42 -0
  797. package/dist/esm/utils/BlobQuickQueryStream.d.ts.map +1 -0
  798. package/dist/esm/utils/BlobQuickQueryStream.js +116 -0
  799. package/dist/esm/utils/BlobQuickQueryStream.js.map +1 -0
  800. package/dist/esm/utils/Mutex.d.ts +23 -0
  801. package/dist/esm/utils/Mutex.d.ts.map +1 -0
  802. package/dist/esm/utils/Mutex.js +65 -0
  803. package/dist/esm/utils/Mutex.js.map +1 -0
  804. package/dist/esm/utils/RetriableReadableStream.d.ts +62 -0
  805. package/dist/esm/utils/RetriableReadableStream.d.ts.map +1 -0
  806. package/dist/esm/utils/RetriableReadableStream.js +127 -0
  807. package/dist/esm/utils/RetriableReadableStream.js.map +1 -0
  808. package/dist/esm/utils/SharedKeyComparator.d.ts +2 -0
  809. package/dist/esm/utils/SharedKeyComparator.d.ts.map +1 -0
  810. package/dist/esm/utils/SharedKeyComparator.js +73 -0
  811. package/dist/esm/utils/SharedKeyComparator.js.map +1 -0
  812. package/dist/esm/utils/constants.d.ts +70 -0
  813. package/dist/esm/utils/constants.d.ts.map +1 -0
  814. package/dist/esm/utils/constants.js +226 -0
  815. package/dist/esm/utils/constants.js.map +1 -0
  816. package/dist/esm/utils/tracing.d.ts +6 -0
  817. package/dist/esm/utils/tracing.d.ts.map +1 -0
  818. package/dist/esm/utils/tracing.js +14 -0
  819. package/dist/esm/utils/tracing.js.map +1 -0
  820. package/dist/esm/utils/utils.common.d.ts +323 -0
  821. package/dist/esm/utils/utils.common.d.ts.map +1 -0
  822. package/dist/esm/utils/utils.common.js +769 -0
  823. package/dist/esm/utils/utils.common.js.map +1 -0
  824. package/dist/esm/utils/utils.d.ts +46 -0
  825. package/dist/esm/utils/utils.d.ts.map +1 -0
  826. package/dist/esm/utils/utils.js +132 -0
  827. package/dist/esm/utils/utils.js.map +1 -0
  828. package/dist/react-native/BatchResponse.d.ts +49 -0
  829. package/dist/react-native/BatchResponse.d.ts.map +1 -0
  830. package/dist/react-native/BatchResponse.js +4 -0
  831. package/dist/react-native/BatchResponse.js.map +1 -0
  832. package/dist/react-native/BatchResponseParser.d.ts +16 -0
  833. package/dist/react-native/BatchResponseParser.d.ts.map +1 -0
  834. package/dist/react-native/BatchResponseParser.js +142 -0
  835. package/dist/react-native/BatchResponseParser.js.map +1 -0
  836. package/dist/react-native/BatchUtils.d.ts +4 -0
  837. package/dist/react-native/BatchUtils.d.ts.map +1 -0
  838. package/dist/react-native/BatchUtils.js +15 -0
  839. package/dist/react-native/BatchUtils.js.map +1 -0
  840. package/dist/react-native/BlobBatch.d.ts +111 -0
  841. package/dist/react-native/BlobBatch.d.ts.map +1 -0
  842. package/dist/react-native/BlobBatch.js +274 -0
  843. package/dist/react-native/BlobBatch.js.map +1 -0
  844. package/dist/react-native/BlobBatchClient.d.ts +180 -0
  845. package/dist/react-native/BlobBatchClient.d.ts.map +1 -0
  846. package/dist/react-native/BlobBatchClient.js +172 -0
  847. package/dist/react-native/BlobBatchClient.js.map +1 -0
  848. package/dist/react-native/BlobDownloadResponse-react-native.d.mts.map +1 -0
  849. package/dist/react-native/BlobDownloadResponse-react-native.mjs.map +1 -0
  850. package/dist/react-native/BlobDownloadResponse.d.ts +2 -0
  851. package/dist/react-native/BlobDownloadResponse.js +7 -0
  852. package/dist/react-native/BlobLeaseClient.d.ts +159 -0
  853. package/dist/react-native/BlobLeaseClient.d.ts.map +1 -0
  854. package/dist/react-native/BlobLeaseClient.js +201 -0
  855. package/dist/react-native/BlobLeaseClient.js.map +1 -0
  856. package/dist/react-native/BlobQueryResponse-react-native.d.mts.map +1 -0
  857. package/dist/react-native/BlobQueryResponse-react-native.mjs.map +1 -0
  858. package/dist/react-native/BlobQueryResponse.common.d.ts +291 -0
  859. package/dist/react-native/BlobQueryResponse.common.d.ts.map +1 -0
  860. package/dist/react-native/BlobQueryResponse.common.js +363 -0
  861. package/dist/react-native/BlobQueryResponse.common.js.map +1 -0
  862. package/dist/react-native/BlobQueryResponse.d.ts +2 -0
  863. package/dist/react-native/BlobQueryResponse.js +4 -0
  864. package/dist/react-native/BlobServiceClient.d.ts +615 -0
  865. package/dist/react-native/BlobServiceClient.d.ts.map +1 -0
  866. package/dist/react-native/BlobServiceClient.js +702 -0
  867. package/dist/react-native/BlobServiceClient.js.map +1 -0
  868. package/dist/react-native/Clients.d.ts +3233 -0
  869. package/dist/react-native/Clients.d.ts.map +1 -0
  870. package/dist/react-native/Clients.js +2845 -0
  871. package/dist/react-native/Clients.js.map +1 -0
  872. package/dist/react-native/ContainerClient.d.ts +1103 -0
  873. package/dist/react-native/ContainerClient.d.ts.map +1 -0
  874. package/dist/react-native/ContainerClient.js +1293 -0
  875. package/dist/react-native/ContainerClient.js.map +1 -0
  876. package/dist/react-native/PageBlobRangeResponse.d.ts +35 -0
  877. package/dist/react-native/PageBlobRangeResponse.d.ts.map +1 -0
  878. package/dist/react-native/PageBlobRangeResponse.js +31 -0
  879. package/dist/react-native/PageBlobRangeResponse.js.map +1 -0
  880. package/dist/react-native/Pipeline.d.ts +135 -0
  881. package/dist/react-native/Pipeline.d.ts.map +1 -0
  882. package/dist/react-native/Pipeline.js +271 -0
  883. package/dist/react-native/Pipeline.js.map +1 -0
  884. package/dist/react-native/Range.d.ts +24 -0
  885. package/dist/react-native/Range.d.ts.map +1 -0
  886. package/dist/react-native/Range.js +21 -0
  887. package/dist/react-native/Range.js.map +1 -0
  888. package/dist/react-native/StorageClient.d.ts +50 -0
  889. package/dist/react-native/StorageClient.d.ts.map +1 -0
  890. package/dist/react-native/StorageClient.js +52 -0
  891. package/dist/react-native/StorageClient.js.map +1 -0
  892. package/dist/react-native/StorageContextClient.d.ts +9 -0
  893. package/dist/react-native/StorageContextClient.d.ts.map +1 -0
  894. package/dist/react-native/StorageContextClient.js +17 -0
  895. package/dist/react-native/StorageContextClient.js.map +1 -0
  896. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.d.mts +3 -0
  897. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.d.mts.map +1 -0
  898. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.mjs +5 -0
  899. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.mjs.map +1 -0
  900. package/dist/react-native/generated/src/index.d.ts +4 -0
  901. package/dist/react-native/generated/src/index.d.ts.map +1 -0
  902. package/dist/react-native/generated/src/index.js +11 -0
  903. package/dist/react-native/generated/src/index.js.map +1 -0
  904. package/dist/react-native/generated/src/models/index.d.ts +3978 -0
  905. package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
  906. package/dist/react-native/generated/src/models/index.js +264 -0
  907. package/dist/react-native/generated/src/models/index.js.map +1 -0
  908. package/dist/react-native/generated/src/models/mappers.d.ts +181 -0
  909. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
  910. package/dist/react-native/generated/src/models/mappers.js +8330 -0
  911. package/dist/react-native/generated/src/models/mappers.js.map +1 -0
  912. package/dist/react-native/generated/src/models/parameters.d.ts +152 -0
  913. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
  914. package/dist/react-native/generated/src/models/parameters.js +1674 -0
  915. package/dist/react-native/generated/src/models/parameters.js.map +1 -0
  916. package/dist/react-native/generated/src/operations/appendBlob.d.ts +45 -0
  917. package/dist/react-native/generated/src/operations/appendBlob.d.ts.map +1 -0
  918. package/dist/react-native/generated/src/operations/appendBlob.js +223 -0
  919. package/dist/react-native/generated/src/operations/appendBlob.js.map +1 -0
  920. package/dist/react-native/generated/src/operations/blob.d.ts +178 -0
  921. package/dist/react-native/generated/src/operations/blob.d.ts.map +1 -0
  922. package/dist/react-native/generated/src/operations/blob.js +1030 -0
  923. package/dist/react-native/generated/src/operations/blob.js.map +1 -0
  924. package/dist/react-native/generated/src/operations/blockBlob.d.ts +79 -0
  925. package/dist/react-native/generated/src/operations/blockBlob.d.ts.map +1 -0
  926. package/dist/react-native/generated/src/operations/blockBlob.js +368 -0
  927. package/dist/react-native/generated/src/operations/blockBlob.js.map +1 -0
  928. package/dist/react-native/generated/src/operations/container.d.ts +130 -0
  929. package/dist/react-native/generated/src/operations/container.d.ts.map +1 -0
  930. package/dist/react-native/generated/src/operations/container.js +716 -0
  931. package/dist/react-native/generated/src/operations/container.js.map +1 -0
  932. package/dist/react-native/generated/src/operations/index.d.ts +7 -0
  933. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
  934. package/dist/react-native/generated/src/operations/index.js +14 -0
  935. package/dist/react-native/generated/src/operations/index.js.map +1 -0
  936. package/dist/react-native/generated/src/operations/pageBlob.d.ts +87 -0
  937. package/dist/react-native/generated/src/operations/pageBlob.d.ts.map +1 -0
  938. package/dist/react-native/generated/src/operations/pageBlob.js +458 -0
  939. package/dist/react-native/generated/src/operations/pageBlob.js.map +1 -0
  940. package/dist/react-native/generated/src/operations/service.d.ts +67 -0
  941. package/dist/react-native/generated/src/operations/service.d.ts.map +1 -0
  942. package/dist/react-native/generated/src/operations/service.js +324 -0
  943. package/dist/react-native/generated/src/operations/service.js.map +1 -0
  944. package/dist/react-native/generated/src/operationsInterfaces/appendBlob.d.ts +37 -0
  945. package/dist/react-native/generated/src/operationsInterfaces/appendBlob.d.ts.map +1 -0
  946. package/dist/react-native/generated/src/operationsInterfaces/appendBlob.js +9 -0
  947. package/dist/react-native/generated/src/operationsInterfaces/appendBlob.js.map +1 -0
  948. package/dist/react-native/generated/src/operationsInterfaces/blob.d.ts +170 -0
  949. package/dist/react-native/generated/src/operationsInterfaces/blob.d.ts.map +1 -0
  950. package/dist/react-native/generated/src/operationsInterfaces/blob.js +9 -0
  951. package/dist/react-native/generated/src/operationsInterfaces/blob.js.map +1 -0
  952. package/dist/react-native/generated/src/operationsInterfaces/blockBlob.d.ts +71 -0
  953. package/dist/react-native/generated/src/operationsInterfaces/blockBlob.d.ts.map +1 -0
  954. package/dist/react-native/generated/src/operationsInterfaces/blockBlob.js +9 -0
  955. package/dist/react-native/generated/src/operationsInterfaces/blockBlob.js.map +1 -0
  956. package/dist/react-native/generated/src/operationsInterfaces/container.d.ts +122 -0
  957. package/dist/react-native/generated/src/operationsInterfaces/container.d.ts.map +1 -0
  958. package/dist/react-native/generated/src/operationsInterfaces/container.js +9 -0
  959. package/dist/react-native/generated/src/operationsInterfaces/container.js.map +1 -0
  960. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +7 -0
  961. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  962. package/dist/react-native/generated/src/operationsInterfaces/index.js +14 -0
  963. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
  964. package/dist/react-native/generated/src/operationsInterfaces/pageBlob.d.ts +79 -0
  965. package/dist/react-native/generated/src/operationsInterfaces/pageBlob.d.ts.map +1 -0
  966. package/dist/react-native/generated/src/operationsInterfaces/pageBlob.js +9 -0
  967. package/dist/react-native/generated/src/operationsInterfaces/pageBlob.js.map +1 -0
  968. package/dist/react-native/generated/src/operationsInterfaces/service.d.ts +59 -0
  969. package/dist/react-native/generated/src/operationsInterfaces/service.d.ts.map +1 -0
  970. package/dist/react-native/generated/src/operationsInterfaces/service.js +9 -0
  971. package/dist/react-native/generated/src/operationsInterfaces/service.js.map +1 -0
  972. package/dist/react-native/generated/src/storageClient.d.ts +21 -0
  973. package/dist/react-native/generated/src/storageClient.d.ts.map +1 -0
  974. package/dist/react-native/generated/src/storageClient.js +61 -0
  975. package/dist/react-native/generated/src/storageClient.js.map +1 -0
  976. package/dist/react-native/generatedModels.d.ts +260 -0
  977. package/dist/react-native/generatedModels.d.ts.map +1 -0
  978. package/dist/react-native/generatedModels.js +8 -0
  979. package/dist/react-native/generatedModels.js.map +1 -0
  980. package/dist/react-native/index.d.ts +31 -0
  981. package/dist/react-native/index.d.ts.map +1 -0
  982. package/dist/react-native/index.js +25 -0
  983. package/dist/react-native/index.js.map +1 -0
  984. package/dist/react-native/internal-avro/AvroConstants.d.ts +5 -0
  985. package/dist/react-native/internal-avro/AvroConstants.d.ts.map +1 -0
  986. package/dist/react-native/internal-avro/AvroConstants.js +7 -0
  987. package/dist/react-native/internal-avro/AvroConstants.js.map +1 -0
  988. package/dist/react-native/internal-avro/AvroParser.d.ts +57 -0
  989. package/dist/react-native/internal-avro/AvroParser.d.ts.map +1 -0
  990. package/dist/react-native/internal-avro/AvroParser.js +323 -0
  991. package/dist/react-native/internal-avro/AvroParser.js.map +1 -0
  992. package/dist/react-native/internal-avro/AvroReadable.d.ts +16 -0
  993. package/dist/react-native/internal-avro/AvroReadable.d.ts.map +1 -0
  994. package/dist/react-native/internal-avro/AvroReadable.js +5 -0
  995. package/dist/react-native/internal-avro/AvroReadable.js.map +1 -0
  996. package/dist/react-native/internal-avro/AvroReadableFromBlob.d.ts +10 -0
  997. package/dist/react-native/internal-avro/AvroReadableFromBlob.d.ts.map +1 -0
  998. package/dist/react-native/internal-avro/AvroReadableFromBlob.js +49 -0
  999. package/dist/react-native/internal-avro/AvroReadableFromBlob.js.map +1 -0
  1000. package/dist/react-native/internal-avro/AvroReadableFromStream.d.ts +11 -0
  1001. package/dist/react-native/internal-avro/AvroReadableFromStream.d.ts.map +1 -0
  1002. package/dist/react-native/internal-avro/AvroReadableFromStream.js +86 -0
  1003. package/dist/react-native/internal-avro/AvroReadableFromStream.js.map +1 -0
  1004. package/dist/react-native/internal-avro/AvroReader.d.ts +32 -0
  1005. package/dist/react-native/internal-avro/AvroReader.d.ts.map +1 -0
  1006. package/dist/react-native/internal-avro/AvroReader.js +116 -0
  1007. package/dist/react-native/internal-avro/AvroReader.js.map +1 -0
  1008. package/dist/react-native/internal-avro/index.d.ts +4 -0
  1009. package/dist/react-native/internal-avro/index.d.ts.map +1 -0
  1010. package/dist/react-native/internal-avro/index.js +6 -0
  1011. package/dist/react-native/internal-avro/index.js.map +1 -0
  1012. package/dist/react-native/internal-avro/utils/utils.common.d.ts +6 -0
  1013. package/dist/react-native/internal-avro/utils/utils.common.d.ts.map +1 -0
  1014. package/dist/react-native/internal-avro/utils/utils.common.js +16 -0
  1015. package/dist/react-native/internal-avro/utils/utils.common.js.map +1 -0
  1016. package/dist/react-native/log.d.ts +5 -0
  1017. package/dist/react-native/log.d.ts.map +1 -0
  1018. package/dist/react-native/log.js +8 -0
  1019. package/dist/react-native/log.js.map +1 -0
  1020. package/dist/react-native/models.d.ts +333 -0
  1021. package/dist/react-native/models.d.ts.map +1 -0
  1022. package/dist/react-native/models.js +115 -0
  1023. package/dist/react-native/models.js.map +1 -0
  1024. package/dist/react-native/package.json +3 -0
  1025. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +17 -0
  1026. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +1 -0
  1027. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +18 -0
  1028. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +1 -0
  1029. package/dist/react-native/pollers/BlobStartCopyFromUrlPoller.d.ts +74 -0
  1030. package/dist/react-native/pollers/BlobStartCopyFromUrlPoller.d.ts.map +1 -0
  1031. package/dist/react-native/pollers/BlobStartCopyFromUrlPoller.js +134 -0
  1032. package/dist/react-native/pollers/BlobStartCopyFromUrlPoller.js.map +1 -0
  1033. package/dist/react-native/sas/AccountSASPermissions.d.ts +146 -0
  1034. package/dist/react-native/sas/AccountSASPermissions.d.ts.map +1 -0
  1035. package/dist/react-native/sas/AccountSASPermissions.js +225 -0
  1036. package/dist/react-native/sas/AccountSASPermissions.js.map +1 -0
  1037. package/dist/react-native/sas/AccountSASResourceTypes.d.ts +38 -0
  1038. package/dist/react-native/sas/AccountSASResourceTypes.d.ts.map +1 -0
  1039. package/dist/react-native/sas/AccountSASResourceTypes.js +70 -0
  1040. package/dist/react-native/sas/AccountSASResourceTypes.js.map +1 -0
  1041. package/dist/react-native/sas/AccountSASServices.d.ts +40 -0
  1042. package/dist/react-native/sas/AccountSASServices.d.ts.map +1 -0
  1043. package/dist/react-native/sas/AccountSASServices.js +78 -0
  1044. package/dist/react-native/sas/AccountSASServices.js.map +1 -0
  1045. package/dist/react-native/sas/AccountSASSignatureValues.d.ts +78 -0
  1046. package/dist/react-native/sas/AccountSASSignatureValues.d.ts.map +1 -0
  1047. package/dist/react-native/sas/AccountSASSignatureValues.js +100 -0
  1048. package/dist/react-native/sas/AccountSASSignatureValues.js.map +1 -0
  1049. package/dist/react-native/sas/BlobSASPermissions.d.ts +127 -0
  1050. package/dist/react-native/sas/BlobSASPermissions.d.ts.map +1 -0
  1051. package/dist/react-native/sas/BlobSASPermissions.js +193 -0
  1052. package/dist/react-native/sas/BlobSASPermissions.js.map +1 -0
  1053. package/dist/react-native/sas/BlobSASSignatureValues.d.ts +289 -0
  1054. package/dist/react-native/sas/BlobSASSignatureValues.d.ts.map +1 -0
  1055. package/dist/react-native/sas/BlobSASSignatureValues.js +666 -0
  1056. package/dist/react-native/sas/BlobSASSignatureValues.js.map +1 -0
  1057. package/dist/react-native/sas/ContainerSASPermissions.d.ts +143 -0
  1058. package/dist/react-native/sas/ContainerSASPermissions.d.ts.map +1 -0
  1059. package/dist/react-native/sas/ContainerSASPermissions.js +219 -0
  1060. package/dist/react-native/sas/ContainerSASPermissions.js.map +1 -0
  1061. package/dist/react-native/sas/SASQueryParameters.d.ts +298 -0
  1062. package/dist/react-native/sas/SASQueryParameters.d.ts.map +1 -0
  1063. package/dist/react-native/sas/SASQueryParameters.js +363 -0
  1064. package/dist/react-native/sas/SASQueryParameters.js.map +1 -0
  1065. package/dist/react-native/sas/SasIPRange.d.ts +24 -0
  1066. package/dist/react-native/sas/SasIPRange.d.ts.map +1 -0
  1067. package/dist/react-native/sas/SasIPRange.js +13 -0
  1068. package/dist/react-native/sas/SasIPRange.js.map +1 -0
  1069. package/dist/react-native/utils/Batch.d.ts +68 -0
  1070. package/dist/react-native/utils/Batch.d.ts.map +1 -0
  1071. package/dist/react-native/utils/Batch.js +130 -0
  1072. package/dist/react-native/utils/Batch.js.map +1 -0
  1073. package/dist/react-native/utils/BlobQuickQueryStream.d.ts +42 -0
  1074. package/dist/react-native/utils/BlobQuickQueryStream.d.ts.map +1 -0
  1075. package/dist/react-native/utils/BlobQuickQueryStream.js +116 -0
  1076. package/dist/react-native/utils/BlobQuickQueryStream.js.map +1 -0
  1077. package/dist/react-native/utils/Mutex.d.ts +23 -0
  1078. package/dist/react-native/utils/Mutex.d.ts.map +1 -0
  1079. package/dist/react-native/utils/Mutex.js +65 -0
  1080. package/dist/react-native/utils/Mutex.js.map +1 -0
  1081. package/dist/react-native/utils/RetriableReadableStream.d.ts +62 -0
  1082. package/dist/react-native/utils/RetriableReadableStream.d.ts.map +1 -0
  1083. package/dist/react-native/utils/RetriableReadableStream.js +127 -0
  1084. package/dist/react-native/utils/RetriableReadableStream.js.map +1 -0
  1085. package/dist/react-native/utils/SharedKeyComparator.d.ts +2 -0
  1086. package/dist/react-native/utils/SharedKeyComparator.d.ts.map +1 -0
  1087. package/dist/react-native/utils/SharedKeyComparator.js +73 -0
  1088. package/dist/react-native/utils/SharedKeyComparator.js.map +1 -0
  1089. package/dist/react-native/utils/constants.d.ts +70 -0
  1090. package/dist/react-native/utils/constants.d.ts.map +1 -0
  1091. package/dist/react-native/utils/constants.js +226 -0
  1092. package/dist/react-native/utils/constants.js.map +1 -0
  1093. package/dist/react-native/utils/tracing.d.ts +6 -0
  1094. package/dist/react-native/utils/tracing.d.ts.map +1 -0
  1095. package/dist/react-native/utils/tracing.js +14 -0
  1096. package/dist/react-native/utils/tracing.js.map +1 -0
  1097. package/dist/react-native/utils/utils-react-native.d.mts.map +1 -0
  1098. package/dist/react-native/utils/utils-react-native.mjs.map +1 -0
  1099. package/dist/react-native/utils/utils.common.d.ts +323 -0
  1100. package/dist/react-native/utils/utils.common.d.ts.map +1 -0
  1101. package/dist/react-native/utils/utils.common.js +769 -0
  1102. package/dist/react-native/utils/utils.common.js.map +1 -0
  1103. package/dist/react-native/utils/utils.d.ts +6 -0
  1104. package/dist/react-native/utils/utils.js +18 -0
  1105. package/package.json +225 -0
@@ -0,0 +1,3233 @@
1
+ import type { AbortSignalLike } from "@azure/abort-controller";
2
+ import type { RequestBodyType as HttpRequestBody, TransferProgressEvent } from "@azure/core-rest-pipeline";
3
+ import type { TokenCredential } from "@azure/core-auth";
4
+ import type { PollOperationState } from "@azure/core-lro";
5
+ import type { Readable } from "node:stream";
6
+ import { AnonymousCredential, StorageSharedKeyCredential, UserDelegationKey } from "@azure/storage-common";
7
+ import type { AppendBlobAppendBlockFromUrlResponse, AppendBlobAppendBlockResponse, AppendBlobCreateResponse, BlobAbortCopyFromURLResponse, BlobCopyFromURLResponse, BlobCreateSnapshotResponse, BlobDeleteResponse, BlobDownloadResponseModel, BlobGetAccountInfoResponse, BlobGetPropertiesResponseModel, BlobGetTagsHeaders, BlobSetHTTPHeadersResponse, BlobSetTagsResponse, BlobSetTierResponse, BlobStartCopyFromURLResponse, BlobTags, BlobUndeleteResponse, BlockBlobCommitBlockListResponse, BlockBlobGetBlockListResponse, BlockBlobStageBlockFromURLResponse, BlockBlobStageBlockResponse, BlockBlobUploadHeaders, BlockBlobUploadResponse, BlockListType, CpkInfo, DeleteSnapshotsOptionType, LeaseAccessConditions, PageBlobClearPagesResponse, PageBlobCopyIncrementalResponse, PageBlobCreateResponse, PageBlobResizeResponse, PageBlobUpdateSequenceNumberResponse, PageBlobUploadPagesFromURLResponse, PageBlobUploadPagesResponse, RehydratePriority, SequenceNumberActionType, BlockBlobPutBlobFromUrlResponse, BlobHTTPHeaders, PageBlobGetPageRangesResponseModel, PageRangeInfo, PageBlobGetPageRangesDiffResponseModel, BlobCopySourceTags, BlobDeleteImmutabilityPolicyResponse, BlobSetImmutabilityPolicyResponse, BlobSetLegalHoldResponse, BlobSetMetadataResponse, FileShareTokenIntent, BlobModifiedAccessConditions } from "./generatedModels.js";
8
+ import type { AppendBlobRequestConditions, BlobDownloadResponseParsed, BlobRequestConditions, BlockBlobTier, Metadata, ObjectReplicationPolicy, PageBlobRequestConditions, PremiumPageBlobTier, Tags, TagConditions, MatchConditions, ModificationConditions, ModifiedAccessConditions, BlobQueryArrowField, BlobImmutabilityPolicy, HttpAuthorization, PollerLikeWithCancellation } from "./models.js";
9
+ import type { PageBlobGetPageRangesDiffResponse, PageBlobGetPageRangesResponse } from "./PageBlobRangeResponse.js";
10
+ import type { PipelineLike, StoragePipelineOptions } from "./Pipeline.js";
11
+ import type { BlobBeginCopyFromUrlPollState } from "./pollers/BlobStartCopyFromUrlPoller.js";
12
+ import type { Range } from "./Range.js";
13
+ import type { CommonOptions } from "./StorageClient.js";
14
+ import { StorageClient } from "./StorageClient.js";
15
+ import type { WithResponse } from "./utils/utils.common.js";
16
+ import type { SASProtocol } from "./sas/SASQueryParameters.js";
17
+ import type { SasIPRange } from "./sas/SasIPRange.js";
18
+ import type { BlobSASPermissions } from "./sas/BlobSASPermissions.js";
19
+ import { BlobLeaseClient } from "./BlobLeaseClient.js";
20
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
21
+ /**
22
+ * Options to configure the {@link BlobClient.beginCopyFromURL} operation.
23
+ */
24
+ export interface BlobBeginCopyFromURLOptions extends BlobStartCopyFromURLOptions {
25
+ /**
26
+ * The amount of time in milliseconds the poller should wait between
27
+ * calls to the service to determine the status of the Blob copy.
28
+ * Defaults to 15 seconds.
29
+ */
30
+ intervalInMs?: number;
31
+ /**
32
+ * Callback to receive the state of the copy progress.
33
+ */
34
+ onProgress?: (state: BlobBeginCopyFromUrlPollState) => void;
35
+ /**
36
+ * Serialized poller state that can be used to resume polling from.
37
+ * This may be useful when starting a copy on one process or thread
38
+ * and you wish to continue polling on another process or thread.
39
+ *
40
+ * To get serialized poller state, call `poller.toString()` on an existing
41
+ * poller.
42
+ */
43
+ resumeFrom?: string;
44
+ }
45
+ /**
46
+ * Contains response data for the {@link BlobClient.beginCopyFromURL} operation.
47
+ */
48
+ export interface BlobBeginCopyFromURLResponse extends BlobStartCopyFromURLResponse {
49
+ }
50
+ /**
51
+ * Options to configure the {@link BlobClient.download} operation.
52
+ */
53
+ export interface BlobDownloadOptions extends CommonOptions {
54
+ /**
55
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
56
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
57
+ */
58
+ abortSignal?: AbortSignalLike;
59
+ /**
60
+ * An opaque DateTime string value that, when present, specifies the blob snapshot to retrieve.
61
+ */
62
+ snapshot?: string;
63
+ /**
64
+ * When this is set to true and download range of blob, the service returns the MD5 hash for the range,
65
+ * as long as the range is less than or equal to 4 MB in size.
66
+ *
67
+ * rangeGetContentCrc64 and rangeGetContentMD5 cannot be set at same time.
68
+ */
69
+ rangeGetContentMD5?: boolean;
70
+ /**
71
+ * When this is set to true and download range of blob, the service returns the CRC64 hash for the range,
72
+ * as long as the range is less than or equal to 4 MB in size.
73
+ *
74
+ * rangeGetContentCrc64 and rangeGetContentMD5 cannot be set at same time.
75
+ */
76
+ rangeGetContentCrc64?: boolean;
77
+ /**
78
+ * Conditions to meet when downloading blobs.
79
+ */
80
+ conditions?: BlobRequestConditions;
81
+ /**
82
+ * Call back to receive events on the progress of download operation.
83
+ */
84
+ onProgress?: (progress: TransferProgressEvent) => void;
85
+ /**
86
+ * Optional. ONLY AVAILABLE IN NODE.JS.
87
+ *
88
+ * How many retries will perform when original body download stream unexpected ends.
89
+ * Above kind of ends will not trigger retry policy defined in a pipeline,
90
+ * because they doesn't emit network errors.
91
+ *
92
+ * With this option, every additional retry means an additional `FileClient.download()` request will be made
93
+ * from the broken point, until the requested range has been successfully downloaded or maxRetryRequests is reached.
94
+ *
95
+ * Default value is 5, please set a larger value when loading large files in poor network.
96
+ */
97
+ maxRetryRequests?: number;
98
+ /**
99
+ * Customer Provided Key Info.
100
+ */
101
+ customerProvidedKey?: CpkInfo;
102
+ }
103
+ /**
104
+ * Options to configure the {@link BlobClient.exists} operation.
105
+ */
106
+ export interface BlobExistsOptions extends CommonOptions {
107
+ /**
108
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
109
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
110
+ */
111
+ abortSignal?: AbortSignalLike;
112
+ /**
113
+ * Customer Provided Key Info.
114
+ */
115
+ customerProvidedKey?: CpkInfo;
116
+ /**
117
+ * Conditions to meet.
118
+ */
119
+ conditions?: BlobRequestConditions;
120
+ }
121
+ /**
122
+ * Options to configure the {@link BlobClient.getProperties} operation.
123
+ */
124
+ export interface BlobGetPropertiesOptions extends CommonOptions {
125
+ /**
126
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
127
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
128
+ */
129
+ abortSignal?: AbortSignalLike;
130
+ /**
131
+ * Conditions to meet when getting blob properties.
132
+ */
133
+ conditions?: BlobRequestConditions;
134
+ /**
135
+ * Customer Provided Key Info.
136
+ */
137
+ customerProvidedKey?: CpkInfo;
138
+ }
139
+ /**
140
+ * Options to configure the {@link BlobClient.delete} operation.
141
+ */
142
+ export interface BlobDeleteOptions extends CommonOptions {
143
+ /**
144
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
145
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
146
+ */
147
+ abortSignal?: AbortSignalLike;
148
+ /**
149
+ * Conditions to meet when deleting blobs.
150
+ */
151
+ conditions?: BlobRequestConditions;
152
+ /**
153
+ * Specifies options to delete blobs that have associated snapshots.
154
+ * - `include`: Delete the base blob and all of its snapshots.
155
+ * - `only`: Delete only the blob's snapshots and not the blob itself.
156
+ */
157
+ deleteSnapshots?: DeleteSnapshotsOptionType;
158
+ /**
159
+ * Customer Provided Key Info.
160
+ */
161
+ customerProvidedKey?: CpkInfo;
162
+ }
163
+ /**
164
+ * Options to configure the {@link BlobClient.undelete} operation.
165
+ */
166
+ export interface BlobUndeleteOptions extends CommonOptions {
167
+ /**
168
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
169
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
170
+ */
171
+ abortSignal?: AbortSignalLike;
172
+ /**
173
+ * Customer Provided Key Info.
174
+ */
175
+ customerProvidedKey?: CpkInfo;
176
+ }
177
+ /**
178
+ * Options to configure the {@link BlobClient.setHTTPHeaders} operation.
179
+ */
180
+ export interface BlobSetHTTPHeadersOptions extends CommonOptions {
181
+ /**
182
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
183
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
184
+ */
185
+ abortSignal?: AbortSignalLike;
186
+ /**
187
+ * Conditions to meet when setting blob HTTP headers.
188
+ */
189
+ conditions?: BlobRequestConditions;
190
+ /**
191
+ * Customer Provided Key Info.
192
+ */
193
+ customerProvidedKey?: CpkInfo;
194
+ }
195
+ /**
196
+ * Options to configure the {@link BlobClient.setMetadata} operation.
197
+ */
198
+ export interface BlobSetMetadataOptions extends CommonOptions {
199
+ /**
200
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
201
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
202
+ */
203
+ abortSignal?: AbortSignalLike;
204
+ /**
205
+ * Conditions to meet when setting blob metadata.
206
+ */
207
+ conditions?: BlobRequestConditions;
208
+ /**
209
+ * Customer Provided Key Info.
210
+ */
211
+ customerProvidedKey?: CpkInfo;
212
+ /**
213
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
214
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
215
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
216
+ * Storage Services.
217
+ */
218
+ encryptionScope?: string;
219
+ }
220
+ /**
221
+ * Options to configure the {@link BlobClient.setTags} operation.
222
+ */
223
+ export interface BlobSetTagsOptions extends CommonOptions {
224
+ /**
225
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
226
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
227
+ */
228
+ abortSignal?: AbortSignalLike;
229
+ /**
230
+ * Conditions to meet for the blob to perform this operation.
231
+ */
232
+ conditions?: TagConditions & LeaseAccessConditions & BlobModifiedAccessConditions;
233
+ }
234
+ /**
235
+ * Options to configure the {@link BlobClient.getTags} operation.
236
+ */
237
+ export interface BlobGetTagsOptions extends CommonOptions {
238
+ /**
239
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
240
+ * For example, use the @azure/abort-controller to create an `AbortSignal`.
241
+ */
242
+ abortSignal?: AbortSignalLike;
243
+ /**
244
+ * Conditions to meet for the blob to perform this operation.
245
+ */
246
+ conditions?: TagConditions & LeaseAccessConditions & BlobModifiedAccessConditions;
247
+ }
248
+ /**
249
+ * Contains response data for the {@link BlobClient.getTags} operation.
250
+ */
251
+ export type BlobGetTagsResponse = WithResponse<{
252
+ tags: Tags;
253
+ } & BlobGetTagsHeaders, BlobGetTagsHeaders, BlobTags>;
254
+ /**
255
+ * Options to configure Blob - Acquire Lease operation.
256
+ */
257
+ export interface BlobAcquireLeaseOptions extends CommonOptions {
258
+ /**
259
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
260
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
261
+ */
262
+ abortSignal?: AbortSignalLike;
263
+ /**
264
+ * Conditions to meet when acquiring the lease of a blob.
265
+ */
266
+ conditions?: ModifiedAccessConditions;
267
+ }
268
+ /**
269
+ * Options to configure Blob - Release Lease operation.
270
+ */
271
+ export interface BlobReleaseLeaseOptions extends CommonOptions {
272
+ /**
273
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
274
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
275
+ */
276
+ abortSignal?: AbortSignalLike;
277
+ /**
278
+ * Conditions to meet when releasing the lease of a blob.
279
+ */
280
+ conditions?: ModifiedAccessConditions;
281
+ }
282
+ /**
283
+ * Options to configure Blob - Renew Lease operation.
284
+ */
285
+ export interface BlobRenewLeaseOptions extends CommonOptions {
286
+ /**
287
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
288
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
289
+ */
290
+ abortSignal?: AbortSignalLike;
291
+ /**
292
+ * Conditions to meet when renewing the lease of a blob.
293
+ */
294
+ conditions?: ModifiedAccessConditions;
295
+ }
296
+ /**
297
+ * Options to configure Blob - Change Lease operation.
298
+ */
299
+ export interface BlobChangeLeaseOptions extends CommonOptions {
300
+ /**
301
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
302
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
303
+ */
304
+ abortSignal?: AbortSignalLike;
305
+ /**
306
+ * Conditions to meet when changing the lease of a blob.
307
+ */
308
+ conditions?: ModifiedAccessConditions;
309
+ }
310
+ /**
311
+ * Options to configure Blob - Break Lease operation.
312
+ */
313
+ export interface BlobBreakLeaseOptions extends CommonOptions {
314
+ /**
315
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
316
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
317
+ */
318
+ abortSignal?: AbortSignalLike;
319
+ /**
320
+ * Conditions to meet when breaking the lease of a blob.
321
+ */
322
+ conditions?: ModifiedAccessConditions;
323
+ }
324
+ /**
325
+ * Options to configure the {@link BlobClient.createSnapshot} operation.
326
+ */
327
+ export interface BlobCreateSnapshotOptions extends CommonOptions {
328
+ /**
329
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
330
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
331
+ */
332
+ abortSignal?: AbortSignalLike;
333
+ /**
334
+ * A collection of key-value string pair to associate with the snapshot.
335
+ */
336
+ metadata?: Metadata;
337
+ /**
338
+ * Conditions to meet when creating blob snapshots.
339
+ */
340
+ conditions?: BlobRequestConditions;
341
+ /**
342
+ * Customer Provided Key Info.
343
+ */
344
+ customerProvidedKey?: CpkInfo;
345
+ /**
346
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
347
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
348
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
349
+ * Storage Services.
350
+ */
351
+ encryptionScope?: string;
352
+ }
353
+ /**
354
+ * Options to configure the {@link BlobClient.beginCopyFromURL} operation.
355
+ */
356
+ export interface BlobStartCopyFromURLOptions extends CommonOptions {
357
+ /**
358
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
359
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
360
+ */
361
+ abortSignal?: AbortSignalLike;
362
+ /**
363
+ * A collection of key-value string pair to associate with the blob that are being copied.
364
+ */
365
+ metadata?: Metadata;
366
+ /**
367
+ * Conditions to meet for the destination blob when copying from a URL to the blob.
368
+ */
369
+ conditions?: BlobRequestConditions;
370
+ /**
371
+ * Conditions to meet for the source Azure Blob/File when copying from a URL to the blob.
372
+ */
373
+ sourceConditions?: ModifiedAccessConditions;
374
+ /**
375
+ * Access tier.
376
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
377
+ */
378
+ tier?: BlockBlobTier | PremiumPageBlobTier | string;
379
+ /**
380
+ * Rehydrate Priority - possible values include 'High', 'Standard'.
381
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-rehydration#rehydrate-an-archived-blob-to-an-online-tier
382
+ */
383
+ rehydratePriority?: RehydratePriority;
384
+ /**
385
+ * Optional. Specifies immutability policy for a blob.
386
+ * Note that is parameter is only applicable to a blob within a container that
387
+ * has version level worm enabled.
388
+ */
389
+ immutabilityPolicy?: BlobImmutabilityPolicy;
390
+ /**
391
+ * Optional. Indicates if a legal hold should be placed on the blob.
392
+ * Note that is parameter is only applicable to a blob within a container that
393
+ * has version level worm enabled.
394
+ */
395
+ legalHold?: boolean;
396
+ /**
397
+ * Blob tags.
398
+ */
399
+ tags?: Tags;
400
+ /**
401
+ * Overrides the sealed state of the destination blob. Default true.
402
+ */
403
+ sealBlob?: boolean;
404
+ }
405
+ /**
406
+ * Options to configure the {@link BlobClient.abortCopyFromURL} operation.
407
+ */
408
+ export interface BlobAbortCopyFromURLOptions extends CommonOptions {
409
+ /**
410
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
411
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
412
+ */
413
+ abortSignal?: AbortSignalLike;
414
+ /**
415
+ * If specified, contains the lease id that must be matched and lease with this id
416
+ * must be active in order for the operation to succeed.
417
+ */
418
+ conditions?: LeaseAccessConditions;
419
+ }
420
+ /**
421
+ * Options to configure the {@link BlobClient.syncCopyFromURL} operation.
422
+ */
423
+ export interface BlobSyncCopyFromURLOptions extends CommonOptions {
424
+ /**
425
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
426
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
427
+ */
428
+ abortSignal?: AbortSignalLike;
429
+ /**
430
+ * A collection of key-value string pair to associate with the snapshot.
431
+ */
432
+ metadata?: Metadata;
433
+ /**
434
+ * Conditions to meet for the destination blob when copying from a URL to the blob.
435
+ */
436
+ conditions?: BlobRequestConditions;
437
+ /**
438
+ * Conditions to meet for the source Azure Blob/File when copying from a URL to the blob.
439
+ */
440
+ sourceConditions?: MatchConditions & ModificationConditions;
441
+ /**
442
+ * Access tier.
443
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
444
+ */
445
+ tier?: BlockBlobTier | PremiumPageBlobTier | string;
446
+ /**
447
+ * Specify the md5 calculated for the range of bytes that must be read from the copy source.
448
+ */
449
+ sourceContentMD5?: Uint8Array;
450
+ /**
451
+ * Optional. Specifies immutability policy for a blob.
452
+ * Note that is parameter is only applicable to a blob within a container that
453
+ * has version level worm enabled.
454
+ */
455
+ immutabilityPolicy?: BlobImmutabilityPolicy;
456
+ /**
457
+ * Optional. Indicates if a legal hold should be placed on the blob.
458
+ * Note that is parameter is only applicable to a blob within a container that
459
+ * has version level worm enabled.
460
+ */
461
+ legalHold?: boolean;
462
+ /**
463
+ * Blob tags.
464
+ */
465
+ tags?: Tags;
466
+ /**
467
+ * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.
468
+ */
469
+ sourceAuthorization?: HttpAuthorization;
470
+ /**
471
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services.
472
+ */
473
+ encryptionScope?: string;
474
+ /**
475
+ * Optional. Default 'REPLACE'. Indicates if source tags should be copied or replaced with the tags specified by {@link tags}.
476
+ */
477
+ copySourceTags?: BlobCopySourceTags;
478
+ /**
479
+ * Valid value is backup
480
+ */
481
+ sourceShareTokenIntent?: FileShareTokenIntent;
482
+ }
483
+ /**
484
+ * Options to configure the {@link BlobClient.setAccessTier} operation.
485
+ */
486
+ export interface BlobSetTierOptions extends CommonOptions {
487
+ /**
488
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
489
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
490
+ */
491
+ abortSignal?: AbortSignalLike;
492
+ /**
493
+ * If specified, contains the lease id that must be matched and lease with this id
494
+ * must be active in order for the operation to succeed.
495
+ */
496
+ conditions?: LeaseAccessConditions & TagConditions;
497
+ /**
498
+ * Rehydrate Priority - possible values include 'High', 'Standard'.
499
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-rehydration#rehydrate-an-archived-blob-to-an-online-tier
500
+ */
501
+ rehydratePriority?: RehydratePriority;
502
+ }
503
+ /**
504
+ * Option interface for the {@link BlobClient.downloadToBuffer} operation.
505
+ */
506
+ export interface BlobDownloadToBufferOptions extends CommonOptions {
507
+ /**
508
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
509
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
510
+ */
511
+ abortSignal?: AbortSignalLike;
512
+ /**
513
+ * blockSize is the data every request trying to download.
514
+ * Must be greater than or equal to 0.
515
+ * If set to 0 or undefined, blockSize will automatically calculated according to the blob size.
516
+ */
517
+ blockSize?: number;
518
+ /**
519
+ * Optional. ONLY AVAILABLE IN NODE.JS.
520
+ *
521
+ * How many retries will perform when original block download stream unexpected ends.
522
+ * Above kind of ends will not trigger retry policy defined in a pipeline,
523
+ * because they doesn't emit network errors.
524
+ *
525
+ * With this option, every additional retry means an additional FileClient.download() request will be made
526
+ * from the broken point, until the requested block has been successfully downloaded or
527
+ * maxRetryRequestsPerBlock is reached.
528
+ *
529
+ * Default value is 5, please set a larger value when in poor network.
530
+ */
531
+ maxRetryRequestsPerBlock?: number;
532
+ /**
533
+ * Progress updater.
534
+ */
535
+ onProgress?: (progress: TransferProgressEvent) => void;
536
+ /**
537
+ * Access conditions headers.
538
+ */
539
+ conditions?: BlobRequestConditions;
540
+ /**
541
+ * Concurrency of parallel download.
542
+ */
543
+ concurrency?: number;
544
+ /**
545
+ * Customer Provided Key Info.
546
+ */
547
+ customerProvidedKey?: CpkInfo;
548
+ }
549
+ /**
550
+ * Contains response data for the {@link BlobClient.deleteIfExists} operation.
551
+ */
552
+ export interface BlobDeleteIfExistsResponse extends BlobDeleteResponse {
553
+ /**
554
+ * Indicate whether the blob is successfully deleted. Is false if the blob does not exist in the first place.
555
+ */
556
+ succeeded: boolean;
557
+ }
558
+ /**
559
+ * Contains response data for the {@link BlobClient.getProperties} operation.
560
+ */
561
+ export interface BlobGetPropertiesResponse extends BlobGetPropertiesResponseModel {
562
+ /**
563
+ * Parsed Object Replication Policy Id, Rule Id(s) and status of the source blob.
564
+ */
565
+ objectReplicationSourceProperties?: ObjectReplicationPolicy[];
566
+ /**
567
+ * Object Replication Policy Id of the destination blob.
568
+ */
569
+ objectReplicationDestinationPolicyId?: string;
570
+ }
571
+ /**
572
+ * Common options of {@link BlobGenerateSasUrlOptions} and {@link ContainerGenerateSasUrlOptions}.
573
+ */
574
+ export interface CommonGenerateSasUrlOptions {
575
+ /**
576
+ * The version of the service this SAS will target. If not specified, it will default to the version targeted by the
577
+ * library.
578
+ */
579
+ version?: string;
580
+ /**
581
+ * Optional. SAS protocols, HTTPS only or HTTPSandHTTP
582
+ */
583
+ protocol?: SASProtocol;
584
+ /**
585
+ * Optional. When the SAS will take effect.
586
+ */
587
+ startsOn?: Date;
588
+ /**
589
+ * Optional only when identifier is provided. The time after which the SAS will no longer work.
590
+ */
591
+ expiresOn?: Date;
592
+ /**
593
+ * Optional. IP ranges allowed in this SAS.
594
+ */
595
+ ipRange?: SasIPRange;
596
+ /**
597
+ * Optional. The name of the access policy on the container this SAS references if any.
598
+ *
599
+ * @see https://learn.microsoft.com/rest/api/storageservices/establishing-a-stored-access-policy
600
+ */
601
+ identifier?: string;
602
+ /**
603
+ * Optional. Beginning in version 2025-07-05, this value specifies the Entra ID of the user would is authorized to
604
+ * use the resulting SAS URL. The resulting SAS URL must be used in conjunction with an Entra ID token that has been
605
+ * issued to the user specified in this value.
606
+ */
607
+ delegatedUserObjectId?: string;
608
+ /**
609
+ * Optional. Encryption scope to use when sending requests authorized with this SAS URI.
610
+ */
611
+ encryptionScope?: string;
612
+ /**
613
+ * Optional. The cache-control header for the SAS.
614
+ */
615
+ cacheControl?: string;
616
+ /**
617
+ * Optional. The content-disposition header for the SAS.
618
+ */
619
+ contentDisposition?: string;
620
+ /**
621
+ * Optional. The content-encoding header for the SAS.
622
+ */
623
+ contentEncoding?: string;
624
+ /**
625
+ * Optional. The content-language header for the SAS.
626
+ */
627
+ contentLanguage?: string;
628
+ /**
629
+ * Optional. The content-type header for the SAS.
630
+ */
631
+ contentType?: string;
632
+ }
633
+ /**
634
+ * Options to configure {@link BlobClient.generateSasUrl} operation.
635
+ */
636
+ export interface BlobGenerateSasUrlOptions extends CommonGenerateSasUrlOptions {
637
+ /**
638
+ * Optional only when identifier is provided. Specifies the list of permissions to be associated with the SAS.
639
+ */
640
+ permissions?: BlobSASPermissions;
641
+ }
642
+ /**
643
+ * Options for deleting immutability policy {@link BlobClient.deleteImmutabilityPolicy} operation.
644
+ */
645
+ export interface BlobDeleteImmutabilityPolicyOptions extends CommonOptions {
646
+ /**
647
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
648
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
649
+ */
650
+ abortSignal?: AbortSignalLike;
651
+ }
652
+ /**
653
+ * Options for setting immutability policy {@link BlobClient.setImmutabilityPolicy} operation.
654
+ */
655
+ export interface BlobSetImmutabilityPolicyOptions extends CommonOptions {
656
+ /**
657
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
658
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
659
+ */
660
+ abortSignal?: AbortSignalLike;
661
+ modifiedAccessCondition?: ModificationConditions;
662
+ }
663
+ /**
664
+ * Options for setting legal hold {@link BlobClient.setLegalHold} operation.
665
+ */
666
+ export interface BlobSetLegalHoldOptions extends CommonOptions {
667
+ /**
668
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
669
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
670
+ */
671
+ abortSignal?: AbortSignalLike;
672
+ }
673
+ /**
674
+ * Options to configure the {@link BlobClient.getAccountInfo} operation.
675
+ */
676
+ export interface BlobGetAccountInfoOptions extends CommonOptions {
677
+ /**
678
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
679
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
680
+ */
681
+ abortSignal?: AbortSignalLike;
682
+ }
683
+ /**
684
+ * A BlobClient represents a URL to an Azure Storage blob; the blob may be a block blob,
685
+ * append blob, or page blob.
686
+ */
687
+ export declare class BlobClient extends StorageClient {
688
+ /**
689
+ * blobContext provided by protocol layer.
690
+ */
691
+ private blobContext;
692
+ private _name;
693
+ private _containerName;
694
+ private _versionId?;
695
+ private _snapshot?;
696
+ /**
697
+ * The name of the blob.
698
+ */
699
+ get name(): string;
700
+ /**
701
+ * The name of the storage container the blob is associated with.
702
+ */
703
+ get containerName(): string;
704
+ /**
705
+ *
706
+ * Creates an instance of BlobClient from connection string.
707
+ *
708
+ * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.
709
+ * [ Note - Account connection string can only be used in NODE.JS runtime. ]
710
+ * Account connection string example -
711
+ * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`
712
+ * SAS connection string example -
713
+ * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`
714
+ * @param containerName - Container name.
715
+ * @param blobName - Blob name.
716
+ * @param options - Optional. Options to configure the HTTP pipeline.
717
+ */
718
+ constructor(connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions);
719
+ /**
720
+ * Creates an instance of BlobClient.
721
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
722
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
723
+ * If a blob name includes ? or %, blob name must be encoded in the URL.
724
+ *
725
+ * @param url - A Client string pointing to Azure Storage blob service, such as
726
+ * "https://myaccount.blob.core.windows.net". You can append a SAS
727
+ * if using AnonymousCredential, such as "https://myaccount.blob.core.windows.net?sasString".
728
+ * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.
729
+ * @param options - Optional. Options to configure the HTTP pipeline.
730
+ */
731
+ constructor(url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions);
732
+ /**
733
+ * Creates an instance of BlobClient.
734
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
735
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
736
+ * If a blob name includes ? or %, blob name must be encoded in the URL.
737
+ *
738
+ * @param url - A URL string pointing to Azure Storage blob, such as
739
+ * "https://myaccount.blob.core.windows.net/mycontainer/blob".
740
+ * You can append a SAS if using AnonymousCredential, such as
741
+ * "https://myaccount.blob.core.windows.net/mycontainer/blob?sasString".
742
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
743
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
744
+ * However, if a blob name includes ? or %, blob name must be encoded in the URL.
745
+ * Such as a blob named "my?blob%", the URL should be "https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25".
746
+ * @param pipeline - Call newPipeline() to create a default
747
+ * pipeline, or provide a customized pipeline.
748
+ */
749
+ constructor(url: string, pipeline: PipelineLike);
750
+ /**
751
+ * Creates a new BlobClient object identical to the source but with the specified snapshot timestamp.
752
+ * Provide "" will remove the snapshot and return a Client to the base blob.
753
+ *
754
+ * @param snapshot - The snapshot timestamp.
755
+ * @returns A new BlobClient object identical to the source but with the specified snapshot timestamp
756
+ */
757
+ withSnapshot(snapshot: string): BlobClient;
758
+ /**
759
+ * Creates a new BlobClient object pointing to a version of this blob.
760
+ * Provide "" will remove the versionId and return a Client to the base blob.
761
+ *
762
+ * @param versionId - The versionId.
763
+ * @returns A new BlobClient object pointing to the version of this blob.
764
+ */
765
+ withVersion(versionId: string): BlobClient;
766
+ /**
767
+ * Creates a AppendBlobClient object.
768
+ *
769
+ */
770
+ getAppendBlobClient(): AppendBlobClient;
771
+ /**
772
+ * Creates a BlockBlobClient object.
773
+ *
774
+ */
775
+ getBlockBlobClient(): BlockBlobClient;
776
+ /**
777
+ * Creates a PageBlobClient object.
778
+ *
779
+ */
780
+ getPageBlobClient(): PageBlobClient;
781
+ /**
782
+ * Reads or downloads a blob from the system, including its metadata and properties.
783
+ * You can also call Get Blob to read a snapshot.
784
+ *
785
+ * * In Node.js, data returns in a Readable stream readableStreamBody
786
+ * * In browsers, data returns in a promise blobBody
787
+ *
788
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-blob
789
+ *
790
+ * @param offset - From which position of the blob to download, greater than or equal to 0
791
+ * @param count - How much data to be downloaded, greater than 0. Will download to the end when undefined
792
+ * @param options - Optional options to Blob Download operation.
793
+ *
794
+ *
795
+ * Example usage (Node.js):
796
+ *
797
+ * ```ts snippet:ReadmeSampleDownloadBlob_Node
798
+ * import { BlobServiceClient } from "@azure/storage-blob";
799
+ * import { DefaultAzureCredential } from "@azure/identity";
800
+ *
801
+ * const account = "<account>";
802
+ * const blobServiceClient = new BlobServiceClient(
803
+ * `https://${account}.blob.core.windows.net`,
804
+ * new DefaultAzureCredential(),
805
+ * );
806
+ *
807
+ * const containerName = "<container name>";
808
+ * const blobName = "<blob name>";
809
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
810
+ * const blobClient = containerClient.getBlobClient(blobName);
811
+ *
812
+ * // Get blob content from position 0 to the end
813
+ * // In Node.js, get downloaded data by accessing downloadBlockBlobResponse.readableStreamBody
814
+ * const downloadBlockBlobResponse = await blobClient.download();
815
+ * if (downloadBlockBlobResponse.readableStreamBody) {
816
+ * const downloaded = await streamToString(downloadBlockBlobResponse.readableStreamBody);
817
+ * console.log(`Downloaded blob content: ${downloaded}`);
818
+ * }
819
+ *
820
+ * async function streamToString(stream: NodeJS.ReadableStream): Promise<string> {
821
+ * const result = await new Promise<Buffer<ArrayBuffer>>((resolve, reject) => {
822
+ * const chunks: Buffer[] = [];
823
+ * stream.on("data", (data) => {
824
+ * chunks.push(Buffer.isBuffer(data) ? data : Buffer.from(data));
825
+ * });
826
+ * stream.on("end", () => {
827
+ * resolve(Buffer.concat(chunks));
828
+ * });
829
+ * stream.on("error", reject);
830
+ * });
831
+ * return result.toString();
832
+ * }
833
+ * ```
834
+ *
835
+ * Example usage (browser):
836
+ *
837
+ * ```ts snippet:ReadmeSampleDownloadBlob_Browser
838
+ * import { BlobServiceClient } from "@azure/storage-blob";
839
+ * import { DefaultAzureCredential } from "@azure/identity";
840
+ *
841
+ * const account = "<account>";
842
+ * const blobServiceClient = new BlobServiceClient(
843
+ * `https://${account}.blob.core.windows.net`,
844
+ * new DefaultAzureCredential(),
845
+ * );
846
+ *
847
+ * const containerName = "<container name>";
848
+ * const blobName = "<blob name>";
849
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
850
+ * const blobClient = containerClient.getBlobClient(blobName);
851
+ *
852
+ * // Get blob content from position 0 to the end
853
+ * // In browsers, get downloaded data by accessing downloadBlockBlobResponse.blobBody
854
+ * const downloadBlockBlobResponse = await blobClient.download();
855
+ * const blobBody = await downloadBlockBlobResponse.blobBody;
856
+ * if (blobBody) {
857
+ * const downloaded = await blobBody.text();
858
+ * console.log(`Downloaded blob content: ${downloaded}`);
859
+ * }
860
+ * ```
861
+ */
862
+ download(offset?: number, count?: number, options?: BlobDownloadOptions): Promise<BlobDownloadResponseParsed>;
863
+ /**
864
+ * Returns true if the Azure blob resource represented by this client exists; false otherwise.
865
+ *
866
+ * NOTE: use this function with care since an existing blob might be deleted by other clients or
867
+ * applications. Vice versa new blobs might be added by other clients or applications after this
868
+ * function completes.
869
+ *
870
+ * @param options - options to Exists operation.
871
+ */
872
+ exists(options?: BlobExistsOptions): Promise<boolean>;
873
+ /**
874
+ * Returns all user-defined metadata, standard HTTP properties, and system properties
875
+ * for the blob. It does not return the content of the blob.
876
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-blob-properties
877
+ *
878
+ * WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if
879
+ * they originally contained uppercase characters. This differs from the metadata keys returned by
880
+ * the methods of {@link ContainerClient} that list blobs using the `includeMetadata` option, which
881
+ * will retain their original casing.
882
+ *
883
+ * @param options - Optional options to Get Properties operation.
884
+ */
885
+ getProperties(options?: BlobGetPropertiesOptions): Promise<BlobGetPropertiesResponse>;
886
+ /**
887
+ * Marks the specified blob or snapshot for deletion. The blob is later deleted
888
+ * during garbage collection. Note that in order to delete a blob, you must delete
889
+ * all of its snapshots. You can delete both at the same time with the Delete
890
+ * Blob operation.
891
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-blob
892
+ *
893
+ * @param options - Optional options to Blob Delete operation.
894
+ */
895
+ delete(options?: BlobDeleteOptions): Promise<BlobDeleteResponse>;
896
+ /**
897
+ * Marks the specified blob or snapshot for deletion if it exists. The blob is later deleted
898
+ * during garbage collection. Note that in order to delete a blob, you must delete
899
+ * all of its snapshots. You can delete both at the same time with the Delete
900
+ * Blob operation.
901
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-blob
902
+ *
903
+ * @param options - Optional options to Blob Delete operation.
904
+ */
905
+ deleteIfExists(options?: BlobDeleteOptions): Promise<BlobDeleteIfExistsResponse>;
906
+ /**
907
+ * Restores the contents and metadata of soft deleted blob and any associated
908
+ * soft deleted snapshots. Undelete Blob is supported only on version 2017-07-29
909
+ * or later.
910
+ * @see https://learn.microsoft.com/rest/api/storageservices/undelete-blob
911
+ *
912
+ * @param options - Optional options to Blob Undelete operation.
913
+ */
914
+ undelete(options?: BlobUndeleteOptions): Promise<BlobUndeleteResponse>;
915
+ /**
916
+ * Sets system properties on the blob.
917
+ *
918
+ * If no value provided, or no value provided for the specified blob HTTP headers,
919
+ * these blob HTTP headers without a value will be cleared.
920
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-blob-properties
921
+ *
922
+ * @param blobHTTPHeaders - If no value provided, or no value provided for
923
+ * the specified blob HTTP headers, these blob HTTP
924
+ * headers without a value will be cleared.
925
+ * A common header to set is `blobContentType`
926
+ * enabling the browser to provide functionality
927
+ * based on file type.
928
+ * @param options - Optional options to Blob Set HTTP Headers operation.
929
+ */
930
+ setHTTPHeaders(blobHTTPHeaders?: BlobHTTPHeaders, options?: BlobSetHTTPHeadersOptions): Promise<BlobSetHTTPHeadersResponse>;
931
+ /**
932
+ * Sets user-defined metadata for the specified blob as one or more name-value pairs.
933
+ *
934
+ * If no option provided, or no metadata defined in the parameter, the blob
935
+ * metadata will be removed.
936
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-blob-metadata
937
+ *
938
+ * @param metadata - Replace existing metadata with this value.
939
+ * If no value provided the existing metadata will be removed.
940
+ * @param options - Optional options to Set Metadata operation.
941
+ */
942
+ setMetadata(metadata?: Metadata, options?: BlobSetMetadataOptions): Promise<BlobSetMetadataResponse>;
943
+ /**
944
+ * Sets tags on the underlying blob.
945
+ * A blob can have up to 10 tags. Tag keys must be between 1 and 128 characters. Tag values must be between 0 and 256 characters.
946
+ * Valid tag key and value characters include lower and upper case letters, digits (0-9),
947
+ * space (' '), plus ('+'), minus ('-'), period ('.'), foward slash ('/'), colon (':'), equals ('='), and underscore ('_').
948
+ *
949
+ * @param tags -
950
+ * @param options -
951
+ */
952
+ setTags(tags: Tags, options?: BlobSetTagsOptions): Promise<BlobSetTagsResponse>;
953
+ /**
954
+ * Gets the tags associated with the underlying blob.
955
+ *
956
+ * @param options -
957
+ */
958
+ getTags(options?: BlobGetTagsOptions): Promise<BlobGetTagsResponse>;
959
+ /**
960
+ * Get a {@link BlobLeaseClient} that manages leases on the blob.
961
+ *
962
+ * @param proposeLeaseId - Initial proposed lease Id.
963
+ * @returns A new BlobLeaseClient object for managing leases on the blob.
964
+ */
965
+ getBlobLeaseClient(proposeLeaseId?: string): BlobLeaseClient;
966
+ /**
967
+ * Creates a read-only snapshot of a blob.
968
+ * @see https://learn.microsoft.com/rest/api/storageservices/snapshot-blob
969
+ *
970
+ * @param options - Optional options to the Blob Create Snapshot operation.
971
+ */
972
+ createSnapshot(options?: BlobCreateSnapshotOptions): Promise<BlobCreateSnapshotResponse>;
973
+ /**
974
+ * Asynchronously copies a blob to a destination within the storage account.
975
+ * This method returns a long running operation poller that allows you to wait
976
+ * indefinitely until the copy is completed.
977
+ * You can also cancel a copy before it is completed by calling `cancelOperation` on the poller.
978
+ * Note that the onProgress callback will not be invoked if the operation completes in the first
979
+ * request, and attempting to cancel a completed copy will result in an error being thrown.
980
+ *
981
+ * In version 2012-02-12 and later, the source for a Copy Blob operation can be
982
+ * a committed blob in any Azure storage account.
983
+ * Beginning with version 2015-02-21, the source for a Copy Blob operation can be
984
+ * an Azure file in any Azure storage account.
985
+ * Only storage accounts created on or after June 7th, 2012 allow the Copy Blob
986
+ * operation to copy from another storage account.
987
+ * @see https://learn.microsoft.com/rest/api/storageservices/copy-blob
988
+ *
989
+ * ```ts snippet:ClientsBeginCopyFromURL
990
+ * import { BlobServiceClient } from "@azure/storage-blob";
991
+ * import { DefaultAzureCredential } from "@azure/identity";
992
+ *
993
+ * const account = "<account>";
994
+ * const blobServiceClient = new BlobServiceClient(
995
+ * `https://${account}.blob.core.windows.net`,
996
+ * new DefaultAzureCredential(),
997
+ * );
998
+ *
999
+ * const containerName = "<container name>";
1000
+ * const blobName = "<blob name>";
1001
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
1002
+ * const blobClient = containerClient.getBlobClient(blobName);
1003
+ *
1004
+ * // Example using automatic polling
1005
+ * const automaticCopyPoller = await blobClient.beginCopyFromURL("url");
1006
+ * const automaticResult = await automaticCopyPoller.pollUntilDone();
1007
+ *
1008
+ * // Example using manual polling
1009
+ * const manualCopyPoller = await blobClient.beginCopyFromURL("url");
1010
+ * while (!manualCopyPoller.isDone()) {
1011
+ * await manualCopyPoller.poll();
1012
+ * }
1013
+ * const manualResult = manualCopyPoller.getResult();
1014
+ *
1015
+ * // Example using progress updates
1016
+ * const progressUpdatesCopyPoller = await blobClient.beginCopyFromURL("url", {
1017
+ * onProgress(state) {
1018
+ * console.log(`Progress: ${state.copyProgress}`);
1019
+ * },
1020
+ * });
1021
+ * const progressUpdatesResult = await progressUpdatesCopyPoller.pollUntilDone();
1022
+ *
1023
+ * // Example using a changing polling interval (default 15 seconds)
1024
+ * const pollingIntervalCopyPoller = await blobClient.beginCopyFromURL("url", {
1025
+ * intervalInMs: 1000, // poll blob every 1 second for copy progress
1026
+ * });
1027
+ * const pollingIntervalResult = await pollingIntervalCopyPoller.pollUntilDone();
1028
+ *
1029
+ * // Example using copy cancellation:
1030
+ * const cancelCopyPoller = await blobClient.beginCopyFromURL("url");
1031
+ * // cancel operation after starting it.
1032
+ * try {
1033
+ * await cancelCopyPoller.cancelOperation();
1034
+ * // calls to get the result now throw PollerCancelledError
1035
+ * cancelCopyPoller.getResult();
1036
+ * } catch (err: any) {
1037
+ * if (err.name === "PollerCancelledError") {
1038
+ * console.log("The copy was cancelled.");
1039
+ * }
1040
+ * }
1041
+ * ```
1042
+ *
1043
+ * @param copySource - url to the source Azure Blob/File.
1044
+ * @param options - Optional options to the Blob Start Copy From URL operation.
1045
+ */
1046
+ beginCopyFromURL(copySource: string, options?: BlobBeginCopyFromURLOptions): Promise<PollerLikeWithCancellation<PollOperationState<BlobBeginCopyFromURLResponse>, BlobBeginCopyFromURLResponse>>;
1047
+ /**
1048
+ * Aborts a pending asynchronous Copy Blob operation, and leaves a destination blob with zero
1049
+ * length and full metadata. Version 2012-02-12 and newer.
1050
+ * @see https://learn.microsoft.com/rest/api/storageservices/abort-copy-blob
1051
+ *
1052
+ * @param copyId - Id of the Copy From URL operation.
1053
+ * @param options - Optional options to the Blob Abort Copy From URL operation.
1054
+ */
1055
+ abortCopyFromURL(copyId: string, options?: BlobAbortCopyFromURLOptions): Promise<BlobAbortCopyFromURLResponse>;
1056
+ /**
1057
+ * The synchronous Copy From URL operation copies a blob or an internet resource to a new blob. It will not
1058
+ * return a response until the copy is complete.
1059
+ * @see https://learn.microsoft.com/rest/api/storageservices/copy-blob-from-url
1060
+ *
1061
+ * @param copySource - The source URL to copy from, Shared Access Signature(SAS) maybe needed for authentication
1062
+ * @param options -
1063
+ */
1064
+ syncCopyFromURL(copySource: string, options?: BlobSyncCopyFromURLOptions): Promise<BlobCopyFromURLResponse>;
1065
+ /**
1066
+ * Sets the tier on a blob. The operation is allowed on a page blob in a premium
1067
+ * storage account and on a block blob in a blob storage account (locally redundant
1068
+ * storage only). A premium page blob's tier determines the allowed size, IOPS,
1069
+ * and bandwidth of the blob. A block blob's tier determines Hot/Cool/Archive
1070
+ * storage type. This operation does not update the blob's ETag.
1071
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-blob-tier
1072
+ *
1073
+ * @param tier - The tier to be set on the blob. Valid values are Hot, Cool, or Archive.
1074
+ * @param options - Optional options to the Blob Set Tier operation.
1075
+ */
1076
+ setAccessTier(tier: BlockBlobTier | PremiumPageBlobTier | string, options?: BlobSetTierOptions): Promise<BlobSetTierResponse>;
1077
+ /**
1078
+ * ONLY AVAILABLE IN NODE.JS RUNTIME.
1079
+ *
1080
+ * Downloads an Azure Blob in parallel to a buffer.
1081
+ * Offset and count are optional, downloads the entire blob if they are not provided.
1082
+ *
1083
+ * Warning: Buffers can only support files up to about one gigabyte on 32-bit systems or about two
1084
+ * gigabytes on 64-bit systems due to limitations of Node.js/V8. For blobs larger than this size,
1085
+ * consider {@link downloadToFile}.
1086
+ *
1087
+ * @param offset - From which position of the block blob to download(in bytes)
1088
+ * @param count - How much data(in bytes) to be downloaded. Will download to the end when passing undefined
1089
+ * @param options - BlobDownloadToBufferOptions
1090
+ */
1091
+ downloadToBuffer(offset?: number, count?: number, options?: BlobDownloadToBufferOptions): Promise<Buffer>;
1092
+ /**
1093
+ * ONLY AVAILABLE IN NODE.JS RUNTIME.
1094
+ *
1095
+ * Downloads an Azure Blob in parallel to a buffer.
1096
+ * Offset and count are optional, downloads the entire blob if they are not provided.
1097
+ *
1098
+ * Warning: Buffers can only support files up to about one gigabyte on 32-bit systems or about two
1099
+ * gigabytes on 64-bit systems due to limitations of Node.js/V8. For blobs larger than this size,
1100
+ * consider {@link downloadToFile}.
1101
+ *
1102
+ * @param buffer - Buffer to be fill, must have length larger than count
1103
+ * @param offset - From which position of the block blob to download(in bytes)
1104
+ * @param count - How much data(in bytes) to be downloaded. Will download to the end when passing undefined
1105
+ * @param options - BlobDownloadToBufferOptions
1106
+ */
1107
+ downloadToBuffer(buffer: Buffer, offset?: number, count?: number, options?: BlobDownloadToBufferOptions): Promise<Buffer>;
1108
+ /**
1109
+ * ONLY AVAILABLE IN NODE.JS RUNTIME.
1110
+ *
1111
+ * Downloads an Azure Blob to a local file.
1112
+ * Fails if the the given file path already exits.
1113
+ * Offset and count are optional, pass 0 and undefined respectively to download the entire blob.
1114
+ *
1115
+ * @param filePath -
1116
+ * @param offset - From which position of the block blob to download.
1117
+ * @param count - How much data to be downloaded. Will download to the end when passing undefined.
1118
+ * @param options - Options to Blob download options.
1119
+ * @returns The response data for blob download operation,
1120
+ * but with readableStreamBody set to undefined since its
1121
+ * content is already read and written into a local file
1122
+ * at the specified path.
1123
+ */
1124
+ downloadToFile(filePath: string, offset?: number, count?: number, options?: BlobDownloadOptions): Promise<BlobDownloadResponseParsed>;
1125
+ private getBlobAndContainerNamesFromUrl;
1126
+ /**
1127
+ * Asynchronously copies a blob to a destination within the storage account.
1128
+ * In version 2012-02-12 and later, the source for a Copy Blob operation can be
1129
+ * a committed blob in any Azure storage account.
1130
+ * Beginning with version 2015-02-21, the source for a Copy Blob operation can be
1131
+ * an Azure file in any Azure storage account.
1132
+ * Only storage accounts created on or after June 7th, 2012 allow the Copy Blob
1133
+ * operation to copy from another storage account.
1134
+ * @see https://learn.microsoft.com/rest/api/storageservices/copy-blob
1135
+ *
1136
+ * @param copySource - url to the source Azure Blob/File.
1137
+ * @param options - Optional options to the Blob Start Copy From URL operation.
1138
+ */
1139
+ private startCopyFromURL;
1140
+ /**
1141
+ * Only available for BlobClient constructed with a shared key credential.
1142
+ *
1143
+ * Generates a Blob Service Shared Access Signature (SAS) URI based on the client properties
1144
+ * and parameters passed in. The SAS is signed by the shared key credential of the client.
1145
+ *
1146
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
1147
+ *
1148
+ * @param options - Optional parameters.
1149
+ * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
1150
+ */
1151
+ generateSasUrl(options: BlobGenerateSasUrlOptions): Promise<string>;
1152
+ /**
1153
+ * Only available for BlobClient constructed with a shared key credential.
1154
+ *
1155
+ * Generates string to sign for a Blob Service Shared Access Signature (SAS) URI based on
1156
+ * the client properties and parameters passed in. The SAS is signed by the shared key credential of the client.
1157
+ *
1158
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
1159
+ *
1160
+ * @param options - Optional parameters.
1161
+ * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
1162
+ */
1163
+ generateSasStringToSign(options: BlobGenerateSasUrlOptions): string;
1164
+ /**
1165
+ *
1166
+ * Generates a Blob Service Shared Access Signature (SAS) URI based on
1167
+ * the client properties and parameters passed in. The SAS is signed by the input user delegation key.
1168
+ *
1169
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
1170
+ *
1171
+ * @param options - Optional parameters.
1172
+ * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
1173
+ * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
1174
+ */
1175
+ generateUserDelegationSasUrl(options: BlobGenerateSasUrlOptions, userDelegationKey: UserDelegationKey): Promise<string>;
1176
+ /**
1177
+ * Only available for BlobClient constructed with a shared key credential.
1178
+ *
1179
+ * Generates string to sign for a Blob Service Shared Access Signature (SAS) URI based on
1180
+ * the client properties and parameters passed in. The SAS is signed by the input user delegation key.
1181
+ *
1182
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
1183
+ *
1184
+ * @param options - Optional parameters.
1185
+ * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
1186
+ * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
1187
+ */
1188
+ generateUserDelegationSasStringToSign(options: BlobGenerateSasUrlOptions, userDelegationKey: UserDelegationKey): string;
1189
+ /**
1190
+ * Delete the immutablility policy on the blob.
1191
+ *
1192
+ * @param options - Optional options to delete immutability policy on the blob.
1193
+ */
1194
+ deleteImmutabilityPolicy(options?: BlobDeleteImmutabilityPolicyOptions): Promise<BlobDeleteImmutabilityPolicyResponse>;
1195
+ /**
1196
+ * Set immutability policy on the blob.
1197
+ *
1198
+ * @param options - Optional options to set immutability policy on the blob.
1199
+ */
1200
+ setImmutabilityPolicy(immutabilityPolicy: BlobImmutabilityPolicy, options?: BlobSetImmutabilityPolicyOptions): Promise<BlobSetImmutabilityPolicyResponse>;
1201
+ /**
1202
+ * Set legal hold on the blob.
1203
+ *
1204
+ * @param options - Optional options to set legal hold on the blob.
1205
+ */
1206
+ setLegalHold(legalHoldEnabled: boolean, options?: BlobSetLegalHoldOptions): Promise<BlobSetLegalHoldResponse>;
1207
+ /**
1208
+ * The Get Account Information operation returns the sku name and account kind
1209
+ * for the specified account.
1210
+ * The Get Account Information operation is available on service versions beginning
1211
+ * with version 2018-03-28.
1212
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-account-information
1213
+ *
1214
+ * @param options - Options to the Service Get Account Info operation.
1215
+ * @returns Response data for the Service Get Account Info operation.
1216
+ */
1217
+ getAccountInfo(options?: BlobGetAccountInfoOptions): Promise<BlobGetAccountInfoResponse>;
1218
+ }
1219
+ /**
1220
+ * Options to configure {@link AppendBlobClient.create} operation.
1221
+ */
1222
+ export interface AppendBlobCreateOptions extends CommonOptions {
1223
+ /**
1224
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1225
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1226
+ */
1227
+ abortSignal?: AbortSignalLike;
1228
+ /**
1229
+ * Conditions to meet when creating append blobs.
1230
+ */
1231
+ conditions?: BlobRequestConditions;
1232
+ /**
1233
+ * HTTP headers to set when creating append blobs. A common header
1234
+ * to set is `blobContentType`, enabling the browser to provide functionality
1235
+ * based on file type.
1236
+ *
1237
+ */
1238
+ blobHTTPHeaders?: BlobHTTPHeaders;
1239
+ /**
1240
+ * A collection of key-value string pair to associate with the blob when creating append blobs.
1241
+ */
1242
+ metadata?: Metadata;
1243
+ /**
1244
+ * Customer Provided Key Info.
1245
+ */
1246
+ customerProvidedKey?: CpkInfo;
1247
+ /**
1248
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1249
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1250
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1251
+ * Storage Services.
1252
+ */
1253
+ encryptionScope?: string;
1254
+ /**
1255
+ * Optional. Specifies immutability policy for a blob.
1256
+ * Note that is parameter is only applicable to a blob within a container that
1257
+ * has version level worm enabled.
1258
+ */
1259
+ immutabilityPolicy?: BlobImmutabilityPolicy;
1260
+ /**
1261
+ * Optional. Indicates if a legal hold should be placed on the blob.
1262
+ * Note that is parameter is only applicable to a blob within a container that
1263
+ * has version level worm enabled.
1264
+ */
1265
+ legalHold?: boolean;
1266
+ /**
1267
+ * Blob tags.
1268
+ */
1269
+ tags?: Tags;
1270
+ }
1271
+ /**
1272
+ * Options to configure {@link AppendBlobClient.createIfNotExists} operation.
1273
+ */
1274
+ export interface AppendBlobCreateIfNotExistsOptions extends CommonOptions {
1275
+ /**
1276
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1277
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1278
+ */
1279
+ abortSignal?: AbortSignalLike;
1280
+ /**
1281
+ * HTTP headers to set when creating append blobs. A common header to set is
1282
+ * `blobContentType`, enabling the browser to provide functionality
1283
+ * based on file type.
1284
+ *
1285
+ */
1286
+ blobHTTPHeaders?: BlobHTTPHeaders;
1287
+ /**
1288
+ * A collection of key-value string pair to associate with the blob when creating append blobs.
1289
+ */
1290
+ metadata?: Metadata;
1291
+ /**
1292
+ * Customer Provided Key Info.
1293
+ */
1294
+ customerProvidedKey?: CpkInfo;
1295
+ /**
1296
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1297
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1298
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1299
+ * Storage Services.
1300
+ */
1301
+ encryptionScope?: string;
1302
+ /**
1303
+ * Optional. Specifies immutability policy for a blob.
1304
+ * Note that is parameter is only applicable to a blob within a container that
1305
+ * has version level worm enabled.
1306
+ */
1307
+ immutabilityPolicy?: BlobImmutabilityPolicy;
1308
+ /**
1309
+ * Optional. Indicates if a legal hold should be placed on the blob.
1310
+ * Note that is parameter is only applicable to a blob within a container that
1311
+ * has version level worm enabled.
1312
+ */
1313
+ legalHold?: boolean;
1314
+ }
1315
+ /**
1316
+ * Options to configure {@link AppendBlobClient.seal} operation.
1317
+ */
1318
+ export interface AppendBlobSealOptions extends CommonOptions {
1319
+ /**
1320
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1321
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1322
+ */
1323
+ abortSignal?: AbortSignalLike;
1324
+ /**
1325
+ * Conditions to meet.
1326
+ */
1327
+ conditions?: AppendBlobRequestConditions;
1328
+ }
1329
+ /**
1330
+ * Options to configure the {@link AppendBlobClient.appendBlock} operation.
1331
+ */
1332
+ export interface AppendBlobAppendBlockOptions extends CommonOptions {
1333
+ /**
1334
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1335
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1336
+ */
1337
+ abortSignal?: AbortSignalLike;
1338
+ /**
1339
+ * Conditions to meet when appending append blob blocks.
1340
+ */
1341
+ conditions?: AppendBlobRequestConditions;
1342
+ /**
1343
+ * Callback to receive events on the progress of append block operation.
1344
+ */
1345
+ onProgress?: (progress: TransferProgressEvent) => void;
1346
+ /**
1347
+ * An MD5 hash of the block content. This hash is used to verify the integrity of the block during transport.
1348
+ * When this is specified, the storage service compares the hash of the content that has arrived with this value.
1349
+ *
1350
+ * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.
1351
+ */
1352
+ transactionalContentMD5?: Uint8Array;
1353
+ /**
1354
+ * A CRC64 hash of the append block content. This hash is used to verify the integrity of the append block during transport.
1355
+ * When this is specified, the storage service compares the hash of the content that has arrived with this value.
1356
+ *
1357
+ * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.
1358
+ */
1359
+ transactionalContentCrc64?: Uint8Array;
1360
+ /**
1361
+ * Customer Provided Key Info.
1362
+ */
1363
+ customerProvidedKey?: CpkInfo;
1364
+ /**
1365
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1366
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1367
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1368
+ * Storage Services.
1369
+ */
1370
+ encryptionScope?: string;
1371
+ }
1372
+ /**
1373
+ * Options to configure the {@link AppendBlobClient.appendBlockFromURL} operation.
1374
+ */
1375
+ export interface AppendBlobAppendBlockFromURLOptions extends CommonOptions {
1376
+ /**
1377
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1378
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1379
+ */
1380
+ abortSignal?: AbortSignalLike;
1381
+ /**
1382
+ * Conditions to meet when appending append blob blocks.
1383
+ */
1384
+ conditions?: AppendBlobRequestConditions;
1385
+ /**
1386
+ * Conditions to meet for the source Azure Blob/File when copying from a URL to the blob.
1387
+ */
1388
+ sourceConditions?: MatchConditions & ModificationConditions;
1389
+ /**
1390
+ * An MD5 hash of the append block content from the URI.
1391
+ * This hash is used to verify the integrity of the append block during transport of the data from the URI.
1392
+ * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.
1393
+ *
1394
+ * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.
1395
+ */
1396
+ sourceContentMD5?: Uint8Array;
1397
+ /**
1398
+ * A CRC64 hash of the append block content from the URI.
1399
+ * This hash is used to verify the integrity of the append block during transport of the data from the URI.
1400
+ * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.
1401
+ *
1402
+ * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.
1403
+ */
1404
+ sourceContentCrc64?: Uint8Array;
1405
+ /**
1406
+ * Valid value is backup
1407
+ */
1408
+ sourceShareTokenIntent?: FileShareTokenIntent;
1409
+ /**
1410
+ * Customer Provided Key Info.
1411
+ */
1412
+ customerProvidedKey?: CpkInfo;
1413
+ /**
1414
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1415
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1416
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1417
+ * Storage Services.
1418
+ */
1419
+ encryptionScope?: string;
1420
+ /**
1421
+ * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.
1422
+ */
1423
+ sourceAuthorization?: HttpAuthorization;
1424
+ }
1425
+ /**
1426
+ * Contains response data for the {@link appendBlobClient.createIfNotExists} operation.
1427
+ */
1428
+ export interface AppendBlobCreateIfNotExistsResponse extends AppendBlobCreateResponse {
1429
+ /**
1430
+ * Indicate whether the blob is successfully created. Is false when the blob is not changed as it already exists.
1431
+ */
1432
+ succeeded: boolean;
1433
+ }
1434
+ /**
1435
+ * AppendBlobClient defines a set of operations applicable to append blobs.
1436
+ */
1437
+ export declare class AppendBlobClient extends BlobClient {
1438
+ /**
1439
+ * appendBlobsContext provided by protocol layer.
1440
+ */
1441
+ private appendBlobContext;
1442
+ /**
1443
+ *
1444
+ * Creates an instance of AppendBlobClient.
1445
+ *
1446
+ * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.
1447
+ * [ Note - Account connection string can only be used in NODE.JS runtime. ]
1448
+ * Account connection string example -
1449
+ * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`
1450
+ * SAS connection string example -
1451
+ * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`
1452
+ * @param containerName - Container name.
1453
+ * @param blobName - Blob name.
1454
+ * @param options - Optional. Options to configure the HTTP pipeline.
1455
+ */
1456
+ constructor(connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions);
1457
+ /**
1458
+ * Creates an instance of AppendBlobClient.
1459
+ * This method accepts an encoded URL or non-encoded URL pointing to an append blob.
1460
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
1461
+ * If a blob name includes ? or %, blob name must be encoded in the URL.
1462
+ *
1463
+ * @param url - A URL string pointing to Azure Storage append blob, such as
1464
+ * "https://myaccount.blob.core.windows.net/mycontainer/appendblob". You can
1465
+ * append a SAS if using AnonymousCredential, such as
1466
+ * "https://myaccount.blob.core.windows.net/mycontainer/appendblob?sasString".
1467
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
1468
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
1469
+ * However, if a blob name includes ? or %, blob name must be encoded in the URL.
1470
+ * Such as a blob named "my?blob%", the URL should be "https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25".
1471
+ * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.
1472
+ * @param options - Optional. Options to configure the HTTP pipeline.
1473
+ */
1474
+ constructor(url: string, credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions);
1475
+ /**
1476
+ * Creates an instance of AppendBlobClient.
1477
+ * This method accepts an encoded URL or non-encoded URL pointing to an append blob.
1478
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
1479
+ * If a blob name includes ? or %, blob name must be encoded in the URL.
1480
+ *
1481
+ * @param url - A URL string pointing to Azure Storage append blob, such as
1482
+ * "https://myaccount.blob.core.windows.net/mycontainer/appendblob". You can
1483
+ * append a SAS if using AnonymousCredential, such as
1484
+ * "https://myaccount.blob.core.windows.net/mycontainer/appendblob?sasString".
1485
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
1486
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
1487
+ * However, if a blob name includes ? or %, blob name must be encoded in the URL.
1488
+ * Such as a blob named "my?blob%", the URL should be "https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25".
1489
+ * @param pipeline - Call newPipeline() to create a default
1490
+ * pipeline, or provide a customized pipeline.
1491
+ */
1492
+ constructor(url: string, pipeline: PipelineLike);
1493
+ /**
1494
+ * Creates a new AppendBlobClient object identical to the source but with the
1495
+ * specified snapshot timestamp.
1496
+ * Provide "" will remove the snapshot and return a Client to the base blob.
1497
+ *
1498
+ * @param snapshot - The snapshot timestamp.
1499
+ * @returns A new AppendBlobClient object identical to the source but with the specified snapshot timestamp.
1500
+ */
1501
+ withSnapshot(snapshot: string): AppendBlobClient;
1502
+ /**
1503
+ * Creates a 0-length append blob. Call AppendBlock to append data to an append blob.
1504
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-blob
1505
+ *
1506
+ * @param options - Options to the Append Block Create operation.
1507
+ *
1508
+ *
1509
+ * Example usage:
1510
+ *
1511
+ * ```ts snippet:ClientsCreateAppendBlob
1512
+ * import { BlobServiceClient } from "@azure/storage-blob";
1513
+ * import { DefaultAzureCredential } from "@azure/identity";
1514
+ *
1515
+ * const account = "<account>";
1516
+ * const blobServiceClient = new BlobServiceClient(
1517
+ * `https://${account}.blob.core.windows.net`,
1518
+ * new DefaultAzureCredential(),
1519
+ * );
1520
+ *
1521
+ * const containerName = "<container name>";
1522
+ * const blobName = "<blob name>";
1523
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
1524
+ *
1525
+ * const appendBlobClient = containerClient.getAppendBlobClient(blobName);
1526
+ * await appendBlobClient.create();
1527
+ * ```
1528
+ */
1529
+ create(options?: AppendBlobCreateOptions): Promise<AppendBlobCreateResponse>;
1530
+ /**
1531
+ * Creates a 0-length append blob. Call AppendBlock to append data to an append blob.
1532
+ * If the blob with the same name already exists, the content of the existing blob will remain unchanged.
1533
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-blob
1534
+ *
1535
+ * @param options -
1536
+ */
1537
+ createIfNotExists(options?: AppendBlobCreateIfNotExistsOptions): Promise<AppendBlobCreateIfNotExistsResponse>;
1538
+ /**
1539
+ * Seals the append blob, making it read only.
1540
+ *
1541
+ * @param options -
1542
+ */
1543
+ seal(options?: AppendBlobSealOptions): Promise<AppendBlobAppendBlockResponse>;
1544
+ /**
1545
+ * Commits a new block of data to the end of the existing append blob.
1546
+ * @see https://learn.microsoft.com/rest/api/storageservices/append-block
1547
+ *
1548
+ * @param body - Data to be appended.
1549
+ * @param contentLength - Length of the body in bytes.
1550
+ * @param options - Options to the Append Block operation.
1551
+ *
1552
+ *
1553
+ * Example usage:
1554
+ *
1555
+ * ```ts snippet:ClientsAppendBlock
1556
+ * import { BlobServiceClient } from "@azure/storage-blob";
1557
+ * import { DefaultAzureCredential } from "@azure/identity";
1558
+ *
1559
+ * const account = "<account>";
1560
+ * const blobServiceClient = new BlobServiceClient(
1561
+ * `https://${account}.blob.core.windows.net`,
1562
+ * new DefaultAzureCredential(),
1563
+ * );
1564
+ *
1565
+ * const containerName = "<container name>";
1566
+ * const blobName = "<blob name>";
1567
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
1568
+ *
1569
+ * const content = "Hello World!";
1570
+ *
1571
+ * // Create a new append blob and append data to the blob.
1572
+ * const newAppendBlobClient = containerClient.getAppendBlobClient(blobName);
1573
+ * await newAppendBlobClient.create();
1574
+ * await newAppendBlobClient.appendBlock(content, content.length);
1575
+ *
1576
+ * // Append data to an existing append blob.
1577
+ * const existingAppendBlobClient = containerClient.getAppendBlobClient(blobName);
1578
+ * await existingAppendBlobClient.appendBlock(content, content.length);
1579
+ * ```
1580
+ */
1581
+ appendBlock(body: HttpRequestBody, contentLength: number, options?: AppendBlobAppendBlockOptions): Promise<AppendBlobAppendBlockResponse>;
1582
+ /**
1583
+ * The Append Block operation commits a new block of data to the end of an existing append blob
1584
+ * where the contents are read from a source url.
1585
+ * @see https://learn.microsoft.com/rest/api/storageservices/append-block-from-url
1586
+ *
1587
+ * @param sourceURL -
1588
+ * The url to the blob that will be the source of the copy. A source blob in the same storage account can
1589
+ * be authenticated via Shared Key. However, if the source is a blob in another account, the source blob
1590
+ * must either be public or must be authenticated via a shared access signature. If the source blob is
1591
+ * public, no authentication is required to perform the operation.
1592
+ * @param sourceOffset - Offset in source to be appended
1593
+ * @param count - Number of bytes to be appended as a block
1594
+ * @param options -
1595
+ */
1596
+ appendBlockFromURL(sourceURL: string, sourceOffset: number, count: number, options?: AppendBlobAppendBlockFromURLOptions): Promise<AppendBlobAppendBlockFromUrlResponse>;
1597
+ }
1598
+ /**
1599
+ * Options to configure {@link BlockBlobClient.upload} operation.
1600
+ */
1601
+ export interface BlockBlobUploadOptions extends CommonOptions {
1602
+ /**
1603
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1604
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1605
+ */
1606
+ abortSignal?: AbortSignalLike;
1607
+ /**
1608
+ * Conditions to meet when uploading to the block blob.
1609
+ */
1610
+ conditions?: BlobRequestConditions;
1611
+ /**
1612
+ * HTTP headers to set when uploading to a block blob. A common header to set is
1613
+ * `blobContentType`, enabling the browser to provide functionality
1614
+ * based on file type.
1615
+ *
1616
+ */
1617
+ blobHTTPHeaders?: BlobHTTPHeaders;
1618
+ /**
1619
+ * A collection of key-value string pair to associate with the blob when uploading to a block blob.
1620
+ */
1621
+ metadata?: Metadata;
1622
+ /**
1623
+ * Callback to receive events on the progress of upload operation.
1624
+ */
1625
+ onProgress?: (progress: TransferProgressEvent) => void;
1626
+ /**
1627
+ * Customer Provided Key Info.
1628
+ */
1629
+ customerProvidedKey?: CpkInfo;
1630
+ /**
1631
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1632
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1633
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1634
+ * Storage Services.
1635
+ */
1636
+ encryptionScope?: string;
1637
+ /**
1638
+ * Access tier.
1639
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
1640
+ */
1641
+ tier?: BlockBlobTier | string;
1642
+ /**
1643
+ * Optional. Specifies immutability policy for a blob.
1644
+ * Note that is parameter is only applicable to a blob within a container that
1645
+ * has version level worm enabled.
1646
+ */
1647
+ immutabilityPolicy?: BlobImmutabilityPolicy;
1648
+ /**
1649
+ * Optional. Indicates if a legal hold should be placed on the blob.
1650
+ * Note that is parameter is only applicable to a blob within a container that
1651
+ * has version level worm enabled.
1652
+ */
1653
+ legalHold?: boolean;
1654
+ /**
1655
+ * Blob tags.
1656
+ */
1657
+ tags?: Tags;
1658
+ }
1659
+ /**
1660
+ * Options to configure {@link BlockBlobClient.syncUploadFromURL} operation.
1661
+ */
1662
+ export interface BlockBlobSyncUploadFromURLOptions extends CommonOptions {
1663
+ /**
1664
+ * Server timeout in seconds.
1665
+ * For more information, @see https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations
1666
+ */
1667
+ timeoutInSeconds?: number;
1668
+ /**
1669
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1670
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1671
+ */
1672
+ abortSignal?: AbortSignalLike;
1673
+ /**
1674
+ * Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value
1675
+ * pairs are specified, the operation will copy the metadata from the source blob or file to the
1676
+ * destination blob. If one or more name-value pairs are specified, the destination blob is
1677
+ * created with the specified metadata, and metadata is not copied from the source blob or file.
1678
+ * Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules
1679
+ * for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more
1680
+ * information.
1681
+ */
1682
+ metadata?: Metadata;
1683
+ /**
1684
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1685
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1686
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1687
+ * Storage Services.
1688
+ */
1689
+ encryptionScope?: string;
1690
+ /**
1691
+ * Access tier.
1692
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
1693
+ */
1694
+ tier?: BlockBlobTier | string;
1695
+ /**
1696
+ * Specify the md5 calculated for the range of bytes that must be read from the copy source.
1697
+ */
1698
+ sourceContentMD5?: Uint8Array;
1699
+ /**
1700
+ * Blob tags.
1701
+ */
1702
+ tags?: Tags;
1703
+ /**
1704
+ * Optional, default is true. Indicates if properties from the source blob should be copied.
1705
+ */
1706
+ copySourceBlobProperties?: boolean;
1707
+ /**
1708
+ * HTTP headers to set when uploading to a block blob.
1709
+ *
1710
+ * A common header to set is `blobContentType`, enabling the browser to provide functionality
1711
+ * based on file type.
1712
+ *
1713
+ */
1714
+ blobHTTPHeaders?: BlobHTTPHeaders;
1715
+ /**
1716
+ * Conditions to meet for the destination Azure Blob.
1717
+ */
1718
+ conditions?: BlobRequestConditions;
1719
+ /**
1720
+ * Customer Provided Key Info.
1721
+ */
1722
+ customerProvidedKey?: CpkInfo;
1723
+ /**
1724
+ * Optional. Conditions to meet for the source Azure Blob.
1725
+ */
1726
+ sourceConditions?: ModifiedAccessConditions;
1727
+ /**
1728
+ * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.
1729
+ */
1730
+ sourceAuthorization?: HttpAuthorization;
1731
+ /**
1732
+ * Optional, default 'replace'. Indicates if source tags should be copied or replaced with the tags specified by {@link tags}.
1733
+ */
1734
+ copySourceTags?: BlobCopySourceTags;
1735
+ /**
1736
+ * Valid value is backup
1737
+ */
1738
+ sourceShareTokenIntent?: FileShareTokenIntent;
1739
+ }
1740
+ /**
1741
+ * Blob query error type.
1742
+ */
1743
+ export interface BlobQueryError {
1744
+ /**
1745
+ * Whether error is fatal. Fatal error will stop query.
1746
+ */
1747
+ isFatal: boolean;
1748
+ /**
1749
+ * Error name.
1750
+ */
1751
+ name: string;
1752
+ /**
1753
+ * Position in bytes of the query.
1754
+ */
1755
+ position: number;
1756
+ /**
1757
+ * Error description.
1758
+ */
1759
+ description: string;
1760
+ }
1761
+ /**
1762
+ * Options to query blob with JSON format.
1763
+ */
1764
+ export interface BlobQueryJsonTextConfiguration {
1765
+ /**
1766
+ * Record separator.
1767
+ */
1768
+ recordSeparator: string;
1769
+ /**
1770
+ * Query for a JSON format blob.
1771
+ */
1772
+ kind: "json";
1773
+ }
1774
+ /**
1775
+ * Options to query blob with CSV format.
1776
+ */
1777
+ export interface BlobQueryCsvTextConfiguration {
1778
+ /**
1779
+ * Record separator.
1780
+ */
1781
+ recordSeparator: string;
1782
+ /**
1783
+ * Query for a CSV format blob.
1784
+ */
1785
+ kind: "csv";
1786
+ /**
1787
+ * Column separator. Default is ",".
1788
+ */
1789
+ columnSeparator?: string;
1790
+ /**
1791
+ * Field quote.
1792
+ */
1793
+ fieldQuote?: string;
1794
+ /**
1795
+ * Escape character.
1796
+ */
1797
+ escapeCharacter?: string;
1798
+ /**
1799
+ * Has headers. Default is false.
1800
+ */
1801
+ hasHeaders?: boolean;
1802
+ }
1803
+ /**
1804
+ * Options to query blob with Apache Arrow format. Only valid for {@link BlockBlobQueryOptions.outputTextConfiguration}.
1805
+ */
1806
+ export interface BlobQueryArrowConfiguration {
1807
+ /**
1808
+ * Kind.
1809
+ */
1810
+ kind: "arrow";
1811
+ /**
1812
+ * List of {@link BlobQueryArrowField} describing the schema of the data.
1813
+ */
1814
+ schema: BlobQueryArrowField[];
1815
+ }
1816
+ /**
1817
+ * Options to query blob with Parquet format. Only valid for {@link BlockBlobQueryOptions.inputTextConfiguration}.
1818
+ */
1819
+ export interface BlobQueryParquetConfiguration {
1820
+ /**
1821
+ * Kind.
1822
+ */
1823
+ kind: "parquet";
1824
+ }
1825
+ /**
1826
+ * Options to configure {@link BlockBlobClient.query} operation.
1827
+ */
1828
+ export interface BlockBlobQueryOptions extends CommonOptions {
1829
+ /**
1830
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1831
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1832
+ */
1833
+ abortSignal?: AbortSignalLike;
1834
+ /**
1835
+ * Configurations for the query input.
1836
+ */
1837
+ inputTextConfiguration?: BlobQueryJsonTextConfiguration | BlobQueryCsvTextConfiguration | BlobQueryParquetConfiguration;
1838
+ /**
1839
+ * Configurations for the query output.
1840
+ */
1841
+ outputTextConfiguration?: BlobQueryJsonTextConfiguration | BlobQueryCsvTextConfiguration | BlobQueryArrowConfiguration;
1842
+ /**
1843
+ * Callback to receive events on the progress of query operation.
1844
+ */
1845
+ onProgress?: (progress: TransferProgressEvent) => void;
1846
+ /**
1847
+ * Callback to receive error events during the query operaiton.
1848
+ */
1849
+ onError?: (error: BlobQueryError) => void;
1850
+ /**
1851
+ * Conditions to meet when uploading to the block blob.
1852
+ */
1853
+ conditions?: BlobRequestConditions;
1854
+ /**
1855
+ * Customer Provided Key Info.
1856
+ */
1857
+ customerProvidedKey?: CpkInfo;
1858
+ }
1859
+ /**
1860
+ * Options to configure {@link BlockBlobClient.stageBlock} operation.
1861
+ */
1862
+ export interface BlockBlobStageBlockOptions extends CommonOptions {
1863
+ /**
1864
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1865
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1866
+ */
1867
+ abortSignal?: AbortSignalLike;
1868
+ /**
1869
+ * If specified, contains the lease id that must be matched and lease with this id
1870
+ * must be active in order for the operation to succeed.
1871
+ */
1872
+ conditions?: LeaseAccessConditions;
1873
+ /**
1874
+ * Callback to receive events on the progress of stage block operation.
1875
+ */
1876
+ onProgress?: (progress: TransferProgressEvent) => void;
1877
+ /**
1878
+ * An MD5 hash of the block content. This hash is used to verify the integrity of the block during transport.
1879
+ * When this is specified, the storage service compares the hash of the content that has arrived with this value.
1880
+ *
1881
+ * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.
1882
+ */
1883
+ transactionalContentMD5?: Uint8Array;
1884
+ /**
1885
+ * A CRC64 hash of the block content. This hash is used to verify the integrity of the block during transport.
1886
+ * When this is specified, the storage service compares the hash of the content that has arrived with this value.
1887
+ *
1888
+ * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.
1889
+ */
1890
+ transactionalContentCrc64?: Uint8Array;
1891
+ /**
1892
+ * Customer Provided Key Info.
1893
+ */
1894
+ customerProvidedKey?: CpkInfo;
1895
+ /**
1896
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1897
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1898
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1899
+ * Storage Services.
1900
+ */
1901
+ encryptionScope?: string;
1902
+ }
1903
+ /**
1904
+ * Options to configure {@link BlockBlobClient.stageBlockFromURL} operation.
1905
+ */
1906
+ export interface BlockBlobStageBlockFromURLOptions extends CommonOptions {
1907
+ /**
1908
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1909
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1910
+ */
1911
+ abortSignal?: AbortSignalLike;
1912
+ /**
1913
+ * Specifies the bytes of the source Blob/File to upload.
1914
+ * If not specified, the entire content is uploaded as a single block.
1915
+ */
1916
+ range?: Range;
1917
+ /**
1918
+ * If specified, contains the lease id that must be matched and lease with this id
1919
+ * must be active in order for the operation to succeed.
1920
+ */
1921
+ conditions?: LeaseAccessConditions;
1922
+ /**
1923
+ * An MD5 hash of the content from the URI.
1924
+ * This hash is used to verify the integrity of the content during transport of the data from the URI.
1925
+ * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.
1926
+ *
1927
+ * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.
1928
+ */
1929
+ sourceContentMD5?: Uint8Array;
1930
+ /**
1931
+ * A CRC64 hash of the content from the URI.
1932
+ * This hash is used to verify the integrity of the content during transport of the data from the URI.
1933
+ * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.
1934
+ *
1935
+ * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.
1936
+ */
1937
+ sourceContentCrc64?: Uint8Array;
1938
+ /**
1939
+ * Customer Provided Key Info.
1940
+ */
1941
+ customerProvidedKey?: CpkInfo;
1942
+ /**
1943
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1944
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1945
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1946
+ * Storage Services.
1947
+ */
1948
+ encryptionScope?: string;
1949
+ /**
1950
+ * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.
1951
+ */
1952
+ sourceAuthorization?: HttpAuthorization;
1953
+ /**
1954
+ * Valid value is backup
1955
+ */
1956
+ sourceShareTokenIntent?: FileShareTokenIntent;
1957
+ }
1958
+ /**
1959
+ * Options to configure {@link BlockBlobClient.commitBlockList} operation.
1960
+ */
1961
+ export interface BlockBlobCommitBlockListOptions extends CommonOptions {
1962
+ /**
1963
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
1964
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
1965
+ */
1966
+ abortSignal?: AbortSignalLike;
1967
+ /**
1968
+ * Conditions to meet when committing the block list.
1969
+ */
1970
+ conditions?: BlobRequestConditions;
1971
+ /**
1972
+ * HTTP headers to set when committing block list.
1973
+ */
1974
+ blobHTTPHeaders?: BlobHTTPHeaders;
1975
+ /**
1976
+ * A collection of key-value string pair to associate with the blob when committing block list.
1977
+ */
1978
+ metadata?: Metadata;
1979
+ /**
1980
+ * Customer Provided Key Info.
1981
+ */
1982
+ customerProvidedKey?: CpkInfo;
1983
+ /**
1984
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
1985
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
1986
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
1987
+ * Storage Services.
1988
+ */
1989
+ encryptionScope?: string;
1990
+ /**
1991
+ * Optional. Specifies immutability policy for a blob.
1992
+ * Note that is parameter is only applicable to a blob within a container that
1993
+ * has version level worm enabled.
1994
+ */
1995
+ immutabilityPolicy?: BlobImmutabilityPolicy;
1996
+ /**
1997
+ * Optional. Indicates if a legal hold should be placed on the blob.
1998
+ * Note that is parameter is only applicable to a blob within a container that
1999
+ * has version level worm enabled.
2000
+ */
2001
+ legalHold?: boolean;
2002
+ /**
2003
+ * Access tier.
2004
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
2005
+ */
2006
+ tier?: BlockBlobTier | string;
2007
+ /**
2008
+ * Blob tags.
2009
+ */
2010
+ tags?: Tags;
2011
+ }
2012
+ /**
2013
+ * Options to configure {@link BlockBlobClient.getBlockList} operation.
2014
+ */
2015
+ export interface BlockBlobGetBlockListOptions extends CommonOptions {
2016
+ /**
2017
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2018
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2019
+ */
2020
+ abortSignal?: AbortSignalLike;
2021
+ /**
2022
+ * If specified, contains the lease id that must be matched and lease with this id
2023
+ * must be active in order for the operation to succeed.
2024
+ */
2025
+ conditions?: LeaseAccessConditions & TagConditions;
2026
+ }
2027
+ /**
2028
+ * Option interface for the {@link BlockBlobClient.uploadStream} operation.
2029
+ */
2030
+ export interface BlockBlobUploadStreamOptions extends CommonOptions {
2031
+ /**
2032
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2033
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2034
+ */
2035
+ abortSignal?: AbortSignalLike;
2036
+ /**
2037
+ * Blob HTTP Headers.
2038
+ *
2039
+ * A common header to set is `blobContentType`, enabling the
2040
+ * browser to provide functionality based on file type.
2041
+ *
2042
+ */
2043
+ blobHTTPHeaders?: BlobHTTPHeaders;
2044
+ /**
2045
+ * Customer Provided Key Info.
2046
+ */
2047
+ customerProvidedKey?: CpkInfo;
2048
+ /**
2049
+ * Metadata of block blob.
2050
+ */
2051
+ metadata?: {
2052
+ [propertyName: string]: string;
2053
+ };
2054
+ /**
2055
+ * Access conditions headers.
2056
+ */
2057
+ conditions?: BlobRequestConditions;
2058
+ /**
2059
+ * Progress updater.
2060
+ */
2061
+ onProgress?: (progress: TransferProgressEvent) => void;
2062
+ /**
2063
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
2064
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
2065
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
2066
+ * Storage Services.
2067
+ */
2068
+ encryptionScope?: string;
2069
+ /**
2070
+ * Blob tags.
2071
+ */
2072
+ tags?: Tags;
2073
+ /**
2074
+ * Access tier.
2075
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
2076
+ */
2077
+ tier?: BlockBlobTier | string;
2078
+ }
2079
+ /**
2080
+ * Option interface for {@link BlockBlobClient.uploadFile} and {@link BlockBlobClient.uploadSeekableStream}.
2081
+ */
2082
+ export interface BlockBlobParallelUploadOptions extends CommonOptions {
2083
+ /**
2084
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2085
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2086
+ */
2087
+ abortSignal?: AbortSignalLike;
2088
+ /**
2089
+ * Destination block blob size in bytes.
2090
+ */
2091
+ blockSize?: number;
2092
+ /**
2093
+ * Blob size threshold in bytes to start concurrency uploading.
2094
+ * Default value is 256MB, blob size less than this option will
2095
+ * be uploaded via one I/O operation without concurrency.
2096
+ * You can customize a value less equal than the default value.
2097
+ */
2098
+ maxSingleShotSize?: number;
2099
+ /**
2100
+ * Progress updater.
2101
+ */
2102
+ onProgress?: (progress: TransferProgressEvent) => void;
2103
+ /**
2104
+ * Blob HTTP Headers. A common header to set is
2105
+ * `blobContentType`, enabling the browser to provide
2106
+ * functionality based on file type.
2107
+ *
2108
+ */
2109
+ blobHTTPHeaders?: BlobHTTPHeaders;
2110
+ /**
2111
+ * Metadata of block blob.
2112
+ */
2113
+ metadata?: {
2114
+ [propertyName: string]: string;
2115
+ };
2116
+ /**
2117
+ * Access conditions headers.
2118
+ */
2119
+ conditions?: BlobRequestConditions;
2120
+ /**
2121
+ * Concurrency of parallel uploading. Must be greater than or equal to 0.
2122
+ */
2123
+ concurrency?: number;
2124
+ /**
2125
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
2126
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
2127
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
2128
+ * Storage Services.
2129
+ */
2130
+ encryptionScope?: string;
2131
+ /**
2132
+ * Blob tags.
2133
+ */
2134
+ tags?: Tags;
2135
+ /**
2136
+ * Access tier.
2137
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
2138
+ */
2139
+ tier?: BlockBlobTier | string;
2140
+ }
2141
+ /**
2142
+ * Response type for {@link BlockBlobClient.uploadFile}, {@link BlockBlobClient.uploadStream}, and
2143
+ * {@link BlockBlobClient.uploadBrowserDate}.
2144
+ */
2145
+ export type BlobUploadCommonResponse = WithResponse<BlockBlobUploadHeaders>;
2146
+ /**
2147
+ * BlockBlobClient defines a set of operations applicable to block blobs.
2148
+ */
2149
+ export declare class BlockBlobClient extends BlobClient {
2150
+ /**
2151
+ * blobContext provided by protocol layer.
2152
+ *
2153
+ * Note. Ideally BlobClient should set BlobClient.blobContext to protected. However, API
2154
+ * extractor has issue blocking that. Here we redecelare _blobContext in BlockBlobClient.
2155
+ */
2156
+ private _blobContext;
2157
+ /**
2158
+ * blockBlobContext provided by protocol layer.
2159
+ */
2160
+ private blockBlobContext;
2161
+ /**
2162
+ *
2163
+ * Creates an instance of BlockBlobClient.
2164
+ *
2165
+ * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.
2166
+ * [ Note - Account connection string can only be used in NODE.JS runtime. ]
2167
+ * Account connection string example -
2168
+ * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`
2169
+ * SAS connection string example -
2170
+ * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`
2171
+ * @param containerName - Container name.
2172
+ * @param blobName - Blob name.
2173
+ * @param options - Optional. Options to configure the HTTP pipeline.
2174
+ */
2175
+ constructor(connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions);
2176
+ /**
2177
+ * Creates an instance of BlockBlobClient.
2178
+ * This method accepts an encoded URL or non-encoded URL pointing to a block blob.
2179
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
2180
+ * If a blob name includes ? or %, blob name must be encoded in the URL.
2181
+ *
2182
+ * @param url - A URL string pointing to Azure Storage block blob, such as
2183
+ * "https://myaccount.blob.core.windows.net/mycontainer/blockblob". You can
2184
+ * append a SAS if using AnonymousCredential, such as
2185
+ * "https://myaccount.blob.core.windows.net/mycontainer/blockblob?sasString".
2186
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
2187
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
2188
+ * However, if a blob name includes ? or %, blob name must be encoded in the URL.
2189
+ * Such as a blob named "my?blob%", the URL should be "https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25".
2190
+ * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.
2191
+ * @param options - Optional. Options to configure the HTTP pipeline.
2192
+ */
2193
+ constructor(url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions);
2194
+ /**
2195
+ * Creates an instance of BlockBlobClient.
2196
+ * This method accepts an encoded URL or non-encoded URL pointing to a block blob.
2197
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
2198
+ * If a blob name includes ? or %, blob name must be encoded in the URL.
2199
+ *
2200
+ * @param url - A URL string pointing to Azure Storage block blob, such as
2201
+ * "https://myaccount.blob.core.windows.net/mycontainer/blockblob". You can
2202
+ * append a SAS if using AnonymousCredential, such as
2203
+ * "https://myaccount.blob.core.windows.net/mycontainer/blockblob?sasString".
2204
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
2205
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
2206
+ * However, if a blob name includes ? or %, blob name must be encoded in the URL.
2207
+ * Such as a blob named "my?blob%", the URL should be "https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25".
2208
+ * @param pipeline - Call newPipeline() to create a default
2209
+ * pipeline, or provide a customized pipeline.
2210
+ */
2211
+ constructor(url: string, pipeline: PipelineLike);
2212
+ /**
2213
+ * Creates a new BlockBlobClient object identical to the source but with the
2214
+ * specified snapshot timestamp.
2215
+ * Provide "" will remove the snapshot and return a URL to the base blob.
2216
+ *
2217
+ * @param snapshot - The snapshot timestamp.
2218
+ * @returns A new BlockBlobClient object identical to the source but with the specified snapshot timestamp.
2219
+ */
2220
+ withSnapshot(snapshot: string): BlockBlobClient;
2221
+ /**
2222
+ * ONLY AVAILABLE IN NODE.JS RUNTIME.
2223
+ *
2224
+ * Quick query for a JSON or CSV formatted blob.
2225
+ *
2226
+ * Example usage (Node.js):
2227
+ *
2228
+ * ```ts snippet:ClientsQuery
2229
+ * import { BlobServiceClient } from "@azure/storage-blob";
2230
+ * import { DefaultAzureCredential } from "@azure/identity";
2231
+ *
2232
+ * const account = "<account>";
2233
+ * const blobServiceClient = new BlobServiceClient(
2234
+ * `https://${account}.blob.core.windows.net`,
2235
+ * new DefaultAzureCredential(),
2236
+ * );
2237
+ *
2238
+ * const containerName = "<container name>";
2239
+ * const blobName = "<blob name>";
2240
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
2241
+ * const blockBlobClient = containerClient.getBlockBlobClient(blobName);
2242
+ *
2243
+ * // Query and convert a blob to a string
2244
+ * const queryBlockBlobResponse = await blockBlobClient.query("select from BlobStorage");
2245
+ * if (queryBlockBlobResponse.readableStreamBody) {
2246
+ * const downloadedBuffer = await streamToBuffer(queryBlockBlobResponse.readableStreamBody);
2247
+ * const downloaded = downloadedBuffer.toString();
2248
+ * console.log(`Query blob content: ${downloaded}`);
2249
+ * }
2250
+ *
2251
+ * async function streamToBuffer(readableStream: NodeJS.ReadableStream): Promise<Buffer> {
2252
+ * return new Promise((resolve, reject) => {
2253
+ * const chunks: Buffer[] = [];
2254
+ * readableStream.on("data", (data) => {
2255
+ * chunks.push(data instanceof Buffer ? data : Buffer.from(data));
2256
+ * });
2257
+ * readableStream.on("end", () => {
2258
+ * resolve(Buffer.concat(chunks));
2259
+ * });
2260
+ * readableStream.on("error", reject);
2261
+ * });
2262
+ * }
2263
+ * ```
2264
+ *
2265
+ * @param query -
2266
+ * @param options -
2267
+ */
2268
+ query(query: string, options?: BlockBlobQueryOptions): Promise<BlobDownloadResponseModel>;
2269
+ /**
2270
+ * Creates a new block blob, or updates the content of an existing block blob.
2271
+ * Updating an existing block blob overwrites any existing metadata on the blob.
2272
+ * Partial updates are not supported; the content of the existing blob is
2273
+ * overwritten with the new content. To perform a partial update of a block blob's,
2274
+ * use {@link stageBlock} and {@link commitBlockList}.
2275
+ *
2276
+ * This is a non-parallel uploading method, please use {@link uploadFile},
2277
+ * {@link uploadStream} or {@link uploadBrowserData} for better performance
2278
+ * with concurrency uploading.
2279
+ *
2280
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-blob
2281
+ *
2282
+ * @param body - Blob, string, ArrayBuffer, ArrayBufferView or a function
2283
+ * which returns a new Readable stream whose offset is from data source beginning.
2284
+ * @param contentLength - Length of body in bytes. Use Buffer.byteLength() to calculate body length for a
2285
+ * string including non non-Base64/Hex-encoded characters.
2286
+ * @param options - Options to the Block Blob Upload operation.
2287
+ * @returns Response data for the Block Blob Upload operation.
2288
+ *
2289
+ * Example usage:
2290
+ *
2291
+ * ```ts snippet:ClientsUpload
2292
+ * import { BlobServiceClient } from "@azure/storage-blob";
2293
+ * import { DefaultAzureCredential } from "@azure/identity";
2294
+ *
2295
+ * const account = "<account>";
2296
+ * const blobServiceClient = new BlobServiceClient(
2297
+ * `https://${account}.blob.core.windows.net`,
2298
+ * new DefaultAzureCredential(),
2299
+ * );
2300
+ *
2301
+ * const containerName = "<container name>";
2302
+ * const blobName = "<blob name>";
2303
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
2304
+ * const blockBlobClient = containerClient.getBlockBlobClient(blobName);
2305
+ *
2306
+ * const content = "Hello world!";
2307
+ * const uploadBlobResponse = await blockBlobClient.upload(content, content.length);
2308
+ * ```
2309
+ */
2310
+ upload(body: HttpRequestBody, contentLength: number, options?: BlockBlobUploadOptions): Promise<BlockBlobUploadResponse>;
2311
+ /**
2312
+ * Creates a new Block Blob where the contents of the blob are read from a given URL.
2313
+ * This API is supported beginning with the 2020-04-08 version. Partial updates
2314
+ * are not supported with Put Blob from URL; the content of an existing blob is overwritten with
2315
+ * the content of the new blob. To perform partial updates to a block blob’s contents using a
2316
+ * source URL, use {@link stageBlockFromURL} and {@link commitBlockList}.
2317
+ *
2318
+ * @param sourceURL - Specifies the URL of the blob. The value
2319
+ * may be a URL of up to 2 KB in length that specifies a blob.
2320
+ * The value should be URL-encoded as it would appear
2321
+ * in a request URI. The source blob must either be public
2322
+ * or must be authenticated via a shared access signature.
2323
+ * If the source blob is public, no authentication is required
2324
+ * to perform the operation. Here are some examples of source object URLs:
2325
+ * - https://myaccount.blob.core.windows.net/mycontainer/myblob
2326
+ * - https://myaccount.blob.core.windows.net/mycontainer/myblob?snapshot=<DateTime>
2327
+ * @param options - Optional parameters.
2328
+ */
2329
+ syncUploadFromURL(sourceURL: string, options?: BlockBlobSyncUploadFromURLOptions): Promise<BlockBlobPutBlobFromUrlResponse>;
2330
+ /**
2331
+ * Uploads the specified block to the block blob's "staging area" to be later
2332
+ * committed by a call to commitBlockList.
2333
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-block
2334
+ *
2335
+ * @param blockId - A 64-byte value that is base64-encoded
2336
+ * @param body - Data to upload to the staging area.
2337
+ * @param contentLength - Number of bytes to upload.
2338
+ * @param options - Options to the Block Blob Stage Block operation.
2339
+ * @returns Response data for the Block Blob Stage Block operation.
2340
+ */
2341
+ stageBlock(blockId: string, body: HttpRequestBody, contentLength: number, options?: BlockBlobStageBlockOptions): Promise<BlockBlobStageBlockResponse>;
2342
+ /**
2343
+ * The Stage Block From URL operation creates a new block to be committed as part
2344
+ * of a blob where the contents are read from a URL.
2345
+ * This API is available starting in version 2018-03-28.
2346
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-block-from-url
2347
+ *
2348
+ * @param blockId - A 64-byte value that is base64-encoded
2349
+ * @param sourceURL - Specifies the URL of the blob. The value
2350
+ * may be a URL of up to 2 KB in length that specifies a blob.
2351
+ * The value should be URL-encoded as it would appear
2352
+ * in a request URI. The source blob must either be public
2353
+ * or must be authenticated via a shared access signature.
2354
+ * If the source blob is public, no authentication is required
2355
+ * to perform the operation. Here are some examples of source object URLs:
2356
+ * - https://myaccount.blob.core.windows.net/mycontainer/myblob
2357
+ * - https://myaccount.blob.core.windows.net/mycontainer/myblob?snapshot=<DateTime>
2358
+ * @param offset - From which position of the blob to download, greater than or equal to 0
2359
+ * @param count - How much data to be downloaded, greater than 0. Will download to the end when undefined
2360
+ * @param options - Options to the Block Blob Stage Block From URL operation.
2361
+ * @returns Response data for the Block Blob Stage Block From URL operation.
2362
+ */
2363
+ stageBlockFromURL(blockId: string, sourceURL: string, offset?: number, count?: number, options?: BlockBlobStageBlockFromURLOptions): Promise<BlockBlobStageBlockFromURLResponse>;
2364
+ /**
2365
+ * Writes a blob by specifying the list of block IDs that make up the blob.
2366
+ * In order to be written as part of a blob, a block must have been successfully written
2367
+ * to the server in a prior {@link stageBlock} operation. You can call {@link commitBlockList} to
2368
+ * update a blob by uploading only those blocks that have changed, then committing the new and existing
2369
+ * blocks together. Any blocks not specified in the block list and permanently deleted.
2370
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-block-list
2371
+ *
2372
+ * @param blocks - Array of 64-byte value that is base64-encoded
2373
+ * @param options - Options to the Block Blob Commit Block List operation.
2374
+ * @returns Response data for the Block Blob Commit Block List operation.
2375
+ */
2376
+ commitBlockList(blocks: string[], options?: BlockBlobCommitBlockListOptions): Promise<BlockBlobCommitBlockListResponse>;
2377
+ /**
2378
+ * Returns the list of blocks that have been uploaded as part of a block blob
2379
+ * using the specified block list filter.
2380
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-block-list
2381
+ *
2382
+ * @param listType - Specifies whether to return the list of committed blocks,
2383
+ * the list of uncommitted blocks, or both lists together.
2384
+ * @param options - Options to the Block Blob Get Block List operation.
2385
+ * @returns Response data for the Block Blob Get Block List operation.
2386
+ */
2387
+ getBlockList(listType: BlockListType, options?: BlockBlobGetBlockListOptions): Promise<BlockBlobGetBlockListResponse>;
2388
+ /**
2389
+ * Uploads a Buffer(Node.js)/Blob(browsers)/ArrayBuffer/ArrayBufferView object to a BlockBlob.
2390
+ *
2391
+ * When data length is no more than the specifiled {@link BlockBlobParallelUploadOptions.maxSingleShotSize} (default is
2392
+ * {@link BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}), this method will use 1 {@link upload} call to finish the upload.
2393
+ * Otherwise, this method will call {@link stageBlock} to upload blocks, and finally call {@link commitBlockList}
2394
+ * to commit the block list.
2395
+ *
2396
+ * A common {@link BlockBlobParallelUploadOptions.blobHTTPHeaders} option to set is
2397
+ * `blobContentType`, enabling the browser to provide
2398
+ * functionality based on file type.
2399
+ *
2400
+ * @param data - Buffer(Node.js), Blob, ArrayBuffer or ArrayBufferView
2401
+ * @param options -
2402
+ */
2403
+ uploadData(data: Buffer | Blob | ArrayBuffer | ArrayBufferView, options?: BlockBlobParallelUploadOptions): Promise<BlobUploadCommonResponse>;
2404
+ /**
2405
+ * ONLY AVAILABLE IN BROWSERS.
2406
+ *
2407
+ * Uploads a browser Blob/File/ArrayBuffer/ArrayBufferView object to block blob.
2408
+ *
2409
+ * When buffer length lesser than or equal to 256MB, this method will use 1 upload call to finish the upload.
2410
+ * Otherwise, this method will call {@link stageBlock} to upload blocks, and finally call
2411
+ * {@link commitBlockList} to commit the block list.
2412
+ *
2413
+ * A common {@link BlockBlobParallelUploadOptions.blobHTTPHeaders} option to set is
2414
+ * `blobContentType`, enabling the browser to provide
2415
+ * functionality based on file type.
2416
+ *
2417
+ * @deprecated Use {@link uploadData} instead.
2418
+ *
2419
+ * @param browserData - Blob, File, ArrayBuffer or ArrayBufferView
2420
+ * @param options - Options to upload browser data.
2421
+ * @returns Response data for the Blob Upload operation.
2422
+ */
2423
+ uploadBrowserData(browserData: Blob | ArrayBuffer | ArrayBufferView, options?: BlockBlobParallelUploadOptions): Promise<BlobUploadCommonResponse>;
2424
+ /**
2425
+ *
2426
+ * Uploads data to block blob. Requires a bodyFactory as the data source,
2427
+ * which need to return a {@link HttpRequestBody} object with the offset and size provided.
2428
+ *
2429
+ * When data length is no more than the specified {@link BlockBlobParallelUploadOptions.maxSingleShotSize} (default is
2430
+ * {@link BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}), this method will use 1 {@link upload} call to finish the upload.
2431
+ * Otherwise, this method will call {@link stageBlock} to upload blocks, and finally call {@link commitBlockList}
2432
+ * to commit the block list.
2433
+ *
2434
+ * @param bodyFactory -
2435
+ * @param size - size of the data to upload.
2436
+ * @param options - Options to Upload to Block Blob operation.
2437
+ * @returns Response data for the Blob Upload operation.
2438
+ */
2439
+ private uploadSeekableInternal;
2440
+ /**
2441
+ * ONLY AVAILABLE IN NODE.JS RUNTIME.
2442
+ *
2443
+ * Uploads a local file in blocks to a block blob.
2444
+ *
2445
+ * When file size lesser than or equal to 256MB, this method will use 1 upload call to finish the upload.
2446
+ * Otherwise, this method will call stageBlock to upload blocks, and finally call commitBlockList
2447
+ * to commit the block list.
2448
+ *
2449
+ * @param filePath - Full path of local file
2450
+ * @param options - Options to Upload to Block Blob operation.
2451
+ * @returns Response data for the Blob Upload operation.
2452
+ */
2453
+ uploadFile(filePath: string, options?: BlockBlobParallelUploadOptions): Promise<BlobUploadCommonResponse>;
2454
+ /**
2455
+ * ONLY AVAILABLE IN NODE.JS RUNTIME.
2456
+ *
2457
+ * Uploads a Node.js Readable stream into block blob.
2458
+ *
2459
+ * PERFORMANCE IMPROVEMENT TIPS:
2460
+ * * Input stream highWaterMark is better to set a same value with bufferSize
2461
+ * parameter, which will avoid Buffer.concat() operations.
2462
+ *
2463
+ * @param stream - Node.js Readable stream
2464
+ * @param bufferSize - Size of every buffer allocated, also the block size in the uploaded block blob. Default value is 8MB
2465
+ * @param maxConcurrency - Max concurrency indicates the max number of buffers that can be allocated,
2466
+ * positive correlation with max uploading concurrency. Default value is 5
2467
+ * @param options - Options to Upload Stream to Block Blob operation.
2468
+ * @returns Response data for the Blob Upload operation.
2469
+ */
2470
+ uploadStream(stream: Readable, bufferSize?: number, maxConcurrency?: number, options?: BlockBlobUploadStreamOptions): Promise<BlobUploadCommonResponse>;
2471
+ }
2472
+ /**
2473
+ * Options to configure the {@link PageBlobClient.create} operation.
2474
+ */
2475
+ export interface PageBlobCreateOptions extends CommonOptions {
2476
+ /**
2477
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2478
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2479
+ */
2480
+ abortSignal?: AbortSignalLike;
2481
+ /**
2482
+ * Conditions to meet when creating a page blob.
2483
+ */
2484
+ conditions?: BlobRequestConditions;
2485
+ /**
2486
+ * A user-controlled value that can be used to track requests.
2487
+ * The value must be between 0 and 2^63 - 1. The default value is 0.
2488
+ */
2489
+ blobSequenceNumber?: number;
2490
+ /**
2491
+ * HTTP headers to set when creating a page blob.
2492
+ */
2493
+ blobHTTPHeaders?: BlobHTTPHeaders;
2494
+ /**
2495
+ * A collection of key-value string pair to associate with the blob when creating append blobs.
2496
+ */
2497
+ metadata?: Metadata;
2498
+ /**
2499
+ * Customer Provided Key Info.
2500
+ */
2501
+ customerProvidedKey?: CpkInfo;
2502
+ /**
2503
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
2504
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
2505
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
2506
+ * Storage Services.
2507
+ */
2508
+ encryptionScope?: string;
2509
+ /**
2510
+ * Optional. Specifies immutability policy for a blob.
2511
+ * Note that is parameter is only applicable to a blob within a container that
2512
+ * has version level worm enabled.
2513
+ */
2514
+ immutabilityPolicy?: BlobImmutabilityPolicy;
2515
+ /**
2516
+ * Optional. Indicates if a legal hold should be placed on the blob.
2517
+ * Note that is parameter is only applicable to a blob within a container that
2518
+ * has version level worm enabled.
2519
+ */
2520
+ legalHold?: boolean;
2521
+ /**
2522
+ * Access tier.
2523
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
2524
+ */
2525
+ tier?: PremiumPageBlobTier | string;
2526
+ /**
2527
+ * Blob tags.
2528
+ */
2529
+ tags?: Tags;
2530
+ }
2531
+ /**
2532
+ * Options to configure the {@link PageBlobClient.createIfNotExists} operation.
2533
+ */
2534
+ export interface PageBlobCreateIfNotExistsOptions extends CommonOptions {
2535
+ /**
2536
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2537
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2538
+ */
2539
+ abortSignal?: AbortSignalLike;
2540
+ /**
2541
+ * A user-controlled value that can be used to track requests.
2542
+ * The value must be between 0 and 2^63 - 1. The default value is 0.
2543
+ */
2544
+ blobSequenceNumber?: number;
2545
+ /**
2546
+ * HTTP headers to set when creating a page blob.
2547
+ */
2548
+ blobHTTPHeaders?: BlobHTTPHeaders;
2549
+ /**
2550
+ * A collection of key-value string pair to associate with the blob when creating append blobs.
2551
+ */
2552
+ metadata?: Metadata;
2553
+ /**
2554
+ * Customer Provided Key Info.
2555
+ */
2556
+ customerProvidedKey?: CpkInfo;
2557
+ /**
2558
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
2559
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
2560
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
2561
+ * Storage Services.
2562
+ */
2563
+ encryptionScope?: string;
2564
+ /**
2565
+ * Optional. Specifies immutability policy for a blob.
2566
+ * Note that is parameter is only applicable to a blob within a container that
2567
+ * has version level worm enabled.
2568
+ */
2569
+ immutabilityPolicy?: BlobImmutabilityPolicy;
2570
+ /**
2571
+ * Optional. Indicates if a legal hold should be placed on the blob.
2572
+ * Note that is parameter is only applicable to a blob within a container that
2573
+ * has version level worm enabled.
2574
+ */
2575
+ legalHold?: boolean;
2576
+ /**
2577
+ * Access tier.
2578
+ * More Details - https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers
2579
+ */
2580
+ tier?: PremiumPageBlobTier | string;
2581
+ }
2582
+ /**
2583
+ * Options to configure the {@link PageBlobClient.uploadPages} operation.
2584
+ */
2585
+ export interface PageBlobUploadPagesOptions extends CommonOptions {
2586
+ /**
2587
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2588
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2589
+ */
2590
+ abortSignal?: AbortSignalLike;
2591
+ /**
2592
+ * Conditions to meet when uploading pages.
2593
+ */
2594
+ conditions?: PageBlobRequestConditions;
2595
+ /**
2596
+ * Callback to receive events on the progress of upload pages operation.
2597
+ */
2598
+ onProgress?: (progress: TransferProgressEvent) => void;
2599
+ /**
2600
+ * An MD5 hash of the content. This hash is used to verify the integrity of the content during transport.
2601
+ * When this is specified, the storage service compares the hash of the content that has arrived with this value.
2602
+ *
2603
+ * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.
2604
+ */
2605
+ transactionalContentMD5?: Uint8Array;
2606
+ /**
2607
+ * A CRC64 hash of the content. This hash is used to verify the integrity of the content during transport.
2608
+ * When this is specified, the storage service compares the hash of the content that has arrived with this value.
2609
+ *
2610
+ * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.
2611
+ */
2612
+ transactionalContentCrc64?: Uint8Array;
2613
+ /**
2614
+ * Customer Provided Key Info.
2615
+ */
2616
+ customerProvidedKey?: CpkInfo;
2617
+ /**
2618
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
2619
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
2620
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
2621
+ * Storage Services.
2622
+ */
2623
+ encryptionScope?: string;
2624
+ }
2625
+ /**
2626
+ * Options to configure the {@link PageBlobClient.clearPages} operation.
2627
+ */
2628
+ export interface PageBlobClearPagesOptions extends CommonOptions {
2629
+ /**
2630
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2631
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2632
+ */
2633
+ abortSignal?: AbortSignalLike;
2634
+ /**
2635
+ * Conditions to meet when clearing pages.
2636
+ */
2637
+ conditions?: PageBlobRequestConditions;
2638
+ /**
2639
+ * Customer Provided Key Info.
2640
+ */
2641
+ customerProvidedKey?: CpkInfo;
2642
+ /**
2643
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
2644
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
2645
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
2646
+ * Storage Services.
2647
+ */
2648
+ encryptionScope?: string;
2649
+ }
2650
+ /**
2651
+ * Options to configure the {@link PageBlobClient.getPageRanges} operation.
2652
+ */
2653
+ export interface PageBlobGetPageRangesOptions extends CommonOptions {
2654
+ /**
2655
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2656
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2657
+ */
2658
+ abortSignal?: AbortSignalLike;
2659
+ /**
2660
+ * Conditions to meet when getting page ranges.
2661
+ */
2662
+ conditions?: BlobRequestConditions;
2663
+ }
2664
+ /**
2665
+ * Options to configure the {@link PageBlobClient.listPageRanges} operation.
2666
+ */
2667
+ export interface PageBlobListPageRangesOptions extends CommonOptions {
2668
+ /**
2669
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2670
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2671
+ */
2672
+ abortSignal?: AbortSignalLike;
2673
+ /**
2674
+ * Conditions to meet when getting page ranges.
2675
+ */
2676
+ conditions?: BlobRequestConditions;
2677
+ }
2678
+ /**
2679
+ * Options to configure the {@link PageBlobClient.getRangesDiff} operation.
2680
+ */
2681
+ export interface PageBlobGetPageRangesDiffOptions extends CommonOptions {
2682
+ /**
2683
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2684
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2685
+ */
2686
+ abortSignal?: AbortSignalLike;
2687
+ /**
2688
+ * Conditions to meet when getting page ranges diff.
2689
+ */
2690
+ conditions?: BlobRequestConditions;
2691
+ /**
2692
+ * (unused)
2693
+ */
2694
+ range?: string;
2695
+ }
2696
+ /**
2697
+ * Options to configure the {@link PageBlobClient.listPageRangesDiff} operation.
2698
+ */
2699
+ export interface PageBlobListPageRangesDiffOptions extends CommonOptions {
2700
+ /**
2701
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2702
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2703
+ */
2704
+ abortSignal?: AbortSignalLike;
2705
+ /**
2706
+ * Conditions to meet when getting page ranges diff.
2707
+ */
2708
+ conditions?: BlobRequestConditions;
2709
+ }
2710
+ /**
2711
+ * Options to configure {@link PageBlobClient.resize} operation.
2712
+ */
2713
+ export interface PageBlobResizeOptions extends CommonOptions {
2714
+ /**
2715
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2716
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2717
+ */
2718
+ abortSignal?: AbortSignalLike;
2719
+ /**
2720
+ * Conditions to meet when resizing a page blob.
2721
+ */
2722
+ conditions?: BlobRequestConditions;
2723
+ /**
2724
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
2725
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
2726
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
2727
+ * Storage Services.
2728
+ */
2729
+ encryptionScope?: string;
2730
+ }
2731
+ /**
2732
+ * Options to configure {@link PageBlobClient.updateSequenceNumber} operation.
2733
+ */
2734
+ export interface PageBlobUpdateSequenceNumberOptions extends CommonOptions {
2735
+ /**
2736
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2737
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2738
+ */
2739
+ abortSignal?: AbortSignalLike;
2740
+ /**
2741
+ * Conditions to meet when updating sequence number.
2742
+ */
2743
+ conditions?: BlobRequestConditions;
2744
+ }
2745
+ /**
2746
+ * Options to configure {@link PageBlobClient.startCopyIncremental} operation.
2747
+ */
2748
+ export interface PageBlobStartCopyIncrementalOptions extends CommonOptions {
2749
+ /**
2750
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2751
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2752
+ */
2753
+ abortSignal?: AbortSignalLike;
2754
+ /**
2755
+ * Conditions to meet when starting a copy incremental operation.
2756
+ */
2757
+ conditions?: ModifiedAccessConditions;
2758
+ }
2759
+ /**
2760
+ * Options to configure {@link PageBlobClient.uploadPagesFromURL} operation.
2761
+ */
2762
+ export interface PageBlobUploadPagesFromURLOptions extends CommonOptions {
2763
+ /**
2764
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
2765
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
2766
+ */
2767
+ abortSignal?: AbortSignalLike;
2768
+ /**
2769
+ * Conditions to meet when updating sequence number.
2770
+ */
2771
+ conditions?: PageBlobRequestConditions;
2772
+ /**
2773
+ * Conditions to meet for the source Azure Blob/File when copying from a URL to the blob.
2774
+ */
2775
+ sourceConditions?: MatchConditions & ModificationConditions;
2776
+ /**
2777
+ * An MD5 hash of the content from the URI.
2778
+ * This hash is used to verify the integrity of the content during transport of the data from the URI.
2779
+ * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.
2780
+ *
2781
+ * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.
2782
+ */
2783
+ sourceContentMD5?: Uint8Array;
2784
+ /**
2785
+ * A CRC64 hash of the content from the URI.
2786
+ * This hash is used to verify the integrity of the content during transport of the data from the URI.
2787
+ * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.
2788
+ *
2789
+ * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.
2790
+ */
2791
+ sourceContentCrc64?: Uint8Array;
2792
+ /**
2793
+ * Customer Provided Key Info.
2794
+ */
2795
+ customerProvidedKey?: CpkInfo;
2796
+ /**
2797
+ * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to
2798
+ * encrypt the data provided in the request. If not specified, encryption is performed with the
2799
+ * default account encryption scope. For more information, see Encryption at Rest for Azure
2800
+ * Storage Services.
2801
+ */
2802
+ encryptionScope?: string;
2803
+ /**
2804
+ * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.
2805
+ */
2806
+ sourceAuthorization?: HttpAuthorization;
2807
+ /**
2808
+ * Valid value is backup
2809
+ */
2810
+ sourceShareTokenIntent?: FileShareTokenIntent;
2811
+ }
2812
+ /**
2813
+ * Contains response data for the {@link PageBlobClient.createIfNotExists} operation.
2814
+ */
2815
+ export interface PageBlobCreateIfNotExistsResponse extends PageBlobCreateResponse {
2816
+ /**
2817
+ * Indicate whether the blob is successfully created. Is false when the blob is not changed as it already exists.
2818
+ */
2819
+ succeeded: boolean;
2820
+ }
2821
+ /**
2822
+ * PageBlobClient defines a set of operations applicable to page blobs.
2823
+ */
2824
+ export declare class PageBlobClient extends BlobClient {
2825
+ /**
2826
+ * pageBlobsContext provided by protocol layer.
2827
+ */
2828
+ private pageBlobContext;
2829
+ /**
2830
+ *
2831
+ * Creates an instance of PageBlobClient.
2832
+ *
2833
+ * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.
2834
+ * [ Note - Account connection string can only be used in NODE.JS runtime. ]
2835
+ * Account connection string example -
2836
+ * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`
2837
+ * SAS connection string example -
2838
+ * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`
2839
+ * @param containerName - Container name.
2840
+ * @param blobName - Blob name.
2841
+ * @param options - Optional. Options to configure the HTTP pipeline.
2842
+ */
2843
+ constructor(connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions);
2844
+ /**
2845
+ * Creates an instance of PageBlobClient.
2846
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
2847
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
2848
+ * If a blob name includes ? or %, blob name must be encoded in the URL.
2849
+ *
2850
+ * @param url - A Client string pointing to Azure Storage page blob, such as
2851
+ * "https://myaccount.blob.core.windows.net/mycontainer/pageblob". You can append a SAS
2852
+ * if using AnonymousCredential, such as "https://myaccount.blob.core.windows.net/mycontainer/pageblob?sasString".
2853
+ * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.
2854
+ * @param options - Optional. Options to configure the HTTP pipeline.
2855
+ */
2856
+ constructor(url: string, credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions);
2857
+ /**
2858
+ * Creates an instance of PageBlobClient.
2859
+ *
2860
+ * @param url - A URL string pointing to Azure Storage page blob, such as
2861
+ * "https://myaccount.blob.core.windows.net/mycontainer/pageblob".
2862
+ * You can append a SAS if using AnonymousCredential, such as
2863
+ * "https://myaccount.blob.core.windows.net/mycontainer/pageblob?sasString".
2864
+ * This method accepts an encoded URL or non-encoded URL pointing to a blob.
2865
+ * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.
2866
+ * However, if a blob name includes ? or %, blob name must be encoded in the URL.
2867
+ * Such as a blob named "my?blob%", the URL should be "https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25".
2868
+ * @param pipeline - Call newPipeline() to create a default
2869
+ * pipeline, or provide a customized pipeline.
2870
+ */
2871
+ constructor(url: string, pipeline: PipelineLike);
2872
+ /**
2873
+ * Creates a new PageBlobClient object identical to the source but with the
2874
+ * specified snapshot timestamp.
2875
+ * Provide "" will remove the snapshot and return a Client to the base blob.
2876
+ *
2877
+ * @param snapshot - The snapshot timestamp.
2878
+ * @returns A new PageBlobClient object identical to the source but with the specified snapshot timestamp.
2879
+ */
2880
+ withSnapshot(snapshot: string): PageBlobClient;
2881
+ /**
2882
+ * Creates a page blob of the specified length. Call uploadPages to upload data
2883
+ * data to a page blob.
2884
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-blob
2885
+ *
2886
+ * @param size - size of the page blob.
2887
+ * @param options - Options to the Page Blob Create operation.
2888
+ * @returns Response data for the Page Blob Create operation.
2889
+ */
2890
+ create(size: number, options?: PageBlobCreateOptions): Promise<PageBlobCreateResponse>;
2891
+ /**
2892
+ * Creates a page blob of the specified length. Call uploadPages to upload data
2893
+ * data to a page blob. If the blob with the same name already exists, the content
2894
+ * of the existing blob will remain unchanged.
2895
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-blob
2896
+ *
2897
+ * @param size - size of the page blob.
2898
+ * @param options -
2899
+ */
2900
+ createIfNotExists(size: number, options?: PageBlobCreateIfNotExistsOptions): Promise<PageBlobCreateIfNotExistsResponse>;
2901
+ /**
2902
+ * Writes 1 or more pages to the page blob. The start and end offsets must be a multiple of 512.
2903
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-page
2904
+ *
2905
+ * @param body - Data to upload
2906
+ * @param offset - Offset of destination page blob
2907
+ * @param count - Content length of the body, also number of bytes to be uploaded
2908
+ * @param options - Options to the Page Blob Upload Pages operation.
2909
+ * @returns Response data for the Page Blob Upload Pages operation.
2910
+ */
2911
+ uploadPages(body: HttpRequestBody, offset: number, count: number, options?: PageBlobUploadPagesOptions): Promise<PageBlobUploadPagesResponse>;
2912
+ /**
2913
+ * The Upload Pages operation writes a range of pages to a page blob where the
2914
+ * contents are read from a URL.
2915
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-page-from-url
2916
+ *
2917
+ * @param sourceURL - Specify a URL to the copy source, Shared Access Signature(SAS) maybe needed for authentication
2918
+ * @param sourceOffset - The source offset to copy from. Pass 0 to copy from the beginning of source page blob
2919
+ * @param destOffset - Offset of destination page blob
2920
+ * @param count - Number of bytes to be uploaded from source page blob
2921
+ * @param options -
2922
+ */
2923
+ uploadPagesFromURL(sourceURL: string, sourceOffset: number, destOffset: number, count: number, options?: PageBlobUploadPagesFromURLOptions): Promise<PageBlobUploadPagesFromURLResponse>;
2924
+ /**
2925
+ * Frees the specified pages from the page blob.
2926
+ * @see https://learn.microsoft.com/rest/api/storageservices/put-page
2927
+ *
2928
+ * @param offset - Starting byte position of the pages to clear.
2929
+ * @param count - Number of bytes to clear.
2930
+ * @param options - Options to the Page Blob Clear Pages operation.
2931
+ * @returns Response data for the Page Blob Clear Pages operation.
2932
+ */
2933
+ clearPages(offset?: number, count?: number, options?: PageBlobClearPagesOptions): Promise<PageBlobClearPagesResponse>;
2934
+ /**
2935
+ * Returns the list of valid page ranges for a page blob or snapshot of a page blob.
2936
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
2937
+ *
2938
+ * @param offset - Starting byte position of the page ranges.
2939
+ * @param count - Number of bytes to get.
2940
+ * @param options - Options to the Page Blob Get Ranges operation.
2941
+ * @returns Response data for the Page Blob Get Ranges operation.
2942
+ */
2943
+ getPageRanges(offset?: number, count?: number, options?: PageBlobGetPageRangesOptions): Promise<PageBlobGetPageRangesResponse>;
2944
+ /**
2945
+ * getPageRangesSegment returns a single segment of page ranges starting from the
2946
+ * specified Marker. Use an empty Marker to start enumeration from the beginning.
2947
+ * After getting a segment, process it, and then call getPageRangesSegment again
2948
+ * (passing the the previously-returned Marker) to get the next segment.
2949
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
2950
+ *
2951
+ * @param offset - Starting byte position of the page ranges.
2952
+ * @param count - Number of bytes to get.
2953
+ * @param marker - A string value that identifies the portion of the list to be returned with the next list operation.
2954
+ * @param options - Options to PageBlob Get Page Ranges Segment operation.
2955
+ */
2956
+ private listPageRangesSegment;
2957
+ /**
2958
+ * Returns an AsyncIterableIterator for {@link PageBlobGetPageRangesResponseModel}
2959
+ *
2960
+ * @param offset - Starting byte position of the page ranges.
2961
+ * @param count - Number of bytes to get.
2962
+ * @param marker - A string value that identifies the portion of
2963
+ * the get of page ranges to be returned with the next getting operation. The
2964
+ * operation returns the ContinuationToken value within the response body if the
2965
+ * getting operation did not return all page ranges remaining within the current page.
2966
+ * The ContinuationToken value can be used as the value for
2967
+ * the marker parameter in a subsequent call to request the next page of get
2968
+ * items. The marker value is opaque to the client.
2969
+ * @param options - Options to List Page Ranges operation.
2970
+ */
2971
+ private listPageRangeItemSegments;
2972
+ /**
2973
+ * Returns an AsyncIterableIterator of {@link PageRangeInfo} objects
2974
+ *
2975
+ * @param offset - Starting byte position of the page ranges.
2976
+ * @param count - Number of bytes to get.
2977
+ * @param options - Options to List Page Ranges operation.
2978
+ */
2979
+ private listPageRangeItems;
2980
+ /**
2981
+ * Returns an async iterable iterator to list of page ranges for a page blob.
2982
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
2983
+ *
2984
+ * .byPage() returns an async iterable iterator to list of page ranges for a page blob.
2985
+ *
2986
+ * ```ts snippet:ClientsListPageBlobs
2987
+ * import { BlobServiceClient } from "@azure/storage-blob";
2988
+ * import { DefaultAzureCredential } from "@azure/identity";
2989
+ *
2990
+ * const account = "<account>";
2991
+ * const blobServiceClient = new BlobServiceClient(
2992
+ * `https://${account}.blob.core.windows.net`,
2993
+ * new DefaultAzureCredential(),
2994
+ * );
2995
+ *
2996
+ * const containerName = "<container name>";
2997
+ * const blobName = "<blob name>";
2998
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
2999
+ * const pageBlobClient = containerClient.getPageBlobClient(blobName);
3000
+ *
3001
+ * // Example using `for await` syntax
3002
+ * let i = 1;
3003
+ * for await (const pageRange of pageBlobClient.listPageRanges()) {
3004
+ * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);
3005
+ * }
3006
+ *
3007
+ * // Example using `iter.next()` syntax
3008
+ * i = 1;
3009
+ * const iter = pageBlobClient.listPageRanges();
3010
+ * let { value, done } = await iter.next();
3011
+ * while (!done) {
3012
+ * console.log(`Page range ${i++}: ${value.start} - ${value.end}`);
3013
+ * ({ value, done } = await iter.next());
3014
+ * }
3015
+ *
3016
+ * // Example using `byPage()` syntax
3017
+ * i = 1;
3018
+ * for await (const page of pageBlobClient.listPageRanges().byPage({ maxPageSize: 20 })) {
3019
+ * for (const pageRange of page.pageRange || []) {
3020
+ * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);
3021
+ * }
3022
+ * }
3023
+ *
3024
+ * // Example using paging with a marker
3025
+ * i = 1;
3026
+ * let iterator = pageBlobClient.listPageRanges().byPage({ maxPageSize: 2 });
3027
+ * let response = (await iterator.next()).value;
3028
+ * // Prints 2 page ranges
3029
+ * if (response.pageRange) {
3030
+ * for (const pageRange of response.pageRange) {
3031
+ * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);
3032
+ * }
3033
+ * }
3034
+ * // Gets next marker
3035
+ * let marker = response.continuationToken;
3036
+ * // Passing next marker as continuationToken
3037
+ * iterator = pageBlobClient.listPageRanges().byPage({ continuationToken: marker, maxPageSize: 10 });
3038
+ * response = (await iterator.next()).value;
3039
+ * // Prints 10 page ranges
3040
+ * if (response.pageRange) {
3041
+ * for (const pageRange of response.pageRange) {
3042
+ * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);
3043
+ * }
3044
+ * }
3045
+ * ```
3046
+ *
3047
+ * @param offset - Starting byte position of the page ranges.
3048
+ * @param count - Number of bytes to get.
3049
+ * @param options - Options to the Page Blob Get Ranges operation.
3050
+ * @returns An asyncIterableIterator that supports paging.
3051
+ */
3052
+ listPageRanges(offset?: number, count?: number, options?: PageBlobListPageRangesOptions): PagedAsyncIterableIterator<PageRangeInfo, PageBlobGetPageRangesResponseModel>;
3053
+ /**
3054
+ * Gets the collection of page ranges that differ between a specified snapshot and this page blob.
3055
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
3056
+ *
3057
+ * @param offset - Starting byte position of the page blob
3058
+ * @param count - Number of bytes to get ranges diff.
3059
+ * @param prevSnapshot - Timestamp of snapshot to retrieve the difference.
3060
+ * @param options - Options to the Page Blob Get Page Ranges Diff operation.
3061
+ * @returns Response data for the Page Blob Get Page Range Diff operation.
3062
+ */
3063
+ getPageRangesDiff(offset: number, count: number, prevSnapshot: string, options?: PageBlobGetPageRangesDiffOptions): Promise<PageBlobGetPageRangesDiffResponse>;
3064
+ /**
3065
+ * getPageRangesDiffSegment returns a single segment of page ranges starting from the
3066
+ * specified Marker for difference between previous snapshot and the target page blob.
3067
+ * Use an empty Marker to start enumeration from the beginning.
3068
+ * After getting a segment, process it, and then call getPageRangesDiffSegment again
3069
+ * (passing the the previously-returned Marker) to get the next segment.
3070
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
3071
+ *
3072
+ * @param offset - Starting byte position of the page ranges.
3073
+ * @param count - Number of bytes to get.
3074
+ * @param prevSnapshotOrUrl - Timestamp of snapshot to retrieve the difference or URL of snapshot to retrieve the difference.
3075
+ * @param marker - A string value that identifies the portion of the get to be returned with the next get operation.
3076
+ * @param options - Options to the Page Blob Get Page Ranges Diff operation.
3077
+ */
3078
+ private listPageRangesDiffSegment;
3079
+ /**
3080
+ * Returns an AsyncIterableIterator for {@link PageBlobGetPageRangesDiffResponseModel}
3081
+ *
3082
+ *
3083
+ * @param offset - Starting byte position of the page ranges.
3084
+ * @param count - Number of bytes to get.
3085
+ * @param prevSnapshotOrUrl - Timestamp of snapshot to retrieve the difference or URL of snapshot to retrieve the difference.
3086
+ * @param marker - A string value that identifies the portion of
3087
+ * the get of page ranges to be returned with the next getting operation. The
3088
+ * operation returns the ContinuationToken value within the response body if the
3089
+ * getting operation did not return all page ranges remaining within the current page.
3090
+ * The ContinuationToken value can be used as the value for
3091
+ * the marker parameter in a subsequent call to request the next page of get
3092
+ * items. The marker value is opaque to the client.
3093
+ * @param options - Options to the Page Blob Get Page Ranges Diff operation.
3094
+ */
3095
+ private listPageRangeDiffItemSegments;
3096
+ /**
3097
+ * Returns an AsyncIterableIterator of {@link PageRangeInfo} objects
3098
+ *
3099
+ * @param offset - Starting byte position of the page ranges.
3100
+ * @param count - Number of bytes to get.
3101
+ * @param prevSnapshotOrUrl - Timestamp of snapshot to retrieve the difference or URL of snapshot to retrieve the difference.
3102
+ * @param options - Options to the Page Blob Get Page Ranges Diff operation.
3103
+ */
3104
+ private listPageRangeDiffItems;
3105
+ /**
3106
+ * Returns an async iterable iterator to list of page ranges that differ between a specified snapshot and this page blob.
3107
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
3108
+ *
3109
+ * .byPage() returns an async iterable iterator to list of page ranges that differ between a specified snapshot and this page blob.
3110
+ *
3111
+ * ```ts snippet:ClientsListPageBlobsDiff
3112
+ * import { BlobServiceClient } from "@azure/storage-blob";
3113
+ * import { DefaultAzureCredential } from "@azure/identity";
3114
+ *
3115
+ * const account = "<account>";
3116
+ * const blobServiceClient = new BlobServiceClient(
3117
+ * `https://${account}.blob.core.windows.net`,
3118
+ * new DefaultAzureCredential(),
3119
+ * );
3120
+ *
3121
+ * const containerName = "<container name>";
3122
+ * const blobName = "<blob name>";
3123
+ * const containerClient = blobServiceClient.getContainerClient(containerName);
3124
+ * const pageBlobClient = containerClient.getPageBlobClient(blobName);
3125
+ *
3126
+ * const offset = 0;
3127
+ * const count = 1024;
3128
+ * const previousSnapshot = "<previous snapshot>";
3129
+ * // Example using `for await` syntax
3130
+ * let i = 1;
3131
+ * for await (const pageRange of pageBlobClient.listPageRangesDiff(offset, count, previousSnapshot)) {
3132
+ * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);
3133
+ * }
3134
+ *
3135
+ * // Example using `iter.next()` syntax
3136
+ * i = 1;
3137
+ * const iter = pageBlobClient.listPageRangesDiff(offset, count, previousSnapshot);
3138
+ * let { value, done } = await iter.next();
3139
+ * while (!done) {
3140
+ * console.log(`Page range ${i++}: ${value.start} - ${value.end}`);
3141
+ * ({ value, done } = await iter.next());
3142
+ * }
3143
+ *
3144
+ * // Example using `byPage()` syntax
3145
+ * i = 1;
3146
+ * for await (const page of pageBlobClient
3147
+ * .listPageRangesDiff(offset, count, previousSnapshot)
3148
+ * .byPage({ maxPageSize: 20 })) {
3149
+ * for (const pageRange of page.pageRange || []) {
3150
+ * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);
3151
+ * }
3152
+ * }
3153
+ *
3154
+ * // Example using paging with a marker
3155
+ * i = 1;
3156
+ * let iterator = pageBlobClient
3157
+ * .listPageRangesDiff(offset, count, previousSnapshot)
3158
+ * .byPage({ maxPageSize: 2 });
3159
+ * let response = (await iterator.next()).value;
3160
+ * // Prints 2 page ranges
3161
+ * if (response.pageRange) {
3162
+ * for (const pageRange of response.pageRange) {
3163
+ * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);
3164
+ * }
3165
+ * }
3166
+ * // Gets next marker
3167
+ * let marker = response.continuationToken;
3168
+ * // Passing next marker as continuationToken
3169
+ * iterator = pageBlobClient
3170
+ * .listPageRangesDiff(offset, count, previousSnapshot)
3171
+ * .byPage({ continuationToken: marker, maxPageSize: 10 });
3172
+ * response = (await iterator.next()).value;
3173
+ * // Prints 10 page ranges
3174
+ * if (response.pageRange) {
3175
+ * for (const pageRange of response.pageRange) {
3176
+ * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);
3177
+ * }
3178
+ * }
3179
+ * ```
3180
+ *
3181
+ * @param offset - Starting byte position of the page ranges.
3182
+ * @param count - Number of bytes to get.
3183
+ * @param prevSnapshot - Timestamp of snapshot to retrieve the difference.
3184
+ * @param options - Options to the Page Blob Get Ranges operation.
3185
+ * @returns An asyncIterableIterator that supports paging.
3186
+ */
3187
+ listPageRangesDiff(offset: number, count: number, prevSnapshot: string, options?: PageBlobListPageRangesDiffOptions): PagedAsyncIterableIterator<PageRangeInfo, PageBlobGetPageRangesDiffResponseModel>;
3188
+ /**
3189
+ * Gets the collection of page ranges that differ between a specified snapshot and this page blob for managed disks.
3190
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
3191
+ *
3192
+ * @param offset - Starting byte position of the page blob
3193
+ * @param count - Number of bytes to get ranges diff.
3194
+ * @param prevSnapshotUrl - URL of snapshot to retrieve the difference.
3195
+ * @param options - Options to the Page Blob Get Page Ranges Diff operation.
3196
+ * @returns Response data for the Page Blob Get Page Range Diff operation.
3197
+ */
3198
+ getPageRangesDiffForManagedDisks(offset: number, count: number, prevSnapshotUrl: string, options?: PageBlobGetPageRangesDiffOptions): Promise<PageBlobGetPageRangesDiffResponse>;
3199
+ /**
3200
+ * Resizes the page blob to the specified size (which must be a multiple of 512).
3201
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-blob-properties
3202
+ *
3203
+ * @param size - Target size
3204
+ * @param options - Options to the Page Blob Resize operation.
3205
+ * @returns Response data for the Page Blob Resize operation.
3206
+ */
3207
+ resize(size: number, options?: PageBlobResizeOptions): Promise<PageBlobResizeResponse>;
3208
+ /**
3209
+ * Sets a page blob's sequence number.
3210
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-blob-properties
3211
+ *
3212
+ * @param sequenceNumberAction - Indicates how the service should modify the blob's sequence number.
3213
+ * @param sequenceNumber - Required if sequenceNumberAction is max or update
3214
+ * @param options - Options to the Page Blob Update Sequence Number operation.
3215
+ * @returns Response data for the Page Blob Update Sequence Number operation.
3216
+ */
3217
+ updateSequenceNumber(sequenceNumberAction: SequenceNumberActionType, sequenceNumber?: number, options?: PageBlobUpdateSequenceNumberOptions): Promise<PageBlobUpdateSequenceNumberResponse>;
3218
+ /**
3219
+ * Begins an operation to start an incremental copy from one page blob's snapshot to this page blob.
3220
+ * The snapshot is copied such that only the differential changes between the previously
3221
+ * copied snapshot are transferred to the destination.
3222
+ * The copied snapshots are complete copies of the original snapshot and can be read or copied from as usual.
3223
+ * @see https://learn.microsoft.com/rest/api/storageservices/incremental-copy-blob
3224
+ * @see https://learn.microsoft.com/azure/virtual-machines/windows/incremental-snapshots
3225
+ *
3226
+ * @param copySource - Specifies the name of the source page blob snapshot. For example,
3227
+ * https://myaccount.blob.core.windows.net/mycontainer/myblob?snapshot=<DateTime>
3228
+ * @param options - Options to the Page Blob Copy Incremental operation.
3229
+ * @returns Response data for the Page Blob Copy Incremental operation.
3230
+ */
3231
+ startCopyIncremental(copySource: string, options?: PageBlobStartCopyIncrementalOptions): Promise<PageBlobCopyIncrementalResponse>;
3232
+ }
3233
+ //# sourceMappingURL=Clients.d.ts.map