@azure/storage-file-datalake 12.25.0-beta.1 → 12.26.0-alpha.20250319.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/LICENSE +3 -3
- package/README.md +25 -30
- package/dist/index.js +63 -72
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js.map +1 -1
- package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/CredentialPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/RequestPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js +2 -2
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +2 -2
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/cache.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/constants.js +2 -2
- package/dist-esm/storage-blob/src/utils/constants.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.common.js +3 -3
- package/dist-esm/storage-blob/src/utils/utils.common.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js +1 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/DataLakeFileSystemClient.js +15 -16
- package/dist-esm/storage-file-datalake/src/DataLakeFileSystemClient.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/DataLakeLeaseClient.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/DataLakeServiceClient.js +7 -8
- package/dist-esm/storage-file-datalake/src/DataLakeServiceClient.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/Pipeline.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/StorageClient.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/StorageContextClient.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/clients.js +25 -29
- package/dist-esm/storage-file-datalake/src/clients.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.js +1 -1
- package/dist-esm/storage-file-datalake/src/credentials/UserDelegationKeyCredential.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/generated/src/models/parameters.js +1 -1
- package/dist-esm/storage-file-datalake/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/generated/src/storageClient.js +2 -2
- package/dist-esm/storage-file-datalake/src/generated/src/storageClient.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/models.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASPermissions.js +2 -2
- package/dist-esm/storage-file-datalake/src/sas/AccountSASPermissions.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASResourceTypes.js +1 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASResourceTypes.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASSignatureValues.js +1 -1
- package/dist-esm/storage-file-datalake/src/sas/AccountSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/sas/DataLakeSASSignatureValues.js +1 -1
- package/dist-esm/storage-file-datalake/src/sas/DataLakeSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/sas/DirectorySASPermissions.js +1 -1
- package/dist-esm/storage-file-datalake/src/sas/DirectorySASPermissions.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/sas/FileSystemSASPermissions.js +1 -1
- package/dist-esm/storage-file-datalake/src/sas/FileSystemSASPermissions.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/sas/SASQueryParameters.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/transforms.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/utils/BufferScheduler.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/utils/DataLakeAclChangeFailedError.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/utils/PathClientInternal.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/utils/constants.js +2 -2
- package/dist-esm/storage-file-datalake/src/utils/constants.js.map +1 -1
- package/dist-esm/storage-file-datalake/src/utils/utils.common.js +3 -5
- package/dist-esm/storage-file-datalake/src/utils/utils.common.js.map +1 -1
- package/package.json +13 -17
- package/types/latest/storage-file-datalake.d.ts +88 -88
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AbortSignalLike } from '@azure/abort-controller';
|
|
1
|
+
import type { AbortSignalLike } from '@azure/abort-controller';
|
|
2
2
|
import { AnonymousCredential } from '@azure/storage-blob';
|
|
3
3
|
import { AnonymousCredentialPolicy } from '@azure/storage-blob';
|
|
4
4
|
import { AzureLogger } from '@azure/logger';
|
|
5
5
|
import { BaseRequestPolicy } from '@azure/storage-blob';
|
|
6
|
-
import { BlobLeaseClient } from '@azure/storage-blob';
|
|
7
|
-
import { BlobQueryArrowConfiguration } from '@azure/storage-blob';
|
|
8
|
-
import { ContainerRenameResponse } from '@azure/storage-blob';
|
|
9
|
-
import { ContainerUndeleteResponse } from '@azure/storage-blob';
|
|
6
|
+
import type { BlobLeaseClient } from '@azure/storage-blob';
|
|
7
|
+
import type { BlobQueryArrowConfiguration } from '@azure/storage-blob';
|
|
8
|
+
import type { ContainerRenameResponse } from '@azure/storage-blob';
|
|
9
|
+
import type { ContainerUndeleteResponse } from '@azure/storage-blob';
|
|
10
10
|
import * as coreClient from '@azure/core-client';
|
|
11
11
|
import * as coreHttpCompat from '@azure/core-http-compat';
|
|
12
12
|
import * as coreRestPipeline from '@azure/core-rest-pipeline';
|
|
@@ -18,29 +18,29 @@ import { HttpHeadersLike as HttpHeaders } from '@azure/core-http-compat';
|
|
|
18
18
|
import { CompatResponse as HttpOperationResponse } from '@azure/core-http-compat';
|
|
19
19
|
import { RequestBodyType as HttpRequestBody } from '@azure/core-rest-pipeline';
|
|
20
20
|
import { isPipelineLike } from '@azure/storage-blob';
|
|
21
|
-
import { KeepAliveOptions } from '@azure/core-http-compat';
|
|
21
|
+
import type { KeepAliveOptions } from '@azure/core-http-compat';
|
|
22
22
|
import { Lease } from '@azure/storage-blob';
|
|
23
23
|
import { LeaseAccessConditions } from '@azure/storage-blob';
|
|
24
24
|
import { LeaseOperationOptions } from '@azure/storage-blob';
|
|
25
25
|
import { LeaseOperationResponse } from '@azure/storage-blob';
|
|
26
|
-
import { ModifiedAccessConditions as ModifiedAccessConditions_3 } from '@azure/storage-blob';
|
|
27
|
-
import { OperationTracingOptions } from '@azure/core-tracing';
|
|
28
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
26
|
+
import type { ModifiedAccessConditions as ModifiedAccessConditions_3 } from '@azure/storage-blob';
|
|
27
|
+
import type { OperationTracingOptions } from '@azure/core-tracing';
|
|
28
|
+
import type { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
29
29
|
import { Pipeline } from '@azure/storage-blob';
|
|
30
30
|
import { PipelineLike } from '@azure/storage-blob';
|
|
31
31
|
import { PipelineOptions } from '@azure/storage-blob';
|
|
32
|
-
import { ProxySettings } from '@azure/core-rest-pipeline';
|
|
33
|
-
import { Readable } from 'stream';
|
|
32
|
+
import type { ProxySettings } from '@azure/core-rest-pipeline';
|
|
33
|
+
import type { Readable } from 'stream';
|
|
34
34
|
import { RequestPolicy } from '@azure/core-http-compat';
|
|
35
35
|
import { RequestPolicyFactory } from '@azure/core-http-compat';
|
|
36
36
|
import { RequestPolicyOptionsLike as RequestPolicyOptions } from '@azure/core-http-compat';
|
|
37
37
|
import { RestError } from '@azure/core-rest-pipeline';
|
|
38
38
|
import { ServiceClientOptions } from '@azure/storage-blob';
|
|
39
|
-
import { ServiceGetPropertiesOptions } from '@azure/storage-blob';
|
|
39
|
+
import type { ServiceGetPropertiesOptions } from '@azure/storage-blob';
|
|
40
40
|
import { ServiceListContainersSegmentResponse } from '@azure/storage-blob';
|
|
41
|
-
import { ServiceRenameContainerOptions } from '@azure/storage-blob';
|
|
42
|
-
import { ServiceSetPropertiesOptions } from '@azure/storage-blob';
|
|
43
|
-
import { ServiceSetPropertiesResponse } from '@azure/storage-blob';
|
|
41
|
+
import type { ServiceRenameContainerOptions } from '@azure/storage-blob';
|
|
42
|
+
import type { ServiceSetPropertiesOptions } from '@azure/storage-blob';
|
|
43
|
+
import type { ServiceSetPropertiesResponse } from '@azure/storage-blob';
|
|
44
44
|
import { StorageBrowserPolicy } from '@azure/storage-blob';
|
|
45
45
|
import { StorageBrowserPolicyFactory } from '@azure/storage-blob';
|
|
46
46
|
import { StorageRetryOptions } from '@azure/storage-blob';
|
|
@@ -49,12 +49,12 @@ import { StorageRetryPolicyFactory } from '@azure/storage-blob';
|
|
|
49
49
|
import { StorageRetryPolicyType } from '@azure/storage-blob';
|
|
50
50
|
import { StorageSharedKeyCredential } from '@azure/storage-blob';
|
|
51
51
|
import { StorageSharedKeyCredentialPolicy } from '@azure/storage-blob';
|
|
52
|
-
import { TokenCredential } from '@azure/core-auth';
|
|
53
|
-
import { TransferProgressEvent } from '@azure/core-rest-pipeline';
|
|
54
|
-
import { UserAgentPolicyOptions } from '@azure/core-rest-pipeline';
|
|
52
|
+
import type { TokenCredential } from '@azure/core-auth';
|
|
53
|
+
import type { TransferProgressEvent } from '@azure/core-rest-pipeline';
|
|
54
|
+
import type { UserAgentPolicyOptions } from '@azure/core-rest-pipeline';
|
|
55
55
|
import { UserDelegationKeyModel } from '@azure/storage-blob';
|
|
56
56
|
import { WebResourceLike as WebResource } from '@azure/core-http-compat';
|
|
57
|
-
import { WithResponse } from '@azure/storage-blob';
|
|
57
|
+
import type { WithResponse } from '@azure/storage-blob';
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* AccessControlChangeCounters contains counts of operations that change Access Control Lists recursively.
|
|
@@ -178,7 +178,7 @@ export declare class AccountSASPermissions {
|
|
|
178
178
|
* Using this method will guarantee the resource types are in
|
|
179
179
|
* an order accepted by the service.
|
|
180
180
|
*
|
|
181
|
-
* @see https://
|
|
181
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas
|
|
182
182
|
*
|
|
183
183
|
*/
|
|
184
184
|
toString(): string;
|
|
@@ -216,7 +216,7 @@ export declare class AccountSASResourceTypes {
|
|
|
216
216
|
/**
|
|
217
217
|
* Converts the given resource types to a string.
|
|
218
218
|
*
|
|
219
|
-
* @see https://
|
|
219
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas
|
|
220
220
|
*
|
|
221
221
|
*/
|
|
222
222
|
toString(): string;
|
|
@@ -271,10 +271,10 @@ export declare class AccountSASServices {
|
|
|
271
271
|
* exist because the former is mutable and a logical representation while the latter is immutable and used to generate
|
|
272
272
|
* actual REST requests.
|
|
273
273
|
*
|
|
274
|
-
* @see https://
|
|
274
|
+
* @see https://learn.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1
|
|
275
275
|
* for more conceptual information on SAS
|
|
276
276
|
*
|
|
277
|
-
* @see https://
|
|
277
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas
|
|
278
278
|
* for descriptions of the parameters, including which are required
|
|
279
279
|
*/
|
|
280
280
|
export declare interface AccountSASSignatureValues {
|
|
@@ -416,7 +416,7 @@ export declare interface CommonGenerateSasUrlOptions {
|
|
|
416
416
|
/**
|
|
417
417
|
* Optional. The name of the access policy on the container this SAS references if any.
|
|
418
418
|
*
|
|
419
|
-
* @see https://
|
|
419
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy
|
|
420
420
|
*/
|
|
421
421
|
identifier?: string;
|
|
422
422
|
/**
|
|
@@ -490,7 +490,7 @@ export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
|
490
490
|
/**
|
|
491
491
|
* Create a directory.
|
|
492
492
|
*
|
|
493
|
-
* @see https://
|
|
493
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
494
494
|
*
|
|
495
495
|
* @param resourceType - Resource type, must be "directory" for DataLakeDirectoryClient.
|
|
496
496
|
* @param options - Optional. Options when creating directory.
|
|
@@ -499,7 +499,7 @@ export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
|
499
499
|
/**
|
|
500
500
|
* Create a directory.
|
|
501
501
|
*
|
|
502
|
-
* @see https://
|
|
502
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
503
503
|
*
|
|
504
504
|
* @param options - Optional. Options when creating directory.
|
|
505
505
|
*/
|
|
@@ -507,7 +507,7 @@ export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
|
507
507
|
/**
|
|
508
508
|
* Create a directory if it doesn't already exists.
|
|
509
509
|
*
|
|
510
|
-
* @see https://
|
|
510
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
511
511
|
*
|
|
512
512
|
* @param resourceType - Resource type, must be "directory" for DataLakeDirectoryClient.
|
|
513
513
|
* @param options -
|
|
@@ -516,7 +516,7 @@ export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
|
516
516
|
/**
|
|
517
517
|
* Create a directory if it doesn't already exists.
|
|
518
518
|
*
|
|
519
|
-
* @see https://
|
|
519
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
520
520
|
*
|
|
521
521
|
* @param options -
|
|
522
522
|
*/
|
|
@@ -539,7 +539,7 @@ export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
|
539
539
|
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
540
540
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
541
541
|
*
|
|
542
|
-
* @see https://
|
|
542
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
543
543
|
*
|
|
544
544
|
* @param options - Optional parameters.
|
|
545
545
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
@@ -549,7 +549,7 @@ export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
|
549
549
|
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
550
550
|
* and parameters passed in.
|
|
551
551
|
*
|
|
552
|
-
* @see https://
|
|
552
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
553
553
|
*
|
|
554
554
|
* @param options - Optional parameters.
|
|
555
555
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
@@ -559,7 +559,7 @@ export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
|
559
559
|
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
560
560
|
* and parameters passed in. The SAS is signed by the input user delegation key.
|
|
561
561
|
*
|
|
562
|
-
* @see https://
|
|
562
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
563
563
|
*
|
|
564
564
|
* @param options - Optional parameters.
|
|
565
565
|
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
@@ -570,7 +570,7 @@ export declare class DataLakeDirectoryClient extends DataLakePathClient {
|
|
|
570
570
|
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
571
571
|
* and parameters passed in The SAS is signed by the input user delegation key.
|
|
572
572
|
*
|
|
573
|
-
* @see https://
|
|
573
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
574
574
|
*
|
|
575
575
|
* @param options - Optional parameters.
|
|
576
576
|
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
@@ -618,7 +618,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
618
618
|
/**
|
|
619
619
|
* Create a file.
|
|
620
620
|
*
|
|
621
|
-
* @see https://
|
|
621
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
622
622
|
*
|
|
623
623
|
* @param resourceType - Resource type, must be "file" for DataLakeFileClient.
|
|
624
624
|
* @param options - Optional. Options when creating file.
|
|
@@ -627,7 +627,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
627
627
|
/**
|
|
628
628
|
* Create a file.
|
|
629
629
|
*
|
|
630
|
-
* @see https://
|
|
630
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
631
631
|
*
|
|
632
632
|
* @param options - Optional. Options when creating file.
|
|
633
633
|
*/
|
|
@@ -635,7 +635,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
635
635
|
/**
|
|
636
636
|
* Create a file if it doesn't already exists.
|
|
637
637
|
*
|
|
638
|
-
* @see https://
|
|
638
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
639
639
|
*
|
|
640
640
|
* @param resourceType - Resource type, must be "file" for DataLakeFileClient.
|
|
641
641
|
* @param options -
|
|
@@ -644,7 +644,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
644
644
|
/**
|
|
645
645
|
* Create a file if it doesn't already exists.
|
|
646
646
|
*
|
|
647
|
-
* @see https://
|
|
647
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
648
648
|
*
|
|
649
649
|
* @param options - Optional. Options when creating file.
|
|
650
650
|
*/
|
|
@@ -655,7 +655,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
655
655
|
* * In Node.js, data returns in a Readable stream readableStreamBody
|
|
656
656
|
* * In browsers, data returns in a promise contentAsBlob
|
|
657
657
|
*
|
|
658
|
-
* @see https://
|
|
658
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob
|
|
659
659
|
*
|
|
660
660
|
* * Example usage (Node.js):
|
|
661
661
|
*
|
|
@@ -669,7 +669,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
669
669
|
* return new Promise((resolve, reject) => {
|
|
670
670
|
* const chunks = [];
|
|
671
671
|
* readableStream.on("data", (data) => {
|
|
672
|
-
* chunks.push(data
|
|
672
|
+
* chunks.push(typeof data === "string" ? Buffer.from(data) : data);
|
|
673
673
|
* });
|
|
674
674
|
* readableStream.on("end", () => {
|
|
675
675
|
* resolve(Buffer.concat(chunks));
|
|
@@ -708,7 +708,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
708
708
|
* Uploads data to be appended to a file. Data can only be appended to a file.
|
|
709
709
|
* To apply perviously uploaded data to a file, call flush.
|
|
710
710
|
*
|
|
711
|
-
* @see https://
|
|
711
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
712
712
|
*
|
|
713
713
|
* @param body - Content to be uploaded.
|
|
714
714
|
* @param offset - Append offset in bytes.
|
|
@@ -825,7 +825,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
825
825
|
* return new Promise((resolve, reject) => {
|
|
826
826
|
* const chunks = [];
|
|
827
827
|
* readableStream.on("data", (data) => {
|
|
828
|
-
* chunks.push(data
|
|
828
|
+
* chunks.push(typeof data === "string" ? Buffer.from(data) : data);
|
|
829
829
|
* });
|
|
830
830
|
* readableStream.on("end", () => {
|
|
831
831
|
* resolve(Buffer.concat(chunks));
|
|
@@ -852,7 +852,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
852
852
|
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
853
853
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
854
854
|
*
|
|
855
|
-
* @see https://
|
|
855
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
856
856
|
*
|
|
857
857
|
* @param options - Optional parameters.
|
|
858
858
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
@@ -864,7 +864,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
864
864
|
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
865
865
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
866
866
|
*
|
|
867
|
-
* @see https://
|
|
867
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
868
868
|
*
|
|
869
869
|
* @param options - Optional parameters.
|
|
870
870
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
@@ -874,7 +874,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
874
874
|
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
875
875
|
* and parameters passed in. The SAS is signed by the input user delegation key.
|
|
876
876
|
*
|
|
877
|
-
* @see https://
|
|
877
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
878
878
|
*
|
|
879
879
|
* @param options - Optional parameters.
|
|
880
880
|
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
@@ -885,7 +885,7 @@ export declare class DataLakeFileClient extends DataLakePathClient {
|
|
|
885
885
|
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
886
886
|
* and parameters passed in. The SAS is signed by the input user delegation key.
|
|
887
887
|
*
|
|
888
|
-
* @see https://
|
|
888
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
889
889
|
*
|
|
890
890
|
* @param options - Optional parameters.
|
|
891
891
|
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
@@ -959,7 +959,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
959
959
|
* Creates a new file system under the specified account. If the file system with
|
|
960
960
|
* the same name already exists, the operation fails.
|
|
961
961
|
*
|
|
962
|
-
* @see https://
|
|
962
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container
|
|
963
963
|
*
|
|
964
964
|
* @param options - Optional. Options when creating file system.
|
|
965
965
|
*/
|
|
@@ -968,7 +968,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
968
968
|
* Creates a new file system under the specified account. If the file system with
|
|
969
969
|
* the same name already exists, it is not changed.
|
|
970
970
|
*
|
|
971
|
-
* @see https://
|
|
971
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container
|
|
972
972
|
*
|
|
973
973
|
* @param options -
|
|
974
974
|
*/
|
|
@@ -986,7 +986,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
986
986
|
/**
|
|
987
987
|
* Delete current file system.
|
|
988
988
|
*
|
|
989
|
-
* @see https://
|
|
989
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container
|
|
990
990
|
*
|
|
991
991
|
* @param options - Optional. Options when deleting file system.
|
|
992
992
|
*/
|
|
@@ -994,7 +994,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
994
994
|
/**
|
|
995
995
|
* Delete current file system if it exists.
|
|
996
996
|
*
|
|
997
|
-
* @see https://
|
|
997
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container
|
|
998
998
|
*
|
|
999
999
|
* @param options -
|
|
1000
1000
|
*/
|
|
@@ -1008,7 +1008,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1008
1008
|
* the `listFileSystems` method of {@link DataLakeServiceClient} using the `includeMetadata` option, which
|
|
1009
1009
|
* will retain their original casing.
|
|
1010
1010
|
*
|
|
1011
|
-
* @see https://
|
|
1011
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-properties
|
|
1012
1012
|
*
|
|
1013
1013
|
* @param options - Optional. Options when getting file system properties.
|
|
1014
1014
|
*/
|
|
@@ -1019,7 +1019,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1019
1019
|
* If no option provided, or no metadata defined in the parameter, the file system
|
|
1020
1020
|
* metadata will be removed.
|
|
1021
1021
|
*
|
|
1022
|
-
* @see https://
|
|
1022
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-metadata
|
|
1023
1023
|
*
|
|
1024
1024
|
* @param metadata - Replace existing metadata with this value.
|
|
1025
1025
|
* If no value provided the existing metadata will be removed.
|
|
@@ -1033,7 +1033,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1033
1033
|
* WARNING: JavaScript Date will potentially lose precision when parsing startsOn and expiresOn strings.
|
|
1034
1034
|
* For example, new Date("2018-12-31T03:44:23.8827891Z").toISOString() will get "2018-12-31T03:44:23.882Z".
|
|
1035
1035
|
*
|
|
1036
|
-
* @see https://
|
|
1036
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-acl
|
|
1037
1037
|
*
|
|
1038
1038
|
* @param options - Optional. Options when getting file system access policy.
|
|
1039
1039
|
*/
|
|
@@ -1046,7 +1046,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1046
1046
|
* If no access or containerAcl provided, the existing file system ACL will be
|
|
1047
1047
|
* removed.
|
|
1048
1048
|
*
|
|
1049
|
-
* @see https://
|
|
1049
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-acl
|
|
1050
1050
|
*
|
|
1051
1051
|
* @param access - Optional. The level of public access to data in the file system.
|
|
1052
1052
|
* @param fileSystemAcl - Optional. Array of elements each having a unique Id and details of the access policy.
|
|
@@ -1120,7 +1120,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1120
1120
|
* }
|
|
1121
1121
|
* ```
|
|
1122
1122
|
*
|
|
1123
|
-
* @see https://
|
|
1123
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/list-blobs
|
|
1124
1124
|
*
|
|
1125
1125
|
* @param options - Optional. Options when listing paths.
|
|
1126
1126
|
*/
|
|
@@ -1195,7 +1195,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1195
1195
|
* }
|
|
1196
1196
|
* ```
|
|
1197
1197
|
*
|
|
1198
|
-
* @see https://
|
|
1198
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/list-blobs
|
|
1199
1199
|
*
|
|
1200
1200
|
* @param options - Optional. Options when listing deleted paths.
|
|
1201
1201
|
*/
|
|
@@ -1206,7 +1206,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1206
1206
|
/**
|
|
1207
1207
|
* Restores a soft deleted path.
|
|
1208
1208
|
*
|
|
1209
|
-
* @see https://
|
|
1209
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/undelete-blob
|
|
1210
1210
|
*
|
|
1211
1211
|
* @param deletedPath - Required. The path of the deleted path.
|
|
1212
1212
|
*
|
|
@@ -1220,7 +1220,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1220
1220
|
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
1221
1221
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
1222
1222
|
*
|
|
1223
|
-
* @see https://
|
|
1223
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
1224
1224
|
*
|
|
1225
1225
|
* @param options - Optional parameters.
|
|
1226
1226
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
@@ -1232,7 +1232,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1232
1232
|
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
1233
1233
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
1234
1234
|
*
|
|
1235
|
-
* @see https://
|
|
1235
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
1236
1236
|
*
|
|
1237
1237
|
* @param options - Optional parameters.
|
|
1238
1238
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
@@ -1242,7 +1242,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1242
1242
|
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
|
1243
1243
|
* and parameters passed in. The SAS is signed by the input user delegation key.
|
|
1244
1244
|
*
|
|
1245
|
-
* @see https://
|
|
1245
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
1246
1246
|
*
|
|
1247
1247
|
* @param options - Optional parameters.
|
|
1248
1248
|
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
@@ -1253,7 +1253,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
|
|
|
1253
1253
|
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
|
1254
1254
|
* and parameters passed in. The SAS is signed by the input user delegation key.
|
|
1255
1255
|
*
|
|
1256
|
-
* @see https://
|
|
1256
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
1257
1257
|
*
|
|
1258
1258
|
* @param options - Optional parameters.
|
|
1259
1259
|
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
|
@@ -1348,7 +1348,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1348
1348
|
/**
|
|
1349
1349
|
* Create a directory or path.
|
|
1350
1350
|
*
|
|
1351
|
-
* @see https://
|
|
1351
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
1352
1352
|
*
|
|
1353
1353
|
* @param resourceType - Resource type, "directory" or "file".
|
|
1354
1354
|
* @param options - Optional. Options when creating path.
|
|
@@ -1357,7 +1357,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1357
1357
|
/**
|
|
1358
1358
|
* Create a directory or file. If the resource already exists, it is not changed.
|
|
1359
1359
|
*
|
|
1360
|
-
* @see https://
|
|
1360
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
1361
1361
|
*
|
|
1362
1362
|
* @param resourceType - Resource type, "directory" or "file".
|
|
1363
1363
|
* @param options -
|
|
@@ -1376,7 +1376,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Delete current path (directory or file).
|
|
1378
1378
|
*
|
|
1379
|
-
* @see https://
|
|
1379
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/delete
|
|
1380
1380
|
*
|
|
1381
1381
|
* @param recursive - Required and valid only when the resource is a directory. If "true", all paths beneath the directory will be deleted.
|
|
1382
1382
|
* @param options - Optional. Options when deleting path.
|
|
@@ -1385,7 +1385,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Delete current path (directory or file) if it exists.
|
|
1387
1387
|
*
|
|
1388
|
-
* @see https://
|
|
1388
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/delete
|
|
1389
1389
|
*
|
|
1390
1390
|
* @param recursive - Required and valid only when the resource is a directory. If "true", all paths beneath the directory will be deleted.
|
|
1391
1391
|
* @param options -
|
|
@@ -1394,7 +1394,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1394
1394
|
/**
|
|
1395
1395
|
* Returns the access control data for a path (directory of file).
|
|
1396
1396
|
*
|
|
1397
|
-
* @see https://
|
|
1397
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/getproperties
|
|
1398
1398
|
*
|
|
1399
1399
|
* @param options - Optional. Options when getting file access control.
|
|
1400
1400
|
*/
|
|
@@ -1402,7 +1402,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1402
1402
|
/**
|
|
1403
1403
|
* Set the access control data for a path (directory of file).
|
|
1404
1404
|
*
|
|
1405
|
-
* @see https://
|
|
1405
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
1406
1406
|
*
|
|
1407
1407
|
* @param acl - The POSIX access control list for the file or directory.
|
|
1408
1408
|
* @param options - Optional. Options when setting path access control.
|
|
@@ -1411,7 +1411,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Sets the Access Control on a path and sub paths.
|
|
1413
1413
|
*
|
|
1414
|
-
* @see https://
|
|
1414
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
1415
1415
|
*
|
|
1416
1416
|
* @param acl - The POSIX access control list for the file or directory.
|
|
1417
1417
|
* @param options - Optional. Options
|
|
@@ -1420,7 +1420,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1420
1420
|
/**
|
|
1421
1421
|
* Modifies the Access Control on a path and sub paths.
|
|
1422
1422
|
*
|
|
1423
|
-
* @see https://
|
|
1423
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
1424
1424
|
*
|
|
1425
1425
|
* @param acl - The POSIX access control list for the file or directory.
|
|
1426
1426
|
* @param options - Optional. Options
|
|
@@ -1429,7 +1429,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1429
1429
|
/**
|
|
1430
1430
|
* Removes the Access Control on a path and sub paths.
|
|
1431
1431
|
*
|
|
1432
|
-
* @see https://
|
|
1432
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
1433
1433
|
*
|
|
1434
1434
|
* @param acl - The POSIX access control list for the file or directory.
|
|
1435
1435
|
* @param options - Optional. Options
|
|
@@ -1438,7 +1438,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1438
1438
|
/**
|
|
1439
1439
|
* Sets the file permissions on a path.
|
|
1440
1440
|
*
|
|
1441
|
-
* @see https://
|
|
1441
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/update
|
|
1442
1442
|
*
|
|
1443
1443
|
* @param permissions - The POSIX access permissions for the file owner, the file owning group, and others.
|
|
1444
1444
|
* @param options - Optional. Options when setting path permissions.
|
|
@@ -1453,7 +1453,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1453
1453
|
* the methods of {@link DataLakeFileSystemClient} that list paths using the `includeMetadata` option, which
|
|
1454
1454
|
* will retain their original casing.
|
|
1455
1455
|
*
|
|
1456
|
-
* @see https://
|
|
1456
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-properties
|
|
1457
1457
|
*
|
|
1458
1458
|
* @param options - Optional. Options when getting path properties.
|
|
1459
1459
|
*/
|
|
@@ -1463,7 +1463,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1463
1463
|
*
|
|
1464
1464
|
* If no value provided, or no value provided for the specified blob HTTP headers,
|
|
1465
1465
|
* these blob HTTP headers without a value will be cleared.
|
|
1466
|
-
* @see https://
|
|
1466
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-properties
|
|
1467
1467
|
*
|
|
1468
1468
|
* @param httpHeaders -
|
|
1469
1469
|
* @param options -
|
|
@@ -1475,7 +1475,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1475
1475
|
* If no option provided, or no metadata defined in the parameter, the path
|
|
1476
1476
|
* metadata will be removed.
|
|
1477
1477
|
*
|
|
1478
|
-
* @see https://
|
|
1478
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-metadata
|
|
1479
1479
|
*
|
|
1480
1480
|
* @param metadata - Optional. Replace existing metadata with this value.
|
|
1481
1481
|
* If no value provided the existing metadata will be removed.
|
|
@@ -1485,7 +1485,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Move directory or file within same file system.
|
|
1487
1487
|
*
|
|
1488
|
-
* @see https://
|
|
1488
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
1489
1489
|
*
|
|
1490
1490
|
* @param destinationPath - Destination directory path like "directory" or file path "directory/file".
|
|
1491
1491
|
* If the destinationPath is authenticated with SAS, add the SAS to the destination path like "directory/file?sasToken".
|
|
@@ -1495,7 +1495,7 @@ export declare class DataLakePathClient extends StorageClient {
|
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Move directory or file to another file system.
|
|
1497
1497
|
*
|
|
1498
|
-
* @see https://
|
|
1498
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
|
1499
1499
|
*
|
|
1500
1500
|
* @param destinationFileSystem - Destination file system like "filesystem".
|
|
1501
1501
|
* @param destinationPath - Destination directory path like "directory" or file path "directory/file"
|
|
@@ -1652,7 +1652,7 @@ export declare interface DataLakeSASSignatureValues {
|
|
|
1652
1652
|
/**
|
|
1653
1653
|
* Optional. The name of the access policy on the file system this SAS references if any.
|
|
1654
1654
|
*
|
|
1655
|
-
* @see https://
|
|
1655
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy
|
|
1656
1656
|
*/
|
|
1657
1657
|
identifier?: string;
|
|
1658
1658
|
/**
|
|
@@ -1753,7 +1753,7 @@ export declare class DataLakeServiceClient extends StorageClient {
|
|
|
1753
1753
|
* accountName
|
|
1754
1754
|
* ).toString();
|
|
1755
1755
|
* ```
|
|
1756
|
-
* @see https://
|
|
1756
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-user-delegation-key
|
|
1757
1757
|
*
|
|
1758
1758
|
* @param startsOn - The start time for the user delegation SAS. Must be within 7 days of the current time.
|
|
1759
1759
|
* @param expiresOn - The end time for the user delegation SAS. Must be within 7 days of the current time.
|
|
@@ -1831,7 +1831,7 @@ export declare class DataLakeServiceClient extends StorageClient {
|
|
|
1831
1831
|
* }
|
|
1832
1832
|
* ```
|
|
1833
1833
|
*
|
|
1834
|
-
* @see https://
|
|
1834
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/list-containers2
|
|
1835
1835
|
*
|
|
1836
1836
|
* @param options -
|
|
1837
1837
|
*/
|
|
@@ -1842,7 +1842,7 @@ export declare class DataLakeServiceClient extends StorageClient {
|
|
|
1842
1842
|
* Generates an account Shared Access Signature (SAS) URI based on the client properties
|
|
1843
1843
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
1844
1844
|
*
|
|
1845
|
-
* @see https://
|
|
1845
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas
|
|
1846
1846
|
*
|
|
1847
1847
|
* @param expiresOn - Optional. The time at which the shared access signature becomes invalid. Default to an hour later if not specified.
|
|
1848
1848
|
* @param permissions - Specifies the list of permissions to be associated with the SAS.
|
|
@@ -1857,7 +1857,7 @@ export declare class DataLakeServiceClient extends StorageClient {
|
|
|
1857
1857
|
* Generates string to sign for an account Shared Access Signature (SAS) based on the client properties
|
|
1858
1858
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
1859
1859
|
*
|
|
1860
|
-
* @see https://
|
|
1860
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas
|
|
1861
1861
|
*
|
|
1862
1862
|
* @param expiresOn - Optional. The time at which the shared access signature becomes invalid. Default to an hour later if not specified.
|
|
1863
1863
|
* @param permissions - Specifies the list of permissions to be associated with the SAS.
|
|
@@ -1889,7 +1889,7 @@ export declare class DataLakeServiceClient extends StorageClient {
|
|
|
1889
1889
|
/**
|
|
1890
1890
|
* Gets the properties of a storage account’s Blob service endpoint, including properties
|
|
1891
1891
|
* for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
1892
|
-
* @see https://
|
|
1892
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-service-properties
|
|
1893
1893
|
*
|
|
1894
1894
|
* @param options - Options to the Service Get Properties operation.
|
|
1895
1895
|
* @returns Response data for the Service Get Properties operation.
|
|
@@ -1898,7 +1898,7 @@ export declare class DataLakeServiceClient extends StorageClient {
|
|
|
1898
1898
|
/**
|
|
1899
1899
|
* Sets properties for a storage account’s Blob service endpoint, including properties
|
|
1900
1900
|
* for Storage Analytics, CORS (Cross-Origin Resource Sharing) rules and soft delete settings.
|
|
1901
|
-
* @see https://
|
|
1901
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-service-properties
|
|
1902
1902
|
*
|
|
1903
1903
|
* @param properties -
|
|
1904
1904
|
* @param options - Options to the Service Set Properties operation.
|
|
@@ -2010,7 +2010,7 @@ export declare class DirectorySASPermissions {
|
|
|
2010
2010
|
* order accepted by the service.
|
|
2011
2011
|
*
|
|
2012
2012
|
* The order of the characters should be as specified here to ensure correctness.
|
|
2013
|
-
* @see https://
|
|
2013
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
2014
2014
|
*
|
|
2015
2015
|
*/
|
|
2016
2016
|
toString(): string;
|
|
@@ -2899,7 +2899,7 @@ export declare class FileSystemSASPermissions {
|
|
|
2899
2899
|
* order accepted by the service.
|
|
2900
2900
|
*
|
|
2901
2901
|
* The order of the characters should be as specified here to ensure correctness.
|
|
2902
|
-
* @see https://
|
|
2902
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
2903
2903
|
*
|
|
2904
2904
|
*/
|
|
2905
2905
|
toString(): string;
|
|
@@ -2987,7 +2987,7 @@ export declare type FileUploadResponse = WithResponse<PathFlushDataHeaders, Path
|
|
|
2987
2987
|
* Generates a {@link SASQueryParameters} object which contains all SAS query parameters needed to make an actual
|
|
2988
2988
|
* REST request.
|
|
2989
2989
|
*
|
|
2990
|
-
* @see https://
|
|
2990
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas
|
|
2991
2991
|
*
|
|
2992
2992
|
* @param accountSASSignatureValues -
|
|
2993
2993
|
* @param sharedKeyCredential -
|
|
@@ -4545,12 +4545,12 @@ export declare class SASQueryParameters {
|
|
|
4545
4545
|
/**
|
|
4546
4546
|
* Optional. The signed identifier (only for {@link BlobSASSignatureValues}).
|
|
4547
4547
|
*
|
|
4548
|
-
* @see https://
|
|
4548
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy
|
|
4549
4549
|
*/
|
|
4550
4550
|
readonly identifier?: string;
|
|
4551
4551
|
/**
|
|
4552
4552
|
* Optional. Specifies which resources are accessible via the SAS (only for {@link BlobSASSignatureValues}).
|
|
4553
|
-
* @see https://
|
|
4553
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-service-sas#specifying-the-signed-resource-blob-service-only
|
|
4554
4554
|
*/
|
|
4555
4555
|
readonly resource?: string;
|
|
4556
4556
|
/**
|
|
@@ -4733,7 +4733,7 @@ export declare interface SASQueryParametersOptions {
|
|
|
4733
4733
|
/**
|
|
4734
4734
|
* Optional. The signed identifier (only for {@link BlobSASSignatureValues}).
|
|
4735
4735
|
*
|
|
4736
|
-
* @see https://
|
|
4736
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy
|
|
4737
4737
|
*/
|
|
4738
4738
|
identifier?: string;
|
|
4739
4739
|
/**
|
|
@@ -4742,7 +4742,7 @@ export declare interface SASQueryParametersOptions {
|
|
|
4742
4742
|
encryptionScope?: string;
|
|
4743
4743
|
/**
|
|
4744
4744
|
* Optional. Specifies which resources are accessible via the SAS (only for {@link BlobSASSignatureValues}).
|
|
4745
|
-
* @see https://
|
|
4745
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-service-sas#specifying-the-signed-resource-blob-service-only
|
|
4746
4746
|
*/
|
|
4747
4747
|
resource?: string;
|
|
4748
4748
|
/**
|