@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
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
2
|
+
import type { RequestBodyType as HttpRequestBody } from "@azure/core-rest-pipeline";
|
|
3
|
+
import type { Pipeline, StoragePipelineOptions } from "./Pipeline.js";
|
|
4
|
+
import { AnonymousCredential } from "@azure/storage-blob";
|
|
5
|
+
import { StorageSharedKeyCredential } from "./credentials/StorageSharedKeyCredential.js";
|
|
6
|
+
import type { Readable } from "node:stream";
|
|
7
|
+
import { DataLakeLeaseClient } from "./DataLakeLeaseClient.js";
|
|
8
|
+
import type { DirectoryCreateIfNotExistsOptions, DirectoryCreateIfNotExistsResponse, DirectoryCreateOptions, DirectoryCreateResponse, DirectoryGenerateSasUrlOptions, FileAppendOptions, FileAppendResponse, FileCreateIfNotExistsOptions, FileCreateIfNotExistsResponse, FileCreateOptions, FileCreateResponse, FileExpiryMode, FileFlushOptions, FileFlushResponse, FileGenerateSasUrlOptions, FileParallelUploadOptions, FileQueryOptions, FileReadOptions, FileReadResponse, FileReadToBufferOptions, FileSetExpiryOptions, FileSetExpiryResponse, FileUploadResponse, Metadata, PathAccessControlItem, PathChangeAccessControlRecursiveOptions, PathChangeAccessControlRecursiveResponse, PathCreateIfNotExistsOptions, PathCreateIfNotExistsResponse, PathCreateOptions, PathCreateResponse, PathDeleteIfExistsResponse, PathDeleteOptions, PathDeleteResponse, PathExistsOptions, PathGetAccessControlOptions, PathGetAccessControlResponse, PathGetPropertiesOptions, PathGetPropertiesResponse, PathHttpHeaders, PathMoveOptions, PathMoveResponse, PathPermissions, PathResourceTypeModel, PathSetAccessControlOptions, PathSetAccessControlResponse, PathSetHttpHeadersOptions, PathSetHttpHeadersResponse, PathSetMetadataOptions, PathSetMetadataResponse, PathSetPermissionsOptions, PathSetPermissionsResponse, RemovePathAccessControlItem, UserDelegationKey } from "./models.js";
|
|
9
|
+
import { StorageClient } from "./StorageClient.js";
|
|
10
|
+
/**
|
|
11
|
+
* A DataLakePathClient represents a URL to the Azure Storage path (directory or file).
|
|
12
|
+
*/
|
|
13
|
+
export declare class DataLakePathClient extends StorageClient {
|
|
14
|
+
/**
|
|
15
|
+
* pathContext provided by protocol layer.
|
|
16
|
+
*/
|
|
17
|
+
private pathContext;
|
|
18
|
+
/**
|
|
19
|
+
* blobClient provided by `@azure/storage-blob` package.
|
|
20
|
+
*/
|
|
21
|
+
private blobClient;
|
|
22
|
+
private isTokenCredential?;
|
|
23
|
+
/**
|
|
24
|
+
* SetAccessControlRecursiveInternal operation sets the Access Control on a path and sub paths.
|
|
25
|
+
*
|
|
26
|
+
* @param mode - Mode \"set\" sets POSIX access control rights on files and directories,
|
|
27
|
+
* Mode \"modify\" modifies one or more POSIX access control rights that pre-exist on files and directories,
|
|
28
|
+
* Mode \"remove\" removes one or more POSIX access control rights that were present earlier on files and directories.
|
|
29
|
+
* @param acl - The POSIX access control list for the file or directory.
|
|
30
|
+
* @param options - Optional. Options
|
|
31
|
+
*/
|
|
32
|
+
private setAccessControlRecursiveInternal;
|
|
33
|
+
/**
|
|
34
|
+
* Creates an instance of DataLakePathClient from url and credential.
|
|
35
|
+
*
|
|
36
|
+
* @param url - A Client string pointing to Azure Storage data lake path (directory or file), such as
|
|
37
|
+
* "https://myaccount.dfs.core.windows.net/filesystem/directory" or "https://myaccount.dfs.core.windows.net/filesystem/file".
|
|
38
|
+
* You can append a SAS if using AnonymousCredential, such as "https://myaccount.dfs.core.windows.net/filesystem/directory?sasString".
|
|
39
|
+
* @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.
|
|
40
|
+
* @param options - Optional. Options to configure the HTTP pipeline.
|
|
41
|
+
*/
|
|
42
|
+
constructor(url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions);
|
|
43
|
+
/**
|
|
44
|
+
* Creates an instance of DataLakePathClient from url and pipeline.
|
|
45
|
+
*
|
|
46
|
+
* @param url - A Client string pointing to Azure Storage data lake path (directory or file), such as
|
|
47
|
+
* "https://myaccount.dfs.core.windows.net/filesystem/directory" or "https://myaccount.dfs.core.windows.net/filesystem/file".
|
|
48
|
+
* You can append a SAS if using AnonymousCredential, such as "https://myaccount.dfs.core.windows.net/filesystem/directory?sasString".
|
|
49
|
+
* @param pipeline - Call newPipeline() to create a default
|
|
50
|
+
* pipeline, or provide a customized pipeline.
|
|
51
|
+
*/
|
|
52
|
+
constructor(url: string, pipeline: Pipeline);
|
|
53
|
+
/**
|
|
54
|
+
* Name of current file system.
|
|
55
|
+
*
|
|
56
|
+
* @readonly
|
|
57
|
+
*/
|
|
58
|
+
get fileSystemName(): string;
|
|
59
|
+
/**
|
|
60
|
+
* Name of current path (directory or file).
|
|
61
|
+
*
|
|
62
|
+
* @readonly
|
|
63
|
+
*/
|
|
64
|
+
get name(): string;
|
|
65
|
+
/**
|
|
66
|
+
* Convert current DataLakePathClient to DataLakeDirectoryClient if current path is a directory.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
toDirectoryClient(): DataLakeDirectoryClient;
|
|
70
|
+
/**
|
|
71
|
+
* Convert current DataLakePathClient to DataLakeFileClient if current path is a file.
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
toFileClient(): DataLakeFileClient;
|
|
75
|
+
/**
|
|
76
|
+
* Get a {@link DataLakeLeaseClient} that manages leases on the path (directory or file).
|
|
77
|
+
*
|
|
78
|
+
* @param proposeLeaseId - Optional. Initial proposed lease Id.
|
|
79
|
+
*/
|
|
80
|
+
getDataLakeLeaseClient(proposeLeaseId?: string): DataLakeLeaseClient;
|
|
81
|
+
/**
|
|
82
|
+
* Create a directory or path.
|
|
83
|
+
*
|
|
84
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
85
|
+
*
|
|
86
|
+
* @param resourceType - Resource type, "directory" or "file".
|
|
87
|
+
* @param options - Optional. Options when creating path.
|
|
88
|
+
*/
|
|
89
|
+
create(resourceType: PathResourceTypeModel, options?: PathCreateOptions): Promise<PathCreateResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* Create a directory or file. If the resource already exists, it is not changed.
|
|
92
|
+
*
|
|
93
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
94
|
+
*
|
|
95
|
+
* @param resourceType - Resource type, "directory" or "file".
|
|
96
|
+
* @param options -
|
|
97
|
+
*/
|
|
98
|
+
createIfNotExists(resourceType: PathResourceTypeModel, options?: PathCreateIfNotExistsOptions): Promise<PathCreateIfNotExistsResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Returns true if the Data Lake file represented by this client exists; false otherwise.
|
|
101
|
+
*
|
|
102
|
+
* NOTE: use this function with care since an existing file might be deleted by other clients or
|
|
103
|
+
* applications. Vice versa new files might be added by other clients or applications after this
|
|
104
|
+
* function completes.
|
|
105
|
+
*
|
|
106
|
+
* @param options - options to Exists operation.
|
|
107
|
+
*/
|
|
108
|
+
exists(options?: PathExistsOptions): Promise<boolean>;
|
|
109
|
+
/**
|
|
110
|
+
* Delete current path (directory or file).
|
|
111
|
+
*
|
|
112
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/delete
|
|
113
|
+
*
|
|
114
|
+
* @param recursive - Required and valid only when the resource is a directory. If "true", all paths beneath the directory will be deleted.
|
|
115
|
+
* @param options - Optional. Options when deleting path.
|
|
116
|
+
*/
|
|
117
|
+
delete(recursive?: boolean, options?: PathDeleteOptions): Promise<PathDeleteResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* Delete current path (directory or file) if it exists.
|
|
120
|
+
*
|
|
121
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/delete
|
|
122
|
+
*
|
|
123
|
+
* @param recursive - Required and valid only when the resource is a directory. If "true", all paths beneath the directory will be deleted.
|
|
124
|
+
* @param options -
|
|
125
|
+
*/
|
|
126
|
+
deleteIfExists(recursive?: boolean, options?: PathDeleteOptions): Promise<PathDeleteIfExistsResponse>;
|
|
127
|
+
/**
|
|
128
|
+
* Returns the access control data for a path (directory of file).
|
|
129
|
+
*
|
|
130
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/getproperties
|
|
131
|
+
*
|
|
132
|
+
* @param options - Optional. Options when getting file access control.
|
|
133
|
+
*/
|
|
134
|
+
getAccessControl(options?: PathGetAccessControlOptions): Promise<PathGetAccessControlResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Set the access control data for a path (directory of file).
|
|
137
|
+
*
|
|
138
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
139
|
+
*
|
|
140
|
+
* @param acl - The POSIX access control list for the file or directory.
|
|
141
|
+
* @param options - Optional. Options when setting path access control.
|
|
142
|
+
*/
|
|
143
|
+
setAccessControl(acl: PathAccessControlItem[], options?: PathSetAccessControlOptions): Promise<PathSetAccessControlResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* Sets the Access Control on a path and sub paths.
|
|
146
|
+
*
|
|
147
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
148
|
+
*
|
|
149
|
+
* @param acl - The POSIX access control list for the file or directory.
|
|
150
|
+
* @param options - Optional. Options
|
|
151
|
+
*/
|
|
152
|
+
setAccessControlRecursive(acl: PathAccessControlItem[], options?: PathChangeAccessControlRecursiveOptions): Promise<PathChangeAccessControlRecursiveResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* Modifies the Access Control on a path and sub paths.
|
|
155
|
+
*
|
|
156
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
157
|
+
*
|
|
158
|
+
* @param acl - The POSIX access control list for the file or directory.
|
|
159
|
+
* @param options - Optional. Options
|
|
160
|
+
*/
|
|
161
|
+
updateAccessControlRecursive(acl: PathAccessControlItem[], options?: PathChangeAccessControlRecursiveOptions): Promise<PathChangeAccessControlRecursiveResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* Removes the Access Control on a path and sub paths.
|
|
164
|
+
*
|
|
165
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
166
|
+
*
|
|
167
|
+
* @param acl - The POSIX access control list for the file or directory.
|
|
168
|
+
* @param options - Optional. Options
|
|
169
|
+
*/
|
|
170
|
+
removeAccessControlRecursive(acl: RemovePathAccessControlItem[], options?: PathChangeAccessControlRecursiveOptions): Promise<PathChangeAccessControlRecursiveResponse>;
|
|
171
|
+
/**
|
|
172
|
+
* Sets the file permissions on a path.
|
|
173
|
+
*
|
|
174
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
175
|
+
*
|
|
176
|
+
* @param permissions - The POSIX access permissions for the file owner, the file owning group, and others.
|
|
177
|
+
* @param options - Optional. Options when setting path permissions.
|
|
178
|
+
*/
|
|
179
|
+
setPermissions(permissions: PathPermissions, options?: PathSetPermissionsOptions): Promise<PathSetPermissionsResponse>;
|
|
180
|
+
/**
|
|
181
|
+
* Returns all user-defined metadata, standard HTTP properties, and system properties
|
|
182
|
+
* for the path (directory or file).
|
|
183
|
+
*
|
|
184
|
+
* WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if
|
|
185
|
+
* they originally contained uppercase characters. This differs from the metadata keys returned by
|
|
186
|
+
* the methods of {@link DataLakeFileSystemClient} that list paths using the `includeMetadata` option, which
|
|
187
|
+
* will retain their original casing.
|
|
188
|
+
*
|
|
189
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-properties
|
|
190
|
+
*
|
|
191
|
+
* @param options - Optional. Options when getting path properties.
|
|
192
|
+
*/
|
|
193
|
+
getProperties(options?: PathGetPropertiesOptions): Promise<PathGetPropertiesResponse>;
|
|
194
|
+
/**
|
|
195
|
+
* Sets system properties on the path (directory or file).
|
|
196
|
+
*
|
|
197
|
+
* If no value provided, or no value provided for the specified blob HTTP headers,
|
|
198
|
+
* these blob HTTP headers without a value will be cleared.
|
|
199
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-properties
|
|
200
|
+
*
|
|
201
|
+
* @param httpHeaders -
|
|
202
|
+
* @param options -
|
|
203
|
+
*/
|
|
204
|
+
setHttpHeaders(httpHeaders: PathHttpHeaders, options?: PathSetHttpHeadersOptions): Promise<PathSetHttpHeadersResponse>;
|
|
205
|
+
/**
|
|
206
|
+
* Sets user-defined metadata for the specified path (directory of file) as one or more name-value pairs.
|
|
207
|
+
*
|
|
208
|
+
* If no option provided, or no metadata defined in the parameter, the path
|
|
209
|
+
* metadata will be removed.
|
|
210
|
+
*
|
|
211
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-metadata
|
|
212
|
+
*
|
|
213
|
+
* @param metadata - Optional. Replace existing metadata with this value.
|
|
214
|
+
* If no value provided the existing metadata will be removed.
|
|
215
|
+
* @param options - Optional. Options when setting path metadata.
|
|
216
|
+
*/
|
|
217
|
+
setMetadata(metadata?: Metadata, options?: PathSetMetadataOptions): Promise<PathSetMetadataResponse>;
|
|
218
|
+
/**
|
|
219
|
+
* Move directory or file within same file system.
|
|
220
|
+
*
|
|
221
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
222
|
+
*
|
|
223
|
+
* @param destinationPath - Destination directory path like "directory" or file path "directory/file".
|
|
224
|
+
* If the destinationPath is authenticated with SAS, add the SAS to the destination path like "directory/file?sasToken".
|
|
225
|
+
* @param options - Optional. Options when moving directory or file.
|
|
226
|
+
*/
|
|
227
|
+
move(destinationPath: string, options?: PathMoveOptions): Promise<PathMoveResponse>;
|
|
228
|
+
/**
|
|
229
|
+
* Move directory or file to another file system.
|
|
230
|
+
*
|
|
231
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
232
|
+
*
|
|
233
|
+
* @param destinationFileSystem - Destination file system like "filesystem".
|
|
234
|
+
* @param destinationPath - Destination directory path like "directory" or file path "directory/file"
|
|
235
|
+
* If the destinationPath is authenticated with SAS, add the SAS to the destination path like "directory/file?sasToken".
|
|
236
|
+
* @param options - Optional. Options when moving directory or file.
|
|
237
|
+
*/
|
|
238
|
+
move(destinationFileSystem: string, destinationPath: string, options?: PathMoveOptions): Promise<PathMoveResponse>;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* A DataLakeDirectoryClient represents a URL to the Azure Storage directory.
|
|
242
|
+
*/
|
|
243
|
+
export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
244
|
+
/**
|
|
245
|
+
* Create a directory.
|
|
246
|
+
*
|
|
247
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
248
|
+
*
|
|
249
|
+
* @param resourceType - Resource type, must be "directory" for DataLakeDirectoryClient.
|
|
250
|
+
* @param options - Optional. Options when creating directory.
|
|
251
|
+
*/
|
|
252
|
+
create(resourceType: PathResourceTypeModel, options?: PathCreateOptions): Promise<PathCreateResponse>;
|
|
253
|
+
/**
|
|
254
|
+
* Create a directory.
|
|
255
|
+
*
|
|
256
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
257
|
+
*
|
|
258
|
+
* @param options - Optional. Options when creating directory.
|
|
259
|
+
*/
|
|
260
|
+
create(options?: DirectoryCreateOptions): Promise<DirectoryCreateResponse>;
|
|
261
|
+
/**
|
|
262
|
+
* Create a directory if it doesn't already exists.
|
|
263
|
+
*
|
|
264
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
265
|
+
*
|
|
266
|
+
* @param resourceType - Resource type, must be "directory" for DataLakeDirectoryClient.
|
|
267
|
+
* @param options -
|
|
268
|
+
*/
|
|
269
|
+
createIfNotExists(resourceType: PathResourceTypeModel, options?: PathCreateIfNotExistsOptions): Promise<PathCreateIfNotExistsResponse>;
|
|
270
|
+
/**
|
|
271
|
+
* Create a directory if it doesn't already exists.
|
|
272
|
+
*
|
|
273
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
274
|
+
*
|
|
275
|
+
* @param options -
|
|
276
|
+
*/
|
|
277
|
+
createIfNotExists(options?: DirectoryCreateIfNotExistsOptions): Promise<DirectoryCreateIfNotExistsResponse>;
|
|
278
|
+
/**
|
|
279
|
+
* Creates a {@link DataLakeDirectoryClient} object under current directory.
|
|
280
|
+
*
|
|
281
|
+
* @param subdirectoryName - Subdirectory name.
|
|
282
|
+
*/
|
|
283
|
+
getSubdirectoryClient(subdirectoryName: string): DataLakeDirectoryClient;
|
|
284
|
+
/**
|
|
285
|
+
* Creates a {@link DataLakeFileClient} object under current directory.
|
|
286
|
+
*
|
|
287
|
+
* @param fileName -
|
|
288
|
+
*/
|
|
289
|
+
getFileClient(fileName: string): DataLakeFileClient;
|
|
290
|
+
/**
|
|
291
|
+
* Only available for clients constructed with a shared key credential.
|
|
292
|
+
*
|
|
293
|
+
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
294
|
+
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
295
|
+
*
|
|
296
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
297
|
+
*
|
|
298
|
+
* @param options - Optional parameters.
|
|
299
|
+
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
300
|
+
*/
|
|
301
|
+
generateSasUrl(options: DirectoryGenerateSasUrlOptions): Promise<string>;
|
|
302
|
+
/**
|
|
303
|
+
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
304
|
+
* and parameters passed in.
|
|
305
|
+
*
|
|
306
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
307
|
+
*
|
|
308
|
+
* @param options - Optional parameters.
|
|
309
|
+
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
310
|
+
*/
|
|
311
|
+
generateSasStringToSign(options: DirectoryGenerateSasUrlOptions): string;
|
|
312
|
+
/**
|
|
313
|
+
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
314
|
+
* and parameters passed in. The SAS is signed by the input user delegation key.
|
|
315
|
+
*
|
|
316
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
317
|
+
*
|
|
318
|
+
* @param options - Optional parameters.
|
|
319
|
+
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
320
|
+
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
321
|
+
*/
|
|
322
|
+
generateUserDelegationSasUrl(options: DirectoryGenerateSasUrlOptions, userDelegationKey: UserDelegationKey): Promise<string>;
|
|
323
|
+
/**
|
|
324
|
+
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
325
|
+
* and parameters passed in The SAS is signed by the input user delegation key.
|
|
326
|
+
*
|
|
327
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
328
|
+
*
|
|
329
|
+
* @param options - Optional parameters.
|
|
330
|
+
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
331
|
+
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
332
|
+
*/
|
|
333
|
+
generateUserDelegationSasStringToSign(options: DirectoryGenerateSasUrlOptions, userDelegationKey: UserDelegationKey): string;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* A DataLakeFileClient represents a URL to the Azure Storage file.
|
|
337
|
+
*/
|
|
338
|
+
export declare class DataLakeFileClient extends DataLakePathClient {
|
|
339
|
+
/**
|
|
340
|
+
* pathContextInternal provided by protocol layer.
|
|
341
|
+
*/
|
|
342
|
+
private pathContextInternal;
|
|
343
|
+
/**
|
|
344
|
+
* pathContextInternal provided by protocol layer, with its url pointing to the Blob endpoint.
|
|
345
|
+
*/
|
|
346
|
+
private pathContextInternalToBlobEndpoint;
|
|
347
|
+
/**
|
|
348
|
+
* blockBlobClientInternal provided by `@azure/storage-blob` package.
|
|
349
|
+
*/
|
|
350
|
+
private blockBlobClientInternal;
|
|
351
|
+
/**
|
|
352
|
+
* Creates an instance of DataLakeFileClient from url and credential.
|
|
353
|
+
*
|
|
354
|
+
* @param url - A Client string pointing to Azure Storage data lake file, such as
|
|
355
|
+
* "https://myaccount.dfs.core.windows.net/filesystem/file".
|
|
356
|
+
* You can append a SAS if using AnonymousCredential, such as "https://myaccount.dfs.core.windows.net/filesystem/directory/file?sasString".
|
|
357
|
+
* @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.
|
|
358
|
+
* @param options - Optional. Options to configure the HTTP pipeline.
|
|
359
|
+
*/
|
|
360
|
+
constructor(url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions);
|
|
361
|
+
/**
|
|
362
|
+
* Creates an instance of DataLakeFileClient from url and pipeline.
|
|
363
|
+
*
|
|
364
|
+
* @param url - A Client string pointing to Azure Storage data lake file, such as
|
|
365
|
+
* "https://myaccount.dfs.core.windows.net/filesystem/file".
|
|
366
|
+
* You can append a SAS if using AnonymousCredential, such as "https://myaccount.dfs.core.windows.net/filesystem/directory/file?sasString".
|
|
367
|
+
* @param pipeline - Call newPipeline() to create a default
|
|
368
|
+
* pipeline, or provide a customized pipeline.
|
|
369
|
+
*/
|
|
370
|
+
constructor(url: string, pipeline: Pipeline);
|
|
371
|
+
/**
|
|
372
|
+
* Create a file.
|
|
373
|
+
*
|
|
374
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
375
|
+
*
|
|
376
|
+
* @param resourceType - Resource type, must be "file" for DataLakeFileClient.
|
|
377
|
+
* @param options - Optional. Options when creating file.
|
|
378
|
+
*/
|
|
379
|
+
create(resourceType: PathResourceTypeModel, options?: PathCreateOptions): Promise<PathCreateResponse>;
|
|
380
|
+
/**
|
|
381
|
+
* Create a file.
|
|
382
|
+
*
|
|
383
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
384
|
+
*
|
|
385
|
+
* @param options - Optional. Options when creating file.
|
|
386
|
+
*/
|
|
387
|
+
create(options?: FileCreateOptions): Promise<FileCreateResponse>;
|
|
388
|
+
/**
|
|
389
|
+
* Create a file if it doesn't already exists.
|
|
390
|
+
*
|
|
391
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
392
|
+
*
|
|
393
|
+
* @param resourceType - Resource type, must be "file" for DataLakeFileClient.
|
|
394
|
+
* @param options -
|
|
395
|
+
*/
|
|
396
|
+
createIfNotExists(resourceType: PathResourceTypeModel, options?: PathCreateIfNotExistsOptions): Promise<PathCreateIfNotExistsResponse>;
|
|
397
|
+
/**
|
|
398
|
+
* Create a file if it doesn't already exists.
|
|
399
|
+
*
|
|
400
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
401
|
+
*
|
|
402
|
+
* @param options - Optional. Options when creating file.
|
|
403
|
+
*/
|
|
404
|
+
createIfNotExists(options?: FileCreateIfNotExistsOptions): Promise<FileCreateIfNotExistsResponse>;
|
|
405
|
+
/**
|
|
406
|
+
* Downloads a file from the service, including its metadata and properties.
|
|
407
|
+
*
|
|
408
|
+
* * In Node.js, data returns in a Readable stream readableStreamBody
|
|
409
|
+
* * In browsers, data returns in a promise contentAsBlob
|
|
410
|
+
*
|
|
411
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob
|
|
412
|
+
*
|
|
413
|
+
* * Example usage (Node.js):
|
|
414
|
+
*
|
|
415
|
+
* ```ts snippet:ReadmeSampleDownloadFile_Node
|
|
416
|
+
* import { DataLakeServiceClient } from "@azure/storage-file-datalake";
|
|
417
|
+
* import { DefaultAzureCredential } from "@azure/identity";
|
|
418
|
+
*
|
|
419
|
+
* const account = "<account>";
|
|
420
|
+
* const datalakeServiceClient = new DataLakeServiceClient(
|
|
421
|
+
* `https://${account}.dfs.core.windows.net`,
|
|
422
|
+
* new DefaultAzureCredential(),
|
|
423
|
+
* );
|
|
424
|
+
*
|
|
425
|
+
* const fileSystemName = "<file system name>";
|
|
426
|
+
* const fileName = "<file name>";
|
|
427
|
+
* const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
|
|
428
|
+
* const fileClient = fileSystemClient.getFileClient(fileName);
|
|
429
|
+
*
|
|
430
|
+
* // Get file content from position 0 to the end
|
|
431
|
+
* // In Node.js, get downloaded data by accessing downloadResponse.readableStreamBody
|
|
432
|
+
* const downloadResponse = await fileClient.read();
|
|
433
|
+
* if (downloadResponse.readableStreamBody) {
|
|
434
|
+
* const downloaded = await streamToBuffer(downloadResponse.readableStreamBody);
|
|
435
|
+
* console.log("Downloaded file content:", downloaded.toString());
|
|
436
|
+
* }
|
|
437
|
+
*
|
|
438
|
+
* // [Node.js only] A helper method used to read a Node.js readable stream into a Buffer.
|
|
439
|
+
* async function streamToBuffer(readableStream: NodeJS.ReadableStream): Promise<Buffer> {
|
|
440
|
+
* return new Promise((resolve, reject) => {
|
|
441
|
+
* const chunks: Buffer[] = [];
|
|
442
|
+
* readableStream.on("data", (data) => {
|
|
443
|
+
* chunks.push(data instanceof Buffer ? data : Buffer.from(data));
|
|
444
|
+
* });
|
|
445
|
+
* readableStream.on("end", () => {
|
|
446
|
+
* resolve(Buffer.concat(chunks));
|
|
447
|
+
* });
|
|
448
|
+
* readableStream.on("error", reject);
|
|
449
|
+
* });
|
|
450
|
+
* }
|
|
451
|
+
* ```
|
|
452
|
+
*
|
|
453
|
+
* Example usage (browser):
|
|
454
|
+
*
|
|
455
|
+
* ```ts snippet:ReadmeSampleDownloadFile_Browser
|
|
456
|
+
* import { DataLakeServiceClient } from "@azure/storage-file-datalake";
|
|
457
|
+
*
|
|
458
|
+
* const account = "<account>";
|
|
459
|
+
* const sas = "<sas token>";
|
|
460
|
+
* const datalakeServiceClient = new DataLakeServiceClient(
|
|
461
|
+
* `https://${account}.dfs.core.windows.net${sas}`,
|
|
462
|
+
* );
|
|
463
|
+
*
|
|
464
|
+
* const fileSystemName = "<file system name>";
|
|
465
|
+
* const fileName = "<file name>";
|
|
466
|
+
* const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
|
|
467
|
+
* const fileClient = fileSystemClient.getFileClient(fileName);
|
|
468
|
+
*
|
|
469
|
+
* // Get file content from position 0 to the end
|
|
470
|
+
* // In browsers, get downloaded data by accessing downloadResponse.contentAsBlob
|
|
471
|
+
* const downloadResponse = await fileClient.read();
|
|
472
|
+
* if (downloadResponse.contentAsBlob) {
|
|
473
|
+
* const blob = await downloadResponse.contentAsBlob;
|
|
474
|
+
* const downloaded = await blob.text();
|
|
475
|
+
* console.log(`Downloaded file content ${downloaded}`);
|
|
476
|
+
* }
|
|
477
|
+
* ```
|
|
478
|
+
*
|
|
479
|
+
* @param offset - Optional. Offset to read file, default value is 0.
|
|
480
|
+
* @param count - Optional. How many bytes to read, default will read from offset to the end.
|
|
481
|
+
* @param options - Optional. Options when reading file.
|
|
482
|
+
*/
|
|
483
|
+
read(offset?: number, count?: number, options?: FileReadOptions): Promise<FileReadResponse>;
|
|
484
|
+
/**
|
|
485
|
+
* Uploads data to be appended to a file. Data can only be appended to a file.
|
|
486
|
+
* To apply perviously uploaded data to a file, call flush.
|
|
487
|
+
*
|
|
488
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
489
|
+
*
|
|
490
|
+
* @param body - Content to be uploaded.
|
|
491
|
+
* @param offset - Append offset in bytes.
|
|
492
|
+
* @param length - Length of content to append in bytes.
|
|
493
|
+
* @param options - Optional. Options when appending data.
|
|
494
|
+
*/
|
|
495
|
+
append(body: HttpRequestBody, offset: number, length: number, options?: FileAppendOptions): Promise<FileAppendResponse>;
|
|
496
|
+
/**
|
|
497
|
+
* Flushes (writes) previously appended data to a file.
|
|
498
|
+
*
|
|
499
|
+
* @param position - File position to flush.
|
|
500
|
+
* This parameter allows the caller to upload data in parallel and control the order in which it is appended to the file.
|
|
501
|
+
* It is required when uploading data to be appended to the file and when flushing previously uploaded data to the file.
|
|
502
|
+
* The value must be the position where the data is to be appended. Uploaded data is not immediately flushed, or written,
|
|
503
|
+
* to the file. To flush, the previously uploaded data must be contiguous, the position parameter must be specified and
|
|
504
|
+
* equal to the length of the file after all data has been written, and there must not be a request entity body included
|
|
505
|
+
* with the request.
|
|
506
|
+
* @param options - Optional. Options when flushing data.
|
|
507
|
+
*/
|
|
508
|
+
flush(position: number, options?: FileFlushOptions): Promise<FileFlushResponse>;
|
|
509
|
+
/**
|
|
510
|
+
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
|
511
|
+
*
|
|
512
|
+
* Uploads a local file to a Data Lake file.
|
|
513
|
+
*
|
|
514
|
+
* @param filePath - Full path of the local file
|
|
515
|
+
* @param options -
|
|
516
|
+
*/
|
|
517
|
+
uploadFile(filePath: string, options?: FileParallelUploadOptions): Promise<FileUploadResponse>;
|
|
518
|
+
/**
|
|
519
|
+
* Uploads a Buffer(Node.js)/Blob/ArrayBuffer/ArrayBufferView to a File.
|
|
520
|
+
*
|
|
521
|
+
* @param data - Buffer(Node), Blob, ArrayBuffer or ArrayBufferView
|
|
522
|
+
* @param options -
|
|
523
|
+
*/
|
|
524
|
+
upload(data: Buffer | Blob | ArrayBuffer | ArrayBufferView, options?: FileParallelUploadOptions): Promise<FileUploadResponse>;
|
|
525
|
+
private uploadSeekableInternal;
|
|
526
|
+
/**
|
|
527
|
+
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
|
528
|
+
*
|
|
529
|
+
* Uploads a Node.js Readable stream into a Data Lake file.
|
|
530
|
+
* This method will try to create a file, then starts uploading chunk by chunk.
|
|
531
|
+
* Please make sure potential size of stream doesn't exceed FILE_MAX_SIZE_BYTES and
|
|
532
|
+
* potential number of chunks doesn't exceed BLOCK_BLOB_MAX_BLOCKS.
|
|
533
|
+
*
|
|
534
|
+
* PERFORMANCE IMPROVEMENT TIPS:
|
|
535
|
+
* * Input stream highWaterMark is better to set a same value with options.chunkSize
|
|
536
|
+
* parameter, which will avoid Buffer.concat() operations.
|
|
537
|
+
*
|
|
538
|
+
* @param stream - Node.js Readable stream.
|
|
539
|
+
* @param options -
|
|
540
|
+
*/
|
|
541
|
+
uploadStream(stream: Readable, options?: FileParallelUploadOptions): Promise<FileUploadResponse>;
|
|
542
|
+
/**
|
|
543
|
+
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
|
544
|
+
*
|
|
545
|
+
* Reads a Data Lake file in parallel to a buffer.
|
|
546
|
+
* Offset and count are optional, pass 0 for both to read the entire file.
|
|
547
|
+
*
|
|
548
|
+
* Warning: Buffers can only support files up to about one gigabyte on 32-bit systems or about two
|
|
549
|
+
* gigabytes on 64-bit systems due to limitations of Node.js/V8. For files larger than this size,
|
|
550
|
+
* consider {@link readToFile}.
|
|
551
|
+
*
|
|
552
|
+
* @param buffer - Buffer to be fill, must have length larger than count
|
|
553
|
+
* @param offset - From which position of the Data Lake file to read
|
|
554
|
+
* @param count - How much data to be read. Will read to the end when passing undefined
|
|
555
|
+
* @param options -
|
|
556
|
+
*/
|
|
557
|
+
readToBuffer(buffer: Buffer, offset?: number, count?: number, options?: FileReadToBufferOptions): Promise<Buffer>;
|
|
558
|
+
/**
|
|
559
|
+
* ONLY AVAILABLE IN NODE.JS RUNTIME
|
|
560
|
+
*
|
|
561
|
+
* Reads a Data Lake file in parallel to a buffer.
|
|
562
|
+
* Offset and count are optional, pass 0 for both to read the entire file
|
|
563
|
+
*
|
|
564
|
+
* Warning: Buffers can only support files up to about one gigabyte on 32-bit systems or about two
|
|
565
|
+
* gigabytes on 64-bit systems due to limitations of Node.js/V8. For files larger than this size,
|
|
566
|
+
* consider {@link readToFile}.
|
|
567
|
+
*
|
|
568
|
+
* @param offset - From which position of the Data Lake file to read(in bytes)
|
|
569
|
+
* @param count - How much data(in bytes) to be read. Will read to the end when passing undefined
|
|
570
|
+
* @param options -
|
|
571
|
+
*/
|
|
572
|
+
readToBuffer(offset?: number, count?: number, options?: FileReadToBufferOptions): Promise<Buffer>;
|
|
573
|
+
/**
|
|
574
|
+
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
|
575
|
+
*
|
|
576
|
+
* Downloads a Data Lake file to a local file.
|
|
577
|
+
* Fails if the the given file path already exits.
|
|
578
|
+
* Offset and count are optional, pass 0 and undefined respectively to download the entire file.
|
|
579
|
+
*
|
|
580
|
+
* @param filePath -
|
|
581
|
+
* @param offset - From which position of the file to download.
|
|
582
|
+
* @param count - How much data to be downloaded. Will download to the end when passing undefined.
|
|
583
|
+
* @param options - Options to read Data Lake file.
|
|
584
|
+
* @returns The response data for file read operation,
|
|
585
|
+
* but with readableStreamBody set to undefined since its
|
|
586
|
+
* content is already read and written into a local file
|
|
587
|
+
* at the specified path.
|
|
588
|
+
*/
|
|
589
|
+
readToFile(filePath: string, offset?: number, count?: number, options?: FileReadOptions): Promise<FileReadResponse>;
|
|
590
|
+
/**
|
|
591
|
+
* Quick query for a JSON or CSV formatted file.
|
|
592
|
+
*
|
|
593
|
+
* Example usage (Node.js):
|
|
594
|
+
*
|
|
595
|
+
* ```ts snippet:ReadmeSampleQueryFile_Node
|
|
596
|
+
* import { DataLakeServiceClient } from "@azure/storage-file-datalake";
|
|
597
|
+
*
|
|
598
|
+
* const account = "<account>";
|
|
599
|
+
* const sas = "<sas token>";
|
|
600
|
+
* const datalakeServiceClient = new DataLakeServiceClient(
|
|
601
|
+
* `https://${account}.dfs.core.windows.net${sas}`,
|
|
602
|
+
* );
|
|
603
|
+
*
|
|
604
|
+
* const fileSystemName = "<file system name>";
|
|
605
|
+
* const fileName = "<file name>";
|
|
606
|
+
* const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);
|
|
607
|
+
* const fileClient = fileSystemClient.getFileClient(fileName);
|
|
608
|
+
*
|
|
609
|
+
* // Query and convert a file to a string
|
|
610
|
+
* const queryResponse = await fileClient.query("select * from BlobStorage");
|
|
611
|
+
* if (queryResponse.readableStreamBody) {
|
|
612
|
+
* const responseBuffer = await streamToBuffer(queryResponse.readableStreamBody);
|
|
613
|
+
* const downloaded = responseBuffer.toString();
|
|
614
|
+
* console.log(`Query file content: ${downloaded}`);
|
|
615
|
+
* }
|
|
616
|
+
*
|
|
617
|
+
* async function streamToBuffer(readableStream: NodeJS.ReadableStream): Promise<Buffer> {
|
|
618
|
+
* return new Promise((resolve, reject) => {
|
|
619
|
+
* const chunks: Buffer[] = [];
|
|
620
|
+
* readableStream.on("data", (data) => {
|
|
621
|
+
* chunks.push(data instanceof Buffer ? data : Buffer.from(data));
|
|
622
|
+
* });
|
|
623
|
+
* readableStream.on("end", () => {
|
|
624
|
+
* resolve(Buffer.concat(chunks));
|
|
625
|
+
* });
|
|
626
|
+
* readableStream.on("error", reject);
|
|
627
|
+
* });
|
|
628
|
+
* }
|
|
629
|
+
* ```
|
|
630
|
+
*
|
|
631
|
+
* @param query -
|
|
632
|
+
* @param options -
|
|
633
|
+
*/
|
|
634
|
+
query(query: string, options?: FileQueryOptions): Promise<FileReadResponse>;
|
|
635
|
+
/**
|
|
636
|
+
* Sets an expiry time on a file, once that time is met the file is deleted.
|
|
637
|
+
*
|
|
638
|
+
* @param mode -
|
|
639
|
+
* @param options -
|
|
640
|
+
*/
|
|
641
|
+
setExpiry(mode: FileExpiryMode, options?: FileSetExpiryOptions): Promise<FileSetExpiryResponse>;
|
|
642
|
+
/**
|
|
643
|
+
* Only available for clients constructed with a shared key credential.
|
|
644
|
+
*
|
|
645
|
+
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
646
|
+
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
647
|
+
*
|
|
648
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
649
|
+
*
|
|
650
|
+
* @param options - Optional parameters.
|
|
651
|
+
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
652
|
+
*/
|
|
653
|
+
generateSasUrl(options: FileGenerateSasUrlOptions): Promise<string>;
|
|
654
|
+
/**
|
|
655
|
+
* Only available for clients constructed with a shared key credential.
|
|
656
|
+
*
|
|
657
|
+
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
658
|
+
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
659
|
+
*
|
|
660
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
661
|
+
*
|
|
662
|
+
* @param options - Optional parameters.
|
|
663
|
+
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
664
|
+
*/
|
|
665
|
+
generateSasStringToSign(options: FileGenerateSasUrlOptions): string;
|
|
666
|
+
/**
|
|
667
|
+
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
668
|
+
* and parameters passed in. The SAS is signed by the input user delegation key.
|
|
669
|
+
*
|
|
670
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
671
|
+
*
|
|
672
|
+
* @param options - Optional parameters.
|
|
673
|
+
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
674
|
+
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
675
|
+
*/
|
|
676
|
+
generateUserDelegationSasUrl(options: FileGenerateSasUrlOptions, userDelegationKey: UserDelegationKey): Promise<string>;
|
|
677
|
+
/**
|
|
678
|
+
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
679
|
+
* and parameters passed in. The SAS is signed by the input user delegation key.
|
|
680
|
+
*
|
|
681
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
682
|
+
*
|
|
683
|
+
* @param options - Optional parameters.
|
|
684
|
+
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
685
|
+
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
686
|
+
*/
|
|
687
|
+
generateUserDelegationSasStringToSign(options: FileGenerateSasUrlOptions, userDelegationKey: UserDelegationKey): string;
|
|
688
|
+
}
|
|
689
|
+
//# sourceMappingURL=clients.d.ts.map
|