@azure/storage-file-share 12.8.1-alpha.20210910.5 → 12.9.0-alpha.20211109.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.
@@ -1,5 +1,7 @@
1
1
  /// <reference types="node" />
2
+
2
3
  import { AbortSignalLike } from '@azure/abort-controller';
4
+ import { AzureLogger } from '@azure/logger';
3
5
  import { BaseRequestPolicy } from '@azure/core-http';
4
6
  import * as coreHttp from '@azure/core-http';
5
7
  import { deserializationPolicy } from '@azure/core-http';
@@ -230,7 +232,7 @@ export declare interface AccountSASSignatureValues {
230
232
  * HTTP(S) requests that read public resources or for use with Shared Access
231
233
  * Signatures (SAS).
232
234
  */
233
- export declare class AnonymousCredential extends Credential {
235
+ export declare class AnonymousCredential extends Credential_2 {
234
236
  /**
235
237
  * Creates an {@link AnonymousCredentialPolicy} object.
236
238
  *
@@ -252,6 +254,7 @@ export declare class AnonymousCredentialPolicy extends CredentialPolicy {
252
254
  */
253
255
  constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions);
254
256
  }
257
+
255
258
  export { BaseRequestPolicy }
256
259
 
257
260
  export declare interface ClearRange {
@@ -367,7 +370,7 @@ export declare interface CorsRule {
367
370
  * Credential is an abstract class for Azure Storage HTTP requests signing. This
368
371
  * class will host an credentialPolicyCreator factory which generates CredentialPolicy.
369
372
  */
370
- export declare abstract class Credential implements RequestPolicyFactory {
373
+ declare abstract class Credential_2 implements RequestPolicyFactory {
371
374
  /**
372
375
  * Creates a RequestPolicy object.
373
376
  *
@@ -376,6 +379,7 @@ export declare abstract class Credential implements RequestPolicyFactory {
376
379
  */
377
380
  create(_nextPolicy: RequestPolicy, _options: RequestPolicyOptions): RequestPolicy;
378
381
  }
382
+ export { Credential_2 as Credential }
379
383
 
380
384
  /**
381
385
  * Credential policy used to sign HTTP(S) requests before sending. This is an
@@ -404,6 +408,7 @@ export declare type CredentialPolicyCreator = (nextPolicy: RequestPolicy, option
404
408
 
405
409
  /** Defines values for DeleteSnapshotsOptionType. */
406
410
  export declare type DeleteSnapshotsOptionType = "include" | "include-leased";
411
+
407
412
  export { deserializationPolicy }
408
413
 
409
414
  /**
@@ -1557,7 +1562,7 @@ export declare interface FileGetRangeListOptions extends CommonOptions {
1557
1562
  /**
1558
1563
  * Optional. Specifies the range of bytes over which to list ranges, inclusively.
1559
1564
  */
1560
- range?: Range;
1565
+ range?: Range_2;
1561
1566
  /**
1562
1567
  * Lease access conditions.
1563
1568
  */
@@ -2375,9 +2380,13 @@ export declare interface HttpAuthorization {
2375
2380
  */
2376
2381
  value: string;
2377
2382
  }
2383
+
2378
2384
  export { HttpHeaders }
2385
+
2379
2386
  export { HttpOperationResponse }
2387
+
2380
2388
  export { HttpRequestBody }
2389
+
2381
2390
  export { IHttpClient }
2382
2391
 
2383
2392
  /** Parameter group */
@@ -2513,7 +2522,7 @@ export declare interface ListSharesResponseModel {
2513
2522
  /**
2514
2523
  * The `@azure/logger` configuration for this package.
2515
2524
  */
2516
- export declare const logger: import("@azure/logger").AzureLogger;
2525
+ export declare const logger: AzureLogger;
2517
2526
 
2518
2527
  export declare interface Metadata {
2519
2528
  [propertyName: string]: string;
@@ -2538,7 +2547,7 @@ export declare interface Metrics {
2538
2547
  * @param pipelineOptions - Optional. Options.
2539
2548
  * @returns A new Pipeline object.
2540
2549
  */
2541
- export declare function newPipeline(credential?: Credential, pipelineOptions?: StoragePipelineOptions): Pipeline;
2550
+ export declare function newPipeline(credential?: Credential_2, pipelineOptions?: StoragePipelineOptions): Pipeline;
2542
2551
 
2543
2552
  /** Defines values for PermissionCopyModeType. */
2544
2553
  export declare type PermissionCopyModeType = "source" | "override";
@@ -2590,7 +2599,7 @@ export declare interface PipelineOptions {
2590
2599
  * Range for Service Operations.
2591
2600
  * @see https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-the-range-header-for-file-service-operations
2592
2601
  */
2593
- export declare interface Range {
2602
+ declare interface Range_2 {
2594
2603
  /**
2595
2604
  * StartByte, larger than or equal 0.
2596
2605
  */
@@ -2601,6 +2610,7 @@ export declare interface Range {
2601
2610
  */
2602
2611
  count?: number;
2603
2612
  }
2613
+ export { Range_2 as Range }
2604
2614
 
2605
2615
  /** An Azure Storage file range. */
2606
2616
  export declare interface RangeModel {
@@ -2609,9 +2619,13 @@ export declare interface RangeModel {
2609
2619
  /** End of the range. */
2610
2620
  end: number;
2611
2621
  }
2622
+
2612
2623
  export { RequestPolicy }
2624
+
2613
2625
  export { RequestPolicyFactory }
2626
+
2614
2627
  export { RequestPolicyOptions }
2628
+
2615
2629
  export { RestError }
2616
2630
 
2617
2631
  /** The retention policy. */
@@ -2974,7 +2988,7 @@ export declare class ShareClient extends StorageClient {
2974
2988
  * If not specified, AnonymousCredential is used.
2975
2989
  * @param options - Optional. Options to configure the HTTP pipeline.
2976
2990
  */
2977
- constructor(url: string, credential?: Credential, options?: StoragePipelineOptions);
2991
+ constructor(url: string, credential?: Credential_2, options?: StoragePipelineOptions);
2978
2992
  /**
2979
2993
  * Creates an instance of ShareClient.
2980
2994
  *
@@ -3467,7 +3481,7 @@ export declare class ShareDirectoryClient extends StorageClient {
3467
3481
  * If not specified, AnonymousCredential is used.
3468
3482
  * @param options - Optional. Options to configure the HTTP pipeline.
3469
3483
  */
3470
- constructor(url: string, credential?: Credential, options?: StoragePipelineOptions);
3484
+ constructor(url: string, credential?: Credential_2, options?: StoragePipelineOptions);
3471
3485
  /**
3472
3486
  * Creates an instance of DirectoryClient.
3473
3487
  *
@@ -3958,7 +3972,7 @@ export declare class ShareFileClient extends StorageClient {
3958
3972
  * If not specified, AnonymousCredential is used.
3959
3973
  * @param options - Optional. Options to configure the HTTP pipeline.
3960
3974
  */
3961
- constructor(url: string, credential?: Credential, options?: StoragePipelineOptions);
3975
+ constructor(url: string, credential?: Credential_2, options?: StoragePipelineOptions);
3962
3976
  /**
3963
3977
  * Creates an instance of ShareFileClient.
3964
3978
  *
@@ -4943,7 +4957,7 @@ export declare class ShareServiceClient extends StorageClient {
4943
4957
  * If not specified, AnonymousCredential is used.
4944
4958
  * @param options - Optional. Options to configure the HTTP pipeline.
4945
4959
  */
4946
- constructor(url: string, credential?: Credential, options?: StoragePipelineOptions);
4960
+ constructor(url: string, credential?: Credential_2, options?: StoragePipelineOptions);
4947
4961
  /**
4948
4962
  * Creates an instance of ShareServiceClient.
4949
4963
  *
@@ -5603,7 +5617,7 @@ export declare enum StorageRetryPolicyType {
5603
5617
  *
5604
5618
  * StorageSharedKeyCredential for account key authorization of Azure Storage service.
5605
5619
  */
5606
- export declare class StorageSharedKeyCredential extends Credential {
5620
+ export declare class StorageSharedKeyCredential extends Credential_2 {
5607
5621
  /**
5608
5622
  * Azure Storage account name; readonly.
5609
5623
  */
@@ -5693,6 +5707,7 @@ export declare type TimeNowType = "now";
5693
5707
  * Indicates keep existing time value unchanged.
5694
5708
  */
5695
5709
  export declare type TimePreserveType = "preserve";
5710
+
5696
5711
  export { WebResource }
5697
5712
 
5698
5713
  export { }