@azure/storage-file-datalake 12.26.0 → 12.27.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +117 -190
- package/dist/browser/DataLakeFileSystemClient.d.ts +473 -0
- package/dist/browser/DataLakeFileSystemClient.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/DataLakeFileSystemClient.js +170 -75
- package/dist/browser/DataLakeFileSystemClient.js.map +1 -0
- package/dist/browser/DataLakeLeaseClient.d.ts +14 -0
- package/dist/browser/DataLakeLeaseClient.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/DataLakeLeaseClient.js +3 -1
- package/dist/browser/DataLakeLeaseClient.js.map +1 -0
- package/dist/browser/DataLakeServiceClient.d.ts +281 -0
- package/dist/browser/DataLakeServiceClient.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/DataLakeServiceClient.js +94 -62
- package/dist/browser/DataLakeServiceClient.js.map +1 -0
- package/dist/browser/Pipeline.d.ts +52 -0
- package/dist/browser/Pipeline.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/Pipeline.js +8 -8
- package/dist/browser/Pipeline.js.map +1 -0
- package/dist/browser/StorageClient.d.ts +61 -0
- package/dist/browser/StorageClient.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/StorageClient.js +5 -3
- package/dist/browser/StorageClient.js.map +1 -0
- package/dist/browser/StorageContextClient.d.ts +9 -0
- package/dist/browser/StorageContextClient.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/StorageContextClient.js +3 -3
- package/dist/browser/StorageContextClient.js.map +1 -0
- package/dist/browser/clients.d.ts +689 -0
- package/dist/browser/clients.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/clients.js +87 -45
- package/dist/browser/clients.js.map +1 -0
- package/dist/browser/credentials/StorageSharedKeyCredential-browser.d.mts.map +1 -0
- package/dist/browser/credentials/StorageSharedKeyCredential-browser.mjs.map +1 -0
- package/dist/browser/credentials/StorageSharedKeyCredential.d.ts +3 -0
- package/{dist-esm/storage-file-datalake/src/credentials/StorageSharedKeyCredential.browser.js → dist/browser/credentials/StorageSharedKeyCredential.js} +1 -1
- package/dist/browser/credentials/UserDelegationKeyCredential-browser.d.mts.map +1 -0
- package/dist/browser/credentials/UserDelegationKeyCredential-browser.mjs.map +1 -0
- package/dist/browser/credentials/UserDelegationKeyCredential.d.ts +3 -0
- package/{dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.browser.js → dist/browser/credentials/UserDelegationKeyCredential.js} +1 -1
- package/dist/browser/generated/src/index.d.ts +4 -0
- package/dist/browser/generated/src/index.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/index.js +3 -3
- package/dist/browser/generated/src/index.js.map +1 -0
- package/dist/browser/generated/src/models/index.d.ts +1091 -0
- package/dist/browser/generated/src/models/index.d.ts.map +1 -0
- package/dist/browser/generated/src/models/index.js.map +1 -0
- package/dist/browser/generated/src/models/mappers.d.ts +53 -0
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/src/models/mappers.js.map +1 -0
- package/dist/browser/generated/src/models/parameters.d.ts +87 -0
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/models/parameters.js +1 -1
- package/dist/browser/generated/src/models/parameters.js.map +1 -0
- package/dist/browser/generated/src/operations/fileSystemOperations.d.ts +55 -0
- package/dist/browser/generated/src/operations/fileSystemOperations.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operations/fileSystemOperations.js +2 -2
- package/dist/browser/generated/src/operations/fileSystemOperations.js.map +1 -0
- package/dist/browser/generated/src/operations/index.d.ts +4 -0
- package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces → dist/browser/generated/src/operations}/index.js +3 -3
- package/dist/browser/generated/src/operations/index.js.map +1 -0
- package/dist/browser/generated/src/operations/pathOperations.d.ts +120 -0
- package/dist/browser/generated/src/operations/pathOperations.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operations/pathOperations.js +2 -2
- package/dist/browser/generated/src/operations/pathOperations.js.map +1 -0
- package/dist/browser/generated/src/operations/service.d.ts +18 -0
- package/dist/browser/generated/src/operations/service.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operations/service.js +2 -2
- package/dist/browser/generated/src/operations/service.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/fileSystemOperations.d.ts +47 -0
- package/dist/browser/generated/src/operationsInterfaces/fileSystemOperations.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts +4 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.js +11 -0
- package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/pathOperations.d.ts +112 -0
- package/dist/browser/generated/src/operationsInterfaces/pathOperations.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/pathOperations.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/service.d.ts +10 -0
- package/dist/browser/generated/src/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/service.js.map +1 -0
- package/dist/browser/generated/src/storageClient.d.ts +20 -0
- package/dist/browser/generated/src/storageClient.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/storageClient.js +3 -3
- package/dist/browser/generated/src/storageClient.js.map +1 -0
- package/dist/browser/index-browser.d.mts.map +1 -0
- package/dist/browser/index-browser.mjs.map +1 -0
- package/dist/browser/index.d.ts +13 -0
- package/{dist-esm/storage-file-datalake/src/index.browser.js → dist/browser/index.js} +10 -10
- package/dist/browser/log.d.ts +5 -0
- package/dist/browser/log.d.ts.map +1 -0
- package/dist/browser/log.js.map +1 -0
- package/dist/browser/models.d.ts +1318 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.internal.d.ts +2 -0
- package/dist/browser/models.internal.d.ts.map +1 -0
- package/dist/browser/models.internal.js.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/models.js +2 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/sas/AccountSASPermissions.d.ts +61 -0
- package/dist/browser/sas/AccountSASPermissions.d.ts.map +1 -0
- package/dist/browser/sas/AccountSASPermissions.js.map +1 -0
- package/dist/browser/sas/AccountSASResourceTypes.d.ts +38 -0
- package/dist/browser/sas/AccountSASResourceTypes.d.ts.map +1 -0
- package/dist/browser/sas/AccountSASResourceTypes.js.map +1 -0
- package/dist/browser/sas/AccountSASServices.d.ts +40 -0
- package/dist/browser/sas/AccountSASServices.d.ts.map +1 -0
- package/dist/browser/sas/AccountSASServices.js.map +1 -0
- package/dist/browser/sas/AccountSASSignatureValues.d.ts +78 -0
- package/dist/browser/sas/AccountSASSignatureValues.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/AccountSASSignatureValues.js +7 -7
- package/dist/browser/sas/AccountSASSignatureValues.js.map +1 -0
- package/dist/browser/sas/DataLakeSASPermissions.d.ts +65 -0
- package/dist/browser/sas/DataLakeSASPermissions.d.ts.map +1 -0
- package/dist/browser/sas/DataLakeSASPermissions.js.map +1 -0
- package/dist/browser/sas/DataLakeSASSignatureValues.d.ts +205 -0
- package/dist/browser/sas/DataLakeSASSignatureValues.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/DataLakeSASSignatureValues.js +107 -10
- package/dist/browser/sas/DataLakeSASSignatureValues.js.map +1 -0
- package/dist/browser/sas/DirectorySASPermissions.d.ts +69 -0
- package/dist/browser/sas/DirectorySASPermissions.d.ts.map +1 -0
- package/dist/browser/sas/DirectorySASPermissions.js.map +1 -0
- package/dist/browser/sas/FileSystemSASPermissions.d.ts +69 -0
- package/dist/browser/sas/FileSystemSASPermissions.d.ts.map +1 -0
- package/dist/browser/sas/FileSystemSASPermissions.js.map +1 -0
- package/dist/browser/sas/SASQueryParameters.d.ts +309 -0
- package/dist/browser/sas/SASQueryParameters.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/SASQueryParameters.js +4 -2
- package/dist/browser/sas/SASQueryParameters.js.map +1 -0
- package/dist/browser/sas/SasIPRange.d.ts +24 -0
- package/dist/browser/sas/SasIPRange.d.ts.map +1 -0
- package/dist/browser/sas/SasIPRange.js.map +1 -0
- package/dist/browser/transforms.d.ts +51 -0
- package/dist/browser/transforms.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/transforms.js +2 -2
- package/dist/browser/transforms.js.map +1 -0
- package/dist/browser/utils/Batch.d.ts +68 -0
- package/dist/browser/utils/Batch.d.ts.map +1 -0
- package/dist/browser/utils/Batch.js.map +1 -0
- package/dist/browser/utils/BufferScheduler.d.ts +158 -0
- package/dist/browser/utils/BufferScheduler.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/BufferScheduler.js +1 -1
- package/dist/browser/utils/BufferScheduler.js.map +1 -0
- package/dist/browser/utils/DataLakeAclChangeFailedError.d.ts +16 -0
- package/dist/browser/utils/DataLakeAclChangeFailedError.d.ts.map +1 -0
- package/dist/browser/utils/DataLakeAclChangeFailedError.js.map +1 -0
- package/dist/browser/utils/PathClientInternal.d.ts +24 -0
- package/dist/browser/utils/PathClientInternal.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/PathClientInternal.js +2 -2
- package/dist/browser/utils/PathClientInternal.js.map +1 -0
- package/dist/browser/utils/constants.d.ts +70 -0
- package/dist/browser/utils/constants.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/constants.js +2 -2
- package/dist/browser/utils/constants.js.map +1 -0
- package/dist/browser/utils/tracing.d.ts +6 -0
- package/dist/browser/utils/tracing.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/tracing.js +1 -1
- package/dist/browser/utils/tracing.js.map +1 -0
- package/dist/browser/utils/utils-browser.d.mts.map +1 -0
- package/dist/browser/utils/utils-browser.mjs.map +1 -0
- package/dist/browser/utils/utils.common.d.ts +236 -0
- package/dist/browser/utils/utils.common.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/utils.common.js +5 -5
- package/dist/browser/utils/utils.common.js.map +1 -0
- package/dist/browser/utils/utils.d.ts +3 -0
- package/dist/browser/utils/utils.js +9 -0
- package/dist/commonjs/DataLakeFileSystemClient.d.ts +473 -0
- package/dist/commonjs/DataLakeFileSystemClient.d.ts.map +1 -0
- package/dist/commonjs/DataLakeFileSystemClient.js +683 -0
- package/dist/commonjs/DataLakeFileSystemClient.js.map +1 -0
- package/dist/commonjs/DataLakeLeaseClient.d.ts +14 -0
- package/dist/commonjs/DataLakeLeaseClient.d.ts.map +1 -0
- package/dist/commonjs/DataLakeLeaseClient.js +49 -0
- package/dist/commonjs/DataLakeLeaseClient.js.map +1 -0
- package/dist/commonjs/DataLakeServiceClient.d.ts +281 -0
- package/dist/commonjs/DataLakeServiceClient.d.ts.map +1 -0
- package/dist/commonjs/DataLakeServiceClient.js +372 -0
- package/dist/commonjs/DataLakeServiceClient.js.map +1 -0
- package/dist/commonjs/Pipeline.d.ts +52 -0
- package/dist/commonjs/Pipeline.d.ts.map +1 -0
- package/dist/commonjs/Pipeline.js +222 -0
- package/dist/commonjs/Pipeline.js.map +1 -0
- package/dist/commonjs/StorageClient.d.ts +61 -0
- package/dist/commonjs/StorageClient.d.ts.map +1 -0
- package/dist/commonjs/StorageClient.js +55 -0
- package/dist/commonjs/StorageClient.js.map +1 -0
- package/dist/commonjs/StorageContextClient.d.ts +9 -0
- package/dist/commonjs/StorageContextClient.d.ts.map +1 -0
- package/dist/commonjs/StorageContextClient.js +39 -0
- package/dist/commonjs/StorageContextClient.js.map +1 -0
- package/dist/commonjs/clients.d.ts +689 -0
- package/dist/commonjs/clients.d.ts.map +1 -0
- package/dist/commonjs/clients.js +1195 -0
- package/dist/commonjs/clients.js.map +1 -0
- package/dist/commonjs/credentials/StorageSharedKeyCredential.d.ts +2 -0
- package/dist/commonjs/credentials/StorageSharedKeyCredential.d.ts.map +1 -0
- package/dist/commonjs/credentials/StorageSharedKeyCredential.js +8 -0
- package/dist/commonjs/credentials/StorageSharedKeyCredential.js.map +1 -0
- package/dist/commonjs/credentials/UserDelegationKeyCredential.d.ts +34 -0
- package/dist/commonjs/credentials/UserDelegationKeyCredential.d.ts.map +1 -0
- package/dist/commonjs/credentials/UserDelegationKeyCredential.js +35 -0
- package/dist/commonjs/credentials/UserDelegationKeyCredential.js.map +1 -0
- package/dist/commonjs/generated/src/index.d.ts +4 -0
- package/dist/commonjs/generated/src/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/index.js +16 -0
- package/dist/commonjs/generated/src/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/index.d.ts +1091 -0
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/index.js +19 -0
- package/dist/commonjs/generated/src/models/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts +53 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.js +2450 -0
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts +87 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.js +952 -0
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/src/operations/fileSystemOperations.d.ts +55 -0
- package/dist/commonjs/generated/src/operations/fileSystemOperations.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/fileSystemOperations.js +236 -0
- package/dist/commonjs/generated/src/operations/fileSystemOperations.js.map +1 -0
- package/dist/commonjs/generated/src/operations/index.d.ts +4 -0
- package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/index.js +14 -0
- package/dist/commonjs/generated/src/operations/index.js.map +1 -0
- package/dist/commonjs/generated/src/operations/pathOperations.d.ts +120 -0
- package/dist/commonjs/generated/src/operations/pathOperations.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/pathOperations.js +596 -0
- package/dist/commonjs/generated/src/operations/pathOperations.js.map +1 -0
- package/dist/commonjs/generated/src/operations/service.d.ts +18 -0
- package/dist/commonjs/generated/src/operations/service.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/service.js +63 -0
- package/dist/commonjs/generated/src/operations/service.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.d.ts +47 -0
- package/dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src/generated/src/operations/index.js → dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.js} +3 -4
- package/dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.d.ts +112 -0
- package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/service.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +1 -0
- package/dist/commonjs/generated/src/storageClient.d.ts +20 -0
- package/dist/commonjs/generated/src/storageClient.d.ts.map +1 -0
- package/dist/commonjs/generated/src/storageClient.js +52 -0
- package/dist/commonjs/generated/src/storageClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +23 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +49 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/log.d.ts +5 -0
- package/dist/commonjs/log.d.ts.map +1 -0
- package/dist/commonjs/log.js +11 -0
- package/dist/commonjs/log.js.map +1 -0
- package/dist/commonjs/models.d.ts +1318 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.internal.d.ts +2 -0
- package/dist/commonjs/models.internal.d.ts.map +1 -0
- package/dist/commonjs/models.internal.js +5 -0
- package/dist/commonjs/models.internal.js.map +1 -0
- package/dist/commonjs/models.js +57 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/sas/AccountSASPermissions.d.ts +61 -0
- package/dist/commonjs/sas/AccountSASPermissions.d.ts.map +1 -0
- package/dist/commonjs/sas/AccountSASPermissions.js +132 -0
- package/dist/commonjs/sas/AccountSASPermissions.js.map +1 -0
- package/dist/commonjs/sas/AccountSASResourceTypes.d.ts +38 -0
- package/dist/commonjs/sas/AccountSASResourceTypes.d.ts.map +1 -0
- package/dist/commonjs/sas/AccountSASResourceTypes.js +76 -0
- package/dist/commonjs/sas/AccountSASResourceTypes.js.map +1 -0
- package/dist/commonjs/sas/AccountSASServices.d.ts +40 -0
- package/dist/commonjs/sas/AccountSASServices.d.ts.map +1 -0
- package/dist/commonjs/sas/AccountSASServices.js +84 -0
- package/dist/commonjs/sas/AccountSASServices.js.map +1 -0
- package/dist/commonjs/sas/AccountSASSignatureValues.d.ts +78 -0
- package/dist/commonjs/sas/AccountSASSignatureValues.d.ts.map +1 -0
- package/dist/commonjs/sas/AccountSASSignatureValues.js +76 -0
- package/dist/commonjs/sas/AccountSASSignatureValues.js.map +1 -0
- package/dist/commonjs/sas/DataLakeSASPermissions.d.ts +65 -0
- package/dist/commonjs/sas/DataLakeSASPermissions.d.ts.map +1 -0
- package/dist/commonjs/sas/DataLakeSASPermissions.js +139 -0
- package/dist/commonjs/sas/DataLakeSASPermissions.js.map +1 -0
- package/dist/commonjs/sas/DataLakeSASSignatureValues.d.ts +205 -0
- package/dist/commonjs/sas/DataLakeSASSignatureValues.d.ts.map +1 -0
- package/dist/commonjs/sas/DataLakeSASSignatureValues.js +722 -0
- package/dist/commonjs/sas/DataLakeSASSignatureValues.js.map +1 -0
- package/dist/commonjs/sas/DirectorySASPermissions.d.ts +69 -0
- package/dist/commonjs/sas/DirectorySASPermissions.d.ts.map +1 -0
- package/dist/commonjs/sas/DirectorySASPermissions.js +149 -0
- package/dist/commonjs/sas/DirectorySASPermissions.js.map +1 -0
- package/dist/commonjs/sas/FileSystemSASPermissions.d.ts +69 -0
- package/dist/commonjs/sas/FileSystemSASPermissions.d.ts.map +1 -0
- package/dist/commonjs/sas/FileSystemSASPermissions.js +149 -0
- package/dist/commonjs/sas/FileSystemSASPermissions.js.map +1 -0
- package/dist/commonjs/sas/SASQueryParameters.d.ts +309 -0
- package/dist/commonjs/sas/SASQueryParameters.d.ts.map +1 -0
- package/dist/commonjs/sas/SASQueryParameters.js +252 -0
- package/dist/commonjs/sas/SASQueryParameters.js.map +1 -0
- package/dist/commonjs/sas/SasIPRange.d.ts +24 -0
- package/dist/commonjs/sas/SasIPRange.d.ts.map +1 -0
- package/dist/commonjs/sas/SasIPRange.js +16 -0
- package/dist/commonjs/sas/SasIPRange.js.map +1 -0
- package/dist/commonjs/transforms.d.ts +51 -0
- package/dist/commonjs/transforms.d.ts.map +1 -0
- package/dist/commonjs/transforms.js +357 -0
- package/dist/commonjs/transforms.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/utils/Batch.d.ts +68 -0
- package/dist/commonjs/utils/Batch.d.ts.map +1 -0
- package/dist/commonjs/utils/Batch.js +126 -0
- package/dist/commonjs/utils/Batch.js.map +1 -0
- package/dist/commonjs/utils/BufferScheduler.d.ts +158 -0
- package/dist/commonjs/utils/BufferScheduler.d.ts.map +1 -0
- package/dist/commonjs/utils/BufferScheduler.js +268 -0
- package/dist/commonjs/utils/BufferScheduler.js.map +1 -0
- package/dist/commonjs/utils/DataLakeAclChangeFailedError.d.ts +16 -0
- package/dist/commonjs/utils/DataLakeAclChangeFailedError.d.ts.map +1 -0
- package/dist/commonjs/utils/DataLakeAclChangeFailedError.js +17 -0
- package/dist/commonjs/utils/DataLakeAclChangeFailedError.js.map +1 -0
- package/dist/commonjs/utils/PathClientInternal.d.ts +24 -0
- package/dist/commonjs/utils/PathClientInternal.d.ts.map +1 -0
- package/dist/commonjs/utils/PathClientInternal.js +28 -0
- package/dist/commonjs/utils/PathClientInternal.js.map +1 -0
- package/dist/commonjs/utils/constants.d.ts +70 -0
- package/dist/commonjs/utils/constants.d.ts.map +1 -0
- package/dist/commonjs/utils/constants.js +247 -0
- package/dist/commonjs/utils/constants.js.map +1 -0
- package/dist/commonjs/utils/tracing.d.ts +6 -0
- package/dist/commonjs/utils/tracing.d.ts.map +1 -0
- package/dist/commonjs/utils/tracing.js +17 -0
- package/dist/commonjs/utils/tracing.js.map +1 -0
- package/dist/commonjs/utils/utils.common.d.ts +236 -0
- package/dist/commonjs/utils/utils.common.d.ts.map +1 -0
- package/dist/commonjs/utils/utils.common.js +595 -0
- package/dist/commonjs/utils/utils.common.js.map +1 -0
- package/dist/commonjs/utils/utils.d.ts +29 -0
- package/dist/commonjs/utils/utils.d.ts.map +1 -0
- package/dist/commonjs/utils/utils.js +91 -0
- package/dist/commonjs/utils/utils.js.map +1 -0
- package/dist/esm/DataLakeFileSystemClient.d.ts +473 -0
- package/dist/esm/DataLakeFileSystemClient.d.ts.map +1 -0
- package/dist/esm/DataLakeFileSystemClient.js +679 -0
- package/dist/esm/DataLakeFileSystemClient.js.map +1 -0
- package/dist/esm/DataLakeLeaseClient.d.ts +14 -0
- package/dist/esm/DataLakeLeaseClient.d.ts.map +1 -0
- package/dist/esm/DataLakeLeaseClient.js +45 -0
- package/dist/esm/DataLakeLeaseClient.js.map +1 -0
- package/dist/esm/DataLakeServiceClient.d.ts +281 -0
- package/dist/esm/DataLakeServiceClient.d.ts.map +1 -0
- package/dist/esm/DataLakeServiceClient.js +368 -0
- package/dist/esm/DataLakeServiceClient.js.map +1 -0
- package/dist/esm/Pipeline.d.ts +52 -0
- package/dist/esm/Pipeline.d.ts.map +1 -0
- package/dist/esm/Pipeline.js +216 -0
- package/dist/esm/Pipeline.js.map +1 -0
- package/dist/esm/StorageClient.d.ts +61 -0
- package/dist/esm/StorageClient.d.ts.map +1 -0
- package/dist/esm/StorageClient.js +51 -0
- package/dist/esm/StorageClient.js.map +1 -0
- package/dist/esm/StorageContextClient.d.ts +9 -0
- package/dist/esm/StorageContextClient.d.ts.map +1 -0
- package/dist/esm/StorageContextClient.js +35 -0
- package/dist/esm/StorageContextClient.js.map +1 -0
- package/dist/esm/clients.d.ts +689 -0
- package/dist/esm/clients.d.ts.map +1 -0
- package/dist/esm/clients.js +1189 -0
- package/dist/esm/clients.js.map +1 -0
- package/dist/esm/credentials/StorageSharedKeyCredential.d.ts +2 -0
- package/dist/esm/credentials/StorageSharedKeyCredential.d.ts.map +1 -0
- package/dist/esm/credentials/StorageSharedKeyCredential.js.map +1 -0
- package/dist/esm/credentials/UserDelegationKeyCredential.d.ts +34 -0
- package/dist/esm/credentials/UserDelegationKeyCredential.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src → dist/esm}/credentials/UserDelegationKeyCredential.js +1 -1
- package/dist/esm/credentials/UserDelegationKeyCredential.js.map +1 -0
- package/dist/esm/generated/src/index.d.ts +4 -0
- package/dist/esm/generated/src/index.d.ts.map +1 -0
- package/dist/esm/generated/src/index.js +11 -0
- package/dist/esm/generated/src/index.js.map +1 -0
- package/dist/esm/generated/src/models/index.d.ts +1091 -0
- package/dist/esm/generated/src/models/index.d.ts.map +1 -0
- package/dist/esm/generated/src/models/index.js +16 -0
- package/dist/esm/generated/src/models/index.js.map +1 -0
- package/dist/esm/generated/src/models/mappers.d.ts +53 -0
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/src/models/mappers.js +2446 -0
- package/dist/esm/generated/src/models/mappers.js.map +1 -0
- package/dist/esm/generated/src/models/parameters.d.ts +87 -0
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/src/models/parameters.js +948 -0
- package/dist/esm/generated/src/models/parameters.js.map +1 -0
- package/dist/esm/generated/src/operations/fileSystemOperations.d.ts +55 -0
- package/dist/esm/generated/src/operations/fileSystemOperations.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/fileSystemOperations.js +231 -0
- package/dist/esm/generated/src/operations/fileSystemOperations.js.map +1 -0
- package/dist/esm/generated/src/operations/index.d.ts +4 -0
- package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/index.js +11 -0
- package/dist/esm/generated/src/operations/index.js.map +1 -0
- package/dist/esm/generated/src/operations/pathOperations.d.ts +120 -0
- package/dist/esm/generated/src/operations/pathOperations.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/pathOperations.js +591 -0
- package/dist/esm/generated/src/operations/pathOperations.js.map +1 -0
- package/dist/esm/generated/src/operations/service.d.ts +18 -0
- package/dist/esm/generated/src/operations/service.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/service.js +58 -0
- package/dist/esm/generated/src/operations/service.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.d.ts +47 -0
- package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js +11 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/pathOperations.d.ts +112 -0
- package/dist/esm/generated/src/operationsInterfaces/pathOperations.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/pathOperations.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/pathOperations.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/service.d.ts +10 -0
- package/dist/esm/generated/src/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/service.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/service.js.map +1 -0
- package/dist/esm/generated/src/storageClient.d.ts +20 -0
- package/dist/esm/generated/src/storageClient.d.ts.map +1 -0
- package/dist/esm/generated/src/storageClient.js +47 -0
- package/dist/esm/generated/src/storageClient.js.map +1 -0
- package/dist/esm/index.d.ts +23 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +23 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/log.d.ts +5 -0
- package/dist/esm/log.d.ts.map +1 -0
- package/{dist-esm/storage-blob/src → dist/esm}/log.js +1 -1
- package/dist/esm/log.js.map +1 -0
- package/dist/esm/models.d.ts +1318 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.internal.d.ts +2 -0
- package/dist/esm/models.internal.d.ts.map +1 -0
- package/dist/esm/models.internal.js +4 -0
- package/dist/esm/models.internal.js.map +1 -0
- package/dist/esm/models.js +53 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/sas/AccountSASPermissions.d.ts +61 -0
- package/dist/esm/sas/AccountSASPermissions.d.ts.map +1 -0
- package/dist/esm/sas/AccountSASPermissions.js +128 -0
- package/dist/esm/sas/AccountSASPermissions.js.map +1 -0
- package/dist/esm/sas/AccountSASResourceTypes.d.ts +38 -0
- package/dist/esm/sas/AccountSASResourceTypes.d.ts.map +1 -0
- package/dist/esm/sas/AccountSASResourceTypes.js +72 -0
- package/dist/esm/sas/AccountSASResourceTypes.js.map +1 -0
- package/dist/esm/sas/AccountSASServices.d.ts +40 -0
- package/dist/esm/sas/AccountSASServices.d.ts.map +1 -0
- package/dist/esm/sas/AccountSASServices.js +80 -0
- package/dist/esm/sas/AccountSASServices.js.map +1 -0
- package/dist/esm/sas/AccountSASSignatureValues.d.ts +78 -0
- package/dist/esm/sas/AccountSASSignatureValues.d.ts.map +1 -0
- package/dist/esm/sas/AccountSASSignatureValues.js +72 -0
- package/dist/esm/sas/AccountSASSignatureValues.js.map +1 -0
- package/dist/esm/sas/DataLakeSASPermissions.d.ts +65 -0
- package/dist/esm/sas/DataLakeSASPermissions.d.ts.map +1 -0
- package/dist/esm/sas/DataLakeSASPermissions.js +135 -0
- package/dist/esm/sas/DataLakeSASPermissions.js.map +1 -0
- package/dist/esm/sas/DataLakeSASSignatureValues.d.ts +205 -0
- package/dist/esm/sas/DataLakeSASSignatureValues.d.ts.map +1 -0
- package/dist/esm/sas/DataLakeSASSignatureValues.js +718 -0
- package/dist/esm/sas/DataLakeSASSignatureValues.js.map +1 -0
- package/dist/esm/sas/DirectorySASPermissions.d.ts +69 -0
- package/dist/esm/sas/DirectorySASPermissions.d.ts.map +1 -0
- package/dist/esm/sas/DirectorySASPermissions.js +145 -0
- package/dist/esm/sas/DirectorySASPermissions.js.map +1 -0
- package/dist/esm/sas/FileSystemSASPermissions.d.ts +69 -0
- package/dist/esm/sas/FileSystemSASPermissions.d.ts.map +1 -0
- package/dist/esm/sas/FileSystemSASPermissions.js +145 -0
- package/dist/esm/sas/FileSystemSASPermissions.js.map +1 -0
- package/dist/esm/sas/SASQueryParameters.d.ts +309 -0
- package/dist/esm/sas/SASQueryParameters.d.ts.map +1 -0
- package/dist/esm/sas/SASQueryParameters.js +248 -0
- package/dist/esm/sas/SASQueryParameters.js.map +1 -0
- package/dist/esm/sas/SasIPRange.d.ts +24 -0
- package/dist/esm/sas/SasIPRange.d.ts.map +1 -0
- package/dist/esm/sas/SasIPRange.js +13 -0
- package/dist/esm/sas/SasIPRange.js.map +1 -0
- package/dist/esm/transforms.d.ts +51 -0
- package/dist/esm/transforms.d.ts.map +1 -0
- package/dist/esm/transforms.js +337 -0
- package/dist/esm/transforms.js.map +1 -0
- package/dist/esm/utils/Batch.d.ts +68 -0
- package/dist/esm/utils/Batch.d.ts.map +1 -0
- package/dist/esm/utils/Batch.js.map +1 -0
- package/dist/esm/utils/BufferScheduler.d.ts +158 -0
- package/dist/esm/utils/BufferScheduler.d.ts.map +1 -0
- package/{dist-esm/storage-common/src → dist/esm/utils}/BufferScheduler.js +27 -15
- package/dist/esm/utils/BufferScheduler.js.map +1 -0
- package/dist/esm/utils/DataLakeAclChangeFailedError.d.ts +16 -0
- package/dist/esm/utils/DataLakeAclChangeFailedError.d.ts.map +1 -0
- package/dist/esm/utils/DataLakeAclChangeFailedError.js +13 -0
- package/dist/esm/utils/DataLakeAclChangeFailedError.js.map +1 -0
- package/dist/esm/utils/PathClientInternal.d.ts +24 -0
- package/dist/esm/utils/PathClientInternal.d.ts.map +1 -0
- package/dist/esm/utils/PathClientInternal.js +24 -0
- package/dist/esm/utils/PathClientInternal.js.map +1 -0
- package/dist/esm/utils/constants.d.ts +70 -0
- package/dist/esm/utils/constants.d.ts.map +1 -0
- package/{dist-esm/storage-blob/src → dist/esm}/utils/constants.js +85 -67
- package/dist/esm/utils/constants.js.map +1 -0
- package/dist/esm/utils/tracing.d.ts +6 -0
- package/dist/esm/utils/tracing.d.ts.map +1 -0
- package/{dist-esm/storage-blob/src → dist/esm}/utils/tracing.js +2 -2
- package/dist/esm/utils/tracing.js.map +1 -0
- package/dist/esm/utils/utils.common.d.ts +236 -0
- package/dist/esm/utils/utils.common.d.ts.map +1 -0
- package/{dist-esm/storage-blob/src → dist/esm}/utils/utils.common.js +105 -297
- package/dist/esm/utils/utils.common.js.map +1 -0
- package/dist/esm/utils/utils.d.ts +29 -0
- package/dist/esm/utils/utils.d.ts.map +1 -0
- package/{dist-esm/storage-file-datalake/src/utils/utils.node.js → dist/esm/utils/utils.js} +3 -3
- package/dist/esm/utils/utils.js.map +1 -0
- package/dist/react-native/DataLakeFileSystemClient.d.ts +473 -0
- package/dist/react-native/DataLakeFileSystemClient.d.ts.map +1 -0
- package/dist/react-native/DataLakeFileSystemClient.js +679 -0
- package/dist/react-native/DataLakeFileSystemClient.js.map +1 -0
- package/dist/react-native/DataLakeLeaseClient.d.ts +14 -0
- package/dist/react-native/DataLakeLeaseClient.d.ts.map +1 -0
- package/dist/react-native/DataLakeLeaseClient.js +45 -0
- package/dist/react-native/DataLakeLeaseClient.js.map +1 -0
- package/dist/react-native/DataLakeServiceClient.d.ts +281 -0
- package/dist/react-native/DataLakeServiceClient.d.ts.map +1 -0
- package/dist/react-native/DataLakeServiceClient.js +368 -0
- package/dist/react-native/DataLakeServiceClient.js.map +1 -0
- package/dist/react-native/Pipeline.d.ts +52 -0
- package/dist/react-native/Pipeline.d.ts.map +1 -0
- package/dist/react-native/Pipeline.js +216 -0
- package/dist/react-native/Pipeline.js.map +1 -0
- package/dist/react-native/StorageClient.d.ts +61 -0
- package/dist/react-native/StorageClient.d.ts.map +1 -0
- package/dist/react-native/StorageClient.js +51 -0
- package/dist/react-native/StorageClient.js.map +1 -0
- package/dist/react-native/StorageContextClient.d.ts +9 -0
- package/dist/react-native/StorageContextClient.d.ts.map +1 -0
- package/dist/react-native/StorageContextClient.js +35 -0
- package/dist/react-native/StorageContextClient.js.map +1 -0
- package/dist/react-native/clients.d.ts +689 -0
- package/dist/react-native/clients.d.ts.map +1 -0
- package/dist/react-native/clients.js +1189 -0
- package/dist/react-native/clients.js.map +1 -0
- package/dist/react-native/credentials/StorageSharedKeyCredential.d.ts +2 -0
- package/dist/react-native/credentials/StorageSharedKeyCredential.d.ts.map +1 -0
- package/dist/react-native/credentials/StorageSharedKeyCredential.js +4 -0
- package/dist/react-native/credentials/StorageSharedKeyCredential.js.map +1 -0
- package/dist/react-native/credentials/UserDelegationKeyCredential.d.ts +34 -0
- package/dist/react-native/credentials/UserDelegationKeyCredential.d.ts.map +1 -0
- package/dist/react-native/credentials/UserDelegationKeyCredential.js +31 -0
- package/dist/react-native/credentials/UserDelegationKeyCredential.js.map +1 -0
- package/dist/react-native/generated/src/index.d.ts +4 -0
- package/dist/react-native/generated/src/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/index.js +11 -0
- package/dist/react-native/generated/src/index.js.map +1 -0
- package/dist/react-native/generated/src/models/index.d.ts +1091 -0
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/index.js +16 -0
- package/dist/react-native/generated/src/models/index.js.map +1 -0
- package/dist/react-native/generated/src/models/mappers.d.ts +53 -0
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/mappers.js +2446 -0
- package/dist/react-native/generated/src/models/mappers.js.map +1 -0
- package/dist/react-native/generated/src/models/parameters.d.ts +87 -0
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/parameters.js +948 -0
- package/dist/react-native/generated/src/models/parameters.js.map +1 -0
- package/dist/react-native/generated/src/operations/fileSystemOperations.d.ts +55 -0
- package/dist/react-native/generated/src/operations/fileSystemOperations.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/fileSystemOperations.js +231 -0
- package/dist/react-native/generated/src/operations/fileSystemOperations.js.map +1 -0
- package/dist/react-native/generated/src/operations/index.d.ts +4 -0
- package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/index.js +11 -0
- package/dist/react-native/generated/src/operations/index.js.map +1 -0
- package/dist/react-native/generated/src/operations/pathOperations.d.ts +120 -0
- package/dist/react-native/generated/src/operations/pathOperations.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/pathOperations.js +591 -0
- package/dist/react-native/generated/src/operations/pathOperations.js.map +1 -0
- package/dist/react-native/generated/src/operations/service.d.ts +18 -0
- package/dist/react-native/generated/src/operations/service.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/service.js +58 -0
- package/dist/react-native/generated/src/operations/service.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.d.ts +47 -0
- package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js +11 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/pathOperations.d.ts +112 -0
- package/dist/react-native/generated/src/operationsInterfaces/pathOperations.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/pathOperations.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/pathOperations.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/service.d.ts +10 -0
- package/dist/react-native/generated/src/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/service.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/service.js.map +1 -0
- package/dist/react-native/generated/src/storageClient.d.ts +20 -0
- package/dist/react-native/generated/src/storageClient.d.ts.map +1 -0
- package/dist/react-native/generated/src/storageClient.js +47 -0
- package/dist/react-native/generated/src/storageClient.js.map +1 -0
- package/dist/react-native/index.d.ts +23 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +23 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/log.d.ts +5 -0
- package/dist/react-native/log.d.ts.map +1 -0
- package/dist/react-native/log.js +8 -0
- package/dist/react-native/log.js.map +1 -0
- package/dist/react-native/models.d.ts +1318 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.internal.d.ts +2 -0
- package/dist/react-native/models.internal.d.ts.map +1 -0
- package/dist/react-native/models.internal.js +4 -0
- package/dist/react-native/models.internal.js.map +1 -0
- package/dist/react-native/models.js +53 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/sas/AccountSASPermissions.d.ts +61 -0
- package/dist/react-native/sas/AccountSASPermissions.d.ts.map +1 -0
- package/dist/react-native/sas/AccountSASPermissions.js +128 -0
- package/dist/react-native/sas/AccountSASPermissions.js.map +1 -0
- package/dist/react-native/sas/AccountSASResourceTypes.d.ts +38 -0
- package/dist/react-native/sas/AccountSASResourceTypes.d.ts.map +1 -0
- package/dist/react-native/sas/AccountSASResourceTypes.js +72 -0
- package/dist/react-native/sas/AccountSASResourceTypes.js.map +1 -0
- package/dist/react-native/sas/AccountSASServices.d.ts +40 -0
- package/dist/react-native/sas/AccountSASServices.d.ts.map +1 -0
- package/dist/react-native/sas/AccountSASServices.js +80 -0
- package/dist/react-native/sas/AccountSASServices.js.map +1 -0
- package/dist/react-native/sas/AccountSASSignatureValues.d.ts +78 -0
- package/dist/react-native/sas/AccountSASSignatureValues.d.ts.map +1 -0
- package/dist/react-native/sas/AccountSASSignatureValues.js +72 -0
- package/dist/react-native/sas/AccountSASSignatureValues.js.map +1 -0
- package/dist/react-native/sas/DataLakeSASPermissions.d.ts +65 -0
- package/dist/react-native/sas/DataLakeSASPermissions.d.ts.map +1 -0
- package/dist/react-native/sas/DataLakeSASPermissions.js +135 -0
- package/dist/react-native/sas/DataLakeSASPermissions.js.map +1 -0
- package/dist/react-native/sas/DataLakeSASSignatureValues.d.ts +205 -0
- package/dist/react-native/sas/DataLakeSASSignatureValues.d.ts.map +1 -0
- package/dist/react-native/sas/DataLakeSASSignatureValues.js +718 -0
- package/dist/react-native/sas/DataLakeSASSignatureValues.js.map +1 -0
- package/dist/react-native/sas/DirectorySASPermissions.d.ts +69 -0
- package/dist/react-native/sas/DirectorySASPermissions.d.ts.map +1 -0
- package/dist/react-native/sas/DirectorySASPermissions.js +145 -0
- package/dist/react-native/sas/DirectorySASPermissions.js.map +1 -0
- package/dist/react-native/sas/FileSystemSASPermissions.d.ts +69 -0
- package/dist/react-native/sas/FileSystemSASPermissions.d.ts.map +1 -0
- package/dist/react-native/sas/FileSystemSASPermissions.js +145 -0
- package/dist/react-native/sas/FileSystemSASPermissions.js.map +1 -0
- package/dist/react-native/sas/SASQueryParameters.d.ts +309 -0
- package/dist/react-native/sas/SASQueryParameters.d.ts.map +1 -0
- package/dist/react-native/sas/SASQueryParameters.js +248 -0
- package/dist/react-native/sas/SASQueryParameters.js.map +1 -0
- package/dist/react-native/sas/SasIPRange.d.ts +24 -0
- package/dist/react-native/sas/SasIPRange.d.ts.map +1 -0
- package/dist/react-native/sas/SasIPRange.js +13 -0
- package/dist/react-native/sas/SasIPRange.js.map +1 -0
- package/dist/react-native/transforms.d.ts +51 -0
- package/dist/react-native/transforms.d.ts.map +1 -0
- package/dist/react-native/transforms.js +337 -0
- package/dist/react-native/transforms.js.map +1 -0
- package/dist/react-native/utils/Batch.d.ts +68 -0
- package/dist/react-native/utils/Batch.d.ts.map +1 -0
- package/dist/react-native/utils/Batch.js +122 -0
- package/dist/react-native/utils/Batch.js.map +1 -0
- package/dist/react-native/utils/BufferScheduler.d.ts +158 -0
- package/dist/react-native/utils/BufferScheduler.d.ts.map +1 -0
- package/dist/react-native/utils/BufferScheduler.js +264 -0
- package/dist/react-native/utils/BufferScheduler.js.map +1 -0
- package/dist/react-native/utils/DataLakeAclChangeFailedError.d.ts +16 -0
- package/dist/react-native/utils/DataLakeAclChangeFailedError.d.ts.map +1 -0
- package/dist/react-native/utils/DataLakeAclChangeFailedError.js +13 -0
- package/dist/react-native/utils/DataLakeAclChangeFailedError.js.map +1 -0
- package/dist/react-native/utils/PathClientInternal.d.ts +24 -0
- package/dist/react-native/utils/PathClientInternal.d.ts.map +1 -0
- package/dist/react-native/utils/PathClientInternal.js +24 -0
- package/dist/react-native/utils/PathClientInternal.js.map +1 -0
- package/dist/react-native/utils/constants.d.ts +70 -0
- package/dist/react-native/utils/constants.d.ts.map +1 -0
- package/dist/react-native/utils/constants.js +244 -0
- package/dist/react-native/utils/constants.js.map +1 -0
- package/dist/react-native/utils/tracing.d.ts +6 -0
- package/dist/react-native/utils/tracing.d.ts.map +1 -0
- package/dist/react-native/utils/tracing.js +14 -0
- package/dist/react-native/utils/tracing.js.map +1 -0
- package/dist/react-native/utils/utils.common.d.ts +236 -0
- package/dist/react-native/utils/utils.common.d.ts.map +1 -0
- package/dist/react-native/utils/utils.common.js +564 -0
- package/dist/react-native/utils/utils.common.js.map +1 -0
- package/dist/react-native/utils/utils.d.ts +29 -0
- package/dist/react-native/utils/utils.d.ts.map +1 -0
- package/{dist-esm/storage-blob/src/utils/utils.node.js → dist/react-native/utils/utils.js} +4 -51
- package/dist/react-native/utils/utils.js.map +1 -0
- package/package.json +70 -83
- package/dist/index.js +0 -9735
- package/dist/index.js.map +0 -1
- package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js +0 -19
- package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js.map +0 -1
- package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js +0 -26
- package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +0 -1
- package/dist-esm/storage-blob/src/log.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js +0 -20
- package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/CredentialPolicy.js +0 -29
- package/dist-esm/storage-blob/src/policies/CredentialPolicy.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/RequestPolicy.js +0 -40
- package/dist-esm/storage-blob/src/policies/RequestPolicy.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js +0 -47
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js +0 -31
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js +0 -18
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js +0 -27
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js +0 -229
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js +0 -180
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js +0 -141
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js +0 -18
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js.map +0 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +0 -132
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/Batch.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js +0 -111
- package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/Mutex.js +0 -65
- package/dist-esm/storage-blob/src/utils/Mutex.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js +0 -119
- package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/SharedKeyComparator.js +0 -73
- package/dist-esm/storage-blob/src/utils/SharedKeyComparator.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/cache.js +0 -11
- package/dist-esm/storage-blob/src/utils/cache.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/constants.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/tracing.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/utils.common.js.map +0 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js.map +0 -1
- package/dist-esm/storage-common/src/BufferScheduler.browser.js +0 -8
- package/dist-esm/storage-common/src/BufferScheduler.browser.js.map +0 -1
- package/dist-esm/storage-common/src/BufferScheduler.js.map +0 -1
- package/dist-esm/storage-common/src/BuffersStream.js +0 -83
- package/dist-esm/storage-common/src/BuffersStream.js.map +0 -1
- package/dist-esm/storage-common/src/PooledBuffer.js +0 -87
- package/dist-esm/storage-common/src/PooledBuffer.js.map +0 -1
- package/dist-esm/storage-common/src/index.browser.js +0 -4
- package/dist-esm/storage-common/src/index.browser.js.map +0 -1
- package/dist-esm/storage-common/src/index.js +0 -4
- package/dist-esm/storage-common/src/index.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/DataLakeFileSystemClient.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/DataLakeLeaseClient.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/DataLakeServiceClient.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/Pipeline.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/StorageClient.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/StorageContextClient.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/clients.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/credentials/StorageSharedKeyCredential.browser.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/credentials/StorageSharedKeyCredential.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.browser.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/index.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/models/index.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/models/mappers.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/models/parameters.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/operations/fileSystemOperations.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/operations/index.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/operations/pathOperations.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/operations/service.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces/fileSystemOperations.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces/pathOperations.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/operationsInterfaces/service.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/generated/src/storageClient.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/index.browser.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/index.js +0 -23
- package/dist-esm/storage-file-datalake/src/index.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/log.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/models.internal.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/models.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASPermissions.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASResourceTypes.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASServices.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASSignatureValues.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/DataLakeSASPermissions.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/DataLakeSASSignatureValues.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/DirectorySASPermissions.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/FileSystemSASPermissions.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/SASQueryParameters.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/sas/SasIPRange.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/transforms.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/Batch.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/BufferScheduler.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/DataLakeAclChangeFailedError.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/PathClientInternal.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/constants.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/tracing.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/utils.browser.js +0 -39
- package/dist-esm/storage-file-datalake/src/utils/utils.browser.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/utils.common.js.map +0 -1
- package/dist-esm/storage-file-datalake/src/utils/utils.node.js.map +0 -1
- package/types/latest/storage-file-datalake.d.ts +0 -5102
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/models/index.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/models/mappers.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operationsInterfaces/fileSystemOperations.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operationsInterfaces/pathOperations.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/generated/src/operationsInterfaces/service.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/log.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/models.internal.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/AccountSASPermissions.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/AccountSASResourceTypes.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/AccountSASServices.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/DataLakeSASPermissions.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/DirectorySASPermissions.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/FileSystemSASPermissions.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/sas/SasIPRange.js +0 -0
- /package/{dist-esm/storage-blob/src → dist/browser}/utils/Batch.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/browser}/utils/DataLakeAclChangeFailedError.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/esm}/credentials/StorageSharedKeyCredential.js +0 -0
- /package/{dist-esm/storage-file-datalake/src → dist/esm}/utils/Batch.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clients.js","sourceRoot":"","sources":["../../../src/clients.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,0B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,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,gEAAgE;IACzD,uBAAuB,CAAC,OAAkC;QAC/D,IAAI,CAAC,CAAC,IAAI,CAAC,UAAU,YAAY,0BAA0B,CAAC,EAAE,CAAC;YAC7D,MAAM,UAAU,CACd,uFAAuF,CACxF,CAAC;QACJ,CAAC;QAED,OAAO,0CAA0C,iBAE7C,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,QAAQ,EAAE,IAAI,CAAC,IAAI,IAChB,OAAO,GAEZ,IAAI,CAAC,UAAU,CAChB,CAAC,YAAY,CAAC;IACjB,CAAC;IAED;;;;;;;;;OASG;IACI,4BAA4B,CACjC,OAAkC,EAClC,iBAAoC;QAEpC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC7B,MAAM,GAAG,GAAG,kCAAkC,iBAE1C,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,QAAQ,EAAE,IAAI,CAAC,IAAI,IAChB,OAAO,GAEZ,iBAAiB,EACjB,IAAI,CAAC,WAAW,CACjB,CAAC,QAAQ,EAAE,CAAC;YAEb,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IAEI,qCAAqC,CAC1C,OAAkC,EAClC,iBAAoC;QAEpC,OAAO,0CAA0C,iBAE7C,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,QAAQ,EAAE,IAAI,CAAC,IAAI,IAChB,OAAO,GAEZ,iBAAiB,EACjB,IAAI,CAAC,WAAW,CACjB,CAAC,YAAY,CAAC;IACjB,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport type { RequestBodyType as HttpRequestBody } from \"@azure/core-rest-pipeline\";\nimport { isNode } from \"@azure/core-util\";\nimport type { Pipeline, StoragePipelineOptions } from \"./Pipeline\";\nimport { isPipelineLike, newPipeline } from \"./Pipeline\";\nimport { BlobClient, BlockBlobClient } from \"@azure/storage-blob\";\nimport { AnonymousCredential } from \"@azure/storage-blob\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential\";\nimport type { Readable } from \"stream\";\n\nimport { BufferScheduler } from \"../../storage-common/src\";\nimport { DataLakeLeaseClient } from \"./DataLakeLeaseClient\";\nimport { PathOperationsImpl as Path } from \"./generated/src/operations\";\nimport type {\n AccessControlChanges,\n DirectoryCreateIfNotExistsOptions,\n DirectoryCreateIfNotExistsResponse,\n DirectoryCreateOptions,\n DirectoryCreateResponse,\n DirectoryGenerateSasUrlOptions,\n FileAppendOptions,\n FileAppendResponse,\n FileCreateIfNotExistsOptions,\n FileCreateIfNotExistsResponse,\n FileCreateOptions,\n FileCreateResponse,\n FileExpiryMode,\n FileFlushOptions,\n FileFlushResponse,\n FileGenerateSasUrlOptions,\n FileParallelUploadOptions,\n FileQueryOptions,\n FileReadOptions,\n FileReadResponse,\n FileReadToBufferOptions,\n FileSetExpiryOptions,\n FileSetExpiryResponse,\n FileUploadResponse,\n Metadata,\n PathAccessControlItem,\n PathChangeAccessControlRecursiveOptions,\n PathChangeAccessControlRecursiveResponse,\n PathCreateIfNotExistsOptions,\n PathCreateIfNotExistsResponse,\n PathCreateOptions,\n PathCreateResponse,\n PathDeleteIfExistsResponse,\n PathDeleteOptions,\n PathDeleteResponse,\n PathExistsOptions,\n PathGetAccessControlOptions,\n PathGetAccessControlResponse,\n PathGetPropertiesOptions,\n PathGetPropertiesResponse,\n PathHttpHeaders,\n PathMoveOptions,\n PathMoveResponse,\n PathPermissions,\n PathResourceTypeModel,\n PathSetAccessControlOptions,\n PathSetAccessControlResponse,\n PathSetHttpHeadersOptions,\n PathSetHttpHeadersResponse,\n PathSetMetadataOptions,\n PathSetMetadataResponse,\n PathSetPermissionsOptions,\n PathSetPermissionsResponse,\n RemovePathAccessControlItem,\n UserDelegationKey,\n} from \"./models\";\nimport type { PathSetAccessControlRecursiveMode } from \"./models.internal\";\nimport {\n generateDataLakeSASQueryParameters,\n generateDataLakeSASQueryParametersInternal,\n} from \"./sas/DataLakeSASSignatureValues\";\nimport { StorageClient } from \"./StorageClient\";\nimport {\n toAccessControlChangeFailureArray,\n toAcl,\n toAclString,\n toBlobCpkInfo,\n toPermissions,\n toPermissionsString,\n toProperties,\n} from \"./transforms\";\nimport { Batch } from \"./utils/Batch\";\nimport {\n BLOCK_BLOB_MAX_BLOCKS,\n DEFAULT_HIGH_LEVEL_CONCURRENCY,\n ETagAny,\n FILE_MAX_SINGLE_UPLOAD_THRESHOLD,\n FILE_MAX_SIZE_BYTES,\n FILE_UPLOAD_DEFAULT_CHUNK_SIZE,\n FILE_UPLOAD_MAX_CHUNK_SIZE,\n} from \"./utils/constants\";\nimport { DataLakeAclChangeFailedError } from \"./utils/DataLakeAclChangeFailedError\";\nimport { tracingClient } from \"./utils/tracing\";\nimport {\n appendToURLPath,\n appendToURLQuery,\n assertResponse,\n ensureCpkIfSpecified,\n getURLPathAndQuery,\n ParsePathGetPropertiesExtraHeaderValues,\n setURLPath,\n setURLQueries,\n} from \"./utils/utils.common\";\nimport { fsCreateReadStream, fsStat } from \"./utils/utils.node\";\nimport type {\n PathAppendDataHeaders,\n PathCreateHeaders,\n PathDeleteHeaders,\n PathFlushDataHeaders,\n PathGetPropertiesHeaders,\n PathSetAccessControlHeaders,\n PathSetExpiryHeaders,\n} from \"./generated/src\";\n\n/**\n * A DataLakePathClient represents a URL to the Azure Storage path (directory or file).\n */\nexport class DataLakePathClient extends StorageClient {\n /**\n * pathContext provided by protocol layer.\n */\n private pathContext: Path;\n\n /**\n * blobClient provided by `@azure/storage-blob` package.\n */\n private blobClient: BlobClient;\n\n private isTokenCredential?: boolean;\n\n /**\n * SetAccessControlRecursiveInternal operation sets the Access Control on a path and sub paths.\n *\n * @param mode - Mode \\\"set\\\" sets POSIX access control rights on files and directories,\n * Mode \\\"modify\\\" modifies one or more POSIX access control rights that pre-exist on files and directories,\n * Mode \\\"remove\\\" removes one or more POSIX access control rights that were present earlier on files and directories.\n * @param acl - The POSIX access control list for the file or directory.\n * @param options - Optional. Options\n */\n private async setAccessControlRecursiveInternal(\n mode: PathSetAccessControlRecursiveMode,\n acl: PathAccessControlItem[] | RemovePathAccessControlItem[],\n options: PathChangeAccessControlRecursiveOptions = {},\n ): Promise<PathChangeAccessControlRecursiveResponse> {\n if (options.maxBatches !== undefined && options.maxBatches < 1) {\n throw RangeError(`Options maxBatches must be larger than 0.`);\n }\n\n if (options.batchSize !== undefined && options.batchSize < 1) {\n throw RangeError(`Options batchSize must be larger than 0.`);\n }\n\n const result: PathChangeAccessControlRecursiveResponse = {\n counters: {\n failedChangesCount: 0,\n changedDirectoriesCount: 0,\n changedFilesCount: 0,\n },\n continuationToken: undefined,\n };\n\n return tracingClient.withSpan(\n \"DataLakePathClient-setAccessControlRecursiveInternal\",\n options,\n async (updatedOptions) => {\n let continuationToken = options.continuationToken;\n let batchCounter = 0;\n let reachMaxBatches = false;\n do {\n let response;\n try {\n response = await this.pathContext.setAccessControlRecursive(mode, {\n ...updatedOptions,\n acl: toAclString(acl as PathAccessControlItem[]),\n maxRecords: options.batchSize,\n continuation: continuationToken,\n forceFlag: options.continueOnFailure,\n });\n } catch (e: any) {\n throw new DataLakeAclChangeFailedError(e, continuationToken);\n }\n\n batchCounter++;\n continuationToken = response.continuation;\n\n // Update result\n result.continuationToken = continuationToken;\n result.counters.failedChangesCount += response.failureCount ?? 0;\n result.counters.changedDirectoriesCount += response.directoriesSuccessful ?? 0;\n result.counters.changedFilesCount += response.filesSuccessful ?? 0;\n\n // Progress event call back\n if (options.onProgress) {\n const progress: AccessControlChanges = {\n batchFailures: toAccessControlChangeFailureArray(response.failedEntries),\n batchCounters: {\n failedChangesCount: response.failureCount ?? 0,\n changedDirectoriesCount: response.directoriesSuccessful ?? 0,\n changedFilesCount: response.filesSuccessful ?? 0,\n },\n aggregateCounters: result.counters,\n continuationToken: continuationToken,\n };\n options.onProgress(progress);\n }\n\n reachMaxBatches =\n options.maxBatches === undefined ? false : batchCounter >= options.maxBatches;\n } while (continuationToken && !reachMaxBatches);\n\n return result;\n },\n );\n }\n\n /**\n * Creates an instance of DataLakePathClient from url and credential.\n *\n * @param url - A Client string pointing to Azure Storage data lake path (directory or file), such as\n * \"https://myaccount.dfs.core.windows.net/filesystem/directory\" or \"https://myaccount.dfs.core.windows.net/filesystem/file\".\n * You can append a SAS if using AnonymousCredential, such as \"https://myaccount.dfs.core.windows.net/filesystem/directory?sasString\".\n * @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.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: StoragePipelineOptions,\n );\n\n /**\n * Creates an instance of DataLakePathClient from url and pipeline.\n *\n * @param url - A Client string pointing to Azure Storage data lake path (directory or file), such as\n * \"https://myaccount.dfs.core.windows.net/filesystem/directory\" or \"https://myaccount.dfs.core.windows.net/filesystem/file\".\n * You can append a SAS if using AnonymousCredential, such as \"https://myaccount.dfs.core.windows.net/filesystem/directory?sasString\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n public constructor(url: string, pipeline: Pipeline);\n\n public constructor(\n url: string,\n credentialOrPipeline?:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | Pipeline,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: StoragePipelineOptions,\n ) {\n if (isPipelineLike(credentialOrPipeline)) {\n super(url, credentialOrPipeline);\n } else {\n let credential;\n if (credentialOrPipeline === undefined) {\n credential = new AnonymousCredential();\n } else {\n credential = credentialOrPipeline;\n }\n\n const pipeline = newPipeline(credential, options);\n super(url, pipeline);\n }\n\n this.pathContext = new Path(this.storageClientContext);\n this.blobClient = new BlobClient(this.blobEndpointUrl, this.pipeline);\n }\n\n /**\n * Name of current file system.\n *\n * @readonly\n */\n public get fileSystemName(): string {\n return this.blobClient.containerName;\n }\n\n /**\n * Name of current path (directory or file).\n *\n * @readonly\n */\n public get name(): string {\n return this.blobClient.name;\n }\n\n /**\n * Convert current DataLakePathClient to DataLakeDirectoryClient if current path is a directory.\n *\n */\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */\n public toDirectoryClient(): DataLakeDirectoryClient {\n return new DataLakeDirectoryClient(this.dfsEndpointUrl, this.pipeline);\n }\n\n /**\n * Convert current DataLakePathClient to DataLakeFileClient if current path is a file.\n *\n */\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */\n public toFileClient(): DataLakeFileClient {\n return new DataLakeFileClient(this.dfsEndpointUrl, this.pipeline);\n }\n\n /**\n * Get a {@link DataLakeLeaseClient} that manages leases on the path (directory or file).\n *\n * @param proposeLeaseId - Optional. Initial proposed lease Id.\n */\n public getDataLakeLeaseClient(proposeLeaseId?: string): DataLakeLeaseClient {\n return new DataLakeLeaseClient(this.blobClient.getBlobLeaseClient(proposeLeaseId));\n }\n\n /**\n * Create a directory or path.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param resourceType - Resource type, \"directory\" or \"file\".\n * @param options - Optional. Options when creating path.\n */\n public async create(\n resourceType: PathResourceTypeModel,\n options: PathCreateOptions = {},\n ): Promise<PathCreateResponse> {\n options.conditions = options.conditions || {};\n return tracingClient.withSpan(\"DataLakePathClient-create\", options, async (updatedOptions) => {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n let expiryOptions: FileExpiryMode | undefined;\n let expiresOn: string | undefined;\n if (typeof options.expiresOn === \"number\" && Number.isFinite(options.expiresOn)) {\n expiryOptions = \"RelativeToNow\";\n expiresOn = String(Math.round(options.expiresOn));\n } else if (options.expiresOn instanceof Date) {\n expiryOptions = \"Absolute\";\n expiresOn = options.expiresOn.toUTCString();\n } else if (options.expiresOn) {\n throw new Error(`Value for expiresOn is invalid: ${options.expiresOn}`);\n }\n\n return assertResponse<PathCreateHeaders, PathCreateHeaders>(\n await this.pathContext.create({\n ...updatedOptions,\n resource: resourceType,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: options.conditions,\n properties: toProperties(options.metadata),\n cpkInfo: options.customerProvidedKey,\n acl: options.acl ? toAclString(options.acl) : undefined,\n expiryOptions,\n expiresOn,\n }),\n );\n });\n }\n\n /**\n * Create a directory or file. If the resource already exists, it is not changed.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param resourceType - Resource type, \"directory\" or \"file\".\n * @param options -\n */\n public async createIfNotExists(\n resourceType: PathResourceTypeModel,\n options: PathCreateIfNotExistsOptions = {},\n ): Promise<PathCreateIfNotExistsResponse> {\n return tracingClient.withSpan(\n \"DataLakePathClient-createIfNotExists\",\n options,\n async (updatedOptions) => {\n try {\n const conditions = { ifNoneMatch: ETagAny };\n const res = await this.create(resourceType, {\n ...options,\n conditions,\n tracingOptions: updatedOptions.tracingOptions,\n });\n return {\n succeeded: true,\n ...res,\n };\n } catch (e: any) {\n if (e.details?.errorCode === \"PathAlreadyExists\") {\n return {\n succeeded: false,\n ...e.response?.parsedHeaders,\n _response: e.response,\n };\n }\n throw e;\n }\n },\n );\n }\n\n /**\n * Returns true if the Data Lake file represented by this client exists; false otherwise.\n *\n * NOTE: use this function with care since an existing file might be deleted by other clients or\n * applications. Vice versa new files might be added by other clients or applications after this\n * function completes.\n *\n * @param options - options to Exists operation.\n */\n public async exists(options: PathExistsOptions = {}): Promise<boolean> {\n return tracingClient.withSpan(\"DataLakeFileClient-exists\", options, async (updatedOptions) => {\n return this.blobClient.exists({\n ...updatedOptions,\n customerProvidedKey: toBlobCpkInfo(updatedOptions.customerProvidedKey),\n });\n });\n }\n\n /**\n * Delete current path (directory or file).\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/delete\n *\n * @param recursive - Required and valid only when the resource is a directory. If \"true\", all paths beneath the directory will be deleted.\n * @param options - Optional. Options when deleting path.\n */\n public async delete(\n recursive?: boolean,\n options: PathDeleteOptions = {},\n ): Promise<PathDeleteResponse> {\n options.conditions = options.conditions || {};\n return tracingClient.withSpan(\"DataLakePathClient-delete\", options, async (updatedOptions) => {\n if (this.isTokenCredential === undefined) {\n this.isTokenCredential = false;\n this.pipeline.factories.forEach((factory) => {\n if (isTokenCredential((factory as any).credential)) {\n this.isTokenCredential = true;\n }\n });\n\n if (isTokenCredential((this.pipeline as any)._credential)) {\n this.isTokenCredential = true;\n }\n }\n const paginated = recursive === true && this.isTokenCredential === true;\n let continuation: string | undefined;\n let response: PathDeleteResponse;\n\n // How to handle long delete loop?\n do {\n response = assertResponse<PathDeleteHeaders, PathDeleteHeaders>(\n await this.pathContext.delete({\n ...updatedOptions,\n continuation,\n recursive,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: options.conditions,\n abortSignal: options.abortSignal,\n paginated,\n }),\n );\n continuation = response.continuation;\n } while (continuation);\n\n return response;\n });\n }\n\n /**\n * Delete current path (directory or file) if it exists.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/delete\n *\n * @param recursive - Required and valid only when the resource is a directory. If \"true\", all paths beneath the directory will be deleted.\n * @param options -\n */\n public async deleteIfExists(\n recursive?: boolean,\n options: PathDeleteOptions = {},\n ): Promise<PathDeleteIfExistsResponse> {\n options.conditions = options.conditions || {};\n return tracingClient.withSpan(\n \"DataLakePathClient-deleteIfExists\",\n options,\n async (updatedOptions) => {\n try {\n const res = await this.delete(recursive, updatedOptions);\n return {\n succeeded: true,\n ...res,\n };\n } catch (e: any) {\n if (e.details?.errorCode === \"PathNotFound\") {\n return {\n succeeded: false,\n ...e.response?.parsedHeaders,\n _response: e.response,\n };\n }\n throw e;\n }\n },\n );\n }\n\n /**\n * Returns the access control data for a path (directory of file).\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/getproperties\n *\n * @param options - Optional. Options when getting file access control.\n */\n public async getAccessControl(\n options: PathGetAccessControlOptions = {},\n ): Promise<PathGetAccessControlResponse> {\n options.conditions = options.conditions || {};\n return tracingClient.withSpan(\n \"DataLakePathClient-getAccessControl\",\n options,\n async (updatedOptions) => {\n const response = assertResponse<PathGetPropertiesHeaders, PathGetPropertiesHeaders>(\n await this.pathContext.getProperties({\n ...updatedOptions,\n action: \"getAccessControl\",\n upn: options.userPrincipalName,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: options.conditions,\n abortSignal: options.abortSignal,\n }),\n );\n return {\n ...response,\n _response: response._response,\n permissions: toPermissions(response.permissions),\n acl: toAcl(response.acl),\n };\n },\n );\n }\n\n /**\n * Set the access control data for a path (directory of file).\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update\n *\n * @param acl - The POSIX access control list for the file or directory.\n * @param options - Optional. Options when setting path access control.\n */\n public async setAccessControl(\n acl: PathAccessControlItem[],\n options: PathSetAccessControlOptions = {},\n ): Promise<PathSetAccessControlResponse> {\n options.conditions = options.conditions || {};\n return tracingClient.withSpan(\n \"DataLakePathClient-setAccessControl\",\n options,\n async (updatedOptions) => {\n return assertResponse<PathSetAccessControlHeaders, PathSetAccessControlHeaders>(\n await this.pathContext.setAccessControl({\n ...updatedOptions,\n acl: toAclString(acl),\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: options.conditions,\n }),\n );\n },\n );\n }\n\n /**\n * Sets the Access Control on a path and sub paths.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update\n *\n * @param acl - The POSIX access control list for the file or directory.\n * @param options - Optional. Options\n */\n public async setAccessControlRecursive(\n acl: PathAccessControlItem[],\n options: PathChangeAccessControlRecursiveOptions = {},\n ): Promise<PathChangeAccessControlRecursiveResponse> {\n return tracingClient.withSpan(\n \"DataLakePathClient-setAccessControlRecursive\",\n options,\n async (updatedOptions) => {\n return this.setAccessControlRecursiveInternal(\"set\", acl, updatedOptions);\n },\n );\n }\n\n /**\n * Modifies the Access Control on a path and sub paths.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update\n *\n * @param acl - The POSIX access control list for the file or directory.\n * @param options - Optional. Options\n */\n public async updateAccessControlRecursive(\n acl: PathAccessControlItem[],\n options: PathChangeAccessControlRecursiveOptions = {},\n ): Promise<PathChangeAccessControlRecursiveResponse> {\n return tracingClient.withSpan(\n \"DataLakePathClient-updateAccessControlRecursive\",\n options,\n async (updatedOptions) => {\n return this.setAccessControlRecursiveInternal(\"modify\", acl, updatedOptions);\n },\n );\n }\n\n /**\n * Removes the Access Control on a path and sub paths.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update\n *\n * @param acl - The POSIX access control list for the file or directory.\n * @param options - Optional. Options\n */\n public async removeAccessControlRecursive(\n acl: RemovePathAccessControlItem[],\n options: PathChangeAccessControlRecursiveOptions = {},\n ): Promise<PathChangeAccessControlRecursiveResponse> {\n return tracingClient.withSpan(\n \"DataLakePathClient-removeAccessControlRecursive\",\n options,\n async (updatedOptions) => {\n return this.setAccessControlRecursiveInternal(\"remove\", acl, updatedOptions);\n },\n );\n }\n\n /**\n * Sets the file permissions on a path.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update\n *\n * @param permissions - The POSIX access permissions for the file owner, the file owning group, and others.\n * @param options - Optional. Options when setting path permissions.\n */\n public async setPermissions(\n permissions: PathPermissions,\n options: PathSetPermissionsOptions = {},\n ): Promise<PathSetPermissionsResponse> {\n options.conditions = options.conditions || {};\n return tracingClient.withSpan(\n \"DataLakePathClient-setPermissions\",\n options,\n async (updatedOptions) => {\n return assertResponse<PathSetAccessControlHeaders, PathSetAccessControlHeaders>(\n await this.pathContext.setAccessControl({\n ...updatedOptions,\n permissions: toPermissionsString(permissions),\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: options.conditions,\n }),\n );\n },\n );\n }\n\n /**\n * Returns all user-defined metadata, standard HTTP properties, and system properties\n * for the path (directory or file).\n *\n * WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if\n * they originally contained uppercase characters. This differs from the metadata keys returned by\n * the methods of {@link DataLakeFileSystemClient} that list paths using the `includeMetadata` option, which\n * will retain their original casing.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-properties\n *\n * @param options - Optional. Options when getting path properties.\n */\n public async getProperties(\n options: PathGetPropertiesOptions = {},\n ): Promise<PathGetPropertiesResponse> {\n return tracingClient.withSpan(\n \"DataLakePathClient-getProperties\",\n options,\n async (updatedOptions) => {\n const response = await this.blobClient.getProperties({\n ...options,\n customerProvidedKey: toBlobCpkInfo(options.customerProvidedKey),\n tracingOptions: updatedOptions.tracingOptions,\n });\n return ParsePathGetPropertiesExtraHeaderValues(response as PathGetPropertiesResponse);\n },\n );\n }\n\n /**\n * Sets system properties on the path (directory or file).\n *\n * If no value provided, or no value provided for the specified blob HTTP headers,\n * these blob HTTP headers without a value will be cleared.\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-properties\n *\n * @param httpHeaders -\n * @param options -\n */\n public async setHttpHeaders(\n httpHeaders: PathHttpHeaders,\n options: PathSetHttpHeadersOptions = {},\n ): Promise<PathSetHttpHeadersResponse> {\n return tracingClient.withSpan(\n \"DataLakePathClient-setHttpHeaders\",\n options,\n async (updatedOptions) => {\n return this.blobClient.setHTTPHeaders(\n {\n blobCacheControl: httpHeaders.cacheControl,\n blobContentType: httpHeaders.contentType,\n blobContentMD5: httpHeaders.contentMD5,\n blobContentEncoding: httpHeaders.contentEncoding,\n blobContentLanguage: httpHeaders.contentLanguage,\n blobContentDisposition: httpHeaders.contentDisposition,\n },\n updatedOptions,\n );\n },\n );\n }\n\n /**\n * Sets user-defined metadata for the specified path (directory of file) as one or more name-value pairs.\n *\n * If no option provided, or no metadata defined in the parameter, the path\n * metadata will be removed.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-metadata\n *\n * @param metadata - Optional. Replace existing metadata with this value.\n * If no value provided the existing metadata will be removed.\n * @param options - Optional. Options when setting path metadata.\n */\n public async setMetadata(\n metadata?: Metadata,\n options: PathSetMetadataOptions = {},\n ): Promise<PathSetMetadataResponse> {\n return tracingClient.withSpan(\n \"DataLakePathClient-setMetadata\",\n options,\n async (updatedOptions) => {\n return this.blobClient.setMetadata(metadata, {\n ...options,\n customerProvidedKey: toBlobCpkInfo(options.customerProvidedKey),\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * Move directory or file within same file system.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param destinationPath - Destination directory path like \"directory\" or file path \"directory/file\".\n * If the destinationPath is authenticated with SAS, add the SAS to the destination path like \"directory/file?sasToken\".\n * @param options - Optional. Options when moving directory or file.\n */\n public async move(destinationPath: string, options?: PathMoveOptions): Promise<PathMoveResponse>;\n\n /**\n * Move directory or file to another file system.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param destinationFileSystem - Destination file system like \"filesystem\".\n * @param destinationPath - Destination directory path like \"directory\" or file path \"directory/file\"\n * If the destinationPath is authenticated with SAS, add the SAS to the destination path like \"directory/file?sasToken\".\n * @param options - Optional. Options when moving directory or file.\n */\n public async move(\n destinationFileSystem: string,\n destinationPath: string,\n options?: PathMoveOptions,\n ): Promise<PathMoveResponse>;\n\n public async move(\n destinationPathOrFileSystem: string,\n destinationPathOrOptions?: string | PathMoveOptions,\n options?: PathMoveOptions,\n ): Promise<PathMoveResponse> {\n let destinationFileSystem = this.fileSystemName;\n let destinationPath = destinationPathOrFileSystem;\n let pathMoveOptions: PathMoveOptions;\n\n if (typeof destinationPathOrOptions === \"string\") {\n destinationFileSystem = destinationPathOrFileSystem;\n destinationPath = destinationPathOrOptions;\n pathMoveOptions = options ?? {};\n } else {\n pathMoveOptions = destinationPathOrOptions ?? {};\n }\n\n const renameSource = getURLPathAndQuery(this.dfsEndpointUrl);\n\n const split: string[] = destinationPath.split(\"?\");\n let destinationUrl: string;\n if (split.length === 2) {\n const renameDestination = `/${destinationFileSystem}/${split[0]}`;\n destinationUrl = setURLPath(this.dfsEndpointUrl, renameDestination);\n destinationUrl = setURLQueries(destinationUrl, split[1]);\n } else if (split.length === 1) {\n const renameDestination = `/${destinationFileSystem}/${destinationPath}`;\n destinationUrl = setURLPath(this.dfsEndpointUrl, renameDestination);\n } else {\n throw new RangeError(\"Destination path should not contain more than one query string\");\n }\n\n const destPathClient = new DataLakePathClient(destinationUrl, this.pipeline);\n\n return tracingClient.withSpan(\n \"DataLakePathClient-move\",\n pathMoveOptions,\n async (updatedOptions) => {\n return assertResponse<PathCreateHeaders, PathCreateHeaders>(\n await destPathClient.pathContext.create({\n ...updatedOptions,\n mode: \"legacy\", // By default\n renameSource,\n sourceLeaseId: pathMoveOptions.conditions?.leaseId,\n leaseAccessConditions: pathMoveOptions.destinationConditions,\n sourceModifiedAccessConditions: {\n sourceIfMatch: pathMoveOptions.conditions?.ifMatch,\n sourceIfNoneMatch: pathMoveOptions.conditions?.ifNoneMatch,\n sourceIfModifiedSince: pathMoveOptions.conditions?.ifModifiedSince,\n sourceIfUnmodifiedSince: pathMoveOptions.conditions?.ifUnmodifiedSince,\n },\n modifiedAccessConditions: pathMoveOptions.destinationConditions,\n abortSignal: pathMoveOptions.abortSignal,\n }),\n );\n },\n );\n }\n}\n\n/**\n * A DataLakeDirectoryClient represents a URL to the Azure Storage directory.\n */\nexport class DataLakeDirectoryClient extends DataLakePathClient {\n // https://stackoverflow.com/questions/50729485/override-method-with-different-argument-types-in-extended-class-typescript\n /**\n * Create a directory.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param resourceType - Resource type, must be \"directory\" for DataLakeDirectoryClient.\n * @param options - Optional. Options when creating directory.\n */\n public async create(\n resourceType: PathResourceTypeModel,\n options?: PathCreateOptions,\n ): Promise<PathCreateResponse>;\n\n /**\n * Create a directory.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param options - Optional. Options when creating directory.\n */\n public async create(options?: DirectoryCreateOptions): Promise<DirectoryCreateResponse>;\n\n public async create(\n resourceTypeOrOptions?: PathResourceTypeModel | PathCreateOptions,\n options: PathCreateOptions = {},\n ): Promise<PathCreateResponse> {\n if (resourceTypeOrOptions === \"file\") {\n throw TypeError(\n `DataLakeDirectoryClient:create() resourceType cannot be ${resourceTypeOrOptions}. Refer to DataLakeFileClient for file creation.`,\n );\n }\n\n let pathCreateOptions: PathCreateOptions;\n\n if (resourceTypeOrOptions === \"directory\") {\n pathCreateOptions = options;\n } else {\n pathCreateOptions = resourceTypeOrOptions ?? {};\n }\n return tracingClient.withSpan(\n \"DataLakeDirectoryClient-create\",\n pathCreateOptions,\n async (updatedOptions) => {\n return super.create(\"directory\", updatedOptions);\n },\n );\n }\n\n /**\n * Create a directory if it doesn't already exists.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param resourceType - Resource type, must be \"directory\" for DataLakeDirectoryClient.\n * @param options -\n */\n public async createIfNotExists(\n resourceType: PathResourceTypeModel,\n options?: PathCreateIfNotExistsOptions,\n ): Promise<PathCreateIfNotExistsResponse>;\n\n /**\n * Create a directory if it doesn't already exists.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param options -\n */\n public async createIfNotExists(\n options?: DirectoryCreateIfNotExistsOptions,\n ): Promise<DirectoryCreateIfNotExistsResponse>;\n\n public async createIfNotExists(\n resourceTypeOrOptions?: PathResourceTypeModel | PathCreateIfNotExistsOptions,\n options: PathCreateIfNotExistsOptions = {},\n ): Promise<PathCreateIfNotExistsResponse> {\n if (resourceTypeOrOptions === \"file\") {\n throw TypeError(\n `DataLakeDirectoryClient:createIfNotExists() resourceType cannot be ${resourceTypeOrOptions}. Refer to DataLakeFileClient for file creation.`,\n );\n }\n\n if (resourceTypeOrOptions !== \"directory\") {\n options = resourceTypeOrOptions || {};\n }\n\n return tracingClient.withSpan(\n \"DataLakeDirectoryClient-createIfNotExists\",\n options,\n async (updatedOptions) => {\n return super.createIfNotExists(\"directory\", {\n ...updatedOptions,\n });\n },\n );\n }\n\n /**\n * Creates a {@link DataLakeDirectoryClient} object under current directory.\n *\n * @param subdirectoryName - Subdirectory name.\n */\n public getSubdirectoryClient(subdirectoryName: string): DataLakeDirectoryClient {\n return new DataLakeDirectoryClient(\n appendToURLPath(this.url, encodeURIComponent(subdirectoryName)),\n this.pipeline,\n );\n }\n\n /**\n * Creates a {@link DataLakeFileClient} object under current directory.\n *\n * @param fileName -\n */\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */\n public getFileClient(fileName: string): DataLakeFileClient {\n return new DataLakeFileClient(\n appendToURLPath(this.url, encodeURIComponent(fileName)),\n this.pipeline,\n );\n }\n\n /**\n * Only available for clients constructed with a shared key credential.\n *\n * Generates a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateSasUrl(options: DirectoryGenerateSasUrlOptions): Promise<string> {\n return new Promise((resolve) => {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\",\n );\n }\n\n const sas = generateDataLakeSASQueryParameters(\n {\n fileSystemName: this.fileSystemName,\n pathName: this.name,\n isDirectory: true,\n ...options,\n },\n this.credential,\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n public generateSasStringToSign(options: DirectoryGenerateSasUrlOptions): string {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\",\n );\n }\n return generateDataLakeSASQueryParametersInternal(\n {\n fileSystemName: this.fileSystemName,\n pathName: this.name,\n isDirectory: true,\n ...options,\n },\n this.credential,\n ).stringToSign;\n }\n\n /**\n * Generates a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the input user delegation key.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateUserDelegationSasUrl(\n options: DirectoryGenerateSasUrlOptions,\n userDelegationKey: UserDelegationKey,\n ): Promise<string> {\n return new Promise((resolve) => {\n const sas = generateDataLakeSASQueryParameters(\n {\n fileSystemName: this.fileSystemName,\n pathName: this.name,\n isDirectory: true,\n ...options,\n },\n userDelegationKey,\n this.accountName,\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in The SAS is signed by the input user delegation key.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n\n public generateUserDelegationSasStringToSign(\n options: DirectoryGenerateSasUrlOptions,\n userDelegationKey: UserDelegationKey,\n ): string {\n return generateDataLakeSASQueryParametersInternal(\n {\n fileSystemName: this.fileSystemName,\n pathName: this.name,\n isDirectory: true,\n ...options,\n },\n userDelegationKey,\n this.accountName,\n ).stringToSign;\n }\n}\n\n/**\n * A DataLakeFileClient represents a URL to the Azure Storage file.\n */\nexport class DataLakeFileClient extends DataLakePathClient {\n /**\n * pathContextInternal provided by protocol layer.\n */\n private pathContextInternal: Path;\n\n /**\n * pathContextInternal provided by protocol layer, with its url pointing to the Blob endpoint.\n */\n private pathContextInternalToBlobEndpoint: Path;\n\n /**\n * blockBlobClientInternal provided by `@azure/storage-blob` package.\n */\n private blockBlobClientInternal: BlockBlobClient;\n\n /**\n * Creates an instance of DataLakeFileClient from url and credential.\n *\n * @param url - A Client string pointing to Azure Storage data lake file, such as\n * \"https://myaccount.dfs.core.windows.net/filesystem/file\".\n * You can append a SAS if using AnonymousCredential, such as \"https://myaccount.dfs.core.windows.net/filesystem/directory/file?sasString\".\n * @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.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: StoragePipelineOptions,\n );\n\n /**\n * Creates an instance of DataLakeFileClient from url and pipeline.\n *\n * @param url - A Client string pointing to Azure Storage data lake file, such as\n * \"https://myaccount.dfs.core.windows.net/filesystem/file\".\n * You can append a SAS if using AnonymousCredential, such as \"https://myaccount.dfs.core.windows.net/filesystem/directory/file?sasString\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n public constructor(url: string, pipeline: Pipeline);\n\n public constructor(\n url: string,\n credentialOrPipeline?:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | Pipeline,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: StoragePipelineOptions,\n ) {\n if (isPipelineLike(credentialOrPipeline)) {\n super(url, credentialOrPipeline);\n } else {\n let credential;\n if (credentialOrPipeline === undefined) {\n credential = new AnonymousCredential();\n } else {\n credential = credentialOrPipeline;\n }\n\n const pipeline = newPipeline(credential, options);\n super(url, pipeline);\n }\n\n this.pathContextInternal = new Path(this.storageClientContext);\n this.blockBlobClientInternal = new BlockBlobClient(this.blobEndpointUrl, this.pipeline);\n this.pathContextInternalToBlobEndpoint = new Path(this.storageClientContextToBlobEndpoint);\n }\n\n /**\n * Create a file.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param resourceType - Resource type, must be \"file\" for DataLakeFileClient.\n * @param options - Optional. Options when creating file.\n */\n public async create(\n resourceType: PathResourceTypeModel,\n options?: PathCreateOptions,\n ): Promise<PathCreateResponse>;\n\n /**\n * Create a file.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param options - Optional. Options when creating file.\n */\n public async create(options?: FileCreateOptions): Promise<FileCreateResponse>;\n\n public async create(\n resourceTypeOrOptions?: PathResourceTypeModel | PathCreateOptions,\n options: PathCreateOptions = {},\n ): Promise<PathCreateResponse> {\n if (resourceTypeOrOptions === \"directory\") {\n throw TypeError(\n `DataLakeFileClient:create() resourceType cannot be ${resourceTypeOrOptions}. Refer to DataLakeDirectoryClient for directory creation.`,\n );\n }\n\n let pathCreateOptions: PathCreateOptions;\n if (resourceTypeOrOptions === \"file\") {\n pathCreateOptions = options;\n } else {\n pathCreateOptions = resourceTypeOrOptions ?? {};\n }\n\n return tracingClient.withSpan(\n \"DataLakeFileClient-create\",\n pathCreateOptions,\n async (updatedOptions) => {\n return super.create(\"file\", updatedOptions);\n },\n );\n }\n\n /**\n * Create a file if it doesn't already exists.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param resourceType - Resource type, must be \"file\" for DataLakeFileClient.\n * @param options -\n */\n public async createIfNotExists(\n resourceType: PathResourceTypeModel,\n options?: PathCreateIfNotExistsOptions,\n ): Promise<PathCreateIfNotExistsResponse>;\n\n /**\n * Create a file if it doesn't already exists.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create\n *\n * @param options - Optional. Options when creating file.\n */\n public async createIfNotExists(\n options?: FileCreateIfNotExistsOptions,\n ): Promise<FileCreateIfNotExistsResponse>;\n\n public async createIfNotExists(\n resourceTypeOrOptions?: PathResourceTypeModel | PathCreateOptions,\n options: PathCreateIfNotExistsOptions = {},\n ): Promise<PathCreateIfNotExistsResponse> {\n if (resourceTypeOrOptions === \"directory\") {\n throw TypeError(\n `DataLakeFileClient:createIfNotExists() resourceType cannot be ${resourceTypeOrOptions}. Refer to DataLakeDirectoryClient for directory creation.`,\n );\n }\n\n if (resourceTypeOrOptions !== \"file\") {\n options = resourceTypeOrOptions || {};\n }\n\n return tracingClient.withSpan(\n \"DataLakeFileClient-createIfNotExists\",\n options,\n async (updatedOptions) => {\n return super.createIfNotExists(\"file\", updatedOptions);\n },\n );\n }\n\n /**\n * Downloads a file from the service, including its metadata and properties.\n *\n * * In Node.js, data returns in a Readable stream readableStreamBody\n * * In browsers, data returns in a promise contentAsBlob\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob\n *\n * * Example usage (Node.js):\n *\n * ```js\n * // Download and convert a file to a string\n * const downloadResponse = await fileClient.read();\n * const downloaded = await streamToBuffer(downloadResponse.readableStreamBody);\n * console.log(\"Downloaded file content:\", downloaded.toString());\n *\n * async function streamToBuffer(readableStream) {\n * return new Promise((resolve, reject) => {\n * const chunks = [];\n * readableStream.on(\"data\", (data) => {\n * chunks.push(typeof data === \"string\" ? Buffer.from(data) : data);\n * });\n * readableStream.on(\"end\", () => {\n * resolve(Buffer.concat(chunks));\n * });\n * readableStream.on(\"error\", reject);\n * });\n * }\n * ```\n *\n * Example usage (browser):\n *\n * ```js\n * // Download and convert a file to a string\n * const downloadResponse = await fileClient.read();\n * const downloaded = await blobToString(await downloadResponse.contentAsBlob);\n * console.log(\"Downloaded file content\", downloaded);\n *\n * async function blobToString(blob: Blob): Promise<string> {\n * const fileReader = new FileReader();\n * return new Promise<string>((resolve, reject) => {\n * fileReader.onloadend = (ev: any) => {\n * resolve(ev.target!.result);\n * };\n * fileReader.onerror = reject;\n * fileReader.readAsText(blob);\n * });\n * }\n * ```\n *\n * @param offset - Optional. Offset to read file, default value is 0.\n * @param count - Optional. How many bytes to read, default will read from offset to the end.\n * @param options - Optional. Options when reading file.\n */\n public async read(\n offset: number = 0,\n count?: number,\n options: FileReadOptions = {},\n ): Promise<FileReadResponse> {\n return tracingClient.withSpan(\"DataLakeFileClient-read\", options, async (updatedOptions) => {\n const rawResponse = await this.blockBlobClientInternal.download(offset, count, {\n ...updatedOptions,\n customerProvidedKey: toBlobCpkInfo(updatedOptions.customerProvidedKey),\n });\n\n const response = ParsePathGetPropertiesExtraHeaderValues(\n rawResponse as FileReadResponse,\n ) as FileReadResponse;\n if (!isNode && !response.contentAsBlob) {\n response.contentAsBlob = rawResponse.blobBody;\n }\n response.fileContentMD5 = rawResponse.blobContentMD5;\n response._response.parsedHeaders.fileContentMD5 =\n rawResponse._response.parsedHeaders.blobContentMD5;\n delete rawResponse.blobContentMD5;\n delete rawResponse._response.parsedHeaders.blobContentMD5;\n\n return response;\n });\n }\n\n /**\n * Uploads data to be appended to a file. Data can only be appended to a file.\n * To apply perviously uploaded data to a file, call flush.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update\n *\n * @param body - Content to be uploaded.\n * @param offset - Append offset in bytes.\n * @param length - Length of content to append in bytes.\n * @param options - Optional. Options when appending data.\n */\n public async append(\n body: HttpRequestBody,\n offset: number,\n length: number,\n options: FileAppendOptions = {},\n ): Promise<FileAppendResponse> {\n options.conditions = options.conditions || {};\n return tracingClient.withSpan(\"DataLakeFileClient-append\", options, async (updatedOptions) => {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return assertResponse<PathAppendDataHeaders, PathAppendDataHeaders>(\n await this.pathContextInternal.appendData(body, {\n ...updatedOptions,\n pathHttpHeaders: {\n contentMD5: options.transactionalContentMD5,\n },\n abortSignal: options.abortSignal,\n position: offset,\n contentLength: length,\n leaseAccessConditions: options.conditions,\n requestOptions: {\n onUploadProgress: options.onProgress,\n },\n cpkInfo: options.customerProvidedKey,\n flush: options.flush,\n proposedLeaseId: options.proposedLeaseId,\n leaseDuration: options.leaseDurationInSeconds,\n leaseAction: options.leaseAction,\n }),\n );\n });\n }\n\n /**\n * Flushes (writes) previously appended data to a file.\n *\n * @param position - File position to flush.\n * This parameter allows the caller to upload data in parallel and control the order in which it is appended to the file.\n * It is required when uploading data to be appended to the file and when flushing previously uploaded data to the file.\n * The value must be the position where the data is to be appended. Uploaded data is not immediately flushed, or written,\n * to the file. To flush, the previously uploaded data must be contiguous, the position parameter must be specified and\n * equal to the length of the file after all data has been written, and there must not be a request entity body included\n * with the request.\n * @param options - Optional. Options when flushing data.\n */\n public async flush(position: number, options: FileFlushOptions = {}): Promise<FileFlushResponse> {\n options.conditions = options.conditions || {};\n return tracingClient.withSpan(\"DataLakeFileClient-flush\", options, async (updatedOptions) => {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return assertResponse<PathFlushDataHeaders, PathFlushDataHeaders>(\n await this.pathContextInternal.flushData({\n ...updatedOptions,\n position,\n contentLength: 0,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: options.conditions,\n cpkInfo: options.customerProvidedKey,\n proposedLeaseId: options.proposedLeaseId,\n leaseDuration: options.leaseDurationInSeconds,\n leaseAction: options.leaseAction,\n }),\n );\n });\n }\n\n // high level functions\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Uploads a local file to a Data Lake file.\n *\n * @param filePath - Full path of the local file\n * @param options -\n */\n public async uploadFile(\n filePath: string,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options: FileParallelUploadOptions = {},\n ): Promise<FileUploadResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileClient-uploadFile\",\n options,\n async (updatedOptions) => {\n const size = (await fsStat(filePath)).size;\n return this.uploadSeekableInternal(\n (offset: number, contentSize: number) => {\n return () =>\n fsCreateReadStream(filePath, {\n autoClose: true,\n end: offset + contentSize - 1,\n start: offset,\n });\n },\n size,\n updatedOptions,\n );\n },\n );\n }\n\n /**\n * Uploads a Buffer(Node.js)/Blob/ArrayBuffer/ArrayBufferView to a File.\n *\n * @param data - Buffer(Node), Blob, ArrayBuffer or ArrayBufferView\n * @param options -\n */\n public async upload(\n data: Buffer | Blob | ArrayBuffer | ArrayBufferView,\n options: FileParallelUploadOptions = {},\n ): Promise<FileUploadResponse> {\n return tracingClient.withSpan(\"DataLakeFileClient-upload\", options, async (updatedOptions) => {\n if (isNode) {\n let buffer: Buffer;\n if (data instanceof Buffer) {\n buffer = data;\n } else if (data instanceof ArrayBuffer) {\n buffer = Buffer.from(data);\n } else {\n data = data as ArrayBufferView;\n buffer = Buffer.from(data.buffer, data.byteOffset, data.byteLength);\n }\n\n return this.uploadSeekableInternal(\n (offset: number, size: number): Buffer => buffer.slice(offset, offset + size),\n buffer.length,\n updatedOptions,\n );\n } else {\n const browserBlob = new Blob([data]);\n return this.uploadSeekableInternal(\n (offset: number, size: number): Blob => browserBlob.slice(offset, offset + size),\n browserBlob.size,\n updatedOptions,\n );\n }\n });\n }\n\n private async uploadSeekableInternal(\n bodyFactory: (offset: number, count: number) => HttpRequestBody,\n size: number,\n options: FileParallelUploadOptions = {},\n ): Promise<FileUploadResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileClient-uploadData\",\n options,\n async (updatedOptions) => {\n if (size > FILE_MAX_SIZE_BYTES) {\n throw new RangeError(`size must be <= ${FILE_MAX_SIZE_BYTES}.`);\n }\n\n // Create the file.\n const createRes = this.create({\n abortSignal: options.abortSignal,\n metadata: options.metadata,\n permissions: options.permissions,\n umask: options.umask,\n conditions: options.conditions,\n pathHttpHeaders: options.pathHttpHeaders,\n customerProvidedKey: updatedOptions.customerProvidedKey,\n tracingOptions: updatedOptions.tracingOptions,\n encryptionContext: updatedOptions.encryptionContext,\n });\n // append() with empty data would return error, so do not continue\n if (size === 0) {\n return createRes;\n } else {\n await createRes;\n }\n\n // After the File is Create, Lease ID is the only valid request parameter.\n options.conditions = { leaseId: options.conditions?.leaseId };\n\n if (!options.chunkSize) {\n options.chunkSize = Math.ceil(size / BLOCK_BLOB_MAX_BLOCKS);\n if (options.chunkSize < FILE_UPLOAD_DEFAULT_CHUNK_SIZE) {\n options.chunkSize = FILE_UPLOAD_DEFAULT_CHUNK_SIZE;\n }\n }\n if (options.chunkSize < 1 || options.chunkSize > FILE_UPLOAD_MAX_CHUNK_SIZE) {\n throw new RangeError(\n `chunkSize option must be >= 1 and <= ${FILE_UPLOAD_MAX_CHUNK_SIZE}`,\n );\n }\n\n if (!options.maxConcurrency) {\n options.maxConcurrency = DEFAULT_HIGH_LEVEL_CONCURRENCY;\n }\n if (options.maxConcurrency <= 0) {\n throw new RangeError(`maxConcurrency must be > 0.`);\n }\n\n if (!options.singleUploadThreshold) {\n options.singleUploadThreshold = FILE_MAX_SINGLE_UPLOAD_THRESHOLD;\n }\n if (\n options.singleUploadThreshold < 1 ||\n options.singleUploadThreshold > FILE_MAX_SINGLE_UPLOAD_THRESHOLD\n ) {\n throw new RangeError(\n `singleUploadThreshold option must be >= 1 and <= ${FILE_MAX_SINGLE_UPLOAD_THRESHOLD}`,\n );\n }\n\n // When buffer length <= singleUploadThreshold, this method will use one append/flush call to finish the upload.\n if (size <= options.singleUploadThreshold) {\n await this.append(bodyFactory(0, size), 0, size, {\n abortSignal: options.abortSignal,\n conditions: options.conditions,\n customerProvidedKey: updatedOptions.customerProvidedKey,\n onProgress: options.onProgress,\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n return this.flush(size, {\n abortSignal: options.abortSignal,\n conditions: options.conditions,\n close: options.close,\n pathHttpHeaders: options.pathHttpHeaders,\n customerProvidedKey: updatedOptions.customerProvidedKey,\n tracingOptions: updatedOptions.tracingOptions,\n });\n }\n\n const numBlocks: number = Math.floor((size - 1) / options.chunkSize) + 1;\n if (numBlocks > BLOCK_BLOB_MAX_BLOCKS) {\n throw new RangeError(\n `The data's size is too big or the chunkSize is too small;` +\n `the number of chunks must be <= ${BLOCK_BLOB_MAX_BLOCKS}`,\n );\n }\n\n let transferProgress: number = 0;\n const batch = new Batch(options.maxConcurrency);\n\n for (let i = 0; i < numBlocks; i++) {\n batch.addOperation(async (): Promise<any> => {\n const start = options.chunkSize! * i;\n const end = i === numBlocks - 1 ? size : start + options.chunkSize!;\n const contentLength = end - start;\n await this.append(bodyFactory(start, contentLength), start, contentLength, {\n abortSignal: options.abortSignal,\n conditions: options.conditions,\n customerProvidedKey: updatedOptions.customerProvidedKey,\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n transferProgress += contentLength;\n if (options.onProgress) {\n options.onProgress({ loadedBytes: transferProgress });\n }\n });\n }\n await batch.do();\n\n return this.flush(size, {\n abortSignal: options.abortSignal,\n conditions: options.conditions,\n close: options.close,\n pathHttpHeaders: options.pathHttpHeaders,\n customerProvidedKey: updatedOptions.customerProvidedKey,\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Uploads a Node.js Readable stream into a Data Lake file.\n * This method will try to create a file, then starts uploading chunk by chunk.\n * Please make sure potential size of stream doesn't exceed FILE_MAX_SIZE_BYTES and\n * potential number of chunks doesn't exceed BLOCK_BLOB_MAX_BLOCKS.\n *\n * PERFORMANCE IMPROVEMENT TIPS:\n * * Input stream highWaterMark is better to set a same value with options.chunkSize\n * parameter, which will avoid Buffer.concat() operations.\n *\n * @param stream - Node.js Readable stream.\n * @param options -\n */\n public async uploadStream(\n stream: Readable,\n options: FileParallelUploadOptions = {},\n ): Promise<FileUploadResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileClient-uploadStream\",\n options,\n async (updatedOptions) => {\n // Create the file\n await this.create({\n abortSignal: options.abortSignal,\n metadata: options.metadata,\n permissions: options.permissions,\n umask: options.umask,\n conditions: options.conditions,\n pathHttpHeaders: options.pathHttpHeaders,\n customerProvidedKey: options.customerProvidedKey,\n tracingOptions: updatedOptions.tracingOptions,\n encryptionContext: updatedOptions.encryptionContext,\n });\n\n // After the File is Create, Lease ID is the only valid request parameter.\n options.conditions = { leaseId: options.conditions?.leaseId };\n\n if (!options.chunkSize) {\n options.chunkSize = FILE_UPLOAD_DEFAULT_CHUNK_SIZE;\n }\n if (options.chunkSize < 1 || options.chunkSize > FILE_UPLOAD_MAX_CHUNK_SIZE) {\n throw new RangeError(\n `chunkSize option must be >= 1 and <= ${FILE_UPLOAD_MAX_CHUNK_SIZE}`,\n );\n }\n if (!options.maxConcurrency) {\n options.maxConcurrency = DEFAULT_HIGH_LEVEL_CONCURRENCY;\n }\n if (options.maxConcurrency <= 0) {\n throw new RangeError(`maxConcurrency must be > 0.`);\n }\n\n let transferProgress: number = 0;\n const scheduler = new BufferScheduler(\n stream,\n options.chunkSize,\n options.maxConcurrency,\n async (body, length, offset) => {\n await this.append(body, offset!, length, {\n abortSignal: options.abortSignal,\n conditions: options.conditions,\n customerProvidedKey: options.customerProvidedKey,\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n // Update progress after block is successfully uploaded to server, in case of block trying\n transferProgress += length;\n if (options.onProgress) {\n options.onProgress({ loadedBytes: transferProgress });\n }\n },\n // concurrency should set a smaller value than maxConcurrency, which is helpful to\n // reduce the possibility when a outgoing handler waits for stream data, in\n // this situation, outgoing handlers are blocked.\n // Outgoing queue shouldn't be empty.\n Math.ceil((options.maxConcurrency / 4) * 3),\n );\n await scheduler.do();\n\n return this.flush(transferProgress, {\n abortSignal: options.abortSignal,\n conditions: options.conditions,\n close: options.close,\n pathHttpHeaders: options.pathHttpHeaders,\n customerProvidedKey: options.customerProvidedKey,\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Reads a Data Lake file in parallel to a buffer.\n * Offset and count are optional, pass 0 for both to read the entire file.\n *\n * Warning: Buffers can only support files up to about one gigabyte on 32-bit systems or about two\n * gigabytes on 64-bit systems due to limitations of Node.js/V8. For files larger than this size,\n * consider {@link readToFile}.\n *\n * @param buffer - Buffer to be fill, must have length larger than count\n * @param offset - From which position of the Data Lake file to read\n * @param count - How much data to be read. Will read to the end when passing undefined\n * @param options -\n */\n public async readToBuffer(\n buffer: Buffer,\n offset?: number,\n count?: number,\n options?: FileReadToBufferOptions,\n ): Promise<Buffer>;\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME\n *\n * Reads a Data Lake file in parallel to a buffer.\n * Offset and count are optional, pass 0 for both to read the entire file\n *\n * Warning: Buffers can only support files up to about one gigabyte on 32-bit systems or about two\n * gigabytes on 64-bit systems due to limitations of Node.js/V8. For files larger than this size,\n * consider {@link readToFile}.\n *\n * @param offset - From which position of the Data Lake file to read(in bytes)\n * @param count - How much data(in bytes) to be read. Will read to the end when passing undefined\n * @param options -\n */\n public async readToBuffer(\n offset?: number,\n count?: number,\n options?: FileReadToBufferOptions,\n ): Promise<Buffer>;\n\n public async readToBuffer(\n bufferOrOffset?: Buffer | number,\n offsetOrCount?: number,\n countOrOptions?: FileReadToBufferOptions | number,\n optOptions: FileReadToBufferOptions = {},\n ): Promise<Buffer> {\n let buffer: Buffer | undefined = undefined;\n let offset = 0;\n let count = 0;\n let options = optOptions;\n if (bufferOrOffset instanceof Buffer) {\n buffer = bufferOrOffset;\n offset = offsetOrCount || 0;\n count = typeof countOrOptions === \"number\" ? countOrOptions : 0;\n } else {\n offset = typeof bufferOrOffset === \"number\" ? bufferOrOffset : 0;\n count = typeof offsetOrCount === \"number\" ? offsetOrCount : 0;\n options = (countOrOptions as FileReadToBufferOptions) || {};\n }\n return tracingClient.withSpan(\n \"DataLakeFileClient-readToBuffer\",\n options,\n async (updatedOptions) => {\n if (buffer) {\n return this.blockBlobClientInternal.downloadToBuffer(buffer, offset, count, {\n ...options,\n maxRetryRequestsPerBlock: options.maxRetryRequestsPerChunk,\n blockSize: options.chunkSize,\n customerProvidedKey: toBlobCpkInfo(options.customerProvidedKey),\n tracingOptions: updatedOptions.tracingOptions,\n });\n } else {\n return this.blockBlobClientInternal.downloadToBuffer(offset, count, {\n ...options,\n maxRetryRequestsPerBlock: options.maxRetryRequestsPerChunk,\n blockSize: options.chunkSize,\n customerProvidedKey: toBlobCpkInfo(options.customerProvidedKey),\n tracingOptions: updatedOptions.tracingOptions,\n });\n }\n },\n );\n }\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Downloads a Data Lake file to a local file.\n * Fails if the the given file path already exits.\n * Offset and count are optional, pass 0 and undefined respectively to download the entire file.\n *\n * @param filePath -\n * @param offset - From which position of the file to download.\n * @param count - How much data to be downloaded. Will download to the end when passing undefined.\n * @param options - Options to read Data Lake file.\n * @returns The response data for file read operation,\n * but with readableStreamBody set to undefined since its\n * content is already read and written into a local file\n * at the specified path.\n */\n public async readToFile(\n filePath: string,\n offset: number = 0,\n count?: number,\n options: FileReadOptions = {},\n ): Promise<FileReadResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileClient-readToFile\",\n options,\n async (updatedOptions) => {\n const rawResposne = await this.blockBlobClientInternal.downloadToFile(\n filePath,\n offset,\n count,\n {\n ...updatedOptions,\n customerProvidedKey: toBlobCpkInfo(options.customerProvidedKey),\n },\n );\n\n const response = ParsePathGetPropertiesExtraHeaderValues(\n rawResposne as FileReadResponse,\n ) as FileReadResponse;\n return response;\n },\n );\n }\n\n /**\n * Quick query for a JSON or CSV formatted file.\n *\n * Example usage (Node.js):\n *\n * ```js\n * // Query and convert a file to a string\n * const queryResponse = await fileClient.query(\"select * from BlobStorage\");\n * const downloaded = (await streamToBuffer(queryResponse.readableStreamBody)).toString();\n * console.log(\"Query file content:\", downloaded);\n *\n * async function streamToBuffer(readableStream) {\n * return new Promise((resolve, reject) => {\n * const chunks = [];\n * readableStream.on(\"data\", (data) => {\n * chunks.push(typeof data === \"string\" ? Buffer.from(data) : data);\n * });\n * readableStream.on(\"end\", () => {\n * resolve(Buffer.concat(chunks));\n * });\n * readableStream.on(\"error\", reject);\n * });\n * }\n * ```\n *\n * @param query -\n * @param options -\n */\n public async query(query: string, options: FileQueryOptions = {}): Promise<FileReadResponse> {\n return tracingClient.withSpan(\"DataLakeFileClient-query\", options, async (updatedOptions) => {\n const rawResponse = await this.blockBlobClientInternal.query(query, {\n ...updatedOptions,\n customerProvidedKey: toBlobCpkInfo(options.customerProvidedKey),\n });\n const response = rawResponse as FileReadResponse;\n if (!isNode && !response.contentAsBlob) {\n response.contentAsBlob = rawResponse.blobBody;\n }\n response.fileContentMD5 = rawResponse.blobContentMD5;\n response._response.parsedHeaders.fileContentMD5 =\n rawResponse._response.parsedHeaders.blobContentMD5;\n delete rawResponse.blobContentMD5;\n delete rawResponse._response.parsedHeaders.blobContentMD5;\n return response;\n });\n }\n\n /**\n * Sets an expiry time on a file, once that time is met the file is deleted.\n *\n * @param mode -\n * @param options -\n */\n public async setExpiry(\n mode: FileExpiryMode,\n options: FileSetExpiryOptions = {},\n ): Promise<FileSetExpiryResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileClient-setExpiry\",\n options,\n async (updatedOptions) => {\n let expiresOn: string | undefined = undefined;\n if (mode === \"RelativeToNow\" || mode === \"RelativeToCreation\") {\n if (!options.timeToExpireInMs) {\n throw new Error(`Should specify options.timeToExpireInMs when using mode ${mode}.`);\n }\n // MINOR: need check against <= 2**64, but JS number has the precision problem.\n expiresOn = Math.round(options.timeToExpireInMs).toString();\n }\n\n if (mode === \"Absolute\") {\n if (!options.expiresOn) {\n throw new Error(`Should specify options.expiresOn when using mode ${mode}.`);\n }\n const now = new Date();\n if (!(options.expiresOn!.getTime() > now.getTime())) {\n throw new Error(\n `options.expiresOn should be later than now: ${now.toUTCString()} when using mode ${mode}, but is ${options.expiresOn?.toUTCString()}`,\n );\n }\n expiresOn = options.expiresOn!.toUTCString();\n }\n\n const adaptedOptions = { ...options, expiresOn };\n return assertResponse<PathSetExpiryHeaders, PathSetExpiryHeaders>(\n await this.pathContextInternalToBlobEndpoint.setExpiry(mode, {\n ...adaptedOptions,\n tracingOptions: updatedOptions.tracingOptions,\n }),\n );\n },\n );\n }\n\n /**\n * Only available for clients constructed with a shared key credential.\n *\n * Generates a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateSasUrl(options: FileGenerateSasUrlOptions): Promise<string> {\n return new Promise((resolve) => {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\",\n );\n }\n\n const sas = generateDataLakeSASQueryParameters(\n {\n fileSystemName: this.fileSystemName,\n pathName: this.name,\n ...options,\n },\n this.credential,\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Only available for clients constructed with a shared key credential.\n *\n * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n public generateSasStringToSign(options: FileGenerateSasUrlOptions): string {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\",\n );\n }\n\n return generateDataLakeSASQueryParametersInternal(\n {\n fileSystemName: this.fileSystemName,\n pathName: this.name,\n ...options,\n },\n this.credential,\n ).stringToSign;\n }\n\n /**\n * Generates a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the input user delegation key.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateUserDelegationSasUrl(\n options: FileGenerateSasUrlOptions,\n userDelegationKey: UserDelegationKey,\n ): Promise<string> {\n return new Promise((resolve) => {\n const sas = generateDataLakeSASQueryParameters(\n {\n fileSystemName: this.fileSystemName,\n pathName: this.name,\n ...options,\n },\n userDelegationKey,\n this.accountName,\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the input user delegation key.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n\n public generateUserDelegationSasStringToSign(\n options: FileGenerateSasUrlOptions,\n userDelegationKey: UserDelegationKey,\n ): string {\n return generateDataLakeSASQueryParametersInternal(\n {\n fileSystemName: this.fileSystemName,\n pathName: this.name,\n ...options,\n },\n userDelegationKey,\n this.accountName,\n ).stringToSign;\n }\n}\n"]}
|
package/dist-esm/storage-file-datalake/src/credentials/StorageSharedKeyCredential.browser.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageSharedKeyCredential.browser.js","sourceRoot":"","sources":["../../../../src/credentials/StorageSharedKeyCredential.browser.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,OAAO,0BAA0B;CAAG","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport class StorageSharedKeyCredential {}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageSharedKeyCredential.js","sourceRoot":"","sources":["../../../../src/credentials/StorageSharedKeyCredential.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { StorageSharedKeyCredential } from \"@azure/storage-blob\";\n"]}
|
package/dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.browser.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserDelegationKeyCredential.browser.js","sourceRoot":"","sources":["../../../../src/credentials/UserDelegationKeyCredential.browser.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,OAAO,2BAA2B;CAAG","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport class UserDelegationKeyCredential {}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserDelegationKeyCredential.js","sourceRoot":"","sources":["../../../../src/credentials/UserDelegationKeyCredential.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC;;;;;GAKG;AACH,MAAM,OAAO,2BAA2B;IAgBtC;;;;OAIG;IACH,YAAY,WAAmB,EAAE,iBAAoC;QACnE,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IAC5D,CAAC;IAED;;;;OAIG;IACI,iBAAiB,CAAC,YAAoB;QAC3C,gEAAgE;QAEhE,OAAO,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACtF,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { UserDelegationKey } from \"../models\";\nimport { createHmac } from \"crypto\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * UserDelegationKeyCredential is only used for generation of user delegation SAS.\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-user-delegation-sas\n */\nexport class UserDelegationKeyCredential {\n /**\n * Azure Storage account name; readonly.\n */\n public readonly accountName: string;\n\n /**\n * Azure Storage user delegation key; readonly.\n */\n public readonly userDelegationKey: UserDelegationKey;\n\n /**\n * Key value in Buffer type.\n */\n private readonly key: Buffer;\n\n /**\n * Creates an instance of UserDelegationKeyCredential.\n * @param accountName -\n * @param userDelegationKey -\n */\n constructor(accountName: string, userDelegationKey: UserDelegationKey) {\n this.accountName = accountName;\n this.userDelegationKey = userDelegationKey;\n this.key = Buffer.from(userDelegationKey.value, \"base64\");\n }\n\n /**\n * Generates a hash signature for an HTTP request or for a SAS.\n *\n * @param stringToSign -\n */\n public computeHMACSHA256(stringToSign: string): string {\n // console.log(`stringToSign: ${JSON.stringify(stringToSign)}`);\n\n return createHmac(\"sha256\", this.key).update(stringToSign, \"utf8\").digest(\"base64\");\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,wBAAwB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./models\";\nexport { StorageClient } from \"./storageClient\";\nexport * from \"./operationsInterfaces\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwsBH,gFAAgF;AAChF,MAAM,CAAN,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,WAAW;IACX,6CAAa,CAAA;IACb,aAAa;IACb,iDAAiB,CAAA;AACnB,CAAC,EALW,4BAA4B,KAA5B,4BAA4B,QAKvC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreHttpCompat from \"@azure/core-http-compat\";\n\nexport interface FileSystemList {\n filesystems?: FileSystem[];\n}\n\nexport interface FileSystem {\n name?: string;\n lastModified?: Date;\n etag?: string;\n}\n\nexport interface StorageError {\n /** The service error response object. */\n error?: StorageErrorError;\n code?: string;\n authenticationErrorDetail?: string;\n}\n\n/** The service error response object. */\nexport interface StorageErrorError {\n /** The service error code. */\n code?: string;\n /** The service error message. */\n message?: string;\n}\n\nexport interface PathList {\n paths?: Path[];\n}\n\nexport interface Path {\n name?: string;\n isDirectory?: boolean;\n lastModified?: Date;\n etag?: string;\n contentLength?: number;\n owner?: string;\n group?: string;\n permissions?: string;\n /** The name of the encryption scope under which the blob is encrypted. */\n encryptionScope?: string;\n creationTime?: string;\n expiryTime?: string;\n encryptionContext?: string;\n}\n\n/** An enumeration of blobs */\nexport interface ListBlobsHierarchySegmentResponse {\n serviceEndpoint: string;\n containerName: string;\n prefix?: string;\n marker?: string;\n maxResults?: number;\n delimiter?: string;\n segment: BlobHierarchyListSegment;\n nextMarker?: string;\n}\n\nexport interface BlobHierarchyListSegment {\n blobPrefixes?: BlobPrefix[];\n blobItems: BlobItemModel[];\n}\n\nexport interface BlobPrefix {\n name: string;\n}\n\n/** An Azure Storage blob */\nexport interface BlobItemModel {\n name: string;\n deleted: boolean;\n snapshot: string;\n versionId?: string;\n isCurrentVersion?: boolean;\n /** Properties of a blob */\n properties: BlobPropertiesModel;\n deletionId?: string;\n}\n\n/** Properties of a blob */\nexport interface BlobPropertiesModel {\n creationTime?: Date;\n lastModified: Date;\n etag: string;\n /** Size in bytes */\n contentLength?: number;\n contentType?: string;\n contentEncoding?: string;\n contentLanguage?: string;\n contentMD5?: Uint8Array;\n contentDisposition?: string;\n cacheControl?: string;\n blobSequenceNumber?: number;\n copyId?: string;\n copySource?: string;\n copyProgress?: string;\n copyCompletionTime?: Date;\n copyStatusDescription?: string;\n serverEncrypted?: boolean;\n incrementalCopy?: boolean;\n destinationSnapshot?: string;\n deletedTime?: Date;\n remainingRetentionDays?: number;\n accessTierInferred?: boolean;\n customerProvidedKeySha256?: string;\n /** The name of the encryption scope under which the blob is encrypted. */\n encryptionScope?: string;\n accessTierChangeTime?: Date;\n tagCount?: number;\n expiresOn?: Date;\n sealed?: boolean;\n lastAccessedOn?: Date;\n}\n\nexport interface SetAccessControlRecursiveResponse {\n directoriesSuccessful?: number;\n filesSuccessful?: number;\n failureCount?: number;\n failedEntries?: AclFailedEntry[];\n}\n\nexport interface AclFailedEntry {\n name?: string;\n type?: string;\n errorMessage?: string;\n}\n\n/** Defines headers for Service_listFileSystems operation. */\nexport interface ServiceListFileSystemsHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** If the number of filesystems to be listed exceeds the maxResults limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the list operation to continue listing the filesystems. */\n continuation?: string;\n /** The content type of list filesystem response. The default content type is application/json. */\n contentType?: string;\n}\n\n/** Defines headers for Service_listFileSystems operation. */\nexport interface ServiceListFileSystemsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for FileSystem_create operation. */\nexport interface FileSystemCreateHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the FileSystem. */\n etag?: string;\n /** The data and time the filesystem was last modified. Operations on files and directories do not affect the last modified time. */\n lastModified?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n clientRequestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** A bool string indicates whether the namespace feature is enabled. If \"true\", the namespace is enabled for the filesystem. */\n namespaceEnabled?: string;\n}\n\n/** Defines headers for FileSystem_create operation. */\nexport interface FileSystemCreateExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for FileSystem_setProperties operation. */\nexport interface FileSystemSetPropertiesHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the filesystem. Changes to filesystem properties affect the entity tag, but operations on files and directories do not. */\n etag?: string;\n /** The data and time the filesystem was last modified. Changes to filesystem properties update the last modified time, but operations on files and directories do not. */\n lastModified?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n}\n\n/** Defines headers for FileSystem_setProperties operation. */\nexport interface FileSystemSetPropertiesExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for FileSystem_getProperties operation. */\nexport interface FileSystemGetPropertiesHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the filesystem. Changes to filesystem properties affect the entity tag, but operations on files and directories do not. */\n etag?: string;\n /** The data and time the filesystem was last modified. Changes to filesystem properties update the last modified time, but operations on files and directories do not. */\n lastModified?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** The user-defined properties associated with the filesystem. A comma-separated list of name and value pairs in the format \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. */\n properties?: string;\n /** A bool string indicates whether the namespace feature is enabled. If \"true\", the namespace is enabled for the filesystem. */\n namespaceEnabled?: string;\n}\n\n/** Defines headers for FileSystem_getProperties operation. */\nexport interface FileSystemGetPropertiesExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for FileSystem_delete operation. */\nexport interface FileSystemDeleteHeaders {\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n}\n\n/** Defines headers for FileSystem_delete operation. */\nexport interface FileSystemDeleteExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for FileSystem_listPaths operation. */\nexport interface FileSystemListPathsHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the filesystem. Changes to filesystem properties affect the entity tag, but operations on files and directories do not. */\n etag?: string;\n /** The data and time the filesystem was last modified. Changes to filesystem properties update the last modified time, but operations on files and directories do not. */\n lastModified?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** If the number of paths to be listed exceeds the maxResults limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the list operation to continue listing the paths. */\n continuation?: string;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Defines headers for FileSystem_listPaths operation. */\nexport interface FileSystemListPathsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for FileSystem_listBlobHierarchySegment operation. */\nexport interface FileSystemListBlobHierarchySegmentHeaders {\n /** The media type of the body of the response. For List Blobs this is 'application/xml' */\n contentType?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */\n version?: string;\n /** UTC date/time value generated by the service that indicates the time at which the response was initiated */\n date?: Date;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Defines headers for FileSystem_listBlobHierarchySegment operation. */\nexport interface FileSystemListBlobHierarchySegmentExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for Path_create operation. */\nexport interface PathCreateHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the file or directory. */\n etag?: string;\n /** The data and time the file or directory was last modified. Write operations on the file or directory update the last modified time. */\n lastModified?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** When renaming a directory, the number of paths that are renamed with each invocation is limited. If the number of paths to be renamed exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the rename operation to continue renaming the directory. */\n continuation?: string;\n /** The size of the resource in bytes. */\n contentLength?: number;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key. */\n encryptionKeySha256?: string;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Defines headers for Path_create operation. */\nexport interface PathCreateExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for Path_update operation. */\nexport interface PathUpdateHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the file or directory. */\n etag?: string;\n /** The data and time the file or directory was last modified. Write operations on the file or directory update the last modified time. */\n lastModified?: Date;\n /** Indicates that the service supports requests for partial file content. */\n acceptRanges?: string;\n /** If the Cache-Control request header has previously been set for the resource, that value is returned in this header. */\n cacheControl?: string;\n /** If the Content-Disposition request header has previously been set for the resource, that value is returned in this header. */\n contentDisposition?: string;\n /** If the Content-Encoding request header has previously been set for the resource, that value is returned in this header. */\n contentEncoding?: string;\n /** If the Content-Language request header has previously been set for the resource, that value is returned in this header. */\n contentLanguage?: string;\n /** The size of the resource in bytes. */\n contentLength?: number;\n /** Indicates the range of bytes returned in the event that the client requested a subset of the file by setting the Range request header. */\n contentRange?: string;\n /** The content type specified for the resource. If no content type was specified, the default content type is application/octet-stream. */\n contentType?: string;\n /** An MD5 hash of the request content. This header is only returned for \"Flush\" operation. This header is returned so that the client can check for message content integrity. This header refers to the content of the request, not actual file content. */\n contentMD5?: string;\n /** User-defined properties associated with the file or directory, in the format of a comma-separated list of name and value pairs \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. */\n properties?: string;\n /** When performing setAccessControlRecursive on a directory, the number of paths that are processed with each invocation is limited. If the number of paths to be processed exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the setAccessControlRecursive operation to continue the setAccessControlRecursive operation on the directory. */\n xMsContinuation?: string;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Defines headers for Path_update operation. */\nexport interface PathUpdateExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for Path_lease operation. */\nexport interface PathLeaseHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the file. */\n etag?: string;\n /** The data and time the file was last modified. Write operations on the file update the last modified time. */\n lastModified?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** A successful \"renew\" action returns the lease ID. */\n leaseId?: string;\n}\n\n/** Defines headers for Path_lease operation. */\nexport interface PathLeaseExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for Path_read operation. */\nexport interface PathReadHeaders {\n /** Indicates that the service supports requests for partial file content. */\n acceptRanges?: string;\n /** If the Cache-Control request header has previously been set for the resource, that value is returned in this header. */\n cacheControl?: string;\n /** If the Content-Disposition request header has previously been set for the resource, that value is returned in this header. */\n contentDisposition?: string;\n /** If the Content-Encoding request header has previously been set for the resource, that value is returned in this header. */\n contentEncoding?: string;\n /** If the Content-Language request header has previously been set for the resource, that value is returned in this header. */\n contentLanguage?: string;\n /** The size of the resource in bytes. */\n contentLength?: number;\n /** Indicates the range of bytes returned in the event that the client requested a subset of the file by setting the Range request header. */\n contentRange?: string;\n /** The content type specified for the resource. If no content type was specified, the default content type is application/octet-stream. */\n contentType?: string;\n /** The MD5 hash of complete file. If the file has an MD5 hash and this read operation is to read the complete file, this response header is returned so that the client can check for message content integrity. */\n contentMD5?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the file or directory. */\n etag?: string;\n /** The data and time the file or directory was last modified. Write operations on the file or directory update the last modified time. */\n lastModified?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** The type of the resource. The value may be \"file\" or \"directory\". If not set, the value is \"file\". */\n resourceType?: string;\n /** The user-defined properties associated with the file or directory, in the format of a comma-separated list of name and value pairs \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. */\n properties?: string;\n /** When a resource is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: string;\n /** Lease state of the resource. */\n leaseState?: string;\n /** The lease status of the resource. */\n leaseStatus?: string;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key. */\n encryptionKeySha256?: string;\n}\n\n/** Defines headers for Path_read operation. */\nexport interface PathReadExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for Path_getProperties operation. */\nexport interface PathGetPropertiesHeaders {\n /** Indicates that the service supports requests for partial file content. */\n acceptRanges?: string;\n /** If the Cache-Control request header has previously been set for the resource, that value is returned in this header. */\n cacheControl?: string;\n /** If the Content-Disposition request header has previously been set for the resource, that value is returned in this header. */\n contentDisposition?: string;\n /** If the Content-Encoding request header has previously been set for the resource, that value is returned in this header. */\n contentEncoding?: string;\n /** If the Content-Language request header has previously been set for the resource, that value is returned in this header. */\n contentLanguage?: string;\n /** The size of the resource in bytes. */\n contentLength?: number;\n /** Indicates the range of bytes returned in the event that the client requested a subset of the file by setting the Range request header. */\n contentRange?: string;\n /** The content type specified for the resource. If no content type was specified, the default content type is application/octet-stream. */\n contentType?: string;\n /** The MD5 hash of complete file stored in storage. This header is returned only for \"GetProperties\" operation. If the Content-MD5 header has been set for the file, this response header is returned for GetProperties call so that the client can check for message content integrity. */\n contentMD5?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the file or directory. */\n etag?: string;\n /** The data and time the file or directory was last modified. Write operations on the file or directory update the last modified time. */\n lastModified?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** The type of the resource. The value may be \"file\" or \"directory\". If not set, the value is \"file\". */\n resourceType?: string;\n /** The user-defined properties associated with the file or directory, in the format of a comma-separated list of name and value pairs \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. */\n properties?: string;\n /** The owner of the file or directory. Included in the response if Hierarchical Namespace is enabled for the account. */\n owner?: string;\n /** The owning group of the file or directory. Included in the response if Hierarchical Namespace is enabled for the account. */\n group?: string;\n /** The POSIX access permissions for the file owner, the file owning group, and others. Included in the response if Hierarchical Namespace is enabled for the account. */\n permissions?: string;\n /** The POSIX access control list for the file or directory. Included in the response only if the action is \"getAccessControl\" and Hierarchical Namespace is enabled for the account. */\n acl?: string;\n /** When a resource is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: string;\n /** Lease state of the resource. */\n leaseState?: string;\n /** The lease status of the resource. */\n leaseStatus?: string;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Defines headers for Path_getProperties operation. */\nexport interface PathGetPropertiesExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for Path_delete operation. */\nexport interface PathDeleteHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** When deleting a directory, the number of paths that are deleted with each invocation is limited. If the number of paths to be deleted exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the delete operation to continue deleting the directory. */\n continuation?: string;\n /** Returned only for hierarchical namespace space enabled accounts when soft delete is enabled. A unique identifier for the entity that can be used to restore it. See the Undelete REST API for more information. */\n deletionId?: string;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Defines headers for Path_delete operation. */\nexport interface PathDeleteExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for Path_setAccessControl operation. */\nexport interface PathSetAccessControlHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the file or directory. */\n etag?: string;\n /** The data and time the file or directory was last modified. Write operations on the file or directory update the last modified time. */\n lastModified?: Date;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n}\n\n/** Defines headers for Path_setAccessControl operation. */\nexport interface PathSetAccessControlExceptionHeaders {\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n}\n\n/** Defines headers for Path_setAccessControlRecursive operation. */\nexport interface PathSetAccessControlRecursiveHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** When performing setAccessControlRecursive on a directory, the number of paths that are processed with each invocation is limited. If the number of paths to be processed exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the setAccessControlRecursive operation to continue the setAccessControlRecursive operation on the directory. */\n continuation?: string;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n}\n\n/** Defines headers for Path_setAccessControlRecursive operation. */\nexport interface PathSetAccessControlRecursiveExceptionHeaders {\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n}\n\n/** Defines headers for Path_flushData operation. */\nexport interface PathFlushDataHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** An HTTP entity tag associated with the file or directory. */\n etag?: string;\n /** The data and time the file or directory was last modified. Write operations on the file or directory update the last modified time. */\n lastModified?: Date;\n /** The size of the resource in bytes. */\n contentLength?: number;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key. */\n encryptionKeySha256?: string;\n /** If the lease was auto-renewed with this request */\n leaseRenewed?: boolean;\n}\n\n/** Defines headers for Path_flushData operation. */\nexport interface PathFlushDataExceptionHeaders {\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n}\n\n/** Defines headers for Path_appendData operation. */\nexport interface PathAppendDataHeaders {\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n /** An HTTP entity tag associated with the file or directory. */\n etag?: string;\n /** If the blob has an MD5 hash and this operation is to read the full blob, this response header is returned so that the client can check for message content integrity. */\n contentMD5?: Uint8Array;\n /** This header is returned so that the client can check for message content integrity. The value of this header is computed by the Blob service; it is not necessarily the same value specified in the request headers. */\n xMsContentCrc64?: Uint8Array;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key. */\n encryptionKeySha256?: string;\n /** If the lease was auto-renewed with this request */\n leaseRenewed?: boolean;\n}\n\n/** Defines headers for Path_appendData operation. */\nexport interface PathAppendDataExceptionHeaders {\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** A server-generated UUID recorded in the analytics logs for troubleshooting and correlation. */\n requestId?: string;\n /** The version of the REST protocol used to process the request. */\n version?: string;\n}\n\n/** Defines headers for Path_setExpiry operation. */\nexport interface PathSetExpiryHeaders {\n /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */\n etag?: string;\n /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */\n lastModified?: Date;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */\n version?: string;\n /** UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Defines headers for Path_setExpiry operation. */\nexport interface PathSetExpiryExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for Path_undelete operation. */\nexport interface PathUndeleteHeaders {\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** The type of the resource. The value may be \"file\" or \"directory\". If not set, the value is \"file\". */\n resourceType?: string;\n /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */\n version?: string;\n /** UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n}\n\n/** Defines headers for Path_undelete operation. */\nexport interface PathUndeleteExceptionHeaders {\n errorCode?: string;\n}\n\n/** Parameter group */\nexport interface ModifiedAccessConditions {\n /** Specify this header value to operate only on a blob if it has been modified since the specified date/time. */\n ifModifiedSince?: Date;\n /** Specify this header value to operate only on a blob if it has not been modified since the specified date/time. */\n ifUnmodifiedSince?: Date;\n /** Specify an ETag value to operate only on blobs with a matching value. */\n ifMatch?: string;\n /** Specify an ETag value to operate only on blobs without a matching value. */\n ifNoneMatch?: string;\n}\n\n/** Parameter group */\nexport interface PathHttpHeaders {\n /** Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request. */\n cacheControl?: string;\n /** Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request. */\n contentEncoding?: string;\n /** Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request. */\n contentLanguage?: string;\n /** Optional. Sets the blob's Content-Disposition header. */\n contentDisposition?: string;\n /** Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request. */\n contentType?: string;\n /** Specify the transactional md5 for the body, to be validated by the service. */\n contentMD5?: Uint8Array;\n /** Specify the transactional md5 for the body, to be validated by the service. */\n transactionalContentHash?: Uint8Array;\n}\n\n/** Parameter group */\nexport interface LeaseAccessConditions {\n /** If specified, the operation only succeeds if the resource's lease is active and matches this ID. */\n leaseId?: string;\n}\n\n/** Parameter group */\nexport interface SourceModifiedAccessConditions {\n /** Specify an ETag value to operate only on blobs with a matching value. */\n sourceIfMatch?: string;\n /** Specify an ETag value to operate only on blobs without a matching value. */\n sourceIfNoneMatch?: string;\n /** Specify this header value to operate only on a blob if it has been modified since the specified date/time. */\n sourceIfModifiedSince?: Date;\n /** Specify this header value to operate only on a blob if it has not been modified since the specified date/time. */\n sourceIfUnmodifiedSince?: Date;\n}\n\n/** Parameter group */\nexport interface CpkInfo {\n /** Optional. Specifies the encryption key to use to encrypt the data provided in the request. If not specified, encryption is performed with the root account encryption key. For more information, see Encryption at Rest for Azure Storage Services. */\n encryptionKey?: string;\n /** The SHA-256 hash of the provided encryption key. Must be provided if the x-ms-encryption-key header is provided. */\n encryptionKeySha256?: string;\n /** The algorithm used to produce the encryption key hash. Currently, the only accepted value is \"AES256\". Must be provided if the x-ms-encryption-key header is provided. */\n encryptionAlgorithm?: EncryptionAlgorithmType;\n}\n\n/** Known values of {@link EncryptionAlgorithmType} that the service accepts. */\nexport enum KnownEncryptionAlgorithmType {\n /** None */\n None = \"None\",\n /** AES256 */\n AES256 = \"AES256\"\n}\n\n/**\n * Defines values for EncryptionAlgorithmType. \\\n * {@link KnownEncryptionAlgorithmType} can be used interchangeably with EncryptionAlgorithmType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None** \\\n * **AES256**\n */\nexport type EncryptionAlgorithmType = string;\n/** Defines values for ListBlobsIncludeItem. */\nexport type ListBlobsIncludeItem =\n | \"copy\"\n | \"deleted\"\n | \"metadata\"\n | \"snapshots\"\n | \"uncommittedblobs\"\n | \"versions\"\n | \"tags\";\n/** Defines values for PathResourceType. */\nexport type PathResourceType = \"directory\" | \"file\";\n/** Defines values for PathRenameMode. */\nexport type PathRenameMode = \"legacy\" | \"posix\";\n/** Defines values for PathExpiryOptions. */\nexport type PathExpiryOptions =\n | \"NeverExpire\"\n | \"RelativeToCreation\"\n | \"RelativeToNow\"\n | \"Absolute\";\n/** Defines values for PathUpdateAction. */\nexport type PathUpdateAction =\n | \"append\"\n | \"flush\"\n | \"setProperties\"\n | \"setAccessControl\"\n | \"setAccessControlRecursive\";\n/** Defines values for PathSetAccessControlRecursiveMode. */\nexport type PathSetAccessControlRecursiveMode = \"set\" | \"modify\" | \"remove\";\n/** Defines values for PathLeaseAction. */\nexport type PathLeaseAction =\n | \"acquire\"\n | \"break\"\n | \"change\"\n | \"renew\"\n | \"release\";\n/** Defines values for PathGetPropertiesAction. */\nexport type PathGetPropertiesAction = \"getAccessControl\" | \"getStatus\";\n/** Defines values for LeaseAction. */\nexport type LeaseAction =\n | \"acquire\"\n | \"auto-renew\"\n | \"release\"\n | \"acquire-release\";\n\n/** Optional parameters. */\nexport interface ServiceListFileSystemsOptionalParams\n extends coreClient.OperationOptions {\n /** Filters results to filesystems within the specified prefix. */\n prefix?: string;\n /** Optional. When deleting a directory, the number of paths that are deleted with each invocation is limited. If the number of paths to be deleted exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the delete operation to continue deleting the directory. */\n continuation?: string;\n /** An optional value that specifies the maximum number of items to return. If omitted or greater than 5,000, the response will include up to 5,000 items. */\n maxResults?: number;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n}\n\n/** Contains response data for the listFileSystems operation. */\nexport type ServiceListFileSystemsResponse = ServiceListFileSystemsHeaders &\n FileSystemList;\n\n/** Optional parameters. */\nexport interface FileSystemCreateOptionalParams\n extends coreClient.OperationOptions {\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Optional. User-defined properties to be stored with the filesystem, in the format of a comma-separated list of name and value pairs \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. If the filesystem exists, any properties not included in the list will be removed. All properties are removed if the header is omitted. To merge new and existing properties, first get all existing properties and the current E-Tag, then make a conditional request with the E-Tag and include values for all properties. */\n properties?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type FileSystemCreateResponse = FileSystemCreateHeaders;\n\n/** Optional parameters. */\nexport interface FileSystemSetPropertiesOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Optional. User-defined properties to be stored with the filesystem, in the format of a comma-separated list of name and value pairs \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. If the filesystem exists, any properties not included in the list will be removed. All properties are removed if the header is omitted. To merge new and existing properties, first get all existing properties and the current E-Tag, then make a conditional request with the E-Tag and include values for all properties. */\n properties?: string;\n}\n\n/** Contains response data for the setProperties operation. */\nexport type FileSystemSetPropertiesResponse = FileSystemSetPropertiesHeaders;\n\n/** Optional parameters. */\nexport interface FileSystemGetPropertiesOptionalParams\n extends coreClient.OperationOptions {\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type FileSystemGetPropertiesResponse = FileSystemGetPropertiesHeaders;\n\n/** Optional parameters. */\nexport interface FileSystemDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n}\n\n/** Contains response data for the delete operation. */\nexport type FileSystemDeleteResponse = FileSystemDeleteHeaders;\n\n/** Optional parameters. */\nexport interface FileSystemListPathsOptionalParams\n extends coreClient.OperationOptions {\n /** Optional. When deleting a directory, the number of paths that are deleted with each invocation is limited. If the number of paths to be deleted exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the delete operation to continue deleting the directory. */\n continuation?: string;\n /** An optional value that specifies the maximum number of items to return. If omitted or greater than 5,000, the response will include up to 5,000 items. */\n maxResults?: number;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Optional. Filters results to paths within the specified directory. An error occurs if the directory does not exist. */\n path?: string;\n /** Optional. Valid only when Hierarchical Namespace is enabled for the account. If \"true\", the user identity values returned in the x-ms-owner, x-ms-group, and x-ms-acl response headers will be transformed from Azure Active Directory Object IDs to User Principal Names. If \"false\", the values will be returned as Azure Active Directory Object IDs. The default value is false. Note that group and application Object IDs are not translated because they do not have unique friendly names. */\n upn?: boolean;\n}\n\n/** Contains response data for the listPaths operation. */\nexport type FileSystemListPathsResponse = FileSystemListPathsHeaders & PathList;\n\n/** Optional parameters. */\nexport interface FileSystemListBlobHierarchySegmentOptionalParams\n extends coreClient.OperationOptions {\n /** Filters results to filesystems within the specified prefix. */\n prefix?: string;\n /** An optional value that specifies the maximum number of items to return. If omitted or greater than 5,000, the response will include up to 5,000 items. */\n maxResults?: number;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** When the request includes this parameter, the operation returns a BlobPrefix element in the response body that acts as a placeholder for all blobs whose names begin with the same substring up to the appearance of the delimiter character. The delimiter may be a single character or a string. */\n delimiter?: string;\n /** A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the NextMarker value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client. */\n marker?: string;\n /** Include this parameter to specify one or more datasets to include in the response. */\n include?: ListBlobsIncludeItem[];\n}\n\n/** Contains response data for the listBlobHierarchySegment operation. */\nexport type FileSystemListBlobHierarchySegmentResponse = FileSystemListBlobHierarchySegmentHeaders &\n ListBlobsHierarchySegmentResponse;\n\n/** Optional parameters. */\nexport interface PathCreateOptionalParams extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Parameter group */\n pathHttpHeaders?: PathHttpHeaders;\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Parameter group */\n sourceModifiedAccessConditions?: SourceModifiedAccessConditions;\n /** Parameter group */\n cpkInfo?: CpkInfo;\n /** Optional. When deleting a directory, the number of paths that are deleted with each invocation is limited. If the number of paths to be deleted exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the delete operation to continue deleting the directory. */\n continuation?: string;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Optional. User-defined properties to be stored with the filesystem, in the format of a comma-separated list of name and value pairs \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. If the filesystem exists, any properties not included in the list will be removed. All properties are removed if the header is omitted. To merge new and existing properties, first get all existing properties and the current E-Tag, then make a conditional request with the E-Tag and include values for all properties. */\n properties?: string;\n /** Required only for Create File and Create Directory. The value must be \"file\" or \"directory\". */\n resource?: PathResourceType;\n /** Optional. Valid only when namespace is enabled. This parameter determines the behavior of the rename operation. The value must be \"legacy\" or \"posix\", and the default value will be \"posix\". */\n mode?: PathRenameMode;\n /** An optional file or directory to be renamed. The value must have the following format: \"/{filesystem}/{path}\". If \"x-ms-properties\" is specified, the properties will overwrite the existing properties; otherwise, the existing properties will be preserved. This value must be a URL percent-encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. */\n renameSource?: string;\n /** A lease ID for the source path. If specified, the source path must have an active lease and the lease ID must match. */\n sourceLeaseId?: string;\n /** Optional and only valid if Hierarchical Namespace is enabled for the account. Sets POSIX access permissions for the file owner, the file owning group, and others. Each class may be granted read, write, or execute permission. The sticky bit is also supported. Both symbolic (rwxrw-rw-) and 4-digit octal notation (e.g. 0766) are supported. */\n permissions?: string;\n /** Optional and only valid if Hierarchical Namespace is enabled for the account. When creating a file or directory and the parent folder does not have a default ACL, the umask restricts the permissions of the file or directory to be created. The resulting permission is given by p bitwise and not u, where p is the permission and u is the umask. For example, if p is 0777 and u is 0057, then the resulting permission is 0720. The default permission is 0777 for a directory and 0666 for a file. The default umask is 0027. The umask must be specified in 4-digit octal notation (e.g. 0766). */\n umask?: string;\n /** Optional. The owner of the blob or directory. */\n owner?: string;\n /** Optional. The owning group of the blob or directory. */\n group?: string;\n /** Sets POSIX access control rights on files and directories. The value is a comma-separated list of access control entries. Each access control entry (ACE) consists of a scope, a type, a user or group identifier, and permissions in the format \"[scope:][type]:[id]:[permissions]\". */\n acl?: string;\n /** Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */\n proposedLeaseId?: string;\n /** The lease duration is required to acquire a lease, and specifies the duration of the lease in seconds. The lease duration must be between 15 and 60 seconds or -1 for infinite lease. */\n leaseDuration?: number;\n /** Required. Indicates mode of the expiry time */\n expiryOptions?: PathExpiryOptions;\n /** The time to set the blob to expiry */\n expiresOn?: string;\n /** Specifies the encryption context to set on the file. */\n encryptionContext?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type PathCreateResponse = PathCreateHeaders;\n\n/** Optional parameters. */\nexport interface PathUpdateOptionalParams extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Parameter group */\n pathHttpHeaders?: PathHttpHeaders;\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Optional. The number of paths processed with each invocation is limited. If the number of paths to be processed exceeds this limit, a continuation token is returned in the response header x-ms-continuation. When a continuation token is returned in the response, it must be percent-encoded and specified in a subsequent invocation of setAccessControlRecursive operation. */\n continuation?: string;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Optional. User-defined properties to be stored with the filesystem, in the format of a comma-separated list of name and value pairs \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set. If the filesystem exists, any properties not included in the list will be removed. All properties are removed if the header is omitted. To merge new and existing properties, first get all existing properties and the current E-Tag, then make a conditional request with the E-Tag and include values for all properties. */\n properties?: string;\n /** Optional and only valid if Hierarchical Namespace is enabled for the account. Sets POSIX access permissions for the file owner, the file owning group, and others. Each class may be granted read, write, or execute permission. The sticky bit is also supported. Both symbolic (rwxrw-rw-) and 4-digit octal notation (e.g. 0766) are supported. */\n permissions?: string;\n /** Optional. The owner of the blob or directory. */\n owner?: string;\n /** Optional. The owning group of the blob or directory. */\n group?: string;\n /** Sets POSIX access control rights on files and directories. The value is a comma-separated list of access control entries. Each access control entry (ACE) consists of a scope, a type, a user or group identifier, and permissions in the format \"[scope:][type]:[id]:[permissions]\". */\n acl?: string;\n /** Optional. Valid for \"SetAccessControlRecursive\" operation. It specifies the maximum number of files or directories on which the acl change will be applied. If omitted or greater than 2,000, the request will process up to 2,000 items */\n maxRecords?: number;\n /** Optional. Valid for \"SetAccessControlRecursive\" operation. If set to false, the operation will terminate quickly on encountering user errors (4XX). If true, the operation will ignore user errors and proceed with the operation on other sub-entities of the directory. Continuation token will only be returned when forceFlag is true in case of user errors. If not set the default value is false for this. */\n forceFlag?: boolean;\n /** This parameter allows the caller to upload data in parallel and control the order in which it is appended to the file. It is required when uploading data to be appended to the file and when flushing previously uploaded data to the file. The value must be the position where the data is to be appended. Uploaded data is not immediately flushed, or written, to the file. To flush, the previously uploaded data must be contiguous, the position parameter must be specified and equal to the length of the file after all data has been written, and there must not be a request entity body included with the request. */\n position?: number;\n /** Valid only for flush operations. If \"true\", uncommitted data is retained after the flush operation completes; otherwise, the uncommitted data is deleted after the flush operation. The default is false. Data at offsets less than the specified position are written to the file when flush succeeds, but this optional parameter allows data after the flush position to be retained for a future flush operation. */\n retainUncommittedData?: boolean;\n /** Azure Storage Events allow applications to receive notifications when files change. When Azure Storage Events are enabled, a file changed event is raised. This event has a property indicating whether this is the final change to distinguish the difference between an intermediate flush to a file stream and the final close of a file stream. The close query parameter is valid only when the action is \"flush\" and change notifications are enabled. If the value of close is \"true\" and the flush operation completes successfully, the service raises a file change notification with a property indicating that this is the final update (the file stream has been closed). If \"false\" a change notification is raised indicating the file has changed. The default is false. This query parameter is set to true by the Hadoop ABFS driver to indicate that the file stream has been closed.\" */\n close?: boolean;\n /** Required for \"Append Data\" and \"Flush Data\". Must be 0 for \"Flush Data\". Must be the length of the request content in bytes for \"Append Data\". */\n contentLength?: number;\n}\n\n/** Contains response data for the update operation. */\nexport type PathUpdateResponse = PathUpdateHeaders &\n SetAccessControlRecursiveResponse;\n\n/** Optional parameters. */\nexport interface PathLeaseOptionalParams extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */\n proposedLeaseId?: string;\n /** The lease break period duration is optional to break a lease, and specifies the break period of the lease in seconds. The lease break duration must be between 0 and 60 seconds. */\n xMsLeaseBreakPeriod?: number;\n}\n\n/** Contains response data for the lease operation. */\nexport type PathLeaseResponse = PathLeaseHeaders;\n\n/** Optional parameters. */\nexport interface PathReadOptionalParams extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Parameter group */\n cpkInfo?: CpkInfo;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** The HTTP Range request header specifies one or more byte ranges of the resource to be retrieved. */\n range?: string;\n /** Optional. When this header is set to \"true\" and specified together with the Range header, the service returns the MD5 hash for the range, as long as the range is less than or equal to 4MB in size. If this header is specified without the Range header, the service returns status code 400 (Bad Request). If this header is set to true when the range exceeds 4 MB in size, the service returns status code 400 (Bad Request). */\n xMsRangeGetContentMd5?: boolean;\n}\n\n/** Contains response data for the read operation. */\nexport type PathReadResponse = PathReadHeaders & {\n /**\n * BROWSER ONLY\n *\n * The response body as a browser Blob.\n * Always `undefined` in node.js.\n */\n blobBody?: Promise<Blob>;\n /**\n * NODEJS ONLY\n *\n * The response body as a node.js Readable stream.\n * Always `undefined` in the browser.\n */\n readableStreamBody?: NodeJS.ReadableStream;\n};\n\n/** Optional parameters. */\nexport interface PathGetPropertiesOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Optional. Valid only when Hierarchical Namespace is enabled for the account. If \"true\", the user identity values returned in the x-ms-owner, x-ms-group, and x-ms-acl response headers will be transformed from Azure Active Directory Object IDs to User Principal Names. If \"false\", the values will be returned as Azure Active Directory Object IDs. The default value is false. Note that group and application Object IDs are not translated because they do not have unique friendly names. */\n upn?: boolean;\n /** Optional. If the value is \"getStatus\" only the system defined properties for the path are returned. If the value is \"getAccessControl\" the access control list is returned in the response headers (Hierarchical Namespace must be enabled for the account), otherwise the properties are returned. */\n action?: PathGetPropertiesAction;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type PathGetPropertiesResponse = PathGetPropertiesHeaders;\n\n/** Optional parameters. */\nexport interface PathDeleteOptionalParams extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Optional. When deleting a directory, the number of paths that are deleted with each invocation is limited. If the number of paths to be deleted exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the delete operation to continue deleting the directory. */\n continuation?: string;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Required */\n recursive?: boolean;\n /** If true, paginated behavior will be seen. Pagination is for the recursive ACL checks as a POSIX requirement in the server and Delete in an atomic operation once the ACL checks are completed. If false or missing, normal default behavior will kick in, which may timeout in case of very large directories due to recursive ACL checks. This new parameter is introduced for backward compatibility. */\n paginated?: boolean;\n}\n\n/** Contains response data for the delete operation. */\nexport type PathDeleteResponse = PathDeleteHeaders;\n\n/** Optional parameters. */\nexport interface PathSetAccessControlOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Optional and only valid if Hierarchical Namespace is enabled for the account. Sets POSIX access permissions for the file owner, the file owning group, and others. Each class may be granted read, write, or execute permission. The sticky bit is also supported. Both symbolic (rwxrw-rw-) and 4-digit octal notation (e.g. 0766) are supported. */\n permissions?: string;\n /** Optional. The owner of the blob or directory. */\n owner?: string;\n /** Optional. The owning group of the blob or directory. */\n group?: string;\n /** Sets POSIX access control rights on files and directories. The value is a comma-separated list of access control entries. Each access control entry (ACE) consists of a scope, a type, a user or group identifier, and permissions in the format \"[scope:][type]:[id]:[permissions]\". */\n acl?: string;\n}\n\n/** Contains response data for the setAccessControl operation. */\nexport type PathSetAccessControlResponse = PathSetAccessControlHeaders;\n\n/** Optional parameters. */\nexport interface PathSetAccessControlRecursiveOptionalParams\n extends coreClient.OperationOptions {\n /** Optional. When deleting a directory, the number of paths that are deleted with each invocation is limited. If the number of paths to be deleted exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the delete operation to continue deleting the directory. */\n continuation?: string;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Sets POSIX access control rights on files and directories. The value is a comma-separated list of access control entries. Each access control entry (ACE) consists of a scope, a type, a user or group identifier, and permissions in the format \"[scope:][type]:[id]:[permissions]\". */\n acl?: string;\n /** Optional. It specifies the maximum number of files or directories on which the acl change will be applied. If omitted or greater than 2,000, the request will process up to 2,000 items */\n maxRecords?: number;\n /** Optional. Valid for \"SetAccessControlRecursive\" operation. If set to false, the operation will terminate quickly on encountering user errors (4XX). If true, the operation will ignore user errors and proceed with the operation on other sub-entities of the directory. Continuation token will only be returned when forceFlag is true in case of user errors. If not set the default value is false for this. */\n forceFlag?: boolean;\n}\n\n/** Contains response data for the setAccessControlRecursive operation. */\nexport type PathSetAccessControlRecursiveResponse = PathSetAccessControlRecursiveHeaders &\n SetAccessControlRecursiveResponse;\n\n/** Optional parameters. */\nexport interface PathFlushDataOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n modifiedAccessConditions?: ModifiedAccessConditions;\n /** Parameter group */\n pathHttpHeaders?: PathHttpHeaders;\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Parameter group */\n cpkInfo?: CpkInfo;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */\n proposedLeaseId?: string;\n /** The lease duration is required to acquire a lease, and specifies the duration of the lease in seconds. The lease duration must be between 15 and 60 seconds or -1 for infinite lease. */\n leaseDuration?: number;\n /** This parameter allows the caller to upload data in parallel and control the order in which it is appended to the file. It is required when uploading data to be appended to the file and when flushing previously uploaded data to the file. The value must be the position where the data is to be appended. Uploaded data is not immediately flushed, or written, to the file. To flush, the previously uploaded data must be contiguous, the position parameter must be specified and equal to the length of the file after all data has been written, and there must not be a request entity body included with the request. */\n position?: number;\n /** Valid only for flush operations. If \"true\", uncommitted data is retained after the flush operation completes; otherwise, the uncommitted data is deleted after the flush operation. The default is false. Data at offsets less than the specified position are written to the file when flush succeeds, but this optional parameter allows data after the flush position to be retained for a future flush operation. */\n retainUncommittedData?: boolean;\n /** Azure Storage Events allow applications to receive notifications when files change. When Azure Storage Events are enabled, a file changed event is raised. This event has a property indicating whether this is the final change to distinguish the difference between an intermediate flush to a file stream and the final close of a file stream. The close query parameter is valid only when the action is \"flush\" and change notifications are enabled. If the value of close is \"true\" and the flush operation completes successfully, the service raises a file change notification with a property indicating that this is the final update (the file stream has been closed). If \"false\" a change notification is raised indicating the file has changed. The default is false. This query parameter is set to true by the Hadoop ABFS driver to indicate that the file stream has been closed.\" */\n close?: boolean;\n /** Required for \"Append Data\" and \"Flush Data\". Must be 0 for \"Flush Data\". Must be the length of the request content in bytes for \"Append Data\". */\n contentLength?: number;\n /** Optional. If \"acquire\" it will acquire the lease. If \"auto-renew\" it will renew the lease. If \"release\" it will release the lease only on flush. If \"acquire-release\" it will acquire & complete the operation & release the lease once operation is done. */\n leaseAction?: LeaseAction;\n}\n\n/** Contains response data for the flushData operation. */\nexport type PathFlushDataResponse = PathFlushDataHeaders;\n\n/** Optional parameters. */\nexport interface PathAppendDataOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n leaseAccessConditions?: LeaseAccessConditions;\n /** Parameter group */\n cpkInfo?: CpkInfo;\n /** Parameter group */\n pathHttpHeaders?: PathHttpHeaders;\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */\n proposedLeaseId?: string;\n /** The lease duration is required to acquire a lease, and specifies the duration of the lease in seconds. The lease duration must be between 15 and 60 seconds or -1 for infinite lease. */\n leaseDuration?: number;\n /** This parameter allows the caller to upload data in parallel and control the order in which it is appended to the file. It is required when uploading data to be appended to the file and when flushing previously uploaded data to the file. The value must be the position where the data is to be appended. Uploaded data is not immediately flushed, or written, to the file. To flush, the previously uploaded data must be contiguous, the position parameter must be specified and equal to the length of the file after all data has been written, and there must not be a request entity body included with the request. */\n position?: number;\n /** Required for \"Append Data\" and \"Flush Data\". Must be 0 for \"Flush Data\". Must be the length of the request content in bytes for \"Append Data\". */\n contentLength?: number;\n /** Optional. If \"acquire\" it will acquire the lease. If \"auto-renew\" it will renew the lease. If \"release\" it will release the lease only on flush. If \"acquire-release\" it will acquire & complete the operation & release the lease once operation is done. */\n leaseAction?: LeaseAction;\n /** Specify the transactional crc64 for the body, to be validated by the service. */\n transactionalContentCrc64?: Uint8Array;\n /** If file should be flushed after the append */\n flush?: boolean;\n}\n\n/** Contains response data for the appendData operation. */\nexport type PathAppendDataResponse = PathAppendDataHeaders;\n\n/** Optional parameters. */\nexport interface PathSetExpiryOptionalParams\n extends coreClient.OperationOptions {\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** The time to set the blob to expiry */\n expiresOn?: string;\n}\n\n/** Contains response data for the setExpiry operation. */\nexport type PathSetExpiryResponse = PathSetExpiryHeaders;\n\n/** Optional parameters. */\nexport interface PathUndeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */\n requestId?: string;\n /** The timeout parameter is expressed in seconds. For more information, see <a href=\"https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\">Setting Timeouts for Blob Service Operations.</a> */\n timeout?: number;\n /** Only for hierarchical namespace enabled accounts. Optional. The path of the soft deleted blob to undelete. */\n undeleteSource?: string;\n}\n\n/** Contains response data for the undelete operation. */\nexport type PathUndeleteResponse = PathUndeleteHeaders;\n\n/** Optional parameters. */\nexport interface StorageClientOptionalParams\n extends coreHttpCompat.ExtendedServiceClientOptions {\n /** Specifies the version of the operation to use for this request. */\n version?: string;\n /** The value must be \"filesystem\" for all filesystem operations. */\n resource?: string;\n /** The lease duration is required to acquire a lease, and specifies the duration of the lease in seconds. The lease duration must be between 15 and 60 seconds or -1 for infinite lease. */\n xMsLeaseDuration?: number;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|