@azure/storage-blob 12.13.0-alpha.20230202.2 → 12.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/index.js +7002 -6423
  2. package/dist/index.js.map +1 -1
  3. package/dist-esm/storage-blob/src/BatchResponse.js.map +1 -1
  4. package/dist-esm/storage-blob/src/BatchResponseParser.js +2 -3
  5. package/dist-esm/storage-blob/src/BatchResponseParser.js.map +1 -1
  6. package/dist-esm/storage-blob/src/BlobBatch.js +87 -74
  7. package/dist-esm/storage-blob/src/BlobBatch.js.map +1 -1
  8. package/dist-esm/storage-blob/src/BlobBatchClient.js +23 -10
  9. package/dist-esm/storage-blob/src/BlobBatchClient.js.map +1 -1
  10. package/dist-esm/storage-blob/src/BlobDownloadResponse.js +9 -1
  11. package/dist-esm/storage-blob/src/BlobDownloadResponse.js.map +1 -1
  12. package/dist-esm/storage-blob/src/BlobLeaseClient.js +83 -54
  13. package/dist-esm/storage-blob/src/BlobLeaseClient.js.map +1 -1
  14. package/dist-esm/storage-blob/src/BlobQueryResponse.browser.js.map +1 -1
  15. package/dist-esm/storage-blob/src/BlobQueryResponse.js +1 -1
  16. package/dist-esm/storage-blob/src/BlobQueryResponse.js.map +1 -1
  17. package/dist-esm/storage-blob/src/BlobServiceClient.js +165 -67
  18. package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
  19. package/dist-esm/storage-blob/src/Clients.js +889 -651
  20. package/dist-esm/storage-blob/src/Clients.js.map +1 -1
  21. package/dist-esm/storage-blob/src/ContainerClient.js +238 -115
  22. package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
  23. package/dist-esm/storage-blob/src/PageBlobRangeResponse.js.map +1 -1
  24. package/dist-esm/storage-blob/src/Pipeline.js +40 -194
  25. package/dist-esm/storage-blob/src/Pipeline.js.map +1 -1
  26. package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js.map +1 -1
  27. package/dist-esm/storage-blob/src/StorageClient.js +17 -4
  28. package/dist-esm/storage-blob/src/StorageClient.js.map +1 -1
  29. package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +1 -1
  30. package/dist-esm/storage-blob/src/TelemetryPolicyFactory.js +50 -0
  31. package/dist-esm/storage-blob/src/TelemetryPolicyFactory.js.map +1 -0
  32. package/dist-esm/storage-blob/src/credentials/AnonymousCredential.js.map +1 -1
  33. package/dist-esm/storage-blob/src/credentials/Credential.js.map +1 -1
  34. package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.js.map +1 -1
  35. package/dist-esm/storage-blob/src/generated/src/index.js +1 -1
  36. package/dist-esm/storage-blob/src/generated/src/index.js.map +1 -1
  37. package/dist-esm/storage-blob/src/generated/src/models/index.js +1 -248
  38. package/dist-esm/storage-blob/src/generated/src/models/index.js.map +1 -1
  39. package/dist-esm/storage-blob/src/generated/src/models/mappers.js +18 -13
  40. package/dist-esm/storage-blob/src/generated/src/models/mappers.js.map +1 -1
  41. package/dist-esm/storage-blob/src/generated/src/models/parameters.js +5 -5
  42. package/dist-esm/storage-blob/src/generated/src/models/parameters.js.map +1 -1
  43. package/dist-esm/storage-blob/src/generated/src/operations/appendBlob.js +27 -11
  44. package/dist-esm/storage-blob/src/generated/src/operations/appendBlob.js.map +1 -1
  45. package/dist-esm/storage-blob/src/generated/src/operations/blob.js +110 -28
  46. package/dist-esm/storage-blob/src/generated/src/operations/blob.js.map +1 -1
  47. package/dist-esm/storage-blob/src/generated/src/operations/blockBlob.js +43 -16
  48. package/dist-esm/storage-blob/src/generated/src/operations/blockBlob.js.map +1 -1
  49. package/dist-esm/storage-blob/src/generated/src/operations/container.js +86 -22
  50. package/dist-esm/storage-blob/src/generated/src/operations/container.js.map +1 -1
  51. package/dist-esm/storage-blob/src/generated/src/operations/pageBlob.js +54 -16
  52. package/dist-esm/storage-blob/src/generated/src/operations/pageBlob.js.map +1 -1
  53. package/dist-esm/storage-blob/src/generated/src/operations/service.js +42 -12
  54. package/dist-esm/storage-blob/src/generated/src/operations/service.js.map +1 -1
  55. package/dist-esm/storage-blob/src/generated/src/storageClient.js +10 -32
  56. package/dist-esm/storage-blob/src/generated/src/storageClient.js.map +1 -1
  57. package/dist-esm/storage-blob/src/generated/src/storageClientContext.js +39 -0
  58. package/dist-esm/storage-blob/src/generated/src/storageClientContext.js.map +1 -0
  59. package/dist-esm/storage-blob/src/generatedModels.js +5 -1
  60. package/dist-esm/storage-blob/src/generatedModels.js.map +1 -1
  61. package/dist-esm/storage-blob/src/index.browser.js +2 -3
  62. package/dist-esm/storage-blob/src/index.browser.js.map +1 -1
  63. package/dist-esm/storage-blob/src/index.js +2 -3
  64. package/dist-esm/storage-blob/src/index.js.map +1 -1
  65. package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js.map +1 -1
  66. package/dist-esm/storage-blob/src/policies/CredentialPolicy.js +1 -1
  67. package/dist-esm/storage-blob/src/policies/CredentialPolicy.js.map +1 -1
  68. package/dist-esm/storage-blob/src/policies/StorageBearerTokenChallengeAuthenticationPolicy.js +245 -0
  69. package/dist-esm/storage-blob/src/policies/StorageBearerTokenChallengeAuthenticationPolicy.js.map +1 -0
  70. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js +1 -2
  71. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js.map +1 -1
  72. package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js +1 -1
  73. package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js.map +1 -1
  74. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -1
  75. package/dist-esm/storage-blob/src/policies/TelemetryPolicy.js +36 -0
  76. package/dist-esm/storage-blob/src/policies/TelemetryPolicy.js.map +1 -0
  77. package/dist-esm/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.js +1 -1
  78. package/dist-esm/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.js.map +1 -1
  79. package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js.map +1 -1
  80. package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js +2 -10
  81. package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js.map +1 -1
  82. package/dist-esm/storage-blob/src/utils/cache.js +2 -5
  83. package/dist-esm/storage-blob/src/utils/cache.js.map +1 -1
  84. package/dist-esm/storage-blob/src/utils/constants.js +1 -1
  85. package/dist-esm/storage-blob/src/utils/constants.js.map +1 -1
  86. package/dist-esm/storage-blob/src/utils/tracing.js +18 -5
  87. package/dist-esm/storage-blob/src/utils/tracing.js.map +1 -1
  88. package/dist-esm/storage-blob/src/utils/utils.common.js +44 -84
  89. package/dist-esm/storage-blob/src/utils/utils.common.js.map +1 -1
  90. package/package.json +15 -22
  91. package/types/3.1/storage-blob.d.ts +628 -2329
  92. package/types/latest/storage-blob.d.ts +612 -2492
  93. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/appendBlob.js +0 -9
  94. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/appendBlob.js.map +0 -1
  95. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/blob.js +0 -9
  96. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/blob.js.map +0 -1
  97. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/blockBlob.js +0 -9
  98. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/blockBlob.js.map +0 -1
  99. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/container.js +0 -9
  100. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/container.js.map +0 -1
  101. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/index.js +0 -14
  102. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/index.js.map +0 -1
  103. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/pageBlob.js +0 -9
  104. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/pageBlob.js.map +0 -1
  105. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/service.js +0 -9
  106. package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/service.js.map +0 -1
  107. package/dist-esm/storage-blob/src/policies/PathParameterWorkaroundPolicy.js +0 -25
  108. package/dist-esm/storage-blob/src/policies/PathParameterWorkaroundPolicy.js.map +0 -1
  109. package/dist-esm/storage-blob/src/policies/RequestPolicy.js +0 -40
  110. package/dist-esm/storage-blob/src/policies/RequestPolicy.js.map +0 -1
  111. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js +0 -31
  112. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js.map +0 -1
  113. package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js +0 -165
  114. package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js.map +0 -1
  115. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js +0 -18
  116. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js.map +0 -1
  117. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +0 -131
  118. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +0 -1
@@ -2,29 +2,31 @@
2
2
 
3
3
  import { AbortSignalLike } from '@azure/abort-controller';
4
4
  import { AzureLogger } from '@azure/logger';
5
+ import { BaseRequestPolicy } from '@azure/core-http';
5
6
  import { CancelOnProgress } from '@azure/core-lro';
6
- import * as coreClient from '@azure/core-client';
7
- import * as coreHttpCompat from '@azure/core-http-compat';
8
- import * as coreRestPipeline from '@azure/core-rest-pipeline';
9
- import { HttpHeadersLike as HttpHeaders } from '@azure/core-http-compat';
10
- import { CompatResponse as HttpOperationResponse } from '@azure/core-http-compat';
11
- import { HttpPipelineLogLevel } from '@azure/core-http-compat';
12
- import { RequestBodyType as HttpRequestBody } from '@azure/core-rest-pipeline';
13
- import { KeepAliveOptions } from '@azure/core-http-compat';
7
+ import * as coreHttp from '@azure/core-http';
8
+ import { deserializationPolicy } from '@azure/core-http';
9
+ import { HttpHeaders } from '@azure/core-http';
10
+ import { HttpOperationResponse } from '@azure/core-http';
11
+ import { HttpRequestBody } from '@azure/core-http';
12
+ import { HttpResponse } from '@azure/core-http';
13
+ import { HttpClient as IHttpClient } from '@azure/core-http';
14
+ import { KeepAliveOptions } from '@azure/core-http';
14
15
  import { OperationTracingOptions } from '@azure/core-tracing';
15
16
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
16
17
  import { PollerLike } from '@azure/core-lro';
17
18
  import { PollOperationState } from '@azure/core-lro';
18
- import { ProxySettings } from '@azure/core-rest-pipeline';
19
+ import { ProxyOptions } from '@azure/core-http';
19
20
  import { Readable } from 'stream';
20
- import { RequestPolicy } from '@azure/core-http-compat';
21
- import { RequestPolicyFactory } from '@azure/core-http-compat';
22
- import { RequestPolicyOptionsLike as RequestPolicyOptions } from '@azure/core-http-compat';
23
- import { RestError } from '@azure/core-rest-pipeline';
24
- import { TokenCredential } from '@azure/core-auth';
25
- import { TransferProgressEvent } from '@azure/core-rest-pipeline';
26
- import { UserAgentPolicyOptions } from '@azure/core-rest-pipeline';
27
- import { WebResourceLike as WebResource } from '@azure/core-http-compat';
21
+ import { RequestPolicy } from '@azure/core-http';
22
+ import { RequestPolicyFactory } from '@azure/core-http';
23
+ import { RequestPolicyOptions } from '@azure/core-http';
24
+ import { RestError } from '@azure/core-http';
25
+ import { ServiceClientOptions } from '@azure/core-http';
26
+ import { TokenCredential } from '@azure/core-http';
27
+ import { TransferProgressEvent } from '@azure/core-http';
28
+ import { UserAgentOptions } from '@azure/core-http';
29
+ import { WebResource } from '@azure/core-http';
28
30
 
29
31
  /** An Access policy */
30
32
  export declare interface AccessPolicy {
@@ -353,41 +355,6 @@ export declare class AnonymousCredentialPolicy extends CredentialPolicy {
353
355
  constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions);
354
356
  }
355
357
 
356
- /** Interface representing a AppendBlob. */
357
- declare interface AppendBlob {
358
- /**
359
- * The Create Append Blob operation creates a new append blob.
360
- * @param contentLength The length of the request.
361
- * @param options The options parameters.
362
- */
363
- create(contentLength: number, options?: AppendBlobCreateOptionalParams): Promise<AppendBlobCreateResponse_2>;
364
- /**
365
- * The Append Block operation commits a new block of data to the end of an existing append blob. The
366
- * Append Block operation is permitted only if the blob was created with x-ms-blob-type set to
367
- * AppendBlob. Append Block is supported only on version 2015-02-21 version or later.
368
- * @param contentLength The length of the request.
369
- * @param body Initial data
370
- * @param options The options parameters.
371
- */
372
- appendBlock(contentLength: number, body: coreRestPipeline.RequestBodyType, options?: AppendBlobAppendBlockOptionalParams): Promise<AppendBlobAppendBlockResponse_2>;
373
- /**
374
- * The Append Block operation commits a new block of data to the end of an existing append blob where
375
- * the contents are read from a source url. The Append Block operation is permitted only if the blob
376
- * was created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version
377
- * 2015-02-21 version or later.
378
- * @param sourceUrl Specify a URL to the copy source.
379
- * @param contentLength The length of the request.
380
- * @param options The options parameters.
381
- */
382
- appendBlockFromUrl(sourceUrl: string, contentLength: number, options?: AppendBlobAppendBlockFromUrlOptionalParams): Promise<AppendBlobAppendBlockFromUrlResponse_2>;
383
- /**
384
- * The Seal operation seals the Append Blob to make it read-only. Seal is supported only on version
385
- * 2019-12-12 version or later.
386
- * @param options The options parameters.
387
- */
388
- seal(options?: AppendBlobSealOptionalParams): Promise<AppendBlobSealResponse>;
389
- }
390
-
391
358
  /** Defines headers for AppendBlob_appendBlockFromUrl operation. */
392
359
  export declare interface AppendBlobAppendBlockFromUrlHeaders {
393
360
  /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
@@ -418,36 +385,6 @@ export declare interface AppendBlobAppendBlockFromUrlHeaders {
418
385
  errorCode?: string;
419
386
  }
420
387
 
421
- /** Optional parameters. */
422
- declare interface AppendBlobAppendBlockFromUrlOptionalParams extends coreClient.OperationOptions {
423
- /** Parameter group */
424
- leaseAccessConditions?: LeaseAccessConditions;
425
- /** Parameter group */
426
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
427
- /** Parameter group */
428
- cpkInfo?: CpkInfo;
429
- /** Parameter group */
430
- sourceModifiedAccessConditions?: SourceModifiedAccessConditions;
431
- /** Parameter group */
432
- appendPositionAccessConditions?: AppendPositionAccessConditions;
433
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
434
- timeoutInSeconds?: number;
435
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
436
- requestId?: string;
437
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
438
- encryptionScope?: string;
439
- /** Specify the md5 calculated for the range of bytes that must be read from the copy source. */
440
- sourceContentMD5?: Uint8Array;
441
- /** Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source. */
442
- copySourceAuthorization?: string;
443
- /** Specify the transactional md5 for the body, to be validated by the service. */
444
- transactionalContentMD5?: Uint8Array;
445
- /** Specify the crc64 calculated for the range of bytes that must be read from the copy source. */
446
- sourceContentCrc64?: Uint8Array;
447
- /** Bytes of source data in the specified range. */
448
- sourceRange?: string;
449
- }
450
-
451
388
  /**
452
389
  * Options to configure the {@link AppendBlobClient.appendBlockFromURL} operation.
453
390
  */
@@ -499,10 +436,13 @@ export declare interface AppendBlobAppendBlockFromURLOptions extends CommonOptio
499
436
  }
500
437
 
501
438
  /** Contains response data for the appendBlockFromUrl operation. */
502
- export declare type AppendBlobAppendBlockFromUrlResponse = WithResponse<AppendBlobAppendBlockFromUrlHeaders, AppendBlobAppendBlockFromUrlHeaders>;
503
-
504
- /** Contains response data for the appendBlockFromUrl operation. */
505
- declare type AppendBlobAppendBlockFromUrlResponse_2 = AppendBlobAppendBlockFromUrlHeaders;
439
+ export declare type AppendBlobAppendBlockFromUrlResponse = AppendBlobAppendBlockFromUrlHeaders & {
440
+ /** The underlying HTTP response. */
441
+ _response: coreHttp.HttpResponse & {
442
+ /** The parsed HTTP response headers. */
443
+ parsedHeaders: AppendBlobAppendBlockFromUrlHeaders;
444
+ };
445
+ };
506
446
 
507
447
  /** Defines headers for AppendBlob_appendBlock operation. */
508
448
  export declare interface AppendBlobAppendBlockHeaders {
@@ -536,28 +476,6 @@ export declare interface AppendBlobAppendBlockHeaders {
536
476
  errorCode?: string;
537
477
  }
538
478
 
539
- /** Optional parameters. */
540
- declare interface AppendBlobAppendBlockOptionalParams extends coreClient.OperationOptions {
541
- /** Parameter group */
542
- leaseAccessConditions?: LeaseAccessConditions;
543
- /** Parameter group */
544
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
545
- /** Parameter group */
546
- cpkInfo?: CpkInfo;
547
- /** Parameter group */
548
- appendPositionAccessConditions?: AppendPositionAccessConditions;
549
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
550
- timeoutInSeconds?: number;
551
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
552
- requestId?: string;
553
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
554
- encryptionScope?: string;
555
- /** Specify the transactional md5 for the body, to be validated by the service. */
556
- transactionalContentMD5?: Uint8Array;
557
- /** Specify the transactional crc64 for the body, to be validated by the service. */
558
- transactionalContentCrc64?: Uint8Array;
559
- }
560
-
561
479
  /**
562
480
  * Options to configure the {@link AppendBlobClient.appendBlock} operation.
563
481
  */
@@ -603,10 +521,13 @@ export declare interface AppendBlobAppendBlockOptions extends CommonOptions {
603
521
  }
604
522
 
605
523
  /** Contains response data for the appendBlock operation. */
606
- export declare type AppendBlobAppendBlockResponse = WithResponse<AppendBlobAppendBlockHeaders, AppendBlobAppendBlockHeaders>;
607
-
608
- /** Contains response data for the appendBlock operation. */
609
- declare type AppendBlobAppendBlockResponse_2 = AppendBlobAppendBlockHeaders;
524
+ export declare type AppendBlobAppendBlockResponse = AppendBlobAppendBlockHeaders & {
525
+ /** The underlying HTTP response. */
526
+ _response: coreHttp.HttpResponse & {
527
+ /** The parsed HTTP response headers. */
528
+ parsedHeaders: AppendBlobAppendBlockHeaders;
529
+ };
530
+ };
610
531
 
611
532
  /**
612
533
  * AppendBlobClient defines a set of operations applicable to append blobs.
@@ -830,36 +751,6 @@ export declare interface AppendBlobCreateIfNotExistsResponse extends AppendBlobC
830
751
  succeeded: boolean;
831
752
  }
832
753
 
833
- /** Optional parameters. */
834
- declare interface AppendBlobCreateOptionalParams extends coreClient.OperationOptions {
835
- /** Parameter group */
836
- leaseAccessConditions?: LeaseAccessConditions;
837
- /** Parameter group */
838
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
839
- /** Parameter group */
840
- cpkInfo?: CpkInfo;
841
- /** Parameter group */
842
- blobHttpHeaders?: BlobHTTPHeaders;
843
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
844
- timeoutInSeconds?: number;
845
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
846
- requestId?: string;
847
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
848
- metadata?: {
849
- [propertyName: string]: string;
850
- };
851
- /** Specifies the date time when the blobs immutability policy is set to expire. */
852
- immutabilityPolicyExpiry?: Date;
853
- /** Specifies the immutability policy mode to set on the blob. */
854
- immutabilityPolicyMode?: BlobImmutabilityPolicyMode;
855
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
856
- encryptionScope?: string;
857
- /** Optional. Used to set blob tags in various blob operations. */
858
- blobTagsString?: string;
859
- /** Specified if a legal hold should be set on the blob. */
860
- legalHold?: boolean;
861
- }
862
-
863
754
  /**
864
755
  * Options to configure {@link AppendBlobClient.create} operation.
865
756
  */
@@ -914,10 +805,13 @@ export declare interface AppendBlobCreateOptions extends CommonOptions {
914
805
  }
915
806
 
916
807
  /** Contains response data for the create operation. */
917
- export declare type AppendBlobCreateResponse = WithResponse<AppendBlobCreateHeaders, AppendBlobCreateHeaders>;
918
-
919
- /** Contains response data for the create operation. */
920
- declare type AppendBlobCreateResponse_2 = AppendBlobCreateHeaders;
808
+ export declare type AppendBlobCreateResponse = AppendBlobCreateHeaders & {
809
+ /** The underlying HTTP response. */
810
+ _response: coreHttp.HttpResponse & {
811
+ /** The parsed HTTP response headers. */
812
+ parsedHeaders: AppendBlobCreateHeaders;
813
+ };
814
+ };
921
815
 
922
816
  /**
923
817
  * Conditions to add to the creation of this append blob.
@@ -925,38 +819,6 @@ declare type AppendBlobCreateResponse_2 = AppendBlobCreateHeaders;
925
819
  export declare interface AppendBlobRequestConditions extends BlobRequestConditions, AppendPositionAccessConditions {
926
820
  }
927
821
 
928
- /** Defines headers for AppendBlob_seal operation. */
929
- declare interface AppendBlobSealHeaders {
930
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
931
- etag?: string;
932
- /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
933
- lastModified?: Date;
934
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
935
- clientRequestId?: string;
936
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
937
- requestId?: string;
938
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
939
- version?: string;
940
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
941
- date?: Date;
942
- /** If this blob has been sealed */
943
- isSealed?: boolean;
944
- }
945
-
946
- /** Optional parameters. */
947
- declare interface AppendBlobSealOptionalParams extends coreClient.OperationOptions {
948
- /** Parameter group */
949
- leaseAccessConditions?: LeaseAccessConditions;
950
- /** Parameter group */
951
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
952
- /** Parameter group */
953
- appendPositionAccessConditions?: AppendPositionAccessConditions;
954
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
955
- timeoutInSeconds?: number;
956
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
957
- requestId?: string;
958
- }
959
-
960
822
  /**
961
823
  * Options to configure {@link AppendBlobClient.seal} operation.
962
824
  */
@@ -972,9 +834,6 @@ export declare interface AppendBlobSealOptions extends CommonOptions {
972
834
  conditions?: AppendBlobRequestConditions;
973
835
  }
974
836
 
975
- /** Contains response data for the seal operation. */
976
- declare type AppendBlobSealResponse = AppendBlobSealHeaders;
977
-
978
837
  /** Parameter group */
979
838
  export declare interface AppendPositionAccessConditions {
980
839
  /** Optional conditional header. The max length in bytes permitted for the append blob. If the Append Block operation would cause the blob to exceed that limit or if the blob size is already greater than the value specified in this header, the request will fail with MaxBlobSizeConditionNotMet error (HTTP status code 412 - Precondition Failed). */
@@ -986,62 +845,7 @@ export declare interface AppendPositionAccessConditions {
986
845
  /** Defines values for ArchiveStatus. */
987
846
  export declare type ArchiveStatus = "rehydrate-pending-to-hot" | "rehydrate-pending-to-cool";
988
847
 
989
- /** Groups the settings used for formatting the response if the response should be Arrow formatted. */
990
- declare interface ArrowConfiguration {
991
- schema: ArrowField[];
992
- }
993
-
994
- /** Groups settings regarding specific field of an arrow schema */
995
- declare interface ArrowField {
996
- type: string;
997
- name?: string;
998
- precision?: number;
999
- scale?: number;
1000
- }
1001
-
1002
- /**
1003
- * The base class from which all request policies derive.
1004
- */
1005
- export declare abstract class BaseRequestPolicy implements RequestPolicy {
1006
- /**
1007
- * The next policy in the pipeline. Each policy is responsible for executing the next one if the request is to continue through the pipeline.
1008
- */
1009
- readonly _nextPolicy: RequestPolicy;
1010
- /**
1011
- * The options that can be passed to a given request policy.
1012
- */
1013
- readonly _options: RequestPolicyOptions;
1014
- /**
1015
- * The main method to implement that manipulates a request/response.
1016
- */
1017
- protected constructor(
1018
- /**
1019
- * The next policy in the pipeline. Each policy is responsible for executing the next one if the request is to continue through the pipeline.
1020
- */
1021
- _nextPolicy: RequestPolicy,
1022
- /**
1023
- * The options that can be passed to a given request policy.
1024
- */
1025
- _options: RequestPolicyOptions);
1026
- /**
1027
- * Sends a network request based on the given web resource.
1028
- * @param webResource - A {@link WebResourceLike} that describes a HTTP request to be made.
1029
- */
1030
- abstract sendRequest(webResource: WebResource): Promise<HttpOperationResponse>;
1031
- /**
1032
- * Get whether or not a log with the provided log level should be logged.
1033
- * @param logLevel - The log level of the log that will be logged.
1034
- * @returns Whether or not a log with the provided log level should be logged.
1035
- */
1036
- shouldLog(logLevel: HttpPipelineLogLevel): boolean;
1037
- /**
1038
- * Attempt to log the provided message to the provided logger. If no logger was provided or if
1039
- * the log level does not meat the logger's threshold, then nothing will be logged.
1040
- * @param logLevel - The log level of this log.
1041
- * @param message - The message of this log.
1042
- */
1043
- log(logLevel: HttpPipelineLogLevel, message: string): void;
1044
- }
848
+ export { BaseRequestPolicy }
1045
849
 
1046
850
  /**
1047
851
  * A request associated with a batch operation.
@@ -1089,175 +893,6 @@ export declare interface BatchSubResponse {
1089
893
  _request: BatchSubRequest;
1090
894
  }
1091
895
 
1092
- /** Interface representing a Blob. */
1093
- declare interface Blob_2 {
1094
- /**
1095
- * The Download operation reads or downloads a blob from the system, including its metadata and
1096
- * properties. You can also call Download to read a snapshot.
1097
- * @param options The options parameters.
1098
- */
1099
- download(options?: BlobDownloadOptionalParams): Promise<BlobDownloadResponseInternal>;
1100
- /**
1101
- * The Get Properties operation returns all user-defined metadata, standard HTTP properties, and system
1102
- * properties for the blob. It does not return the content of the blob.
1103
- * @param options The options parameters.
1104
- */
1105
- getProperties(options?: BlobGetPropertiesOptionalParams): Promise<BlobGetPropertiesResponse_2>;
1106
- /**
1107
- * If the storage account's soft delete feature is disabled then, when a blob is deleted, it is
1108
- * permanently removed from the storage account. If the storage account's soft delete feature is
1109
- * enabled, then, when a blob is deleted, it is marked for deletion and becomes inaccessible
1110
- * immediately. However, the blob service retains the blob or snapshot for the number of days specified
1111
- * by the DeleteRetentionPolicy section of [Storage service properties]
1112
- * (Set-Blob-Service-Properties.md). After the specified number of days has passed, the blob's data is
1113
- * permanently removed from the storage account. Note that you continue to be charged for the
1114
- * soft-deleted blob's storage until it is permanently removed. Use the List Blobs API and specify the
1115
- * "include=deleted" query parameter to discover which blobs and snapshots have been soft deleted. You
1116
- * can then use the Undelete Blob API to restore a soft-deleted blob. All other operations on a
1117
- * soft-deleted blob or snapshot causes the service to return an HTTP status code of 404
1118
- * (ResourceNotFound).
1119
- * @param options The options parameters.
1120
- */
1121
- delete(options?: BlobDeleteOptionalParams): Promise<BlobDeleteResponse_2>;
1122
- /**
1123
- * Undelete a blob that was previously soft deleted
1124
- * @param options The options parameters.
1125
- */
1126
- undelete(options?: BlobUndeleteOptionalParams): Promise<BlobUndeleteResponse_2>;
1127
- /**
1128
- * Sets the time a blob will expire and be deleted.
1129
- * @param expiryOptions Required. Indicates mode of the expiry time
1130
- * @param options The options parameters.
1131
- */
1132
- setExpiry(expiryOptions: BlobExpiryOptions, options?: BlobSetExpiryOptionalParams): Promise<BlobSetExpiryResponse>;
1133
- /**
1134
- * The Set HTTP Headers operation sets system properties on the blob
1135
- * @param options The options parameters.
1136
- */
1137
- setHttpHeaders(options?: BlobSetHttpHeadersOptionalParams): Promise<BlobSetHttpHeadersResponse>;
1138
- /**
1139
- * The Set Immutability Policy operation sets the immutability policy on the blob
1140
- * @param options The options parameters.
1141
- */
1142
- setImmutabilityPolicy(options?: BlobSetImmutabilityPolicyOptionalParams): Promise<BlobSetImmutabilityPolicyResponse_2>;
1143
- /**
1144
- * The Delete Immutability Policy operation deletes the immutability policy on the blob
1145
- * @param options The options parameters.
1146
- */
1147
- deleteImmutabilityPolicy(options?: BlobDeleteImmutabilityPolicyOptionalParams): Promise<BlobDeleteImmutabilityPolicyResponse_2>;
1148
- /**
1149
- * The Set Legal Hold operation sets a legal hold on the blob.
1150
- * @param legalHold Specified if a legal hold should be set on the blob.
1151
- * @param options The options parameters.
1152
- */
1153
- setLegalHold(legalHold: boolean, options?: BlobSetLegalHoldOptionalParams): Promise<BlobSetLegalHoldResponse_2>;
1154
- /**
1155
- * The Set Blob Metadata operation sets user-defined metadata for the specified blob as one or more
1156
- * name-value pairs
1157
- * @param options The options parameters.
1158
- */
1159
- setMetadata(options?: BlobSetMetadataOptionalParams): Promise<BlobSetMetadataResponse_2>;
1160
- /**
1161
- * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
1162
- * operations
1163
- * @param options The options parameters.
1164
- */
1165
- acquireLease(options?: BlobAcquireLeaseOptionalParams): Promise<BlobAcquireLeaseResponse>;
1166
- /**
1167
- * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
1168
- * operations
1169
- * @param leaseId Specifies the current lease ID on the resource.
1170
- * @param options The options parameters.
1171
- */
1172
- releaseLease(leaseId: string, options?: BlobReleaseLeaseOptionalParams): Promise<BlobReleaseLeaseResponse>;
1173
- /**
1174
- * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
1175
- * operations
1176
- * @param leaseId Specifies the current lease ID on the resource.
1177
- * @param options The options parameters.
1178
- */
1179
- renewLease(leaseId: string, options?: BlobRenewLeaseOptionalParams): Promise<BlobRenewLeaseResponse>;
1180
- /**
1181
- * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
1182
- * operations
1183
- * @param leaseId Specifies the current lease ID on the resource.
1184
- * @param proposedLeaseId Proposed lease ID, in a GUID string format. The Blob service returns 400
1185
- * (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor
1186
- * (String) for a list of valid GUID string formats.
1187
- * @param options The options parameters.
1188
- */
1189
- changeLease(leaseId: string, proposedLeaseId: string, options?: BlobChangeLeaseOptionalParams): Promise<BlobChangeLeaseResponse>;
1190
- /**
1191
- * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
1192
- * operations
1193
- * @param options The options parameters.
1194
- */
1195
- breakLease(options?: BlobBreakLeaseOptionalParams): Promise<BlobBreakLeaseResponse>;
1196
- /**
1197
- * The Create Snapshot operation creates a read-only snapshot of a blob
1198
- * @param options The options parameters.
1199
- */
1200
- createSnapshot(options?: BlobCreateSnapshotOptionalParams): Promise<BlobCreateSnapshotResponse_2>;
1201
- /**
1202
- * The Start Copy From URL operation copies a blob or an internet resource to a new blob.
1203
- * @param copySource Specifies the name of the source page blob snapshot. This value is a URL of up to
1204
- * 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would
1205
- * appear in a request URI. The source blob must either be public or must be authenticated via a shared
1206
- * access signature.
1207
- * @param options The options parameters.
1208
- */
1209
- startCopyFromURL(copySource: string, options?: BlobStartCopyFromURLOptionalParams): Promise<BlobStartCopyFromURLResponse_2>;
1210
- /**
1211
- * The Copy From URL operation copies a blob or an internet resource to a new blob. It will not return
1212
- * a response until the copy is complete.
1213
- * @param copySource Specifies the name of the source page blob snapshot. This value is a URL of up to
1214
- * 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would
1215
- * appear in a request URI. The source blob must either be public or must be authenticated via a shared
1216
- * access signature.
1217
- * @param options The options parameters.
1218
- */
1219
- copyFromURL(copySource: string, options?: BlobCopyFromURLOptionalParams): Promise<BlobCopyFromURLResponse_2>;
1220
- /**
1221
- * The Abort Copy From URL operation aborts a pending Copy From URL operation, and leaves a destination
1222
- * blob with zero length and full metadata.
1223
- * @param copyId The copy identifier provided in the x-ms-copy-id header of the original Copy Blob
1224
- * operation.
1225
- * @param options The options parameters.
1226
- */
1227
- abortCopyFromURL(copyId: string, options?: BlobAbortCopyFromURLOptionalParams): Promise<BlobAbortCopyFromURLResponse_2>;
1228
- /**
1229
- * The Set Tier operation sets the tier on a blob. The operation is allowed on a page blob in a premium
1230
- * storage account and on a block blob in a blob storage account (locally redundant storage only). A
1231
- * premium page blob's tier determines the allowed size, IOPS, and bandwidth of the blob. A block
1232
- * blob's tier determines Hot/Cool/Archive storage type. This operation does not update the blob's
1233
- * ETag.
1234
- * @param tier Indicates the tier to be set on the blob.
1235
- * @param options The options parameters.
1236
- */
1237
- setTier(tier: AccessTier, options?: BlobSetTierOptionalParams): Promise<BlobSetTierResponse_2>;
1238
- /**
1239
- * Returns the sku name and account kind
1240
- * @param options The options parameters.
1241
- */
1242
- getAccountInfo(options?: BlobGetAccountInfoOptionalParams): Promise<BlobGetAccountInfoResponse>;
1243
- /**
1244
- * The Query operation enables users to select/project on blob data by providing simple query
1245
- * expressions.
1246
- * @param options The options parameters.
1247
- */
1248
- query(options?: BlobQueryOptionalParams): Promise<BlobQueryResponseInternal>;
1249
- /**
1250
- * The Get Tags operation enables users to get the tags associated with a blob.
1251
- * @param options The options parameters.
1252
- */
1253
- getTags(options?: BlobGetTagsOptionalParams): Promise<BlobGetTagsResponse_2>;
1254
- /**
1255
- * The Set Tags operation enables users to set tags on a blob.
1256
- * @param options The options parameters.
1257
- */
1258
- setTags(options?: BlobSetTagsOptionalParams): Promise<BlobSetTagsResponse_2>;
1259
- }
1260
-
1261
896
  /** Defines headers for Blob_abortCopyFromURL operation. */
1262
897
  export declare interface BlobAbortCopyFromURLHeaders {
1263
898
  /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
@@ -1272,16 +907,6 @@ export declare interface BlobAbortCopyFromURLHeaders {
1272
907
  errorCode?: string;
1273
908
  }
1274
909
 
1275
- /** Optional parameters. */
1276
- declare interface BlobAbortCopyFromURLOptionalParams extends coreClient.OperationOptions {
1277
- /** Parameter group */
1278
- leaseAccessConditions?: LeaseAccessConditions;
1279
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
1280
- timeoutInSeconds?: number;
1281
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
1282
- requestId?: string;
1283
- }
1284
-
1285
910
  /**
1286
911
  * Options to configure the {@link BlobClient.abortCopyFromURL} operation.
1287
912
  */
@@ -1299,42 +924,13 @@ export declare interface BlobAbortCopyFromURLOptions extends CommonOptions {
1299
924
  }
1300
925
 
1301
926
  /** Contains response data for the abortCopyFromURL operation. */
1302
- export declare type BlobAbortCopyFromURLResponse = WithResponse<BlobAbortCopyFromURLHeaders, BlobAbortCopyFromURLHeaders>;
1303
-
1304
- /** Contains response data for the abortCopyFromURL operation. */
1305
- declare type BlobAbortCopyFromURLResponse_2 = BlobAbortCopyFromURLHeaders;
1306
-
1307
- /** Defines headers for Blob_acquireLease operation. */
1308
- declare interface BlobAcquireLeaseHeaders {
1309
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
1310
- etag?: string;
1311
- /** Returns the date and time the blob was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
1312
- lastModified?: Date;
1313
- /** Uniquely identifies a blobs' lease */
1314
- leaseId?: string;
1315
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
1316
- clientRequestId?: string;
1317
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
1318
- requestId?: string;
1319
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
1320
- version?: string;
1321
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
1322
- date?: Date;
1323
- }
1324
-
1325
- /** Optional parameters. */
1326
- declare interface BlobAcquireLeaseOptionalParams extends coreClient.OperationOptions {
1327
- /** Parameter group */
1328
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
1329
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
1330
- timeoutInSeconds?: number;
1331
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
1332
- requestId?: string;
1333
- /** Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change. */
1334
- duration?: number;
1335
- /** Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */
1336
- proposedLeaseId?: string;
1337
- }
927
+ export declare type BlobAbortCopyFromURLResponse = BlobAbortCopyFromURLHeaders & {
928
+ /** The underlying HTTP response. */
929
+ _response: coreHttp.HttpResponse & {
930
+ /** The parsed HTTP response headers. */
931
+ parsedHeaders: BlobAbortCopyFromURLHeaders;
932
+ };
933
+ };
1338
934
 
1339
935
  /**
1340
936
  * Options to configure Blob - Acquire Lease operation.
@@ -1351,9 +947,6 @@ export declare interface BlobAcquireLeaseOptions extends CommonOptions {
1351
947
  conditions?: ModifiedAccessConditions;
1352
948
  }
1353
949
 
1354
- /** Contains response data for the acquireLease operation. */
1355
- declare type BlobAcquireLeaseResponse = BlobAcquireLeaseHeaders;
1356
-
1357
950
  /**
1358
951
  * A BlobBatch represents an aggregated set of operations on blobs.
1359
952
  * Currently, only `delete` and `setAccessTier` are supported.
@@ -1590,7 +1183,17 @@ export declare interface BlobBatchSubmitBatchOptionalParams extends ServiceSubmi
1590
1183
  /**
1591
1184
  * Contains response data for blob batch operations.
1592
1185
  */
1593
- export declare type BlobBatchSubmitBatchResponse = WithResponse<ParsedBatchResponse & ServiceSubmitBatchHeaders, ServiceSubmitBatchHeaders>;
1186
+ export declare type BlobBatchSubmitBatchResponse = ParsedBatchResponse & ServiceSubmitBatchHeaders & {
1187
+ /**
1188
+ * The underlying HTTP response.
1189
+ */
1190
+ _response: HttpResponse & {
1191
+ /**
1192
+ * The parsed HTTP response headers.
1193
+ */
1194
+ parsedHeaders: ServiceSubmitBatchHeaders;
1195
+ };
1196
+ };
1594
1197
 
1595
1198
  /**
1596
1199
  * Options to configure the {@link BlobClient.beginCopyFromURL} operation.
@@ -1653,36 +1256,6 @@ export declare interface BlobBeginCopyFromUrlPollState extends PollOperationStat
1653
1256
  export declare interface BlobBeginCopyFromURLResponse extends BlobStartCopyFromURLResponse {
1654
1257
  }
1655
1258
 
1656
- /** Defines headers for Blob_breakLease operation. */
1657
- declare interface BlobBreakLeaseHeaders {
1658
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
1659
- etag?: string;
1660
- /** Returns the date and time the blob was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
1661
- lastModified?: Date;
1662
- /** Approximate time remaining in the lease period, in seconds. */
1663
- leaseTime?: number;
1664
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
1665
- clientRequestId?: string;
1666
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
1667
- requestId?: string;
1668
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
1669
- version?: string;
1670
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
1671
- date?: Date;
1672
- }
1673
-
1674
- /** Optional parameters. */
1675
- declare interface BlobBreakLeaseOptionalParams extends coreClient.OperationOptions {
1676
- /** Parameter group */
1677
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
1678
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
1679
- timeoutInSeconds?: number;
1680
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
1681
- requestId?: string;
1682
- /** For a break operation, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60. This break period is only used if it is shorter than the time remaining on the lease. If longer, the time remaining on the lease is used. A new lease will not be available before the break period has expired, but the lease may be held for longer than the break period. If this header does not appear with a break operation, a fixed-duration lease breaks after the remaining lease period elapses, and an infinite lease breaks immediately. */
1683
- breakPeriod?: number;
1684
- }
1685
-
1686
1259
  /**
1687
1260
  * Options to configure Blob - Break Lease operation.
1688
1261
  */
@@ -1698,37 +1271,6 @@ export declare interface BlobBreakLeaseOptions extends CommonOptions {
1698
1271
  conditions?: ModifiedAccessConditions;
1699
1272
  }
1700
1273
 
1701
- /** Contains response data for the breakLease operation. */
1702
- declare type BlobBreakLeaseResponse = BlobBreakLeaseHeaders;
1703
-
1704
- /** Defines headers for Blob_changeLease operation. */
1705
- declare interface BlobChangeLeaseHeaders {
1706
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
1707
- etag?: string;
1708
- /** Returns the date and time the blob was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
1709
- lastModified?: Date;
1710
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
1711
- clientRequestId?: string;
1712
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
1713
- requestId?: string;
1714
- /** Uniquely identifies a blobs' lease */
1715
- leaseId?: string;
1716
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
1717
- version?: string;
1718
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
1719
- date?: Date;
1720
- }
1721
-
1722
- /** Optional parameters. */
1723
- declare interface BlobChangeLeaseOptionalParams extends coreClient.OperationOptions {
1724
- /** Parameter group */
1725
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
1726
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
1727
- timeoutInSeconds?: number;
1728
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
1729
- requestId?: string;
1730
- }
1731
-
1732
1274
  /**
1733
1275
  * Options to configure Blob - Change Lease operation.
1734
1276
  */
@@ -1744,9 +1286,6 @@ export declare interface BlobChangeLeaseOptions extends CommonOptions {
1744
1286
  conditions?: ModifiedAccessConditions;
1745
1287
  }
1746
1288
 
1747
- /** Contains response data for the changeLease operation. */
1748
- declare type BlobChangeLeaseResponse = BlobChangeLeaseHeaders;
1749
-
1750
1289
  /**
1751
1290
  * A BlobClient represents a URL to an Azure Storage blob; the blob may be a block blob,
1752
1291
  * append blob, or page blob.
@@ -2200,7 +1739,7 @@ export declare class BlobClient extends StorageClient {
2200
1739
  */
2201
1740
  deleteImmutabilityPolicy(options?: BlobDeleteImmutabilityPolicyOptions): Promise<BlobDeleteImmutabilityPolicyResponse>;
2202
1741
  /**
2203
- * Set immutability policy on the blob.
1742
+ * Set immutablility policy on the blob.
2204
1743
  *
2205
1744
  * @param options - Optional options to set immutability policy on the blob.
2206
1745
  */
@@ -2232,7 +1771,7 @@ export declare interface BlobCopyFromURLHeaders {
2232
1771
  /** String identifier for this copy operation. */
2233
1772
  copyId?: string;
2234
1773
  /** State of the copy operation identified by x-ms-copy-id. */
2235
- copyStatus?: "success";
1774
+ copyStatus?: SyncCopyStatusType;
2236
1775
  /** This response header is returned so that the client can check for the integrity of the copied content. This header is only returned if the source content MD5 was specified. */
2237
1776
  contentMD5?: Uint8Array;
2238
1777
  /** This response header is returned so that the client can check for the integrity of the copied content. */
@@ -2243,47 +1782,14 @@ export declare interface BlobCopyFromURLHeaders {
2243
1782
  errorCode?: string;
2244
1783
  }
2245
1784
 
2246
- /** Optional parameters. */
2247
- declare interface BlobCopyFromURLOptionalParams extends coreClient.OperationOptions {
2248
- /** Parameter group */
2249
- leaseAccessConditions?: LeaseAccessConditions;
2250
- /** Parameter group */
2251
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
2252
- /** Parameter group */
2253
- sourceModifiedAccessConditions?: SourceModifiedAccessConditions;
2254
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
2255
- timeoutInSeconds?: number;
2256
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
2257
- requestId?: string;
2258
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
2259
- metadata?: {
2260
- [propertyName: string]: string;
2261
- };
2262
- /** Specifies the date time when the blobs immutability policy is set to expire. */
2263
- immutabilityPolicyExpiry?: Date;
2264
- /** Specifies the immutability policy mode to set on the blob. */
2265
- immutabilityPolicyMode?: BlobImmutabilityPolicyMode;
2266
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
2267
- encryptionScope?: string;
2268
- /** Optional. Indicates the tier to be set on the blob. */
2269
- tier?: AccessTier;
2270
- /** Optional. Used to set blob tags in various blob operations. */
2271
- blobTagsString?: string;
2272
- /** Specified if a legal hold should be set on the blob. */
2273
- legalHold?: boolean;
2274
- /** Specify the md5 calculated for the range of bytes that must be read from the copy source. */
2275
- sourceContentMD5?: Uint8Array;
2276
- /** Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source. */
2277
- copySourceAuthorization?: string;
2278
- /** Optional, default 'replace'. Indicates if source tags should be copied or replaced with the tags specified by x-ms-tags. */
2279
- copySourceTags?: BlobCopySourceTags;
2280
- }
2281
-
2282
1785
  /** Contains response data for the copyFromURL operation. */
2283
- export declare type BlobCopyFromURLResponse = WithResponse<BlobCopyFromURLHeaders, BlobCopyFromURLHeaders>;
2284
-
2285
- /** Contains response data for the copyFromURL operation. */
2286
- declare type BlobCopyFromURLResponse_2 = BlobCopyFromURLHeaders;
1786
+ export declare type BlobCopyFromURLResponse = BlobCopyFromURLHeaders & {
1787
+ /** The underlying HTTP response. */
1788
+ _response: coreHttp.HttpResponse & {
1789
+ /** The parsed HTTP response headers. */
1790
+ parsedHeaders: BlobCopyFromURLHeaders;
1791
+ };
1792
+ };
2287
1793
 
2288
1794
  /** Defines values for BlobCopySourceTags. */
2289
1795
  export declare type BlobCopySourceTags = "REPLACE" | "COPY";
@@ -2312,26 +1818,6 @@ export declare interface BlobCreateSnapshotHeaders {
2312
1818
  errorCode?: string;
2313
1819
  }
2314
1820
 
2315
- /** Optional parameters. */
2316
- declare interface BlobCreateSnapshotOptionalParams extends coreClient.OperationOptions {
2317
- /** Parameter group */
2318
- leaseAccessConditions?: LeaseAccessConditions;
2319
- /** Parameter group */
2320
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
2321
- /** Parameter group */
2322
- cpkInfo?: CpkInfo;
2323
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
2324
- timeoutInSeconds?: number;
2325
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
2326
- requestId?: string;
2327
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
2328
- metadata?: {
2329
- [propertyName: string]: string;
2330
- };
2331
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
2332
- encryptionScope?: string;
2333
- }
2334
-
2335
1821
  /**
2336
1822
  * Options to configure the {@link BlobClient.createSnapshot} operation.
2337
1823
  */
@@ -2363,10 +1849,13 @@ export declare interface BlobCreateSnapshotOptions extends CommonOptions {
2363
1849
  }
2364
1850
 
2365
1851
  /** Contains response data for the createSnapshot operation. */
2366
- export declare type BlobCreateSnapshotResponse = WithResponse<BlobCreateSnapshotHeaders, BlobCreateSnapshotHeaders>;
2367
-
2368
- /** Contains response data for the createSnapshot operation. */
2369
- declare type BlobCreateSnapshotResponse_2 = BlobCreateSnapshotHeaders;
1852
+ export declare type BlobCreateSnapshotResponse = BlobCreateSnapshotHeaders & {
1853
+ /** The underlying HTTP response. */
1854
+ _response: coreHttp.HttpResponse & {
1855
+ /** The parsed HTTP response headers. */
1856
+ parsedHeaders: BlobCreateSnapshotHeaders;
1857
+ };
1858
+ };
2370
1859
 
2371
1860
  /** Defines headers for Blob_delete operation. */
2372
1861
  export declare interface BlobDeleteHeaders {
@@ -2404,14 +1893,6 @@ export declare interface BlobDeleteImmutabilityPolicyHeaders {
2404
1893
  date?: Date;
2405
1894
  }
2406
1895
 
2407
- /** Optional parameters. */
2408
- declare interface BlobDeleteImmutabilityPolicyOptionalParams extends coreClient.OperationOptions {
2409
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
2410
- timeoutInSeconds?: number;
2411
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
2412
- requestId?: string;
2413
- }
2414
-
2415
1896
  /**
2416
1897
  * Options for deleting immutability policy {@link BlobClient.deleteImmutabilityPolicy} operation.
2417
1898
  */
@@ -2424,30 +1905,13 @@ export declare interface BlobDeleteImmutabilityPolicyOptions extends CommonOptio
2424
1905
  }
2425
1906
 
2426
1907
  /** Contains response data for the deleteImmutabilityPolicy operation. */
2427
- export declare type BlobDeleteImmutabilityPolicyResponse = WithResponse<BlobDeleteImmutabilityPolicyHeaders, BlobDeleteImmutabilityPolicyHeaders>;
2428
-
2429
- /** Contains response data for the deleteImmutabilityPolicy operation. */
2430
- declare type BlobDeleteImmutabilityPolicyResponse_2 = BlobDeleteImmutabilityPolicyHeaders;
2431
-
2432
- /** Optional parameters. */
2433
- declare interface BlobDeleteOptionalParams extends coreClient.OperationOptions {
2434
- /** Parameter group */
2435
- leaseAccessConditions?: LeaseAccessConditions;
2436
- /** Parameter group */
2437
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
2438
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
2439
- timeoutInSeconds?: number;
2440
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
2441
- requestId?: string;
2442
- /** The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a> */
2443
- snapshot?: string;
2444
- /** The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. */
2445
- versionId?: string;
2446
- /** Required if the blob has associated snapshots. Specify one of the following two options: include: Delete the base blob and all of its snapshots. only: Delete only the blob's snapshots and not the blob itself */
2447
- deleteSnapshots?: DeleteSnapshotsOptionType;
2448
- /** Optional. Only possible value is 'permanent', which specifies to permanently delete a blob if blob soft delete is enabled. */
2449
- blobDeleteType?: string;
2450
- }
1908
+ export declare type BlobDeleteImmutabilityPolicyResponse = BlobDeleteImmutabilityPolicyHeaders & {
1909
+ /** The underlying HTTP response. */
1910
+ _response: coreHttp.HttpResponse & {
1911
+ /** The parsed HTTP response headers. */
1912
+ parsedHeaders: BlobDeleteImmutabilityPolicyHeaders;
1913
+ };
1914
+ };
2451
1915
 
2452
1916
  /**
2453
1917
  * Options to configure the {@link BlobClient.delete} operation.
@@ -2475,15 +1939,20 @@ export declare interface BlobDeleteOptions extends CommonOptions {
2475
1939
  }
2476
1940
 
2477
1941
  /** Contains response data for the delete operation. */
2478
- export declare type BlobDeleteResponse = WithResponse<BlobDeleteHeaders, BlobDeleteHeaders>;
2479
-
2480
- /** Contains response data for the delete operation. */
2481
- declare type BlobDeleteResponse_2 = BlobDeleteHeaders;
1942
+ export declare type BlobDeleteResponse = BlobDeleteHeaders & {
1943
+ /** The underlying HTTP response. */
1944
+ _response: coreHttp.HttpResponse & {
1945
+ /** The parsed HTTP response headers. */
1946
+ parsedHeaders: BlobDeleteHeaders;
1947
+ };
1948
+ };
2482
1949
 
2483
1950
  /** Defines headers for Blob_download operation. */
2484
1951
  export declare interface BlobDownloadHeaders {
2485
1952
  /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
2486
1953
  lastModified?: Date;
1954
+ /** Returns the date and time the blob was created. */
1955
+ createdOn?: Date;
2487
1956
  metadata?: {
2488
1957
  [propertyName: string]: string;
2489
1958
  };
@@ -2576,7 +2045,7 @@ export declare interface BlobDownloadHeaders {
2576
2045
  }
2577
2046
 
2578
2047
  /** Optional parameters. */
2579
- export declare interface BlobDownloadOptionalParams extends coreClient.OperationOptions {
2048
+ export declare interface BlobDownloadOptionalParams extends coreHttp.OperationOptions {
2580
2049
  /** Parameter group */
2581
2050
  leaseAccessConditions?: LeaseAccessConditions;
2582
2051
  /** Parameter group */
@@ -2654,7 +2123,7 @@ export declare interface BlobDownloadOptions extends CommonOptions {
2654
2123
  }
2655
2124
 
2656
2125
  /** Contains response data for the download operation. */
2657
- export declare type BlobDownloadResponseInternal = BlobDownloadHeaders & {
2126
+ export declare type BlobDownloadResponseModel = BlobDownloadHeaders & {
2658
2127
  /**
2659
2128
  * BROWSER ONLY
2660
2129
  *
@@ -2669,11 +2138,13 @@ export declare type BlobDownloadResponseInternal = BlobDownloadHeaders & {
2669
2138
  * Always `undefined` in the browser.
2670
2139
  */
2671
2140
  readableStreamBody?: NodeJS.ReadableStream;
2141
+ /** The underlying HTTP response. */
2142
+ _response: coreHttp.HttpResponse & {
2143
+ /** The parsed HTTP response headers. */
2144
+ parsedHeaders: BlobDownloadHeaders;
2145
+ };
2672
2146
  };
2673
2147
 
2674
- /** Contains response data for the download operation. */
2675
- export declare type BlobDownloadResponseModel = WithResponse<BlobDownloadResponseInternal, BlobDownloadHeaders>;
2676
-
2677
2148
  /**
2678
2149
  * Contains response data for the {@link BlobClient.download} operation.
2679
2150
  */
@@ -2754,18 +2225,6 @@ export declare interface BlobExistsOptions extends CommonOptions {
2754
2225
  conditions?: BlobRequestConditions;
2755
2226
  }
2756
2227
 
2757
- /**
2758
- * Defines values for BlobExpiryOptions. \
2759
- * {@link KnownBlobExpiryOptions} can be used interchangeably with BlobExpiryOptions,
2760
- * this enum contains the known values that the service supports.
2761
- * ### Known values supported by the service
2762
- * **NeverExpire** \
2763
- * **RelativeToCreation** \
2764
- * **RelativeToNow** \
2765
- * **Absolute**
2766
- */
2767
- declare type BlobExpiryOptions = string;
2768
-
2769
2228
  /**
2770
2229
  * An interface representing BlobFlatListSegment.
2771
2230
  */
@@ -2773,10 +2232,6 @@ export declare interface BlobFlatListSegment {
2773
2232
  blobItems: BlobItem[];
2774
2233
  }
2775
2234
 
2776
- declare interface BlobFlatListSegment_2 {
2777
- blobItems: BlobItemInternal_2[];
2778
- }
2779
-
2780
2235
  export declare interface BlobFlatListSegmentModel {
2781
2236
  blobItems: BlobItemInternal[];
2782
2237
  }
@@ -2791,29 +2246,6 @@ export declare interface BlobGenerateSasUrlOptions extends CommonGenerateSasUrlO
2791
2246
  permissions?: BlobSASPermissions;
2792
2247
  }
2793
2248
 
2794
- /** Defines headers for Blob_getAccountInfo operation. */
2795
- declare interface BlobGetAccountInfoHeaders {
2796
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
2797
- clientRequestId?: string;
2798
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
2799
- requestId?: string;
2800
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
2801
- version?: string;
2802
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
2803
- date?: Date;
2804
- /** Identifies the sku name of the account */
2805
- skuName?: SkuName;
2806
- /** Identifies the account kind */
2807
- accountKind?: AccountKind;
2808
- }
2809
-
2810
- /** Optional parameters. */
2811
- declare interface BlobGetAccountInfoOptionalParams extends coreClient.OperationOptions {
2812
- }
2813
-
2814
- /** Contains response data for the getAccountInfo operation. */
2815
- declare type BlobGetAccountInfoResponse = BlobGetAccountInfoHeaders;
2816
-
2817
2249
  /** Defines headers for Blob_getProperties operation. */
2818
2250
  export declare interface BlobGetPropertiesHeaders {
2819
2251
  /** Returns the date and time the blob was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
@@ -2921,24 +2353,6 @@ export declare interface BlobGetPropertiesHeaders {
2921
2353
  errorCode?: string;
2922
2354
  }
2923
2355
 
2924
- /** Optional parameters. */
2925
- declare interface BlobGetPropertiesOptionalParams extends coreClient.OperationOptions {
2926
- /** Parameter group */
2927
- leaseAccessConditions?: LeaseAccessConditions;
2928
- /** Parameter group */
2929
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
2930
- /** Parameter group */
2931
- cpkInfo?: CpkInfo;
2932
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
2933
- timeoutInSeconds?: number;
2934
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
2935
- requestId?: string;
2936
- /** The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a> */
2937
- snapshot?: string;
2938
- /** The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. */
2939
- versionId?: string;
2940
- }
2941
-
2942
2356
  /**
2943
2357
  * Options to configure the {@link BlobClient.getProperties} operation.
2944
2358
  */
@@ -2973,10 +2387,13 @@ export declare interface BlobGetPropertiesResponse extends BlobGetPropertiesResp
2973
2387
  }
2974
2388
 
2975
2389
  /** Contains response data for the getProperties operation. */
2976
- declare type BlobGetPropertiesResponse_2 = BlobGetPropertiesHeaders;
2977
-
2978
- /** Contains response data for the getProperties operation. */
2979
- export declare type BlobGetPropertiesResponseModel = WithResponse<BlobGetPropertiesHeaders, BlobGetPropertiesHeaders>;
2390
+ export declare type BlobGetPropertiesResponseModel = BlobGetPropertiesHeaders & {
2391
+ /** The underlying HTTP response. */
2392
+ _response: coreHttp.HttpResponse & {
2393
+ /** The parsed HTTP response headers. */
2394
+ parsedHeaders: BlobGetPropertiesHeaders;
2395
+ };
2396
+ };
2980
2397
 
2981
2398
  /** Defines headers for Blob_getTags operation. */
2982
2399
  export declare interface BlobGetTagsHeaders {
@@ -2992,22 +2409,6 @@ export declare interface BlobGetTagsHeaders {
2992
2409
  errorCode?: string;
2993
2410
  }
2994
2411
 
2995
- /** Optional parameters. */
2996
- declare interface BlobGetTagsOptionalParams extends coreClient.OperationOptions {
2997
- /** Parameter group */
2998
- leaseAccessConditions?: LeaseAccessConditions;
2999
- /** Parameter group */
3000
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
3001
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
3002
- timeoutInSeconds?: number;
3003
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
3004
- requestId?: string;
3005
- /** The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a> */
3006
- snapshot?: string;
3007
- /** The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. */
3008
- versionId?: string;
3009
- }
3010
-
3011
2412
  /**
3012
2413
  * Options to configure the {@link BlobClient.getTags} operation.
3013
2414
  */
@@ -3026,12 +2427,27 @@ export declare interface BlobGetTagsOptions extends CommonOptions {
3026
2427
  /**
3027
2428
  * Contains response data for the {@link BlobClient.getTags} operation.
3028
2429
  */
3029
- export declare type BlobGetTagsResponse = WithResponse<{
2430
+ export declare type BlobGetTagsResponse = {
3030
2431
  tags: Tags;
3031
- } & BlobGetTagsHeaders, BlobGetTagsHeaders, BlobTags>;
3032
-
3033
- /** Contains response data for the getTags operation. */
3034
- declare type BlobGetTagsResponse_2 = BlobGetTagsHeaders & BlobTags;
2432
+ } & BlobGetTagsHeaders & {
2433
+ /**
2434
+ * The underlying HTTP response.
2435
+ */
2436
+ _response: HttpResponse & {
2437
+ /**
2438
+ * The parsed HTTP response headers.
2439
+ */
2440
+ parsedHeaders: BlobGetTagsHeaders;
2441
+ /**
2442
+ * The response body as text (string format)
2443
+ */
2444
+ bodyAsText: string;
2445
+ /**
2446
+ * The response body as parsed JSON or XML
2447
+ */
2448
+ parsedBody: BlobTags;
2449
+ };
2450
+ };
3035
2451
 
3036
2452
  /**
3037
2453
  * An interface representing BlobHierarchyListSegment.
@@ -3041,11 +2457,6 @@ export declare interface BlobHierarchyListSegment {
3041
2457
  blobItems: BlobItem[];
3042
2458
  }
3043
2459
 
3044
- declare interface BlobHierarchyListSegment_2 {
3045
- blobPrefixes?: BlobPrefix_2[];
3046
- blobItems: BlobItemInternal_2[];
3047
- }
3048
-
3049
2460
  export declare interface BlobHierarchyListSegmentModel {
3050
2461
  blobPrefixes?: BlobPrefix[];
3051
2462
  blobItems: BlobItemInternal[];
@@ -3125,29 +2536,6 @@ export declare interface BlobItemInternal {
3125
2536
  hasVersionsOnly?: boolean;
3126
2537
  }
3127
2538
 
3128
- /** An Azure Storage blob */
3129
- declare interface BlobItemInternal_2 {
3130
- name: BlobName;
3131
- deleted: boolean;
3132
- snapshot: string;
3133
- versionId?: string;
3134
- isCurrentVersion?: boolean;
3135
- /** Properties of a blob */
3136
- properties: BlobProperties;
3137
- /** Dictionary of <string> */
3138
- metadata?: {
3139
- [propertyName: string]: string;
3140
- };
3141
- /** Blob tags */
3142
- blobTags?: BlobTags;
3143
- /** Dictionary of <string> */
3144
- objectReplicationMetadata?: {
3145
- [propertyName: string]: string;
3146
- };
3147
- /** Inactive root blobs which have any versions would have such tag with value true. */
3148
- hasVersionsOnly?: boolean;
3149
- }
3150
-
3151
2539
  /**
3152
2540
  * A client that manages leases for a {@link ContainerClient} or a {@link BlobClient}.
3153
2541
  */
@@ -3233,21 +2621,10 @@ export declare class BlobLeaseClient {
3233
2621
  breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>;
3234
2622
  }
3235
2623
 
3236
- declare interface BlobName {
3237
- /** Indicates if the blob name is encoded. */
3238
- encoded?: boolean;
3239
- /** The name of the blob. */
3240
- content?: string;
3241
- }
3242
-
3243
2624
  export declare interface BlobPrefix {
3244
2625
  name: string;
3245
2626
  }
3246
2627
 
3247
- declare interface BlobPrefix_2 {
3248
- name: BlobName;
3249
- }
3250
-
3251
2628
  /** Properties of a blob */
3252
2629
  export declare interface BlobProperties {
3253
2630
  createdOn?: Date;
@@ -3478,24 +2855,6 @@ export declare interface BlobQueryJsonTextConfiguration {
3478
2855
  kind: "json";
3479
2856
  }
3480
2857
 
3481
- /** Optional parameters. */
3482
- declare interface BlobQueryOptionalParams extends coreClient.OperationOptions {
3483
- /** Parameter group */
3484
- leaseAccessConditions?: LeaseAccessConditions;
3485
- /** Parameter group */
3486
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
3487
- /** Parameter group */
3488
- cpkInfo?: CpkInfo;
3489
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
3490
- timeoutInSeconds?: number;
3491
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
3492
- requestId?: string;
3493
- /** The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a> */
3494
- snapshot?: string;
3495
- /** the query request */
3496
- queryRequest?: QueryRequest;
3497
- }
3498
-
3499
2858
  /**
3500
2859
  * Options to query blob with Parquet format. Only valid for {@link BlockBlobQueryOptions.inputTextConfiguration}.
3501
2860
  */
@@ -3507,7 +2866,7 @@ export declare interface BlobQueryParquetConfiguration {
3507
2866
  }
3508
2867
 
3509
2868
  /** Contains response data for the query operation. */
3510
- export declare type BlobQueryResponseInternal = BlobQueryHeaders & {
2869
+ export declare type BlobQueryResponseModel = BlobQueryHeaders & {
3511
2870
  /**
3512
2871
  * BROWSER ONLY
3513
2872
  *
@@ -3522,37 +2881,13 @@ export declare type BlobQueryResponseInternal = BlobQueryHeaders & {
3522
2881
  * Always `undefined` in the browser.
3523
2882
  */
3524
2883
  readableStreamBody?: NodeJS.ReadableStream;
2884
+ /** The underlying HTTP response. */
2885
+ _response: coreHttp.HttpResponse & {
2886
+ /** The parsed HTTP response headers. */
2887
+ parsedHeaders: BlobQueryHeaders;
2888
+ };
3525
2889
  };
3526
2890
 
3527
- /** Contains response data for the query operation. */
3528
- export declare type BlobQueryResponseModel = WithResponse<BlobQueryResponseInternal, BlobQueryHeaders>;
3529
-
3530
- /** Defines headers for Blob_releaseLease operation. */
3531
- declare interface BlobReleaseLeaseHeaders {
3532
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
3533
- etag?: string;
3534
- /** Returns the date and time the blob was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
3535
- lastModified?: Date;
3536
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
3537
- clientRequestId?: string;
3538
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
3539
- requestId?: string;
3540
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
3541
- version?: string;
3542
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
3543
- date?: Date;
3544
- }
3545
-
3546
- /** Optional parameters. */
3547
- declare interface BlobReleaseLeaseOptionalParams extends coreClient.OperationOptions {
3548
- /** Parameter group */
3549
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
3550
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
3551
- timeoutInSeconds?: number;
3552
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
3553
- requestId?: string;
3554
- }
3555
-
3556
2891
  /**
3557
2892
  * Options to configure Blob - Release Lease operation.
3558
2893
  */
@@ -3568,37 +2903,6 @@ export declare interface BlobReleaseLeaseOptions extends CommonOptions {
3568
2903
  conditions?: ModifiedAccessConditions;
3569
2904
  }
3570
2905
 
3571
- /** Contains response data for the releaseLease operation. */
3572
- declare type BlobReleaseLeaseResponse = BlobReleaseLeaseHeaders;
3573
-
3574
- /** Defines headers for Blob_renewLease operation. */
3575
- declare interface BlobRenewLeaseHeaders {
3576
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
3577
- etag?: string;
3578
- /** Returns the date and time the blob was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
3579
- lastModified?: Date;
3580
- /** Uniquely identifies a blobs' lease */
3581
- leaseId?: string;
3582
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
3583
- clientRequestId?: string;
3584
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
3585
- requestId?: string;
3586
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
3587
- version?: string;
3588
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
3589
- date?: Date;
3590
- }
3591
-
3592
- /** Optional parameters. */
3593
- declare interface BlobRenewLeaseOptionalParams extends coreClient.OperationOptions {
3594
- /** Parameter group */
3595
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
3596
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
3597
- timeoutInSeconds?: number;
3598
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
3599
- requestId?: string;
3600
- }
3601
-
3602
2906
  /**
3603
2907
  * Options to configure Blob - Renew Lease operation.
3604
2908
  */
@@ -3614,9 +2918,6 @@ export declare interface BlobRenewLeaseOptions extends CommonOptions {
3614
2918
  conditions?: ModifiedAccessConditions;
3615
2919
  }
3616
2920
 
3617
- /** Contains response data for the renewLease operation. */
3618
- declare type BlobRenewLeaseResponse = BlobRenewLeaseHeaders;
3619
-
3620
2921
  /**
3621
2922
  * standard HTTP conditional headers, tags condition and lease condition
3622
2923
  */
@@ -4300,35 +3601,6 @@ export declare interface BlobServiceStatistics {
4300
3601
  geoReplication?: GeoReplication;
4301
3602
  }
4302
3603
 
4303
- /** Defines headers for Blob_setExpiry operation. */
4304
- declare interface BlobSetExpiryHeaders {
4305
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
4306
- etag?: string;
4307
- /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
4308
- lastModified?: Date;
4309
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
4310
- clientRequestId?: string;
4311
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
4312
- requestId?: string;
4313
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
4314
- version?: string;
4315
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
4316
- date?: Date;
4317
- }
4318
-
4319
- /** Optional parameters. */
4320
- declare interface BlobSetExpiryOptionalParams extends coreClient.OperationOptions {
4321
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4322
- timeoutInSeconds?: number;
4323
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4324
- requestId?: string;
4325
- /** The time to set the blob to expiry */
4326
- expiresOn?: string;
4327
- }
4328
-
4329
- /** Contains response data for the setExpiry operation. */
4330
- declare type BlobSetExpiryResponse = BlobSetExpiryHeaders;
4331
-
4332
3604
  /** Defines headers for Blob_setHttpHeaders operation. */
4333
3605
  export declare interface BlobSetHTTPHeadersHeaders {
4334
3606
  /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
@@ -4349,20 +3621,6 @@ export declare interface BlobSetHTTPHeadersHeaders {
4349
3621
  errorCode?: string;
4350
3622
  }
4351
3623
 
4352
- /** Optional parameters. */
4353
- declare interface BlobSetHttpHeadersOptionalParams extends coreClient.OperationOptions {
4354
- /** Parameter group */
4355
- leaseAccessConditions?: LeaseAccessConditions;
4356
- /** Parameter group */
4357
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
4358
- /** Parameter group */
4359
- blobHttpHeaders?: BlobHTTPHeaders;
4360
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4361
- timeoutInSeconds?: number;
4362
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4363
- requestId?: string;
4364
- }
4365
-
4366
3624
  /**
4367
3625
  * Options to configure the {@link BlobClient.setHTTPHeaders} operation.
4368
3626
  */
@@ -4383,10 +3641,13 @@ export declare interface BlobSetHTTPHeadersOptions extends CommonOptions {
4383
3641
  }
4384
3642
 
4385
3643
  /** Contains response data for the setHttpHeaders operation. */
4386
- export declare type BlobSetHTTPHeadersResponse = WithResponse<BlobSetHTTPHeadersHeaders, BlobSetHTTPHeadersHeaders>;
4387
-
4388
- /** Contains response data for the setHttpHeaders operation. */
4389
- declare type BlobSetHttpHeadersResponse = BlobSetHTTPHeadersHeaders;
3644
+ export declare type BlobSetHTTPHeadersResponse = BlobSetHTTPHeadersHeaders & {
3645
+ /** The underlying HTTP response. */
3646
+ _response: coreHttp.HttpResponse & {
3647
+ /** The parsed HTTP response headers. */
3648
+ parsedHeaders: BlobSetHTTPHeadersHeaders;
3649
+ };
3650
+ };
4390
3651
 
4391
3652
  /** Defines headers for Blob_setImmutabilityPolicy operation. */
4392
3653
  export declare interface BlobSetImmutabilityPolicyHeaders {
@@ -4404,20 +3665,6 @@ export declare interface BlobSetImmutabilityPolicyHeaders {
4404
3665
  immutabilityPolicyMode?: BlobImmutabilityPolicyMode;
4405
3666
  }
4406
3667
 
4407
- /** Optional parameters. */
4408
- declare interface BlobSetImmutabilityPolicyOptionalParams extends coreClient.OperationOptions {
4409
- /** Parameter group */
4410
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
4411
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4412
- timeoutInSeconds?: number;
4413
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4414
- requestId?: string;
4415
- /** Specifies the date time when the blobs immutability policy is set to expire. */
4416
- immutabilityPolicyExpiry?: Date;
4417
- /** Specifies the immutability policy mode to set on the blob. */
4418
- immutabilityPolicyMode?: BlobImmutabilityPolicyMode;
4419
- }
4420
-
4421
3668
  /**
4422
3669
  * Options for setting immutability policy {@link BlobClient.setImmutabilityPolicy} operation.
4423
3670
  */
@@ -4431,10 +3678,13 @@ export declare interface BlobSetImmutabilityPolicyOptions extends CommonOptions
4431
3678
  }
4432
3679
 
4433
3680
  /** Contains response data for the setImmutabilityPolicy operation. */
4434
- export declare type BlobSetImmutabilityPolicyResponse = WithResponse<BlobSetImmutabilityPolicyHeaders, BlobSetImmutabilityPolicyHeaders>;
4435
-
4436
- /** Contains response data for the setImmutabilityPolicy operation. */
4437
- declare type BlobSetImmutabilityPolicyResponse_2 = BlobSetImmutabilityPolicyHeaders;
3681
+ export declare type BlobSetImmutabilityPolicyResponse = BlobSetImmutabilityPolicyHeaders & {
3682
+ /** The underlying HTTP response. */
3683
+ _response: coreHttp.HttpResponse & {
3684
+ /** The parsed HTTP response headers. */
3685
+ parsedHeaders: BlobSetImmutabilityPolicyHeaders;
3686
+ };
3687
+ };
4438
3688
 
4439
3689
  /** Defines headers for Blob_setLegalHold operation. */
4440
3690
  export declare interface BlobSetLegalHoldHeaders {
@@ -4450,14 +3700,6 @@ export declare interface BlobSetLegalHoldHeaders {
4450
3700
  legalHold?: boolean;
4451
3701
  }
4452
3702
 
4453
- /** Optional parameters. */
4454
- declare interface BlobSetLegalHoldOptionalParams extends coreClient.OperationOptions {
4455
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4456
- timeoutInSeconds?: number;
4457
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4458
- requestId?: string;
4459
- }
4460
-
4461
3703
  /**
4462
3704
  * Options for setting legal hold {@link BlobClient.setLegalHold} operation.
4463
3705
  */
@@ -4470,10 +3712,13 @@ export declare interface BlobSetLegalHoldOptions extends CommonOptions {
4470
3712
  }
4471
3713
 
4472
3714
  /** Contains response data for the setLegalHold operation. */
4473
- export declare type BlobSetLegalHoldResponse = WithResponse<BlobSetLegalHoldHeaders, BlobSetLegalHoldHeaders>;
4474
-
4475
- /** Contains response data for the setLegalHold operation. */
4476
- declare type BlobSetLegalHoldResponse_2 = BlobSetLegalHoldHeaders;
3715
+ export declare type BlobSetLegalHoldResponse = BlobSetLegalHoldHeaders & {
3716
+ /** The underlying HTTP response. */
3717
+ _response: coreHttp.HttpResponse & {
3718
+ /** The parsed HTTP response headers. */
3719
+ parsedHeaders: BlobSetLegalHoldHeaders;
3720
+ };
3721
+ };
4477
3722
 
4478
3723
  /** Defines headers for Blob_setMetadata operation. */
4479
3724
  export declare interface BlobSetMetadataHeaders {
@@ -4501,26 +3746,6 @@ export declare interface BlobSetMetadataHeaders {
4501
3746
  errorCode?: string;
4502
3747
  }
4503
3748
 
4504
- /** Optional parameters. */
4505
- declare interface BlobSetMetadataOptionalParams extends coreClient.OperationOptions {
4506
- /** Parameter group */
4507
- leaseAccessConditions?: LeaseAccessConditions;
4508
- /** Parameter group */
4509
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
4510
- /** Parameter group */
4511
- cpkInfo?: CpkInfo;
4512
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4513
- timeoutInSeconds?: number;
4514
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4515
- requestId?: string;
4516
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
4517
- metadata?: {
4518
- [propertyName: string]: string;
4519
- };
4520
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
4521
- encryptionScope?: string;
4522
- }
4523
-
4524
3749
  /**
4525
3750
  * Options to configure the {@link BlobClient.setMetadata} operation.
4526
3751
  */
@@ -4548,10 +3773,13 @@ export declare interface BlobSetMetadataOptions extends CommonOptions {
4548
3773
  }
4549
3774
 
4550
3775
  /** Contains response data for the setMetadata operation. */
4551
- export declare type BlobSetMetadataResponse = WithResponse<BlobSetMetadataHeaders, BlobSetMetadataHeaders>;
4552
-
4553
- /** Contains response data for the setMetadata operation. */
4554
- declare type BlobSetMetadataResponse_2 = BlobSetMetadataHeaders;
3776
+ export declare type BlobSetMetadataResponse = BlobSetMetadataHeaders & {
3777
+ /** The underlying HTTP response. */
3778
+ _response: coreHttp.HttpResponse & {
3779
+ /** The parsed HTTP response headers. */
3780
+ parsedHeaders: BlobSetMetadataHeaders;
3781
+ };
3782
+ };
4555
3783
 
4556
3784
  /** Defines headers for Blob_setTags operation. */
4557
3785
  export declare interface BlobSetTagsHeaders {
@@ -4567,26 +3795,6 @@ export declare interface BlobSetTagsHeaders {
4567
3795
  errorCode?: string;
4568
3796
  }
4569
3797
 
4570
- /** Optional parameters. */
4571
- declare interface BlobSetTagsOptionalParams extends coreClient.OperationOptions {
4572
- /** Parameter group */
4573
- leaseAccessConditions?: LeaseAccessConditions;
4574
- /** Parameter group */
4575
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
4576
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4577
- timeoutInSeconds?: number;
4578
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4579
- requestId?: string;
4580
- /** The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. */
4581
- versionId?: string;
4582
- /** Blob tags */
4583
- tags?: BlobTags;
4584
- /** Specify the transactional md5 for the body, to be validated by the service. */
4585
- transactionalContentMD5?: Uint8Array;
4586
- /** Specify the transactional crc64 for the body, to be validated by the service. */
4587
- transactionalContentCrc64?: Uint8Array;
4588
- }
4589
-
4590
3798
  /**
4591
3799
  * Options to configure the {@link BlobClient.setTags} operation.
4592
3800
  */
@@ -4603,10 +3811,13 @@ export declare interface BlobSetTagsOptions extends CommonOptions {
4603
3811
  }
4604
3812
 
4605
3813
  /** Contains response data for the setTags operation. */
4606
- export declare type BlobSetTagsResponse = WithResponse<BlobSetTagsHeaders, BlobSetTagsHeaders>;
4607
-
4608
- /** Contains response data for the setTags operation. */
4609
- declare type BlobSetTagsResponse_2 = BlobSetTagsHeaders;
3814
+ export declare type BlobSetTagsResponse = BlobSetTagsHeaders & {
3815
+ /** The underlying HTTP response. */
3816
+ _response: coreHttp.HttpResponse & {
3817
+ /** The parsed HTTP response headers. */
3818
+ parsedHeaders: BlobSetTagsHeaders;
3819
+ };
3820
+ };
4610
3821
 
4611
3822
  /** Defines headers for Blob_setTier operation. */
4612
3823
  export declare interface BlobSetTierHeaders {
@@ -4620,24 +3831,6 @@ export declare interface BlobSetTierHeaders {
4620
3831
  errorCode?: string;
4621
3832
  }
4622
3833
 
4623
- /** Optional parameters. */
4624
- declare interface BlobSetTierOptionalParams extends coreClient.OperationOptions {
4625
- /** Parameter group */
4626
- leaseAccessConditions?: LeaseAccessConditions;
4627
- /** Parameter group */
4628
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
4629
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4630
- timeoutInSeconds?: number;
4631
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4632
- requestId?: string;
4633
- /** The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a> */
4634
- snapshot?: string;
4635
- /** The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. */
4636
- versionId?: string;
4637
- /** Optional: Indicates the priority with which to rehydrate an archived blob. */
4638
- rehydratePriority?: RehydratePriority;
4639
- }
4640
-
4641
3834
  /**
4642
3835
  * Options to configure the {@link BlobClient.setAccessTier} operation.
4643
3836
  */
@@ -4660,10 +3853,13 @@ export declare interface BlobSetTierOptions extends CommonOptions {
4660
3853
  }
4661
3854
 
4662
3855
  /** Contains response data for the setTier operation. */
4663
- export declare type BlobSetTierResponse = WithResponse<BlobSetTierHeaders, BlobSetTierHeaders>;
4664
-
4665
- /** Contains response data for the setTier operation. */
4666
- declare type BlobSetTierResponse_2 = BlobSetTierHeaders;
3856
+ export declare type BlobSetTierResponse = BlobSetTierHeaders & {
3857
+ /** The underlying HTTP response. */
3858
+ _response: coreHttp.HttpResponse & {
3859
+ /** The parsed HTTP response headers. */
3860
+ parsedHeaders: BlobSetTierHeaders;
3861
+ };
3862
+ };
4667
3863
 
4668
3864
  /** Defines headers for Blob_startCopyFromURL operation. */
4669
3865
  export declare interface BlobStartCopyFromURLHeaders {
@@ -4689,38 +3885,6 @@ export declare interface BlobStartCopyFromURLHeaders {
4689
3885
  errorCode?: string;
4690
3886
  }
4691
3887
 
4692
- /** Optional parameters. */
4693
- declare interface BlobStartCopyFromURLOptionalParams extends coreClient.OperationOptions {
4694
- /** Parameter group */
4695
- leaseAccessConditions?: LeaseAccessConditions;
4696
- /** Parameter group */
4697
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
4698
- /** Parameter group */
4699
- sourceModifiedAccessConditions?: SourceModifiedAccessConditions;
4700
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4701
- timeoutInSeconds?: number;
4702
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4703
- requestId?: string;
4704
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
4705
- metadata?: {
4706
- [propertyName: string]: string;
4707
- };
4708
- /** Specifies the date time when the blobs immutability policy is set to expire. */
4709
- immutabilityPolicyExpiry?: Date;
4710
- /** Specifies the immutability policy mode to set on the blob. */
4711
- immutabilityPolicyMode?: BlobImmutabilityPolicyMode;
4712
- /** Optional. Indicates the tier to be set on the blob. */
4713
- tier?: AccessTier;
4714
- /** Optional: Indicates the priority with which to rehydrate an archived blob. */
4715
- rehydratePriority?: RehydratePriority;
4716
- /** Optional. Used to set blob tags in various blob operations. */
4717
- blobTagsString?: string;
4718
- /** Overrides the sealed state of the destination blob. Service version 2019-12-12 and newer. */
4719
- sealBlob?: boolean;
4720
- /** Specified if a legal hold should be set on the blob. */
4721
- legalHold?: boolean;
4722
- }
4723
-
4724
3888
  /**
4725
3889
  * Options to configure the {@link BlobClient.beginCopyFromURL} operation.
4726
3890
  */
@@ -4775,10 +3939,13 @@ export declare interface BlobStartCopyFromURLOptions extends CommonOptions {
4775
3939
  }
4776
3940
 
4777
3941
  /** Contains response data for the startCopyFromURL operation. */
4778
- export declare type BlobStartCopyFromURLResponse = WithResponse<BlobStartCopyFromURLHeaders, BlobStartCopyFromURLHeaders>;
4779
-
4780
- /** Contains response data for the startCopyFromURL operation. */
4781
- declare type BlobStartCopyFromURLResponse_2 = BlobStartCopyFromURLHeaders;
3942
+ export declare type BlobStartCopyFromURLResponse = BlobStartCopyFromURLHeaders & {
3943
+ /** The underlying HTTP response. */
3944
+ _response: coreHttp.HttpResponse & {
3945
+ /** The parsed HTTP response headers. */
3946
+ parsedHeaders: BlobStartCopyFromURLHeaders;
3947
+ };
3948
+ };
4782
3949
 
4783
3950
  /**
4784
3951
  * Options to configure the {@link BlobClient.syncCopyFromURL} operation.
@@ -4867,14 +4034,6 @@ export declare interface BlobUndeleteHeaders {
4867
4034
  errorCode?: string;
4868
4035
  }
4869
4036
 
4870
- /** Optional parameters. */
4871
- declare interface BlobUndeleteOptionalParams extends coreClient.OperationOptions {
4872
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
4873
- timeoutInSeconds?: number;
4874
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
4875
- requestId?: string;
4876
- }
4877
-
4878
4037
  /**
4879
4038
  * Options to configure the {@link BlobClient.undelete} operation.
4880
4039
  */
@@ -4891,16 +4050,24 @@ export declare interface BlobUndeleteOptions extends CommonOptions {
4891
4050
  }
4892
4051
 
4893
4052
  /** Contains response data for the undelete operation. */
4894
- export declare type BlobUndeleteResponse = WithResponse<BlobUndeleteHeaders, BlobUndeleteHeaders>;
4895
-
4896
- /** Contains response data for the undelete operation. */
4897
- declare type BlobUndeleteResponse_2 = BlobUndeleteHeaders;
4053
+ export declare type BlobUndeleteResponse = BlobUndeleteHeaders & {
4054
+ /** The underlying HTTP response. */
4055
+ _response: coreHttp.HttpResponse & {
4056
+ /** The parsed HTTP response headers. */
4057
+ parsedHeaders: BlobUndeleteHeaders;
4058
+ };
4059
+ };
4898
4060
 
4899
4061
  /**
4900
4062
  * Response type for {@link BlockBlobClient.uploadFile}, {@link BlockBlobClient.uploadStream}, and
4901
4063
  * {@link BlockBlobClient.uploadBrowserDate}.
4902
4064
  */
4903
- export declare type BlobUploadCommonResponse = WithResponse<BlockBlobUploadHeaders>;
4065
+ export declare type BlobUploadCommonResponse = BlockBlobUploadHeaders & {
4066
+ /**
4067
+ * The underlying HTTP response.
4068
+ */
4069
+ _response: HttpResponse;
4070
+ };
4904
4071
 
4905
4072
  /** Represents a single block in a block blob. It describes the block's ID and size. */
4906
4073
  export declare interface Block {
@@ -4910,75 +4077,6 @@ export declare interface Block {
4910
4077
  size: number;
4911
4078
  }
4912
4079
 
4913
- /** Interface representing a BlockBlob. */
4914
- declare interface BlockBlob {
4915
- /**
4916
- * The Upload Block Blob operation updates the content of an existing block blob. Updating an existing
4917
- * block blob overwrites any existing metadata on the blob. Partial updates are not supported with Put
4918
- * Blob; the content of the existing blob is overwritten with the content of the new blob. To perform a
4919
- * partial update of the content of a block blob, use the Put Block List operation.
4920
- * @param contentLength The length of the request.
4921
- * @param body Initial data
4922
- * @param options The options parameters.
4923
- */
4924
- upload(contentLength: number, body: coreRestPipeline.RequestBodyType, options?: BlockBlobUploadOptionalParams): Promise<BlockBlobUploadResponse_2>;
4925
- /**
4926
- * The Put Blob from URL operation creates a new Block Blob where the contents of the blob are read
4927
- * from a given URL. This API is supported beginning with the 2020-04-08 version. Partial updates are
4928
- * not supported with Put Blob from URL; the content of an existing blob is overwritten with the
4929
- * content of the new blob. To perform partial updates to a block blob’s contents using a source URL,
4930
- * use the Put Block from URL API in conjunction with Put Block List.
4931
- * @param contentLength The length of the request.
4932
- * @param copySource Specifies the name of the source page blob snapshot. This value is a URL of up to
4933
- * 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would
4934
- * appear in a request URI. The source blob must either be public or must be authenticated via a shared
4935
- * access signature.
4936
- * @param options The options parameters.
4937
- */
4938
- putBlobFromUrl(contentLength: number, copySource: string, options?: BlockBlobPutBlobFromUrlOptionalParams): Promise<BlockBlobPutBlobFromUrlResponse_2>;
4939
- /**
4940
- * The Stage Block operation creates a new block to be committed as part of a blob
4941
- * @param blockId A valid Base64 string value that identifies the block. Prior to encoding, the string
4942
- * must be less than or equal to 64 bytes in size. For a given blob, the length of the value specified
4943
- * for the blockid parameter must be the same size for each block.
4944
- * @param contentLength The length of the request.
4945
- * @param body Initial data
4946
- * @param options The options parameters.
4947
- */
4948
- stageBlock(blockId: string, contentLength: number, body: coreRestPipeline.RequestBodyType, options?: BlockBlobStageBlockOptionalParams): Promise<BlockBlobStageBlockResponse_2>;
4949
- /**
4950
- * The Stage Block operation creates a new block to be committed as part of a blob where the contents
4951
- * are read from a URL.
4952
- * @param blockId A valid Base64 string value that identifies the block. Prior to encoding, the string
4953
- * must be less than or equal to 64 bytes in size. For a given blob, the length of the value specified
4954
- * for the blockid parameter must be the same size for each block.
4955
- * @param contentLength The length of the request.
4956
- * @param sourceUrl Specify a URL to the copy source.
4957
- * @param options The options parameters.
4958
- */
4959
- stageBlockFromURL(blockId: string, contentLength: number, sourceUrl: string, options?: BlockBlobStageBlockFromURLOptionalParams): Promise<BlockBlobStageBlockFromURLResponse_2>;
4960
- /**
4961
- * The Commit Block List operation writes a blob by specifying the list of block IDs that make up the
4962
- * blob. In order to be written as part of a blob, a block must have been successfully written to the
4963
- * server in a prior Put Block operation. You can call Put Block List to update a blob by uploading
4964
- * only those blocks that have changed, then committing the new and existing blocks together. You can
4965
- * do this by specifying whether to commit a block from the committed block list or from the
4966
- * uncommitted block list, or to commit the most recently uploaded version of the block, whichever list
4967
- * it may belong to.
4968
- * @param blocks Blob Blocks.
4969
- * @param options The options parameters.
4970
- */
4971
- commitBlockList(blocks: BlockLookupList, options?: BlockBlobCommitBlockListOptionalParams): Promise<BlockBlobCommitBlockListResponse_2>;
4972
- /**
4973
- * The Get Block List operation retrieves the list of blocks that have been uploaded as part of a block
4974
- * blob
4975
- * @param listType Specifies whether to return the list of committed blocks, the list of uncommitted
4976
- * blocks, or both lists together.
4977
- * @param options The options parameters.
4978
- */
4979
- getBlockList(listType: BlockListType, options?: BlockBlobGetBlockListOptionalParams): Promise<BlockBlobGetBlockListResponseInternal>;
4980
- }
4981
-
4982
4080
  /**
4983
4081
  * BlockBlobClient defines a set of operations applicable to block blobs.
4984
4082
  */
@@ -5305,42 +4403,6 @@ export declare interface BlockBlobCommitBlockListHeaders {
5305
4403
  errorCode?: string;
5306
4404
  }
5307
4405
 
5308
- /** Optional parameters. */
5309
- declare interface BlockBlobCommitBlockListOptionalParams extends coreClient.OperationOptions {
5310
- /** Parameter group */
5311
- leaseAccessConditions?: LeaseAccessConditions;
5312
- /** Parameter group */
5313
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
5314
- /** Parameter group */
5315
- cpkInfo?: CpkInfo;
5316
- /** Parameter group */
5317
- blobHttpHeaders?: BlobHTTPHeaders;
5318
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
5319
- timeoutInSeconds?: number;
5320
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
5321
- requestId?: string;
5322
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
5323
- metadata?: {
5324
- [propertyName: string]: string;
5325
- };
5326
- /** Specifies the date time when the blobs immutability policy is set to expire. */
5327
- immutabilityPolicyExpiry?: Date;
5328
- /** Specifies the immutability policy mode to set on the blob. */
5329
- immutabilityPolicyMode?: BlobImmutabilityPolicyMode;
5330
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
5331
- encryptionScope?: string;
5332
- /** Optional. Indicates the tier to be set on the blob. */
5333
- tier?: AccessTier;
5334
- /** Optional. Used to set blob tags in various blob operations. */
5335
- blobTagsString?: string;
5336
- /** Specified if a legal hold should be set on the blob. */
5337
- legalHold?: boolean;
5338
- /** Specify the transactional md5 for the body, to be validated by the service. */
5339
- transactionalContentMD5?: Uint8Array;
5340
- /** Specify the transactional crc64 for the body, to be validated by the service. */
5341
- transactionalContentCrc64?: Uint8Array;
5342
- }
5343
-
5344
4406
  /**
5345
4407
  * Options to configure {@link BlockBlobClient.commitBlockList} operation.
5346
4408
  */
@@ -5397,10 +4459,13 @@ export declare interface BlockBlobCommitBlockListOptions extends CommonOptions {
5397
4459
  }
5398
4460
 
5399
4461
  /** Contains response data for the commitBlockList operation. */
5400
- export declare type BlockBlobCommitBlockListResponse = WithResponse<BlockBlobCommitBlockListHeaders, BlockBlobCommitBlockListHeaders>;
5401
-
5402
- /** Contains response data for the commitBlockList operation. */
5403
- declare type BlockBlobCommitBlockListResponse_2 = BlockBlobCommitBlockListHeaders;
4462
+ export declare type BlockBlobCommitBlockListResponse = BlockBlobCommitBlockListHeaders & {
4463
+ /** The underlying HTTP response. */
4464
+ _response: coreHttp.HttpResponse & {
4465
+ /** The parsed HTTP response headers. */
4466
+ parsedHeaders: BlockBlobCommitBlockListHeaders;
4467
+ };
4468
+ };
5404
4469
 
5405
4470
  /** Defines headers for BlockBlob_getBlockList operation. */
5406
4471
  export declare interface BlockBlobGetBlockListHeaders {
@@ -5424,20 +4489,6 @@ export declare interface BlockBlobGetBlockListHeaders {
5424
4489
  errorCode?: string;
5425
4490
  }
5426
4491
 
5427
- /** Optional parameters. */
5428
- declare interface BlockBlobGetBlockListOptionalParams extends coreClient.OperationOptions {
5429
- /** Parameter group */
5430
- leaseAccessConditions?: LeaseAccessConditions;
5431
- /** Parameter group */
5432
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
5433
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
5434
- timeoutInSeconds?: number;
5435
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
5436
- requestId?: string;
5437
- /** The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a> */
5438
- snapshot?: string;
5439
- }
5440
-
5441
4492
  /**
5442
4493
  * Options to configure {@link BlockBlobClient.getBlockList} operation.
5443
4494
  */
@@ -5455,10 +4506,17 @@ export declare interface BlockBlobGetBlockListOptions extends CommonOptions {
5455
4506
  }
5456
4507
 
5457
4508
  /** Contains response data for the getBlockList operation. */
5458
- export declare type BlockBlobGetBlockListResponse = WithResponse<BlockBlobGetBlockListResponseInternal, BlockBlobGetBlockListHeaders>;
5459
-
5460
- /** Contains response data for the getBlockList operation. */
5461
- export declare type BlockBlobGetBlockListResponseInternal = BlockBlobGetBlockListHeaders & BlockList;
4509
+ export declare type BlockBlobGetBlockListResponse = BlockBlobGetBlockListHeaders & BlockList & {
4510
+ /** The underlying HTTP response. */
4511
+ _response: coreHttp.HttpResponse & {
4512
+ /** The response body as text (string format) */
4513
+ bodyAsText: string;
4514
+ /** The response body as parsed JSON or XML */
4515
+ parsedBody: BlockList;
4516
+ /** The parsed HTTP response headers. */
4517
+ parsedHeaders: BlockBlobGetBlockListHeaders;
4518
+ };
4519
+ };
5462
4520
 
5463
4521
  /**
5464
4522
  * Option interface for {@link BlockBlobClient.uploadFile} and {@link BlockBlobClient.uploadSeekableStream}.
@@ -5551,49 +4609,14 @@ export declare interface BlockBlobPutBlobFromUrlHeaders {
5551
4609
  errorCode?: string;
5552
4610
  }
5553
4611
 
5554
- /** Optional parameters. */
5555
- declare interface BlockBlobPutBlobFromUrlOptionalParams extends coreClient.OperationOptions {
5556
- /** Parameter group */
5557
- leaseAccessConditions?: LeaseAccessConditions;
5558
- /** Parameter group */
5559
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
5560
- /** Parameter group */
5561
- cpkInfo?: CpkInfo;
5562
- /** Parameter group */
5563
- blobHttpHeaders?: BlobHTTPHeaders;
5564
- /** Parameter group */
5565
- sourceModifiedAccessConditions?: SourceModifiedAccessConditions;
5566
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
5567
- timeoutInSeconds?: number;
5568
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
5569
- requestId?: string;
5570
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
5571
- metadata?: {
5572
- [propertyName: string]: string;
4612
+ /** Contains response data for the putBlobFromUrl operation. */
4613
+ export declare type BlockBlobPutBlobFromUrlResponse = BlockBlobPutBlobFromUrlHeaders & {
4614
+ /** The underlying HTTP response. */
4615
+ _response: coreHttp.HttpResponse & {
4616
+ /** The parsed HTTP response headers. */
4617
+ parsedHeaders: BlockBlobPutBlobFromUrlHeaders;
5573
4618
  };
5574
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
5575
- encryptionScope?: string;
5576
- /** Optional. Indicates the tier to be set on the blob. */
5577
- tier?: AccessTier;
5578
- /** Optional. Used to set blob tags in various blob operations. */
5579
- blobTagsString?: string;
5580
- /** Specify the md5 calculated for the range of bytes that must be read from the copy source. */
5581
- sourceContentMD5?: Uint8Array;
5582
- /** Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source. */
5583
- copySourceAuthorization?: string;
5584
- /** Optional, default 'replace'. Indicates if source tags should be copied or replaced with the tags specified by x-ms-tags. */
5585
- copySourceTags?: BlobCopySourceTags;
5586
- /** Specify the transactional md5 for the body, to be validated by the service. */
5587
- transactionalContentMD5?: Uint8Array;
5588
- /** Optional, default is true. Indicates if properties from the source blob should be copied. */
5589
- copySourceBlobProperties?: boolean;
5590
- }
5591
-
5592
- /** Contains response data for the putBlobFromUrl operation. */
5593
- export declare type BlockBlobPutBlobFromUrlResponse = WithResponse<BlockBlobPutBlobFromUrlHeaders, BlockBlobPutBlobFromUrlHeaders>;
5594
-
5595
- /** Contains response data for the putBlobFromUrl operation. */
5596
- declare type BlockBlobPutBlobFromUrlResponse_2 = BlockBlobPutBlobFromUrlHeaders;
4619
+ };
5597
4620
 
5598
4621
  /**
5599
4622
  * Options to configure {@link BlockBlobClient.query} operation.
@@ -5654,30 +4677,6 @@ export declare interface BlockBlobStageBlockFromURLHeaders {
5654
4677
  errorCode?: string;
5655
4678
  }
5656
4679
 
5657
- /** Optional parameters. */
5658
- declare interface BlockBlobStageBlockFromURLOptionalParams extends coreClient.OperationOptions {
5659
- /** Parameter group */
5660
- leaseAccessConditions?: LeaseAccessConditions;
5661
- /** Parameter group */
5662
- cpkInfo?: CpkInfo;
5663
- /** Parameter group */
5664
- sourceModifiedAccessConditions?: SourceModifiedAccessConditions;
5665
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
5666
- timeoutInSeconds?: number;
5667
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
5668
- requestId?: string;
5669
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
5670
- encryptionScope?: string;
5671
- /** Specify the md5 calculated for the range of bytes that must be read from the copy source. */
5672
- sourceContentMD5?: Uint8Array;
5673
- /** Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source. */
5674
- copySourceAuthorization?: string;
5675
- /** Specify the crc64 calculated for the range of bytes that must be read from the copy source. */
5676
- sourceContentCrc64?: Uint8Array;
5677
- /** Bytes of source data in the specified range. */
5678
- sourceRange?: string;
5679
- }
5680
-
5681
4680
  /**
5682
4681
  * Options to configure {@link BlockBlobClient.stageBlockFromURL} operation.
5683
4682
  */
@@ -5731,10 +4730,13 @@ export declare interface BlockBlobStageBlockFromURLOptions extends CommonOptions
5731
4730
  }
5732
4731
 
5733
4732
  /** Contains response data for the stageBlockFromURL operation. */
5734
- export declare type BlockBlobStageBlockFromURLResponse = WithResponse<BlockBlobStageBlockFromURLHeaders, BlockBlobStageBlockFromURLHeaders>;
5735
-
5736
- /** Contains response data for the stageBlockFromURL operation. */
5737
- declare type BlockBlobStageBlockFromURLResponse_2 = BlockBlobStageBlockFromURLHeaders;
4733
+ export declare type BlockBlobStageBlockFromURLResponse = BlockBlobStageBlockFromURLHeaders & {
4734
+ /** The underlying HTTP response. */
4735
+ _response: coreHttp.HttpResponse & {
4736
+ /** The parsed HTTP response headers. */
4737
+ parsedHeaders: BlockBlobStageBlockFromURLHeaders;
4738
+ };
4739
+ };
5738
4740
 
5739
4741
  /** Defines headers for BlockBlob_stageBlock operation. */
5740
4742
  export declare interface BlockBlobStageBlockHeaders {
@@ -5760,24 +4762,6 @@ export declare interface BlockBlobStageBlockHeaders {
5760
4762
  errorCode?: string;
5761
4763
  }
5762
4764
 
5763
- /** Optional parameters. */
5764
- declare interface BlockBlobStageBlockOptionalParams extends coreClient.OperationOptions {
5765
- /** Parameter group */
5766
- leaseAccessConditions?: LeaseAccessConditions;
5767
- /** Parameter group */
5768
- cpkInfo?: CpkInfo;
5769
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
5770
- timeoutInSeconds?: number;
5771
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
5772
- requestId?: string;
5773
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
5774
- encryptionScope?: string;
5775
- /** Specify the transactional md5 for the body, to be validated by the service. */
5776
- transactionalContentMD5?: Uint8Array;
5777
- /** Specify the transactional crc64 for the body, to be validated by the service. */
5778
- transactionalContentCrc64?: Uint8Array;
5779
- }
5780
-
5781
4765
  /**
5782
4766
  * Options to configure {@link BlockBlobClient.stageBlock} operation.
5783
4767
  */
@@ -5824,10 +4808,13 @@ export declare interface BlockBlobStageBlockOptions extends CommonOptions {
5824
4808
  }
5825
4809
 
5826
4810
  /** Contains response data for the stageBlock operation. */
5827
- export declare type BlockBlobStageBlockResponse = WithResponse<BlockBlobStageBlockHeaders, BlockBlobStageBlockHeaders>;
5828
-
5829
- /** Contains response data for the stageBlock operation. */
5830
- declare type BlockBlobStageBlockResponse_2 = BlockBlobStageBlockHeaders;
4811
+ export declare type BlockBlobStageBlockResponse = BlockBlobStageBlockHeaders & {
4812
+ /** The underlying HTTP response. */
4813
+ _response: coreHttp.HttpResponse & {
4814
+ /** The parsed HTTP response headers. */
4815
+ parsedHeaders: BlockBlobStageBlockHeaders;
4816
+ };
4817
+ };
5831
4818
 
5832
4819
  /**
5833
4820
  * Options to configure {@link BlockBlobClient.syncUploadFromURL} operation.
@@ -5959,42 +4946,6 @@ export declare interface BlockBlobUploadHeaders {
5959
4946
  errorCode?: string;
5960
4947
  }
5961
4948
 
5962
- /** Optional parameters. */
5963
- declare interface BlockBlobUploadOptionalParams extends coreClient.OperationOptions {
5964
- /** Parameter group */
5965
- leaseAccessConditions?: LeaseAccessConditions;
5966
- /** Parameter group */
5967
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
5968
- /** Parameter group */
5969
- cpkInfo?: CpkInfo;
5970
- /** Parameter group */
5971
- blobHttpHeaders?: BlobHTTPHeaders;
5972
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
5973
- timeoutInSeconds?: number;
5974
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
5975
- requestId?: string;
5976
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
5977
- metadata?: {
5978
- [propertyName: string]: string;
5979
- };
5980
- /** Specifies the date time when the blobs immutability policy is set to expire. */
5981
- immutabilityPolicyExpiry?: Date;
5982
- /** Specifies the immutability policy mode to set on the blob. */
5983
- immutabilityPolicyMode?: BlobImmutabilityPolicyMode;
5984
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
5985
- encryptionScope?: string;
5986
- /** Optional. Indicates the tier to be set on the blob. */
5987
- tier?: AccessTier;
5988
- /** Optional. Used to set blob tags in various blob operations. */
5989
- blobTagsString?: string;
5990
- /** Specified if a legal hold should be set on the blob. */
5991
- legalHold?: boolean;
5992
- /** Specify the transactional md5 for the body, to be validated by the service. */
5993
- transactionalContentMD5?: Uint8Array;
5994
- /** Specify the transactional crc64 for the body, to be validated by the service. */
5995
- transactionalContentCrc64?: Uint8Array;
5996
- }
5997
-
5998
4949
  /**
5999
4950
  * Options to configure {@link BlockBlobClient.upload} operation.
6000
4951
  */
@@ -6058,10 +5009,13 @@ export declare interface BlockBlobUploadOptions extends CommonOptions {
6058
5009
  }
6059
5010
 
6060
5011
  /** Contains response data for the upload operation. */
6061
- export declare type BlockBlobUploadResponse = WithResponse<BlockBlobUploadHeaders, BlockBlobUploadHeaders>;
6062
-
6063
- /** Contains response data for the upload operation. */
6064
- declare type BlockBlobUploadResponse_2 = BlockBlobUploadHeaders;
5012
+ export declare type BlockBlobUploadResponse = BlockBlobUploadHeaders & {
5013
+ /** The underlying HTTP response. */
5014
+ _response: coreHttp.HttpResponse & {
5015
+ /** The parsed HTTP response headers. */
5016
+ parsedHeaders: BlockBlobUploadHeaders;
5017
+ };
5018
+ };
6065
5019
 
6066
5020
  /**
6067
5021
  * Option interface for the {@link BlockBlobClient.uploadStream} operation.
@@ -6120,13 +5074,7 @@ export declare interface BlockList {
6120
5074
  /** Defines values for BlockListType. */
6121
5075
  export declare type BlockListType = "committed" | "uncommitted" | "all";
6122
5076
 
6123
- declare interface BlockLookupList {
6124
- committed?: string[];
6125
- uncommitted?: string[];
6126
- latest?: string[];
6127
- }
6128
-
6129
- export declare interface ClearRange {
5077
+ declare interface ClearRange {
6130
5078
  start: number;
6131
5079
  end: number;
6132
5080
  }
@@ -6198,158 +5146,6 @@ export declare interface CommonOptions {
6198
5146
  tracingOptions?: OperationTracingOptions;
6199
5147
  }
6200
5148
 
6201
- /** Interface representing a Container. */
6202
- declare interface Container {
6203
- /**
6204
- * creates a new container under the specified account. If the container with the same name already
6205
- * exists, the operation fails
6206
- * @param options The options parameters.
6207
- */
6208
- create(options?: ContainerCreateOptionalParams): Promise<ContainerCreateResponse_2>;
6209
- /**
6210
- * returns all user-defined metadata and system properties for the specified container. The data
6211
- * returned does not include the container's list of blobs
6212
- * @param options The options parameters.
6213
- */
6214
- getProperties(options?: ContainerGetPropertiesOptionalParams): Promise<ContainerGetPropertiesResponse_2>;
6215
- /**
6216
- * operation marks the specified container for deletion. The container and any blobs contained within
6217
- * it are later deleted during garbage collection
6218
- * @param options The options parameters.
6219
- */
6220
- delete(options?: ContainerDeleteOptionalParams): Promise<ContainerDeleteResponse_2>;
6221
- /**
6222
- * operation sets one or more user-defined name-value pairs for the specified container.
6223
- * @param options The options parameters.
6224
- */
6225
- setMetadata(options?: ContainerSetMetadataOptionalParams): Promise<ContainerSetMetadataResponse_2>;
6226
- /**
6227
- * gets the permissions for the specified container. The permissions indicate whether container data
6228
- * may be accessed publicly.
6229
- * @param options The options parameters.
6230
- */
6231
- getAccessPolicy(options?: ContainerGetAccessPolicyOptionalParams): Promise<ContainerGetAccessPolicyResponseModel>;
6232
- /**
6233
- * sets the permissions for the specified container. The permissions indicate whether blobs in a
6234
- * container may be accessed publicly.
6235
- * @param options The options parameters.
6236
- */
6237
- setAccessPolicy(options?: ContainerSetAccessPolicyOptionalParams): Promise<ContainerSetAccessPolicyResponse_2>;
6238
- /**
6239
- * Restores a previously-deleted container.
6240
- * @param options The options parameters.
6241
- */
6242
- restore(options?: ContainerRestoreOptionalParams): Promise<ContainerRestoreResponse>;
6243
- /**
6244
- * Renames an existing container.
6245
- * @param sourceContainerName Required. Specifies the name of the container to rename.
6246
- * @param options The options parameters.
6247
- */
6248
- rename(sourceContainerName: string, options?: ContainerRenameOptionalParams): Promise<ContainerRenameResponse_2>;
6249
- /**
6250
- * The Batch operation allows multiple API calls to be embedded into a single HTTP request.
6251
- * @param contentLength The length of the request.
6252
- * @param multipartContentType Required. The value of this header must be multipart/mixed with a batch
6253
- * boundary. Example header value: multipart/mixed; boundary=batch_<GUID>
6254
- * @param body Initial data
6255
- * @param options The options parameters.
6256
- */
6257
- submitBatch(contentLength: number, multipartContentType: string, body: coreRestPipeline.RequestBodyType, options?: ContainerSubmitBatchOptionalParams): Promise<ContainerSubmitBatchResponse>;
6258
- /**
6259
- * The Filter Blobs operation enables callers to list blobs in a container whose tags match a given
6260
- * search expression. Filter blobs searches within the given container.
6261
- * @param options The options parameters.
6262
- */
6263
- filterBlobs(options?: ContainerFilterBlobsOptionalParams): Promise<ContainerFilterBlobsResponse>;
6264
- /**
6265
- * [Update] establishes and manages a lock on a container for delete operations. The lock duration can
6266
- * be 15 to 60 seconds, or can be infinite
6267
- * @param options The options parameters.
6268
- */
6269
- acquireLease(options?: ContainerAcquireLeaseOptionalParams): Promise<ContainerAcquireLeaseResponse>;
6270
- /**
6271
- * [Update] establishes and manages a lock on a container for delete operations. The lock duration can
6272
- * be 15 to 60 seconds, or can be infinite
6273
- * @param leaseId Specifies the current lease ID on the resource.
6274
- * @param options The options parameters.
6275
- */
6276
- releaseLease(leaseId: string, options?: ContainerReleaseLeaseOptionalParams): Promise<ContainerReleaseLeaseResponse>;
6277
- /**
6278
- * [Update] establishes and manages a lock on a container for delete operations. The lock duration can
6279
- * be 15 to 60 seconds, or can be infinite
6280
- * @param leaseId Specifies the current lease ID on the resource.
6281
- * @param options The options parameters.
6282
- */
6283
- renewLease(leaseId: string, options?: ContainerRenewLeaseOptionalParams): Promise<ContainerRenewLeaseResponse>;
6284
- /**
6285
- * [Update] establishes and manages a lock on a container for delete operations. The lock duration can
6286
- * be 15 to 60 seconds, or can be infinite
6287
- * @param options The options parameters.
6288
- */
6289
- breakLease(options?: ContainerBreakLeaseOptionalParams): Promise<ContainerBreakLeaseResponse>;
6290
- /**
6291
- * [Update] establishes and manages a lock on a container for delete operations. The lock duration can
6292
- * be 15 to 60 seconds, or can be infinite
6293
- * @param leaseId Specifies the current lease ID on the resource.
6294
- * @param proposedLeaseId Proposed lease ID, in a GUID string format. The Blob service returns 400
6295
- * (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor
6296
- * (String) for a list of valid GUID string formats.
6297
- * @param options The options parameters.
6298
- */
6299
- changeLease(leaseId: string, proposedLeaseId: string, options?: ContainerChangeLeaseOptionalParams): Promise<ContainerChangeLeaseResponse>;
6300
- /**
6301
- * [Update] The List Blobs operation returns a list of the blobs under the specified container
6302
- * @param options The options parameters.
6303
- */
6304
- listBlobFlatSegment(options?: ContainerListBlobFlatSegmentOptionalParams): Promise<ContainerListBlobFlatSegmentResponse_2>;
6305
- /**
6306
- * [Update] The List Blobs operation returns a list of the blobs under the specified container
6307
- * @param delimiter When the request includes this parameter, the operation returns a BlobPrefix
6308
- * element in the response body that acts as a placeholder for all blobs whose names begin with the
6309
- * same substring up to the appearance of the delimiter character. The delimiter may be a single
6310
- * character or a string.
6311
- * @param options The options parameters.
6312
- */
6313
- listBlobHierarchySegment(delimiter: string, options?: ContainerListBlobHierarchySegmentOptionalParams): Promise<ContainerListBlobHierarchySegmentResponse_2>;
6314
- /**
6315
- * Returns the sku name and account kind
6316
- * @param options The options parameters.
6317
- */
6318
- getAccountInfo(options?: ContainerGetAccountInfoOptionalParams): Promise<ContainerGetAccountInfoResponse>;
6319
- }
6320
-
6321
- /** Defines headers for Container_acquireLease operation. */
6322
- declare interface ContainerAcquireLeaseHeaders {
6323
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
6324
- etag?: string;
6325
- /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
6326
- lastModified?: Date;
6327
- /** Uniquely identifies a container's lease */
6328
- leaseId?: string;
6329
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
6330
- clientRequestId?: string;
6331
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
6332
- requestId?: string;
6333
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
6334
- version?: string;
6335
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
6336
- date?: Date;
6337
- }
6338
-
6339
- /** Optional parameters. */
6340
- declare interface ContainerAcquireLeaseOptionalParams extends coreClient.OperationOptions {
6341
- /** Parameter group */
6342
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
6343
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
6344
- timeoutInSeconds?: number;
6345
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
6346
- requestId?: string;
6347
- /** Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change. */
6348
- duration?: number;
6349
- /** Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */
6350
- proposedLeaseId?: string;
6351
- }
6352
-
6353
5149
  /**
6354
5150
  * Options to configure Container - Acquire Lease operation.
6355
5151
  */
@@ -6365,29 +5161,8 @@ export declare interface ContainerAcquireLeaseOptions extends CommonOptions {
6365
5161
  conditions?: ModifiedAccessConditions;
6366
5162
  }
6367
5163
 
6368
- /** Contains response data for the acquireLease operation. */
6369
- declare type ContainerAcquireLeaseResponse = ContainerAcquireLeaseHeaders;
6370
-
6371
- /** Defines headers for Container_breakLease operation. */
6372
- declare interface ContainerBreakLeaseHeaders {
6373
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
6374
- etag?: string;
6375
- /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
6376
- lastModified?: Date;
6377
- /** Approximate time remaining in the lease period, in seconds. */
6378
- leaseTime?: number;
6379
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
6380
- clientRequestId?: string;
6381
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
6382
- requestId?: string;
6383
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
6384
- version?: string;
6385
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
6386
- date?: Date;
6387
- }
6388
-
6389
5164
  /** Optional parameters. */
6390
- export declare interface ContainerBreakLeaseOptionalParams extends coreClient.OperationOptions {
5165
+ export declare interface ContainerBreakLeaseOptionalParams extends coreHttp.OperationOptions {
6391
5166
  /** Parameter group */
6392
5167
  modifiedAccessConditions?: ModifiedAccessConditionsModel;
6393
5168
  /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
@@ -6413,37 +5188,6 @@ export declare interface ContainerBreakLeaseOptions extends CommonOptions {
6413
5188
  conditions?: ModifiedAccessConditions;
6414
5189
  }
6415
5190
 
6416
- /** Contains response data for the breakLease operation. */
6417
- declare type ContainerBreakLeaseResponse = ContainerBreakLeaseHeaders;
6418
-
6419
- /** Defines headers for Container_changeLease operation. */
6420
- declare interface ContainerChangeLeaseHeaders {
6421
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
6422
- etag?: string;
6423
- /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
6424
- lastModified?: Date;
6425
- /** Uniquely identifies a container's lease */
6426
- leaseId?: string;
6427
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
6428
- clientRequestId?: string;
6429
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
6430
- requestId?: string;
6431
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
6432
- version?: string;
6433
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
6434
- date?: Date;
6435
- }
6436
-
6437
- /** Optional parameters. */
6438
- declare interface ContainerChangeLeaseOptionalParams extends coreClient.OperationOptions {
6439
- /** Parameter group */
6440
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
6441
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
6442
- timeoutInSeconds?: number;
6443
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
6444
- requestId?: string;
6445
- }
6446
-
6447
5191
  /**
6448
5192
  * Options to configure Container - Change Lease operation.
6449
5193
  */
@@ -6459,9 +5203,6 @@ export declare interface ContainerChangeLeaseOptions extends CommonOptions {
6459
5203
  conditions?: ModifiedAccessConditions;
6460
5204
  }
6461
5205
 
6462
- /** Contains response data for the changeLease operation. */
6463
- declare type ContainerChangeLeaseResponse = ContainerChangeLeaseHeaders;
6464
-
6465
5206
  /**
6466
5207
  * A ContainerClient represents a URL to the Azure Storage container allowing you to manipulate its blobs.
6467
5208
  */
@@ -7097,22 +5838,6 @@ export declare interface ContainerCreateIfNotExistsResponse extends ContainerCre
7097
5838
  succeeded: boolean;
7098
5839
  }
7099
5840
 
7100
- /** Optional parameters. */
7101
- declare interface ContainerCreateOptionalParams extends coreClient.OperationOptions {
7102
- /** Parameter group */
7103
- containerEncryptionScope?: ContainerEncryptionScope;
7104
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7105
- timeoutInSeconds?: number;
7106
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7107
- requestId?: string;
7108
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
7109
- metadata?: {
7110
- [propertyName: string]: string;
7111
- };
7112
- /** Specifies whether data in the container may be accessed publicly and the level of access */
7113
- access?: PublicAccessType;
7114
- }
7115
-
7116
5841
  /**
7117
5842
  * Options to configure {@link ContainerClient.create} operation.
7118
5843
  */
@@ -7139,10 +5864,13 @@ export declare interface ContainerCreateOptions extends CommonOptions {
7139
5864
  }
7140
5865
 
7141
5866
  /** Contains response data for the create operation. */
7142
- export declare type ContainerCreateResponse = WithResponse<ContainerCreateHeaders, ContainerCreateHeaders>;
7143
-
7144
- /** Contains response data for the create operation. */
7145
- declare type ContainerCreateResponse_2 = ContainerCreateHeaders;
5867
+ export declare type ContainerCreateResponse = ContainerCreateHeaders & {
5868
+ /** The underlying HTTP response. */
5869
+ _response: coreHttp.HttpResponse & {
5870
+ /** The parsed HTTP response headers. */
5871
+ parsedHeaders: ContainerCreateHeaders;
5872
+ };
5873
+ };
7146
5874
 
7147
5875
  /**
7148
5876
  * Options to configure the {@link ContainerClient.deleteBlob} operation.
@@ -7194,23 +5922,14 @@ export declare interface ContainerDeleteMethodOptions extends CommonOptions {
7194
5922
  conditions?: ContainerRequestConditions;
7195
5923
  }
7196
5924
 
7197
- /** Optional parameters. */
7198
- declare interface ContainerDeleteOptionalParams extends coreClient.OperationOptions {
7199
- /** Parameter group */
7200
- leaseAccessConditions?: LeaseAccessConditions;
7201
- /** Parameter group */
7202
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
7203
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7204
- timeoutInSeconds?: number;
7205
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7206
- requestId?: string;
7207
- }
7208
-
7209
5925
  /** Contains response data for the delete operation. */
7210
- export declare type ContainerDeleteResponse = WithResponse<ContainerDeleteHeaders, ContainerDeleteHeaders>;
7211
-
7212
- /** Contains response data for the delete operation. */
7213
- declare type ContainerDeleteResponse_2 = ContainerDeleteHeaders;
5926
+ export declare type ContainerDeleteResponse = ContainerDeleteHeaders & {
5927
+ /** The underlying HTTP response. */
5928
+ _response: coreHttp.HttpResponse & {
5929
+ /** The parsed HTTP response headers. */
5930
+ parsedHeaders: ContainerDeleteHeaders;
5931
+ };
5932
+ };
7214
5933
 
7215
5934
  /** Parameter group */
7216
5935
  export declare interface ContainerEncryptionScope {
@@ -7243,23 +5962,6 @@ export declare interface ContainerFilterBlobsHeaders {
7243
5962
  date?: Date;
7244
5963
  }
7245
5964
 
7246
- /** Optional parameters. */
7247
- declare interface ContainerFilterBlobsOptionalParams extends coreClient.OperationOptions {
7248
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7249
- timeoutInSeconds?: number;
7250
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7251
- requestId?: string;
7252
- /** A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the ContinuationToken value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client. */
7253
- marker?: string;
7254
- /** Specifies the maximum number of containers to return. If the request does not specify maxresults, or specifies a value greater than 5000, the server will return up to 5000 items. Note that if the listing operation crosses a partition boundary, then the service will return a continuation token for retrieving the remainder of the results. For this reason, it is possible that the service will return fewer results than specified by maxresults, or than the default of 5000. */
7255
- maxPageSize?: number;
7256
- /** Filters the results to return only to return only blobs whose tags match the specified expression. */
7257
- where?: string;
7258
- }
7259
-
7260
- /** Contains response data for the filterBlobs operation. */
7261
- export declare type ContainerFilterBlobsResponse = ContainerFilterBlobsHeaders & FilterBlobSegmentModel;
7262
-
7263
5965
  /**
7264
5966
  * Options to configure the {@link BlobServiceClient.findBlobsByTags} operation.
7265
5967
  */
@@ -7274,7 +5976,25 @@ export declare interface ContainerFindBlobByTagsOptions extends CommonOptions {
7274
5976
  /**
7275
5977
  * The response of {@link BlobServiceClient.findBlobsByTags} operation.
7276
5978
  */
7277
- export declare type ContainerFindBlobsByTagsSegmentResponse = WithResponse<FilterBlobSegment & ContainerFilterBlobsHeaders, ContainerFilterBlobsHeaders, FilterBlobSegmentModel>;
5979
+ export declare type ContainerFindBlobsByTagsSegmentResponse = FilterBlobSegment & ContainerFilterBlobsHeaders & {
5980
+ /**
5981
+ * The underlying HTTP response.
5982
+ */
5983
+ _response: HttpResponse & {
5984
+ /**
5985
+ * The parsed HTTP response headers.
5986
+ */
5987
+ parsedHeaders: ContainerFilterBlobsHeaders;
5988
+ /**
5989
+ * The response body as text (string format)
5990
+ */
5991
+ bodyAsText: string;
5992
+ /**
5993
+ * The response body as parsed JSON or XML
5994
+ */
5995
+ parsedBody: FilterBlobSegmentModel;
5996
+ };
5997
+ };
7278
5998
 
7279
5999
  /**
7280
6000
  * Options to configure {@link ContainerClient.generateSasUrl} operation.
@@ -7306,16 +6026,6 @@ export declare interface ContainerGetAccessPolicyHeaders {
7306
6026
  errorCode?: string;
7307
6027
  }
7308
6028
 
7309
- /** Optional parameters. */
7310
- declare interface ContainerGetAccessPolicyOptionalParams extends coreClient.OperationOptions {
7311
- /** Parameter group */
7312
- leaseAccessConditions?: LeaseAccessConditions;
7313
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7314
- timeoutInSeconds?: number;
7315
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7316
- requestId?: string;
7317
- }
7318
-
7319
6029
  /**
7320
6030
  * Options to configure {@link ContainerClient.getAccessPolicy} operation.
7321
6031
  */
@@ -7335,35 +6045,27 @@ export declare interface ContainerGetAccessPolicyOptions extends CommonOptions {
7335
6045
  /**
7336
6046
  * Contains response data for the {@link ContainerClient.getAccessPolicy} operation.
7337
6047
  */
7338
- export declare type ContainerGetAccessPolicyResponse = WithResponse<{
6048
+ export declare type ContainerGetAccessPolicyResponse = {
7339
6049
  signedIdentifiers: SignedIdentifier[];
7340
- } & ContainerGetAccessPolicyHeaders, ContainerGetAccessPolicyHeaders, SignedIdentifierModel>;
7341
-
7342
- /** Contains response data for the getAccessPolicy operation. */
7343
- export declare type ContainerGetAccessPolicyResponseModel = ContainerGetAccessPolicyHeaders & SignedIdentifierModel[];
7344
-
7345
- /** Defines headers for Container_getAccountInfo operation. */
7346
- declare interface ContainerGetAccountInfoHeaders {
7347
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
7348
- clientRequestId?: string;
7349
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
7350
- requestId?: string;
7351
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
7352
- version?: string;
7353
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
7354
- date?: Date;
7355
- /** Identifies the sku name of the account */
7356
- skuName?: SkuName;
7357
- /** Identifies the account kind */
7358
- accountKind?: AccountKind;
7359
- }
7360
-
7361
- /** Optional parameters. */
7362
- declare interface ContainerGetAccountInfoOptionalParams extends coreClient.OperationOptions {
7363
- }
7364
-
7365
- /** Contains response data for the getAccountInfo operation. */
7366
- declare type ContainerGetAccountInfoResponse = ContainerGetAccountInfoHeaders;
6050
+ } & ContainerGetAccessPolicyHeaders & {
6051
+ /**
6052
+ * The underlying HTTP response.
6053
+ */
6054
+ _response: HttpResponse & {
6055
+ /**
6056
+ * The parsed HTTP response headers.
6057
+ */
6058
+ parsedHeaders: ContainerGetAccessPolicyHeaders;
6059
+ /**
6060
+ * The response body as text (string format)
6061
+ */
6062
+ bodyAsText: string;
6063
+ /**
6064
+ * The response body as parsed JSON or XML
6065
+ */
6066
+ parsedBody: SignedIdentifierModel[];
6067
+ };
6068
+ };
7367
6069
 
7368
6070
  /** Defines headers for Container_getProperties operation. */
7369
6071
  export declare interface ContainerGetPropertiesHeaders {
@@ -7404,16 +6106,6 @@ export declare interface ContainerGetPropertiesHeaders {
7404
6106
  errorCode?: string;
7405
6107
  }
7406
6108
 
7407
- /** Optional parameters. */
7408
- declare interface ContainerGetPropertiesOptionalParams extends coreClient.OperationOptions {
7409
- /** Parameter group */
7410
- leaseAccessConditions?: LeaseAccessConditions;
7411
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7412
- timeoutInSeconds?: number;
7413
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7414
- requestId?: string;
7415
- }
7416
-
7417
6109
  /**
7418
6110
  * Options to configure {@link ContainerClient.getProperties} operation.
7419
6111
  */
@@ -7431,10 +6123,13 @@ export declare interface ContainerGetPropertiesOptions extends CommonOptions {
7431
6123
  }
7432
6124
 
7433
6125
  /** Contains response data for the getProperties operation. */
7434
- export declare type ContainerGetPropertiesResponse = WithResponse<ContainerGetPropertiesHeaders, ContainerGetPropertiesHeaders>;
7435
-
7436
- /** Contains response data for the getProperties operation. */
7437
- declare type ContainerGetPropertiesResponse_2 = ContainerGetPropertiesHeaders;
6126
+ export declare type ContainerGetPropertiesResponse = ContainerGetPropertiesHeaders & {
6127
+ /** The underlying HTTP response. */
6128
+ _response: coreHttp.HttpResponse & {
6129
+ /** The parsed HTTP response headers. */
6130
+ parsedHeaders: ContainerGetPropertiesHeaders;
6131
+ };
6132
+ };
7438
6133
 
7439
6134
  /** An Azure Storage container */
7440
6135
  export declare interface ContainerItem {
@@ -7465,29 +6160,28 @@ export declare interface ContainerListBlobFlatSegmentHeaders {
7465
6160
  errorCode?: string;
7466
6161
  }
7467
6162
 
7468
- /** Optional parameters. */
7469
- declare interface ContainerListBlobFlatSegmentOptionalParams extends coreClient.OperationOptions {
7470
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7471
- timeoutInSeconds?: number;
7472
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7473
- requestId?: string;
7474
- /** Filters the results to return only containers whose name begins with the specified prefix. */
7475
- prefix?: string;
7476
- /** A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the ContinuationToken value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client. */
7477
- marker?: string;
7478
- /** Specifies the maximum number of containers to return. If the request does not specify maxresults, or specifies a value greater than 5000, the server will return up to 5000 items. Note that if the listing operation crosses a partition boundary, then the service will return a continuation token for retrieving the remainder of the results. For this reason, it is possible that the service will return fewer results than specified by maxresults, or than the default of 5000. */
7479
- maxPageSize?: number;
7480
- /** Include this parameter to specify one or more datasets to include in the response. */
7481
- include?: ListBlobsIncludeItem[];
7482
- }
7483
-
7484
6163
  /**
7485
6164
  * Contains response data for the listBlobFlatSegment operation.
7486
6165
  */
7487
- export declare type ContainerListBlobFlatSegmentResponse = WithResponse<ListBlobsFlatSegmentResponse & ContainerListBlobFlatSegmentHeaders, ContainerListBlobFlatSegmentHeaders, ListBlobsFlatSegmentResponseModel>;
7488
-
7489
- /** Contains response data for the listBlobFlatSegment operation. */
7490
- declare type ContainerListBlobFlatSegmentResponse_2 = ContainerListBlobFlatSegmentHeaders & ListBlobsFlatSegmentResponse_2;
6166
+ export declare type ContainerListBlobFlatSegmentResponse = ListBlobsFlatSegmentResponse & ContainerListBlobFlatSegmentHeaders & {
6167
+ /**
6168
+ * The underlying HTTP response.
6169
+ */
6170
+ _response: HttpResponse & {
6171
+ /**
6172
+ * The parsed HTTP response headers.
6173
+ */
6174
+ parsedHeaders: ContainerListBlobFlatSegmentHeaders;
6175
+ /**
6176
+ * The response body as text (string format)
6177
+ */
6178
+ bodyAsText: string;
6179
+ /**
6180
+ * The response body as parsed JSON or XML
6181
+ */
6182
+ parsedBody: ListBlobsFlatSegmentResponseModel;
6183
+ };
6184
+ };
7491
6185
 
7492
6186
  /** Defines headers for Container_listBlobHierarchySegment operation. */
7493
6187
  export declare interface ContainerListBlobHierarchySegmentHeaders {
@@ -7505,29 +6199,28 @@ export declare interface ContainerListBlobHierarchySegmentHeaders {
7505
6199
  errorCode?: string;
7506
6200
  }
7507
6201
 
7508
- /** Optional parameters. */
7509
- declare interface ContainerListBlobHierarchySegmentOptionalParams extends coreClient.OperationOptions {
7510
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7511
- timeoutInSeconds?: number;
7512
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7513
- requestId?: string;
7514
- /** Filters the results to return only containers whose name begins with the specified prefix. */
7515
- prefix?: string;
7516
- /** A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the ContinuationToken value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client. */
7517
- marker?: string;
7518
- /** Specifies the maximum number of containers to return. If the request does not specify maxresults, or specifies a value greater than 5000, the server will return up to 5000 items. Note that if the listing operation crosses a partition boundary, then the service will return a continuation token for retrieving the remainder of the results. For this reason, it is possible that the service will return fewer results than specified by maxresults, or than the default of 5000. */
7519
- maxPageSize?: number;
7520
- /** Include this parameter to specify one or more datasets to include in the response. */
7521
- include?: ListBlobsIncludeItem[];
7522
- }
7523
-
7524
6202
  /**
7525
6203
  * Contains response data for the listBlobHierarchySegment operation.
7526
6204
  */
7527
- export declare type ContainerListBlobHierarchySegmentResponse = WithResponse<ListBlobsHierarchySegmentResponse & ContainerListBlobHierarchySegmentHeaders, ContainerListBlobHierarchySegmentHeaders, ListBlobsHierarchySegmentResponseModel>;
7528
-
7529
- /** Contains response data for the listBlobHierarchySegment operation. */
7530
- declare type ContainerListBlobHierarchySegmentResponse_2 = ContainerListBlobHierarchySegmentHeaders & ListBlobsHierarchySegmentResponse_2;
6205
+ export declare type ContainerListBlobHierarchySegmentResponse = ListBlobsHierarchySegmentResponse & ContainerListBlobHierarchySegmentHeaders & {
6206
+ /**
6207
+ * The underlying HTTP response.
6208
+ */
6209
+ _response: HttpResponse & {
6210
+ /**
6211
+ * The parsed HTTP response headers.
6212
+ */
6213
+ parsedHeaders: ContainerListBlobHierarchySegmentHeaders;
6214
+ /**
6215
+ * The response body as text (string format)
6216
+ */
6217
+ bodyAsText: string;
6218
+ /**
6219
+ * The response body as parsed JSON or XML
6220
+ */
6221
+ parsedBody: ListBlobsHierarchySegmentResponseModel;
6222
+ };
6223
+ };
7531
6224
 
7532
6225
  /**
7533
6226
  * Options to configure Container - List Blobs operations.
@@ -7607,32 +6300,6 @@ export declare interface ContainerProperties {
7607
6300
  isImmutableStorageWithVersioningEnabled?: boolean;
7608
6301
  }
7609
6302
 
7610
- /** Defines headers for Container_releaseLease operation. */
7611
- declare interface ContainerReleaseLeaseHeaders {
7612
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
7613
- etag?: string;
7614
- /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
7615
- lastModified?: Date;
7616
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
7617
- clientRequestId?: string;
7618
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
7619
- requestId?: string;
7620
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
7621
- version?: string;
7622
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
7623
- date?: Date;
7624
- }
7625
-
7626
- /** Optional parameters. */
7627
- declare interface ContainerReleaseLeaseOptionalParams extends coreClient.OperationOptions {
7628
- /** Parameter group */
7629
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
7630
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7631
- timeoutInSeconds?: number;
7632
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7633
- requestId?: string;
7634
- }
7635
-
7636
6303
  /**
7637
6304
  * Options to configure Container - Release Lease operation.
7638
6305
  */
@@ -7648,9 +6315,6 @@ export declare interface ContainerReleaseLeaseOptions extends CommonOptions {
7648
6315
  conditions?: ModifiedAccessConditions;
7649
6316
  }
7650
6317
 
7651
- /** Contains response data for the releaseLease operation. */
7652
- declare type ContainerReleaseLeaseResponse = ContainerReleaseLeaseHeaders;
7653
-
7654
6318
  /** Defines headers for Container_rename operation. */
7655
6319
  export declare interface ContainerRenameHeaders {
7656
6320
  /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
@@ -7665,49 +6329,14 @@ export declare interface ContainerRenameHeaders {
7665
6329
  errorCode?: string;
7666
6330
  }
7667
6331
 
7668
- /** Optional parameters. */
7669
- declare interface ContainerRenameOptionalParams extends coreClient.OperationOptions {
7670
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7671
- timeoutInSeconds?: number;
7672
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7673
- requestId?: string;
7674
- /** A lease ID for the source path. If specified, the source path must have an active lease and the lease ID must match. */
7675
- sourceLeaseId?: string;
7676
- }
7677
-
7678
- /** Contains response data for the rename operation. */
7679
- export declare type ContainerRenameResponse = WithResponse<ContainerRenameHeaders, ContainerRenameHeaders>;
7680
-
7681
6332
  /** Contains response data for the rename operation. */
7682
- declare type ContainerRenameResponse_2 = ContainerRenameHeaders;
7683
-
7684
- /** Defines headers for Container_renewLease operation. */
7685
- declare interface ContainerRenewLeaseHeaders {
7686
- /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
7687
- etag?: string;
7688
- /** Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob. */
7689
- lastModified?: Date;
7690
- /** Uniquely identifies a container's lease */
7691
- leaseId?: string;
7692
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
7693
- clientRequestId?: string;
7694
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
7695
- requestId?: string;
7696
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
7697
- version?: string;
7698
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
7699
- date?: Date;
7700
- }
7701
-
7702
- /** Optional parameters. */
7703
- declare interface ContainerRenewLeaseOptionalParams extends coreClient.OperationOptions {
7704
- /** Parameter group */
7705
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
7706
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7707
- timeoutInSeconds?: number;
7708
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7709
- requestId?: string;
7710
- }
6333
+ export declare type ContainerRenameResponse = ContainerRenameHeaders & {
6334
+ /** The underlying HTTP response. */
6335
+ _response: coreHttp.HttpResponse & {
6336
+ /** The parsed HTTP response headers. */
6337
+ parsedHeaders: ContainerRenameHeaders;
6338
+ };
6339
+ };
7711
6340
 
7712
6341
  /**
7713
6342
  * Options to configure Container - Renew Lease operation.
@@ -7724,30 +6353,12 @@ export declare interface ContainerRenewLeaseOptions extends CommonOptions {
7724
6353
  conditions?: ModifiedAccessConditions;
7725
6354
  }
7726
6355
 
7727
- /** Contains response data for the renewLease operation. */
7728
- declare type ContainerRenewLeaseResponse = ContainerRenewLeaseHeaders;
7729
-
7730
6356
  /**
7731
6357
  * Conditions to meet for the container.
7732
6358
  */
7733
6359
  export declare interface ContainerRequestConditions extends LeaseAccessConditions, ModificationConditions {
7734
6360
  }
7735
6361
 
7736
- /** Optional parameters. */
7737
- declare interface ContainerRestoreOptionalParams extends coreClient.OperationOptions {
7738
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7739
- timeoutInSeconds?: number;
7740
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7741
- requestId?: string;
7742
- /** Optional. Version 2019-12-12 and later. Specifies the name of the deleted container to restore. */
7743
- deletedContainerName?: string;
7744
- /** Optional. Version 2019-12-12 and later. Specifies the version of the deleted container to restore. */
7745
- deletedContainerVersion?: string;
7746
- }
7747
-
7748
- /** Contains response data for the restore operation. */
7749
- declare type ContainerRestoreResponse = ContainerUndeleteHeaders;
7750
-
7751
6362
  /**
7752
6363
  * This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a container.
7753
6364
  * Setting a value to true means that any SAS which uses these permissions will grant permissions for that operation.
@@ -7910,22 +6521,6 @@ export declare interface ContainerSetAccessPolicyHeaders {
7910
6521
  errorCode?: string;
7911
6522
  }
7912
6523
 
7913
- /** Optional parameters. */
7914
- declare interface ContainerSetAccessPolicyOptionalParams extends coreClient.OperationOptions {
7915
- /** Parameter group */
7916
- leaseAccessConditions?: LeaseAccessConditions;
7917
- /** Parameter group */
7918
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
7919
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7920
- timeoutInSeconds?: number;
7921
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7922
- requestId?: string;
7923
- /** Specifies whether data in the container may be accessed publicly and the level of access */
7924
- access?: PublicAccessType;
7925
- /** the acls for the container */
7926
- containerAcl?: SignedIdentifierModel[];
7927
- }
7928
-
7929
6524
  /**
7930
6525
  * Options to configure {@link ContainerClient.setAccessPolicy} operation.
7931
6526
  */
@@ -7942,10 +6537,13 @@ export declare interface ContainerSetAccessPolicyOptions extends CommonOptions {
7942
6537
  }
7943
6538
 
7944
6539
  /** Contains response data for the setAccessPolicy operation. */
7945
- export declare type ContainerSetAccessPolicyResponse = WithResponse<ContainerSetAccessPolicyHeaders, ContainerSetAccessPolicyHeaders>;
7946
-
7947
- /** Contains response data for the setAccessPolicy operation. */
7948
- declare type ContainerSetAccessPolicyResponse_2 = ContainerSetAccessPolicyHeaders;
6540
+ export declare type ContainerSetAccessPolicyResponse = ContainerSetAccessPolicyHeaders & {
6541
+ /** The underlying HTTP response. */
6542
+ _response: coreHttp.HttpResponse & {
6543
+ /** The parsed HTTP response headers. */
6544
+ parsedHeaders: ContainerSetAccessPolicyHeaders;
6545
+ };
6546
+ };
7949
6547
 
7950
6548
  /** Defines headers for Container_setMetadata operation. */
7951
6549
  export declare interface ContainerSetMetadataHeaders {
@@ -7965,22 +6563,6 @@ export declare interface ContainerSetMetadataHeaders {
7965
6563
  errorCode?: string;
7966
6564
  }
7967
6565
 
7968
- /** Optional parameters. */
7969
- declare interface ContainerSetMetadataOptionalParams extends coreClient.OperationOptions {
7970
- /** Parameter group */
7971
- leaseAccessConditions?: LeaseAccessConditions;
7972
- /** Parameter group */
7973
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
7974
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
7975
- timeoutInSeconds?: number;
7976
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
7977
- requestId?: string;
7978
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
7979
- metadata?: {
7980
- [propertyName: string]: string;
7981
- };
7982
- }
7983
-
7984
6566
  /**
7985
6567
  * Options to configure {@link ContainerClient.setMetadata} operation.
7986
6568
  */
@@ -7989,54 +6571,21 @@ export declare interface ContainerSetMetadataOptions extends CommonOptions {
7989
6571
  * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
7990
6572
  * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
7991
6573
  */
7992
- abortSignal?: AbortSignalLike;
7993
- /**
7994
- * If specified, contains the lease id that must be matched and lease with this id
7995
- * must be active in order for the operation to succeed.
7996
- */
7997
- conditions?: ContainerRequestConditions;
7998
- }
7999
-
8000
- /** Contains response data for the setMetadata operation. */
8001
- export declare type ContainerSetMetadataResponse = WithResponse<ContainerSetMetadataHeaders, ContainerSetMetadataHeaders>;
8002
-
8003
- /** Contains response data for the setMetadata operation. */
8004
- declare type ContainerSetMetadataResponse_2 = ContainerSetMetadataHeaders;
8005
-
8006
- /** Defines headers for Container_submitBatch operation. */
8007
- declare interface ContainerSubmitBatchHeaders {
8008
- /** The media type of the body of the response. For batch requests, this is multipart/mixed; boundary=batchresponse_GUID */
8009
- contentType?: string;
8010
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
8011
- requestId?: string;
8012
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
8013
- version?: string;
8014
- }
8015
-
8016
- /** Optional parameters. */
8017
- declare interface ContainerSubmitBatchOptionalParams extends coreClient.OperationOptions {
8018
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
8019
- timeoutInSeconds?: number;
8020
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
8021
- requestId?: string;
8022
- }
8023
-
8024
- /** Contains response data for the submitBatch operation. */
8025
- declare type ContainerSubmitBatchResponse = ContainerSubmitBatchHeaders & {
8026
- /**
8027
- * BROWSER ONLY
8028
- *
8029
- * The response body as a browser Blob.
8030
- * Always `undefined` in node.js.
8031
- */
8032
- blobBody?: Promise<Blob>;
6574
+ abortSignal?: AbortSignalLike;
8033
6575
  /**
8034
- * NODEJS ONLY
8035
- *
8036
- * The response body as a node.js Readable stream.
8037
- * Always `undefined` in the browser.
6576
+ * If specified, contains the lease id that must be matched and lease with this id
6577
+ * must be active in order for the operation to succeed.
8038
6578
  */
8039
- readableStreamBody?: NodeJS.ReadableStream;
6579
+ conditions?: ContainerRequestConditions;
6580
+ }
6581
+
6582
+ /** Contains response data for the setMetadata operation. */
6583
+ export declare type ContainerSetMetadataResponse = ContainerSetMetadataHeaders & {
6584
+ /** The underlying HTTP response. */
6585
+ _response: coreHttp.HttpResponse & {
6586
+ /** The parsed HTTP response headers. */
6587
+ parsedHeaders: ContainerSetMetadataHeaders;
6588
+ };
8040
6589
  };
8041
6590
 
8042
6591
  /** Defines headers for Container_restore operation. */
@@ -8054,7 +6603,13 @@ export declare interface ContainerUndeleteHeaders {
8054
6603
  }
8055
6604
 
8056
6605
  /** Contains response data for the restore operation. */
8057
- export declare type ContainerUndeleteResponse = WithResponse<ContainerUndeleteHeaders, ContainerUndeleteHeaders>;
6606
+ export declare type ContainerUndeleteResponse = ContainerUndeleteHeaders & {
6607
+ /** The underlying HTTP response. */
6608
+ _response: coreHttp.HttpResponse & {
6609
+ /** The parsed HTTP response headers. */
6610
+ parsedHeaders: ContainerUndeleteHeaders;
6611
+ };
6612
+ };
8058
6613
 
8059
6614
  /**
8060
6615
  * Defines the operations from a {@link BlobClient} that are needed for the poller
@@ -8134,25 +6689,13 @@ export declare type CredentialPolicyCreator = (nextPolicy: RequestPolicy, option
8134
6689
  /** Defines values for DeleteSnapshotsOptionType. */
8135
6690
  export declare type DeleteSnapshotsOptionType = "include" | "only";
8136
6691
 
8137
- /** Groups the settings used for interpreting the blob data if the blob is delimited text formatted. */
8138
- declare interface DelimitedTextConfiguration {
8139
- /** The string used to separate columns. */
8140
- columnSeparator?: string;
8141
- /** The string used to quote a specific field. */
8142
- fieldQuote?: string;
8143
- /** The string used to separate records. */
8144
- recordSeparator?: string;
8145
- /** The string used as an escape character. */
8146
- escapeChar?: string;
8147
- /** Represents whether the data has headers. */
8148
- headersPresent?: boolean;
8149
- }
6692
+ export { deserializationPolicy }
8150
6693
 
8151
6694
  /**
8152
6695
  * Defines values for EncryptionAlgorithmType. \
8153
6696
  * {@link KnownEncryptionAlgorithmType} can be used interchangeably with EncryptionAlgorithmType,
8154
6697
  * this enum contains the known values that the service supports.
8155
- * ### Known values supported by the service
6698
+ * ### Know values supported by the service
8156
6699
  * **AES256**
8157
6700
  */
8158
6701
  export declare type EncryptionAlgorithmType = string;
@@ -8368,25 +6911,7 @@ export { HttpOperationResponse }
8368
6911
 
8369
6912
  export { HttpRequestBody }
8370
6913
 
8371
- /**
8372
- * A representation of an HTTP response that
8373
- * includes a reference to the request that
8374
- * originated it.
8375
- */
8376
- export declare interface HttpResponse {
8377
- /**
8378
- * The headers from the response.
8379
- */
8380
- headers: HttpHeaders;
8381
- /**
8382
- * The original request that resulted in this response.
8383
- */
8384
- request: WebResource;
8385
- /**
8386
- * The HTTP status code returned from the service.
8387
- */
8388
- status: number;
8389
- }
6914
+ export { IHttpClient }
8390
6915
 
8391
6916
  /**
8392
6917
  * A helper to decide if a given argument satisfies the Pipeline contract
@@ -8395,18 +6920,9 @@ export declare interface HttpResponse {
8395
6920
  */
8396
6921
  export declare function isPipelineLike(pipeline: unknown): pipeline is PipelineLike;
8397
6922
 
8398
- /** json text configuration */
8399
- declare interface JsonTextConfiguration {
8400
- /** The string used to separate records. */
8401
- recordSeparator?: string;
8402
- }
8403
-
8404
- /** Key information */
8405
- declare interface KeyInfo {
8406
- /** The date-time the key is active in ISO 8601 UTC time */
8407
- startsOn: string;
8408
- /** The date-time the key expires in ISO 8601 UTC time */
8409
- expiresOn: string;
6923
+ /** Known values of {@link EncryptionAlgorithmType} that the service accepts. */
6924
+ export declare enum KnownEncryptionAlgorithmType {
6925
+ AES256 = "AES256"
8410
6926
  }
8411
6927
 
8412
6928
  /**
@@ -8487,7 +7003,17 @@ export declare interface LeaseOperationOptions extends CommonOptions {
8487
7003
  *
8488
7004
  * See {@link BlobLeaseClient}.
8489
7005
  */
8490
- export declare type LeaseOperationResponse = WithResponse<Lease, Lease>;
7006
+ export declare type LeaseOperationResponse = Lease & {
7007
+ /**
7008
+ * The underlying HTTP response.
7009
+ */
7010
+ _response: HttpResponse & {
7011
+ /**
7012
+ * The parsed HTTP response headers.
7013
+ */
7014
+ parsedHeaders: Lease;
7015
+ };
7016
+ };
8491
7017
 
8492
7018
  /** Defines values for LeaseStateType. */
8493
7019
  export declare type LeaseStateType = "available" | "leased" | "expired" | "breaking" | "broken";
@@ -8508,17 +7034,6 @@ export declare interface ListBlobsFlatSegmentResponse {
8508
7034
  continuationToken?: string;
8509
7035
  }
8510
7036
 
8511
- /** An enumeration of blobs */
8512
- declare interface ListBlobsFlatSegmentResponse_2 {
8513
- serviceEndpoint: string;
8514
- containerName: string;
8515
- prefix?: string;
8516
- marker?: string;
8517
- maxPageSize?: number;
8518
- segment: BlobFlatListSegment_2;
8519
- continuationToken?: string;
8520
- }
8521
-
8522
7037
  /** An enumeration of blobs */
8523
7038
  export declare interface ListBlobsFlatSegmentResponseModel {
8524
7039
  serviceEndpoint: string;
@@ -8544,18 +7059,6 @@ export declare interface ListBlobsHierarchySegmentResponse {
8544
7059
  continuationToken?: string;
8545
7060
  }
8546
7061
 
8547
- /** An enumeration of blobs */
8548
- declare interface ListBlobsHierarchySegmentResponse_2 {
8549
- serviceEndpoint: string;
8550
- containerName: string;
8551
- prefix?: string;
8552
- marker?: string;
8553
- maxPageSize?: number;
8554
- delimiter?: string;
8555
- segment: BlobHierarchyListSegment_2;
8556
- continuationToken?: string;
8557
- }
8558
-
8559
7062
  /** An enumeration of blobs */
8560
7063
  export declare interface ListBlobsHierarchySegmentResponseModel {
8561
7064
  serviceEndpoint: string;
@@ -8568,12 +7071,6 @@ export declare interface ListBlobsHierarchySegmentResponseModel {
8568
7071
  continuationToken?: string;
8569
7072
  }
8570
7073
 
8571
- /** Defines values for ListBlobsIncludeItem. */
8572
- declare type ListBlobsIncludeItem = "copy" | "deleted" | "metadata" | "snapshots" | "uncommittedblobs" | "versions" | "tags" | "immutabilitypolicy" | "legalhold" | "deletedwithversions";
8573
-
8574
- /** Defines values for ListContainersIncludeType. */
8575
- declare type ListContainersIncludeType = "metadata" | "deleted" | "system";
8576
-
8577
7074
  /** An enumeration of containers */
8578
7075
  export declare interface ListContainersSegmentResponse {
8579
7076
  serviceEndpoint: string;
@@ -8722,83 +7219,6 @@ export declare interface ObjectReplicationRule {
8722
7219
  */
8723
7220
  export declare type ObjectReplicationStatus = "complete" | "failed";
8724
7221
 
8725
- /** Interface representing a PageBlob. */
8726
- declare interface PageBlob {
8727
- /**
8728
- * The Create operation creates a new page blob.
8729
- * @param contentLength The length of the request.
8730
- * @param blobContentLength This header specifies the maximum size for the page blob, up to 1 TB. The
8731
- * page blob size must be aligned to a 512-byte boundary.
8732
- * @param options The options parameters.
8733
- */
8734
- create(contentLength: number, blobContentLength: number, options?: PageBlobCreateOptionalParams): Promise<PageBlobCreateResponse_2>;
8735
- /**
8736
- * The Upload Pages operation writes a range of pages to a page blob
8737
- * @param contentLength The length of the request.
8738
- * @param body Initial data
8739
- * @param options The options parameters.
8740
- */
8741
- uploadPages(contentLength: number, body: coreRestPipeline.RequestBodyType, options?: PageBlobUploadPagesOptionalParams): Promise<PageBlobUploadPagesResponse_2>;
8742
- /**
8743
- * The Clear Pages operation clears a set of pages from a page blob
8744
- * @param contentLength The length of the request.
8745
- * @param options The options parameters.
8746
- */
8747
- clearPages(contentLength: number, options?: PageBlobClearPagesOptionalParams): Promise<PageBlobClearPagesResponse_2>;
8748
- /**
8749
- * The Upload Pages operation writes a range of pages to a page blob where the contents are read from a
8750
- * URL
8751
- * @param sourceUrl Specify a URL to the copy source.
8752
- * @param sourceRange Bytes of source data in the specified range. The length of this range should
8753
- * match the ContentLength header and x-ms-range/Range destination range header.
8754
- * @param contentLength The length of the request.
8755
- * @param range The range of bytes to which the source range would be written. The range should be 512
8756
- * aligned and range-end is required.
8757
- * @param options The options parameters.
8758
- */
8759
- uploadPagesFromURL(sourceUrl: string, sourceRange: string, contentLength: number, range: string, options?: PageBlobUploadPagesFromURLOptionalParams): Promise<PageBlobUploadPagesFromURLResponse_2>;
8760
- /**
8761
- * The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a
8762
- * page blob
8763
- * @param options The options parameters.
8764
- */
8765
- getPageRanges(options?: PageBlobGetPageRangesOptionalParams): Promise<PageBlobGetPageRangesResponseInternal>;
8766
- /**
8767
- * The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were
8768
- * changed between target blob and previous snapshot.
8769
- * @param options The options parameters.
8770
- */
8771
- getPageRangesDiff(options?: PageBlobGetPageRangesDiffOptionalParams): Promise<PageBlobGetPageRangesDiffResponseInternal>;
8772
- /**
8773
- * Resize the Blob
8774
- * @param blobContentLength This header specifies the maximum size for the page blob, up to 1 TB. The
8775
- * page blob size must be aligned to a 512-byte boundary.
8776
- * @param options The options parameters.
8777
- */
8778
- resize(blobContentLength: number, options?: PageBlobResizeOptionalParams): Promise<PageBlobResizeResponse_2>;
8779
- /**
8780
- * Update the sequence number of the blob
8781
- * @param sequenceNumberAction Required if the x-ms-blob-sequence-number header is set for the request.
8782
- * This property applies to page blobs only. This property indicates how the service should modify the
8783
- * blob's sequence number
8784
- * @param options The options parameters.
8785
- */
8786
- updateSequenceNumber(sequenceNumberAction: SequenceNumberActionType, options?: PageBlobUpdateSequenceNumberOptionalParams): Promise<PageBlobUpdateSequenceNumberResponse_2>;
8787
- /**
8788
- * The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob.
8789
- * The snapshot is copied such that only the differential changes between the previously copied
8790
- * snapshot are transferred to the destination. The copied snapshots are complete copies of the
8791
- * original snapshot and can be read or copied from as usual. This API is supported since REST version
8792
- * 2016-05-31.
8793
- * @param copySource Specifies the name of the source page blob snapshot. This value is a URL of up to
8794
- * 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would
8795
- * appear in a request URI. The source blob must either be public or must be authenticated via a shared
8796
- * access signature.
8797
- * @param options The options parameters.
8798
- */
8799
- copyIncremental(copySource: string, options?: PageBlobCopyIncrementalOptionalParams): Promise<PageBlobCopyIncrementalResponse_2>;
8800
- }
8801
-
8802
7222
  /** Defines headers for PageBlob_clearPages operation. */
8803
7223
  export declare interface PageBlobClearPagesHeaders {
8804
7224
  /** The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes. */
@@ -8823,26 +7243,6 @@ export declare interface PageBlobClearPagesHeaders {
8823
7243
  errorCode?: string;
8824
7244
  }
8825
7245
 
8826
- /** Optional parameters. */
8827
- declare interface PageBlobClearPagesOptionalParams extends coreClient.OperationOptions {
8828
- /** Parameter group */
8829
- leaseAccessConditions?: LeaseAccessConditions;
8830
- /** Parameter group */
8831
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
8832
- /** Parameter group */
8833
- cpkInfo?: CpkInfo;
8834
- /** Parameter group */
8835
- sequenceNumberAccessConditions?: SequenceNumberAccessConditions;
8836
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
8837
- timeoutInSeconds?: number;
8838
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
8839
- requestId?: string;
8840
- /** Return only the bytes of the blob in the specified range. */
8841
- range?: string;
8842
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
8843
- encryptionScope?: string;
8844
- }
8845
-
8846
7246
  /**
8847
7247
  * Options to configure the {@link PageBlobClient.clearPages} operation.
8848
7248
  */
@@ -8870,10 +7270,13 @@ export declare interface PageBlobClearPagesOptions extends CommonOptions {
8870
7270
  }
8871
7271
 
8872
7272
  /** Contains response data for the clearPages operation. */
8873
- export declare type PageBlobClearPagesResponse = WithResponse<PageBlobClearPagesHeaders, PageBlobClearPagesHeaders>;
8874
-
8875
- /** Contains response data for the clearPages operation. */
8876
- declare type PageBlobClearPagesResponse_2 = PageBlobClearPagesHeaders;
7273
+ export declare type PageBlobClearPagesResponse = PageBlobClearPagesHeaders & {
7274
+ /** The underlying HTTP response. */
7275
+ _response: coreHttp.HttpResponse & {
7276
+ /** The parsed HTTP response headers. */
7277
+ parsedHeaders: PageBlobClearPagesHeaders;
7278
+ };
7279
+ };
8877
7280
 
8878
7281
  /**
8879
7282
  * PageBlobClient defines a set of operations applicable to page blobs.
@@ -9299,21 +7702,14 @@ export declare interface PageBlobCopyIncrementalHeaders {
9299
7702
  errorCode?: string;
9300
7703
  }
9301
7704
 
9302
- /** Optional parameters. */
9303
- declare interface PageBlobCopyIncrementalOptionalParams extends coreClient.OperationOptions {
9304
- /** Parameter group */
9305
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
9306
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
9307
- timeoutInSeconds?: number;
9308
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
9309
- requestId?: string;
9310
- }
9311
-
9312
7705
  /** Contains response data for the copyIncremental operation. */
9313
- export declare type PageBlobCopyIncrementalResponse = WithResponse<PageBlobCopyIncrementalHeaders, PageBlobCopyIncrementalHeaders>;
9314
-
9315
- /** Contains response data for the copyIncremental operation. */
9316
- declare type PageBlobCopyIncrementalResponse_2 = PageBlobCopyIncrementalHeaders;
7706
+ export declare type PageBlobCopyIncrementalResponse = PageBlobCopyIncrementalHeaders & {
7707
+ /** The underlying HTTP response. */
7708
+ _response: coreHttp.HttpResponse & {
7709
+ /** The parsed HTTP response headers. */
7710
+ parsedHeaders: PageBlobCopyIncrementalHeaders;
7711
+ };
7712
+ };
9317
7713
 
9318
7714
  /** Defines headers for PageBlob_create operation. */
9319
7715
  export declare interface PageBlobCreateHeaders {
@@ -9405,40 +7801,6 @@ export declare interface PageBlobCreateIfNotExistsResponse extends PageBlobCreat
9405
7801
  succeeded: boolean;
9406
7802
  }
9407
7803
 
9408
- /** Optional parameters. */
9409
- declare interface PageBlobCreateOptionalParams extends coreClient.OperationOptions {
9410
- /** Parameter group */
9411
- leaseAccessConditions?: LeaseAccessConditions;
9412
- /** Parameter group */
9413
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
9414
- /** Parameter group */
9415
- cpkInfo?: CpkInfo;
9416
- /** Parameter group */
9417
- blobHttpHeaders?: BlobHTTPHeaders;
9418
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
9419
- timeoutInSeconds?: number;
9420
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
9421
- requestId?: string;
9422
- /** Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. */
9423
- metadata?: {
9424
- [propertyName: string]: string;
9425
- };
9426
- /** Specifies the date time when the blobs immutability policy is set to expire. */
9427
- immutabilityPolicyExpiry?: Date;
9428
- /** Specifies the immutability policy mode to set on the blob. */
9429
- immutabilityPolicyMode?: BlobImmutabilityPolicyMode;
9430
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
9431
- encryptionScope?: string;
9432
- /** Optional. Indicates the tier to be set on the blob. */
9433
- tier?: AccessTier;
9434
- /** Optional. Used to set blob tags in various blob operations. */
9435
- blobTagsString?: string;
9436
- /** Specified if a legal hold should be set on the blob. */
9437
- legalHold?: boolean;
9438
- /** Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1. */
9439
- blobSequenceNumber?: number;
9440
- }
9441
-
9442
7804
  /**
9443
7805
  * Options to configure the {@link PageBlobClient.create} operation.
9444
7806
  */
@@ -9500,10 +7862,13 @@ export declare interface PageBlobCreateOptions extends CommonOptions {
9500
7862
  }
9501
7863
 
9502
7864
  /** Contains response data for the create operation. */
9503
- export declare type PageBlobCreateResponse = WithResponse<PageBlobCreateHeaders, PageBlobCreateHeaders>;
9504
-
9505
- /** Contains response data for the create operation. */
9506
- declare type PageBlobCreateResponse_2 = PageBlobCreateHeaders;
7865
+ export declare type PageBlobCreateResponse = PageBlobCreateHeaders & {
7866
+ /** The underlying HTTP response. */
7867
+ _response: coreHttp.HttpResponse & {
7868
+ /** The parsed HTTP response headers. */
7869
+ parsedHeaders: PageBlobCreateHeaders;
7870
+ };
7871
+ };
9507
7872
 
9508
7873
  /** Defines headers for PageBlob_getPageRangesDiff operation. */
9509
7874
  export declare interface PageBlobGetPageRangesDiffHeaders {
@@ -9525,30 +7890,6 @@ export declare interface PageBlobGetPageRangesDiffHeaders {
9525
7890
  errorCode?: string;
9526
7891
  }
9527
7892
 
9528
- /** Optional parameters. */
9529
- declare interface PageBlobGetPageRangesDiffOptionalParams extends coreClient.OperationOptions {
9530
- /** Parameter group */
9531
- leaseAccessConditions?: LeaseAccessConditions;
9532
- /** Parameter group */
9533
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
9534
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
9535
- timeoutInSeconds?: number;
9536
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
9537
- requestId?: string;
9538
- /** A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the ContinuationToken value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client. */
9539
- marker?: string;
9540
- /** Specifies the maximum number of containers to return. If the request does not specify maxresults, or specifies a value greater than 5000, the server will return up to 5000 items. Note that if the listing operation crosses a partition boundary, then the service will return a continuation token for retrieving the remainder of the results. For this reason, it is possible that the service will return fewer results than specified by maxresults, or than the default of 5000. */
9541
- maxPageSize?: number;
9542
- /** The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a> */
9543
- snapshot?: string;
9544
- /** Return only the bytes of the blob in the specified range. */
9545
- range?: string;
9546
- /** Optional in version 2015-07-08 and newer. The prevsnapshot parameter is a DateTime value that specifies that the response will contain only pages that were changed between target blob and previous snapshot. Changed pages include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by prevsnapshot is the older of the two. Note that incremental snapshots are currently supported only for blobs created on or after January 1, 2016. */
9547
- prevsnapshot?: string;
9548
- /** Optional. This header is only supported in service versions 2019-04-19 and after and specifies the URL of a previous snapshot of the target blob. The response will only contain pages that were changed between the target blob and its previous snapshot. */
9549
- prevSnapshotUrl?: string;
9550
- }
9551
-
9552
7893
  /**
9553
7894
  * Options to configure the {@link PageBlobClient.getRangesDiff} operation.
9554
7895
  */
@@ -9571,14 +7912,38 @@ export declare interface PageBlobGetPageRangesDiffOptions extends CommonOptions
9571
7912
  /**
9572
7913
  * Contains response data for the {@link BlobClient.getPageRangesDiff} operation.
9573
7914
  */
9574
- export declare interface PageBlobGetPageRangesDiffResponse extends PageList, PageBlobGetPageRangesDiffHeaders, ResponseWithBody<PageBlobGetPageRangesDiffHeaders, PageList> {
7915
+ export declare interface PageBlobGetPageRangesDiffResponse extends PageList, PageBlobGetPageRangesDiffHeaders {
7916
+ /**
7917
+ * The underlying HTTP response.
7918
+ */
7919
+ _response: HttpResponse & {
7920
+ /**
7921
+ * The parsed HTTP response headers.
7922
+ */
7923
+ parsedHeaders: PageBlobGetPageRangesDiffHeaders;
7924
+ /**
7925
+ * The response body as text (string format)
7926
+ */
7927
+ bodyAsText: string;
7928
+ /**
7929
+ * The response body as parsed JSON or XML
7930
+ */
7931
+ parsedBody: PageList;
7932
+ };
9575
7933
  }
9576
7934
 
9577
7935
  /** Contains response data for the getPageRangesDiff operation. */
9578
- export declare type PageBlobGetPageRangesDiffResponseInternal = PageBlobGetPageRangesDiffHeaders & PageListInternal;
9579
-
9580
- /** Contains response data for the getPageRangesDiff operation. */
9581
- export declare type PageBlobGetPageRangesDiffResponseModel = WithResponse<PageBlobGetPageRangesDiffResponseInternal, PageBlobGetPageRangesDiffHeaders, PageListInternal>;
7936
+ export declare type PageBlobGetPageRangesDiffResponseModel = PageBlobGetPageRangesDiffHeaders & PageList_2 & {
7937
+ /** The underlying HTTP response. */
7938
+ _response: coreHttp.HttpResponse & {
7939
+ /** The response body as text (string format) */
7940
+ bodyAsText: string;
7941
+ /** The response body as parsed JSON or XML */
7942
+ parsedBody: PageList_2;
7943
+ /** The parsed HTTP response headers. */
7944
+ parsedHeaders: PageBlobGetPageRangesDiffHeaders;
7945
+ };
7946
+ };
9582
7947
 
9583
7948
  /** Defines headers for PageBlob_getPageRanges operation. */
9584
7949
  export declare interface PageBlobGetPageRangesHeaders {
@@ -9600,26 +7965,6 @@ export declare interface PageBlobGetPageRangesHeaders {
9600
7965
  errorCode?: string;
9601
7966
  }
9602
7967
 
9603
- /** Optional parameters. */
9604
- declare interface PageBlobGetPageRangesOptionalParams extends coreClient.OperationOptions {
9605
- /** Parameter group */
9606
- leaseAccessConditions?: LeaseAccessConditions;
9607
- /** Parameter group */
9608
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
9609
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
9610
- timeoutInSeconds?: number;
9611
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
9612
- requestId?: string;
9613
- /** A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the ContinuationToken value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client. */
9614
- marker?: string;
9615
- /** Specifies the maximum number of containers to return. If the request does not specify maxresults, or specifies a value greater than 5000, the server will return up to 5000 items. Note that if the listing operation crosses a partition boundary, then the service will return a continuation token for retrieving the remainder of the results. For this reason, it is possible that the service will return fewer results than specified by maxresults, or than the default of 5000. */
9616
- maxPageSize?: number;
9617
- /** The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a> */
9618
- snapshot?: string;
9619
- /** Return only the bytes of the blob in the specified range. */
9620
- range?: string;
9621
- }
9622
-
9623
7968
  /**
9624
7969
  * Options to configure the {@link PageBlobClient.getPageRanges} operation.
9625
7970
  */
@@ -9638,14 +7983,38 @@ export declare interface PageBlobGetPageRangesOptions extends CommonOptions {
9638
7983
  /**
9639
7984
  * Contains response data for the {@link BlobClient.getPageRanges} operation.
9640
7985
  */
9641
- export declare interface PageBlobGetPageRangesResponse extends PageList, PageBlobGetPageRangesHeaders, ResponseWithBody<PageBlobGetPageRangesHeaders, PageList> {
7986
+ export declare interface PageBlobGetPageRangesResponse extends PageList, PageBlobGetPageRangesHeaders {
7987
+ /**
7988
+ * The underlying HTTP response.
7989
+ */
7990
+ _response: HttpResponse & {
7991
+ /**
7992
+ * The parsed HTTP response headers.
7993
+ */
7994
+ parsedHeaders: PageBlobGetPageRangesHeaders;
7995
+ /**
7996
+ * The response body as text (string format)
7997
+ */
7998
+ bodyAsText: string;
7999
+ /**
8000
+ * The response body as parsed JSON or XML
8001
+ */
8002
+ parsedBody: PageList;
8003
+ };
9642
8004
  }
9643
8005
 
9644
8006
  /** Contains response data for the getPageRanges operation. */
9645
- export declare type PageBlobGetPageRangesResponseInternal = PageBlobGetPageRangesHeaders & PageListInternal;
9646
-
9647
- /** Contains response data for the getPageRanges operation. */
9648
- export declare type PageBlobGetPageRangesResponseModel = WithResponse<PageBlobGetPageRangesResponseInternal, PageBlobGetPageRangesHeaders, PageListInternal>;
8007
+ export declare type PageBlobGetPageRangesResponseModel = PageBlobGetPageRangesHeaders & PageList_2 & {
8008
+ /** The underlying HTTP response. */
8009
+ _response: coreHttp.HttpResponse & {
8010
+ /** The response body as text (string format) */
8011
+ bodyAsText: string;
8012
+ /** The response body as parsed JSON or XML */
8013
+ parsedBody: PageList_2;
8014
+ /** The parsed HTTP response headers. */
8015
+ parsedHeaders: PageBlobGetPageRangesHeaders;
8016
+ };
8017
+ };
9649
8018
 
9650
8019
  /**
9651
8020
  * Options to configure the {@link PageBlobClient.listPageRangesDiff} operation.
@@ -9703,22 +8072,6 @@ export declare interface PageBlobResizeHeaders {
9703
8072
  errorCode?: string;
9704
8073
  }
9705
8074
 
9706
- /** Optional parameters. */
9707
- declare interface PageBlobResizeOptionalParams extends coreClient.OperationOptions {
9708
- /** Parameter group */
9709
- leaseAccessConditions?: LeaseAccessConditions;
9710
- /** Parameter group */
9711
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
9712
- /** Parameter group */
9713
- cpkInfo?: CpkInfo;
9714
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
9715
- timeoutInSeconds?: number;
9716
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
9717
- requestId?: string;
9718
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
9719
- encryptionScope?: string;
9720
- }
9721
-
9722
8075
  /**
9723
8076
  * Options to configure {@link PageBlobClient.resize} operation.
9724
8077
  */
@@ -9742,10 +8095,13 @@ export declare interface PageBlobResizeOptions extends CommonOptions {
9742
8095
  }
9743
8096
 
9744
8097
  /** Contains response data for the resize operation. */
9745
- export declare type PageBlobResizeResponse = WithResponse<PageBlobResizeHeaders, PageBlobResizeHeaders>;
9746
-
9747
- /** Contains response data for the resize operation. */
9748
- declare type PageBlobResizeResponse_2 = PageBlobResizeHeaders;
8098
+ export declare type PageBlobResizeResponse = PageBlobResizeHeaders & {
8099
+ /** The underlying HTTP response. */
8100
+ _response: coreHttp.HttpResponse & {
8101
+ /** The parsed HTTP response headers. */
8102
+ parsedHeaders: PageBlobResizeHeaders;
8103
+ };
8104
+ };
9749
8105
 
9750
8106
  /**
9751
8107
  * Options to configure {@link PageBlobClient.startCopyIncremental} operation.
@@ -9770,30 +8126,16 @@ export declare interface PageBlobUpdateSequenceNumberHeaders {
9770
8126
  lastModified?: Date;
9771
8127
  /** The current sequence number for a page blob. This header is not returned for block blobs or append blobs */
9772
8128
  blobSequenceNumber?: number;
9773
- /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
9774
- clientRequestId?: string;
9775
- /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
9776
- requestId?: string;
9777
- /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
9778
- version?: string;
9779
- /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
9780
- date?: Date;
9781
- /** Error Code */
9782
- errorCode?: string;
9783
- }
9784
-
9785
- /** Optional parameters. */
9786
- declare interface PageBlobUpdateSequenceNumberOptionalParams extends coreClient.OperationOptions {
9787
- /** Parameter group */
9788
- leaseAccessConditions?: LeaseAccessConditions;
9789
- /** Parameter group */
9790
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
9791
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
9792
- timeoutInSeconds?: number;
9793
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
9794
- requestId?: string;
9795
- /** Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1. */
9796
- blobSequenceNumber?: number;
8129
+ /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
8130
+ clientRequestId?: string;
8131
+ /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
8132
+ requestId?: string;
8133
+ /** Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
8134
+ version?: string;
8135
+ /** UTC date/time value generated by the service that indicates the time at which the response was initiated */
8136
+ date?: Date;
8137
+ /** Error Code */
8138
+ errorCode?: string;
9797
8139
  }
9798
8140
 
9799
8141
  /**
@@ -9812,10 +8154,13 @@ export declare interface PageBlobUpdateSequenceNumberOptions extends CommonOptio
9812
8154
  }
9813
8155
 
9814
8156
  /** Contains response data for the updateSequenceNumber operation. */
9815
- export declare type PageBlobUpdateSequenceNumberResponse = WithResponse<PageBlobUpdateSequenceNumberHeaders, PageBlobUpdateSequenceNumberHeaders>;
9816
-
9817
- /** Contains response data for the updateSequenceNumber operation. */
9818
- declare type PageBlobUpdateSequenceNumberResponse_2 = PageBlobUpdateSequenceNumberHeaders;
8157
+ export declare type PageBlobUpdateSequenceNumberResponse = PageBlobUpdateSequenceNumberHeaders & {
8158
+ /** The underlying HTTP response. */
8159
+ _response: coreHttp.HttpResponse & {
8160
+ /** The parsed HTTP response headers. */
8161
+ parsedHeaders: PageBlobUpdateSequenceNumberHeaders;
8162
+ };
8163
+ };
9819
8164
 
9820
8165
  /** Defines headers for PageBlob_uploadPagesFromURL operation. */
9821
8166
  export declare interface PageBlobUploadPagesFromURLHeaders {
@@ -9845,32 +8190,6 @@ export declare interface PageBlobUploadPagesFromURLHeaders {
9845
8190
  errorCode?: string;
9846
8191
  }
9847
8192
 
9848
- /** Optional parameters. */
9849
- declare interface PageBlobUploadPagesFromURLOptionalParams extends coreClient.OperationOptions {
9850
- /** Parameter group */
9851
- leaseAccessConditions?: LeaseAccessConditions;
9852
- /** Parameter group */
9853
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
9854
- /** Parameter group */
9855
- cpkInfo?: CpkInfo;
9856
- /** Parameter group */
9857
- sourceModifiedAccessConditions?: SourceModifiedAccessConditions;
9858
- /** Parameter group */
9859
- sequenceNumberAccessConditions?: SequenceNumberAccessConditions;
9860
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
9861
- timeoutInSeconds?: number;
9862
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
9863
- requestId?: string;
9864
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
9865
- encryptionScope?: string;
9866
- /** Specify the md5 calculated for the range of bytes that must be read from the copy source. */
9867
- sourceContentMD5?: Uint8Array;
9868
- /** Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source. */
9869
- copySourceAuthorization?: string;
9870
- /** Specify the crc64 calculated for the range of bytes that must be read from the copy source. */
9871
- sourceContentCrc64?: Uint8Array;
9872
- }
9873
-
9874
8193
  /**
9875
8194
  * Options to configure {@link PageBlobClient.uploadPagesFromURL} operation.
9876
8195
  */
@@ -9922,10 +8241,13 @@ export declare interface PageBlobUploadPagesFromURLOptions extends CommonOptions
9922
8241
  }
9923
8242
 
9924
8243
  /** Contains response data for the uploadPagesFromURL operation. */
9925
- export declare type PageBlobUploadPagesFromURLResponse = WithResponse<PageBlobUploadPagesFromURLHeaders, PageBlobUploadPagesFromURLHeaders>;
9926
-
9927
- /** Contains response data for the uploadPagesFromURL operation. */
9928
- declare type PageBlobUploadPagesFromURLResponse_2 = PageBlobUploadPagesFromURLHeaders;
8244
+ export declare type PageBlobUploadPagesFromURLResponse = PageBlobUploadPagesFromURLHeaders & {
8245
+ /** The underlying HTTP response. */
8246
+ _response: coreHttp.HttpResponse & {
8247
+ /** The parsed HTTP response headers. */
8248
+ parsedHeaders: PageBlobUploadPagesFromURLHeaders;
8249
+ };
8250
+ };
9929
8251
 
9930
8252
  /** Defines headers for PageBlob_uploadPages operation. */
9931
8253
  export declare interface PageBlobUploadPagesHeaders {
@@ -9957,30 +8279,6 @@ export declare interface PageBlobUploadPagesHeaders {
9957
8279
  errorCode?: string;
9958
8280
  }
9959
8281
 
9960
- /** Optional parameters. */
9961
- declare interface PageBlobUploadPagesOptionalParams extends coreClient.OperationOptions {
9962
- /** Parameter group */
9963
- leaseAccessConditions?: LeaseAccessConditions;
9964
- /** Parameter group */
9965
- modifiedAccessConditions?: ModifiedAccessConditionsModel;
9966
- /** Parameter group */
9967
- cpkInfo?: CpkInfo;
9968
- /** Parameter group */
9969
- sequenceNumberAccessConditions?: SequenceNumberAccessConditions;
9970
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
9971
- timeoutInSeconds?: number;
9972
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
9973
- requestId?: string;
9974
- /** Return only the bytes of the blob in the specified range. */
9975
- range?: string;
9976
- /** Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services. */
9977
- encryptionScope?: string;
9978
- /** Specify the transactional md5 for the body, to be validated by the service. */
9979
- transactionalContentMD5?: Uint8Array;
9980
- /** Specify the transactional crc64 for the body, to be validated by the service. */
9981
- transactionalContentCrc64?: Uint8Array;
9982
- }
9983
-
9984
8282
  /**
9985
8283
  * Options to configure the {@link PageBlobClient.uploadPages} operation.
9986
8284
  */
@@ -10026,10 +8324,13 @@ export declare interface PageBlobUploadPagesOptions extends CommonOptions {
10026
8324
  }
10027
8325
 
10028
8326
  /** Contains response data for the uploadPages operation. */
10029
- export declare type PageBlobUploadPagesResponse = WithResponse<PageBlobUploadPagesHeaders, PageBlobUploadPagesHeaders>;
10030
-
10031
- /** Contains response data for the uploadPages operation. */
10032
- declare type PageBlobUploadPagesResponse_2 = PageBlobUploadPagesHeaders;
8327
+ export declare type PageBlobUploadPagesResponse = PageBlobUploadPagesHeaders & {
8328
+ /** The underlying HTTP response. */
8329
+ _response: coreHttp.HttpResponse & {
8330
+ /** The parsed HTTP response headers. */
8331
+ parsedHeaders: PageBlobUploadPagesHeaders;
8332
+ };
8333
+ };
10033
8334
 
10034
8335
  /**
10035
8336
  * List of page ranges for a blob.
@@ -10047,13 +8348,13 @@ export declare interface PageList {
10047
8348
  }
10048
8349
 
10049
8350
  /** the list of pages */
10050
- export declare interface PageListInternal {
8351
+ declare interface PageList_2 {
10051
8352
  pageRange?: PageRange[];
10052
8353
  clearRange?: ClearRange[];
10053
8354
  continuationToken?: string;
10054
8355
  }
10055
8356
 
10056
- export declare interface PageRange {
8357
+ declare interface PageRange {
10057
8358
  start: number;
10058
8359
  end: number;
10059
8360
  }
@@ -10148,7 +8449,7 @@ export declare interface PipelineOptions {
10148
8449
  /**
10149
8450
  * Optional. Configures the HTTP client to send requests and receive responses.
10150
8451
  */
10151
- httpClient?: RequestPolicy;
8452
+ httpClient?: IHttpClient;
10152
8453
  }
10153
8454
 
10154
8455
  export { PollerLike }
@@ -10270,36 +8571,6 @@ export declare enum PremiumPageBlobTier {
10270
8571
  /** Defines values for PublicAccessType. */
10271
8572
  export declare type PublicAccessType = "container" | "blob";
10272
8573
 
10273
- declare interface QueryFormat {
10274
- /** The quick query format type. */
10275
- type: QueryFormatType;
10276
- /** Groups the settings used for interpreting the blob data if the blob is delimited text formatted. */
10277
- delimitedTextConfiguration?: DelimitedTextConfiguration;
10278
- /** json text configuration */
10279
- jsonTextConfiguration?: JsonTextConfiguration;
10280
- /** Groups the settings used for formatting the response if the response should be Arrow formatted. */
10281
- arrowConfiguration?: ArrowConfiguration;
10282
- /** parquet configuration */
10283
- parquetTextConfiguration?: Record<string, unknown>;
10284
- }
10285
-
10286
- /** Defines values for QueryFormatType. */
10287
- declare type QueryFormatType = "delimited" | "json" | "arrow" | "parquet";
10288
-
10289
- /** Groups the set of query request settings. */
10290
- declare interface QueryRequest {
10291
- /** Required. The type of the provided query expression. */
10292
- queryType: string;
10293
- /** The query expression in SQL. The maximum size of the query expression is 256KiB. */
10294
- expression: string;
10295
- inputSerialization?: QuerySerialization;
10296
- outputSerialization?: QuerySerialization;
10297
- }
10298
-
10299
- declare interface QuerySerialization {
10300
- format: QueryFormat;
10301
- }
10302
-
10303
8574
  /**
10304
8575
  * Range for Blob Service Operations.
10305
8576
  * @see https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-the-range-header-for-blob-service-operations
@@ -10320,63 +8591,12 @@ export { Range_2 as Range }
10320
8591
  /** Defines values for RehydratePriority. */
10321
8592
  export declare type RehydratePriority = "High" | "Standard";
10322
8593
 
10323
- export { RequestPolicy as IHttpClient }
10324
8594
  export { RequestPolicy }
10325
8595
 
10326
8596
  export { RequestPolicyFactory }
10327
8597
 
10328
8598
  export { RequestPolicyOptions }
10329
8599
 
10330
- /**
10331
- * An object with a simple _response property.
10332
- */
10333
- export declare interface ResponseLike {
10334
- /**
10335
- * The underlying HTTP response.
10336
- */
10337
- _response: HttpResponse;
10338
- }
10339
-
10340
- /**
10341
- * An object with a _response property that has body
10342
- * and headers already parsed into known types.
10343
- */
10344
- export declare interface ResponseWithBody<Headers, Body> {
10345
- /**
10346
- * The underlying HTTP response.
10347
- */
10348
- _response: HttpResponse & {
10349
- /**
10350
- * The parsed HTTP response headers.
10351
- */
10352
- parsedHeaders: Headers;
10353
- /**
10354
- * The response body as text (string format)
10355
- */
10356
- bodyAsText: string;
10357
- /**
10358
- * The response body as parsed JSON or XML
10359
- */
10360
- parsedBody: Body;
10361
- };
10362
- }
10363
-
10364
- /**
10365
- * An object with a _response property that has
10366
- * headers already parsed into a typed object.
10367
- */
10368
- export declare interface ResponseWithHeaders<Headers> {
10369
- /**
10370
- * The underlying HTTP response.
10371
- */
10372
- _response: HttpResponse & {
10373
- /**
10374
- * The parsed HTTP response headers.
10375
- */
10376
- parsedHeaders: Headers;
10377
- };
10378
- }
10379
-
10380
8600
  export { RestError }
10381
8601
 
10382
8602
  /** the retention policy which determines how long the associated data should persist */
@@ -10701,77 +8921,6 @@ export declare interface SequenceNumberAccessConditions {
10701
8921
  /** Defines values for SequenceNumberActionType. */
10702
8922
  export declare type SequenceNumberActionType = "max" | "update" | "increment";
10703
8923
 
10704
- /** Interface representing a Service. */
10705
- declare interface Service {
10706
- /**
10707
- * Sets properties for a storage account's Blob service endpoint, including properties for Storage
10708
- * Analytics and CORS (Cross-Origin Resource Sharing) rules
10709
- * @param blobServiceProperties The StorageService properties.
10710
- * @param options The options parameters.
10711
- */
10712
- setProperties(blobServiceProperties: BlobServiceProperties, options?: ServiceSetPropertiesOptionalParams): Promise<ServiceSetPropertiesResponse_2>;
10713
- /**
10714
- * gets the properties of a storage account's Blob service, including properties for Storage Analytics
10715
- * and CORS (Cross-Origin Resource Sharing) rules.
10716
- * @param options The options parameters.
10717
- */
10718
- getProperties(options?: ServiceGetPropertiesOptionalParams): Promise<ServiceGetPropertiesResponseInternal>;
10719
- /**
10720
- * Retrieves statistics related to replication for the Blob service. It is only available on the
10721
- * secondary location endpoint when read-access geo-redundant replication is enabled for the storage
10722
- * account.
10723
- * @param options The options parameters.
10724
- */
10725
- getStatistics(options?: ServiceGetStatisticsOptionalParams): Promise<ServiceGetStatisticsResponseInternal>;
10726
- /**
10727
- * The List Containers Segment operation returns a list of the containers under the specified account
10728
- * @param options The options parameters.
10729
- */
10730
- listContainersSegment(options?: ServiceListContainersSegmentOptionalParams): Promise<ServiceListContainersSegmentResponseInternal>;
10731
- /**
10732
- * Retrieves a user delegation key for the Blob service. This is only a valid operation when using
10733
- * bearer token authentication.
10734
- * @param keyInfo Key information
10735
- * @param options The options parameters.
10736
- */
10737
- getUserDelegationKey(keyInfo: KeyInfo, options?: ServiceGetUserDelegationKeyOptionalParams): Promise<ServiceGetUserDelegationKeyResponse_2>;
10738
- /**
10739
- * Returns the sku name and account kind
10740
- * @param options The options parameters.
10741
- */
10742
- getAccountInfo(options?: ServiceGetAccountInfoOptionalParams): Promise<ServiceGetAccountInfoResponse_2>;
10743
- /**
10744
- * The Batch operation allows multiple API calls to be embedded into a single HTTP request.
10745
- * @param contentLength The length of the request.
10746
- * @param multipartContentType Required. The value of this header must be multipart/mixed with a batch
10747
- * boundary. Example header value: multipart/mixed; boundary=batch_<GUID>
10748
- * @param body Initial data
10749
- * @param options The options parameters.
10750
- */
10751
- submitBatch(contentLength: number, multipartContentType: string, body: coreRestPipeline.RequestBodyType, options?: ServiceSubmitBatchOptionalParamsModel): Promise<ServiceSubmitBatchResponseInternal>;
10752
- /**
10753
- * The Filter Blobs operation enables callers to list blobs across all containers whose tags match a
10754
- * given search expression. Filter blobs searches across all containers within a storage account but
10755
- * can be scoped within the expression to a single container.
10756
- * @param options The options parameters.
10757
- */
10758
- filterBlobs(options?: ServiceFilterBlobsOptionalParams): Promise<ServiceFilterBlobsResponse>;
10759
- }
10760
-
10761
- /**
10762
- * A subset of `@azure/core-http` ServiceClientOptions
10763
- */
10764
- export declare interface ServiceClientOptions {
10765
- /**
10766
- * Optional. Configures the HTTP client to send requests and receive responses.
10767
- */
10768
- httpClient?: RequestPolicy;
10769
- /**
10770
- * Optional. Overrides the default policy factories.
10771
- */
10772
- requestPolicyFactories?: RequestPolicyFactory[] | ((defaultRequestPolicyFactories: RequestPolicyFactory[]) => void | RequestPolicyFactory[]);
10773
- }
10774
-
10775
8924
  /** Defines headers for Service_filterBlobs operation. */
10776
8925
  export declare interface ServiceFilterBlobsHeaders {
10777
8926
  /** If a client request id header is sent in the request, this header will be present in the response with the same value. */
@@ -10786,23 +8935,6 @@ export declare interface ServiceFilterBlobsHeaders {
10786
8935
  errorCode?: string;
10787
8936
  }
10788
8937
 
10789
- /** Optional parameters. */
10790
- declare interface ServiceFilterBlobsOptionalParams extends coreClient.OperationOptions {
10791
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
10792
- timeoutInSeconds?: number;
10793
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
10794
- requestId?: string;
10795
- /** A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the ContinuationToken value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client. */
10796
- marker?: string;
10797
- /** Specifies the maximum number of containers to return. If the request does not specify maxresults, or specifies a value greater than 5000, the server will return up to 5000 items. Note that if the listing operation crosses a partition boundary, then the service will return a continuation token for retrieving the remainder of the results. For this reason, it is possible that the service will return fewer results than specified by maxresults, or than the default of 5000. */
10798
- maxPageSize?: number;
10799
- /** Filters the results to return only to return only blobs whose tags match the specified expression. */
10800
- where?: string;
10801
- }
10802
-
10803
- /** Contains response data for the filterBlobs operation. */
10804
- declare type ServiceFilterBlobsResponse = ServiceFilterBlobsHeaders & FilterBlobSegmentModel;
10805
-
10806
8938
  /**
10807
8939
  * Options to configure the {@link BlobServiceClient.findBlobsByTags} operation.
10808
8940
  */
@@ -10817,7 +8949,25 @@ export declare interface ServiceFindBlobByTagsOptions extends CommonOptions {
10817
8949
  /**
10818
8950
  * The response of {@link BlobServiceClient.findBlobsByTags} operation.
10819
8951
  */
10820
- export declare type ServiceFindBlobsByTagsSegmentResponse = WithResponse<FilterBlobSegment & ServiceFilterBlobsHeaders, ServiceFilterBlobsHeaders, FilterBlobSegmentModel>;
8952
+ export declare type ServiceFindBlobsByTagsSegmentResponse = FilterBlobSegment & ServiceFilterBlobsHeaders & {
8953
+ /**
8954
+ * The underlying HTTP response.
8955
+ */
8956
+ _response: HttpResponse & {
8957
+ /**
8958
+ * The parsed HTTP response headers.
8959
+ */
8960
+ parsedHeaders: ServiceFilterBlobsHeaders;
8961
+ /**
8962
+ * The response body as text (string format)
8963
+ */
8964
+ bodyAsText: string;
8965
+ /**
8966
+ * The response body as parsed JSON or XML
8967
+ */
8968
+ parsedBody: FilterBlobSegmentModel;
8969
+ };
8970
+ };
10821
8971
 
10822
8972
  /**
10823
8973
  * Options to configure {@link BlobServiceClient.generateAccountSasUrl} operation.
@@ -10866,10 +9016,6 @@ export declare interface ServiceGetAccountInfoHeaders {
10866
9016
  errorCode?: string;
10867
9017
  }
10868
9018
 
10869
- /** Optional parameters. */
10870
- declare interface ServiceGetAccountInfoOptionalParams extends coreClient.OperationOptions {
10871
- }
10872
-
10873
9019
  /**
10874
9020
  * Options to configure the {@link BlobServiceClient.getAccountInfo} operation.
10875
9021
  */
@@ -10882,10 +9028,13 @@ export declare interface ServiceGetAccountInfoOptions extends CommonOptions {
10882
9028
  }
10883
9029
 
10884
9030
  /** Contains response data for the getAccountInfo operation. */
10885
- export declare type ServiceGetAccountInfoResponse = WithResponse<ServiceGetAccountInfoHeaders, ServiceGetAccountInfoHeaders>;
10886
-
10887
- /** Contains response data for the getAccountInfo operation. */
10888
- declare type ServiceGetAccountInfoResponse_2 = ServiceGetAccountInfoHeaders;
9031
+ export declare type ServiceGetAccountInfoResponse = ServiceGetAccountInfoHeaders & {
9032
+ /** The underlying HTTP response. */
9033
+ _response: coreHttp.HttpResponse & {
9034
+ /** The parsed HTTP response headers. */
9035
+ parsedHeaders: ServiceGetAccountInfoHeaders;
9036
+ };
9037
+ };
10889
9038
 
10890
9039
  /** Defines headers for Service_getProperties operation. */
10891
9040
  export declare interface ServiceGetPropertiesHeaders {
@@ -10899,14 +9048,6 @@ export declare interface ServiceGetPropertiesHeaders {
10899
9048
  errorCode?: string;
10900
9049
  }
10901
9050
 
10902
- /** Optional parameters. */
10903
- declare interface ServiceGetPropertiesOptionalParams extends coreClient.OperationOptions {
10904
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
10905
- timeoutInSeconds?: number;
10906
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
10907
- requestId?: string;
10908
- }
10909
-
10910
9051
  /**
10911
9052
  * Options to configure the {@link BlobServiceClient.getProperties} operation.
10912
9053
  */
@@ -10919,10 +9060,17 @@ export declare interface ServiceGetPropertiesOptions extends CommonOptions {
10919
9060
  }
10920
9061
 
10921
9062
  /** Contains response data for the getProperties operation. */
10922
- export declare type ServiceGetPropertiesResponse = WithResponse<ServiceGetPropertiesResponseInternal, ServiceGetPropertiesHeaders>;
10923
-
10924
- /** Contains response data for the getProperties operation. */
10925
- export declare type ServiceGetPropertiesResponseInternal = ServiceGetPropertiesHeaders & BlobServiceProperties;
9063
+ export declare type ServiceGetPropertiesResponse = ServiceGetPropertiesHeaders & BlobServiceProperties & {
9064
+ /** The underlying HTTP response. */
9065
+ _response: coreHttp.HttpResponse & {
9066
+ /** The response body as text (string format) */
9067
+ bodyAsText: string;
9068
+ /** The response body as parsed JSON or XML */
9069
+ parsedBody: BlobServiceProperties;
9070
+ /** The parsed HTTP response headers. */
9071
+ parsedHeaders: ServiceGetPropertiesHeaders;
9072
+ };
9073
+ };
10926
9074
 
10927
9075
  /** Defines headers for Service_getStatistics operation. */
10928
9076
  export declare interface ServiceGetStatisticsHeaders {
@@ -10938,14 +9086,6 @@ export declare interface ServiceGetStatisticsHeaders {
10938
9086
  errorCode?: string;
10939
9087
  }
10940
9088
 
10941
- /** Optional parameters. */
10942
- declare interface ServiceGetStatisticsOptionalParams extends coreClient.OperationOptions {
10943
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
10944
- timeoutInSeconds?: number;
10945
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
10946
- requestId?: string;
10947
- }
10948
-
10949
9089
  /**
10950
9090
  * Options to configure the {@link BlobServiceClient.getStatistics} operation.
10951
9091
  */
@@ -10958,10 +9098,17 @@ export declare interface ServiceGetStatisticsOptions extends CommonOptions {
10958
9098
  }
10959
9099
 
10960
9100
  /** Contains response data for the getStatistics operation. */
10961
- export declare type ServiceGetStatisticsResponse = WithResponse<ServiceGetStatisticsResponseInternal, ServiceGetStatisticsHeaders>;
10962
-
10963
- /** Contains response data for the getStatistics operation. */
10964
- export declare type ServiceGetStatisticsResponseInternal = ServiceGetStatisticsHeaders & BlobServiceStatistics;
9101
+ export declare type ServiceGetStatisticsResponse = ServiceGetStatisticsHeaders & BlobServiceStatistics & {
9102
+ /** The underlying HTTP response. */
9103
+ _response: coreHttp.HttpResponse & {
9104
+ /** The response body as text (string format) */
9105
+ bodyAsText: string;
9106
+ /** The response body as parsed JSON or XML */
9107
+ parsedBody: BlobServiceStatistics;
9108
+ /** The parsed HTTP response headers. */
9109
+ parsedHeaders: ServiceGetStatisticsHeaders;
9110
+ };
9111
+ };
10965
9112
 
10966
9113
  /** Defines headers for Service_getUserDelegationKey operation. */
10967
9114
  export declare interface ServiceGetUserDelegationKeyHeaders {
@@ -10977,14 +9124,6 @@ export declare interface ServiceGetUserDelegationKeyHeaders {
10977
9124
  errorCode?: string;
10978
9125
  }
10979
9126
 
10980
- /** Optional parameters. */
10981
- declare interface ServiceGetUserDelegationKeyOptionalParams extends coreClient.OperationOptions {
10982
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
10983
- timeoutInSeconds?: number;
10984
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
10985
- requestId?: string;
10986
- }
10987
-
10988
9127
  /**
10989
9128
  * Options to configure the Service - Get User Delegation Key.
10990
9129
  */
@@ -10999,10 +9138,25 @@ export declare interface ServiceGetUserDelegationKeyOptions extends CommonOption
10999
9138
  /**
11000
9139
  * Contains response data for the {@link getUserDelegationKey} operation.
11001
9140
  */
11002
- export declare type ServiceGetUserDelegationKeyResponse = WithResponse<UserDelegationKey & ServiceGetUserDelegationKeyHeaders, ServiceGetUserDelegationKeyHeaders, UserDelegationKeyModel>;
11003
-
11004
- /** Contains response data for the getUserDelegationKey operation. */
11005
- declare type ServiceGetUserDelegationKeyResponse_2 = ServiceGetUserDelegationKeyHeaders & UserDelegationKeyModel;
9141
+ export declare type ServiceGetUserDelegationKeyResponse = UserDelegationKey & ServiceGetUserDelegationKeyHeaders & {
9142
+ /**
9143
+ * The underlying HTTP response.
9144
+ */
9145
+ _response: HttpResponse & {
9146
+ /**
9147
+ * The parsed HTTP response headers.
9148
+ */
9149
+ parsedHeaders: ServiceGetUserDelegationKeyHeaders;
9150
+ /**
9151
+ * The response body as text (string format)
9152
+ */
9153
+ bodyAsText: string;
9154
+ /**
9155
+ * The response body as parsed JSON or XML
9156
+ */
9157
+ parsedBody: UserDelegationKeyModel;
9158
+ };
9159
+ };
11006
9160
 
11007
9161
  /**
11008
9162
  * Options to configure the {@link BlobServiceClient.listContainers} operation.
@@ -11045,27 +9199,18 @@ export declare interface ServiceListContainersSegmentHeaders {
11045
9199
  errorCode?: string;
11046
9200
  }
11047
9201
 
11048
- /** Optional parameters. */
11049
- declare interface ServiceListContainersSegmentOptionalParams extends coreClient.OperationOptions {
11050
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
11051
- timeoutInSeconds?: number;
11052
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
11053
- requestId?: string;
11054
- /** Filters the results to return only containers whose name begins with the specified prefix. */
11055
- prefix?: string;
11056
- /** A string value that identifies the portion of the list of containers to be returned with the next listing operation. The operation returns the ContinuationToken value within the response body if the listing operation did not return all containers remaining to be listed with the current page. The NextMarker value can be used as the value for the marker parameter in a subsequent call to request the next page of list items. The marker value is opaque to the client. */
11057
- marker?: string;
11058
- /** Specifies the maximum number of containers to return. If the request does not specify maxresults, or specifies a value greater than 5000, the server will return up to 5000 items. Note that if the listing operation crosses a partition boundary, then the service will return a continuation token for retrieving the remainder of the results. For this reason, it is possible that the service will return fewer results than specified by maxresults, or than the default of 5000. */
11059
- maxPageSize?: number;
11060
- /** Include this parameter to specify that the container's metadata be returned as part of the response body. */
11061
- include?: ListContainersIncludeType[];
11062
- }
11063
-
11064
- /** Contains response data for the listContainersSegment operation. */
11065
- export declare type ServiceListContainersSegmentResponse = WithResponse<ServiceListContainersSegmentResponseInternal, ServiceListContainersSegmentHeaders>;
11066
-
11067
9202
  /** Contains response data for the listContainersSegment operation. */
11068
- export declare type ServiceListContainersSegmentResponseInternal = ServiceListContainersSegmentHeaders & ListContainersSegmentResponse;
9203
+ export declare type ServiceListContainersSegmentResponse = ServiceListContainersSegmentHeaders & ListContainersSegmentResponse & {
9204
+ /** The underlying HTTP response. */
9205
+ _response: coreHttp.HttpResponse & {
9206
+ /** The response body as text (string format) */
9207
+ bodyAsText: string;
9208
+ /** The response body as parsed JSON or XML */
9209
+ parsedBody: ListContainersSegmentResponse;
9210
+ /** The parsed HTTP response headers. */
9211
+ parsedHeaders: ServiceListContainersSegmentHeaders;
9212
+ };
9213
+ };
11069
9214
 
11070
9215
  /**
11071
9216
  * Options to configure {@link BlobServiceClient.renameContainer} operation.
@@ -11094,14 +9239,6 @@ export declare interface ServiceSetPropertiesHeaders {
11094
9239
  errorCode?: string;
11095
9240
  }
11096
9241
 
11097
- /** Optional parameters. */
11098
- declare interface ServiceSetPropertiesOptionalParams extends coreClient.OperationOptions {
11099
- /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
11100
- timeoutInSeconds?: number;
11101
- /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
11102
- requestId?: string;
11103
- }
11104
-
11105
9242
  /**
11106
9243
  * Options to configure the {@link BlobServiceClient.setProperties} operation.
11107
9244
  */
@@ -11114,10 +9251,13 @@ export declare interface ServiceSetPropertiesOptions extends CommonOptions {
11114
9251
  }
11115
9252
 
11116
9253
  /** Contains response data for the setProperties operation. */
11117
- export declare type ServiceSetPropertiesResponse = WithResponse<ServiceSetPropertiesHeaders, ServiceSetPropertiesHeaders>;
11118
-
11119
- /** Contains response data for the setProperties operation. */
11120
- declare type ServiceSetPropertiesResponse_2 = ServiceSetPropertiesHeaders;
9254
+ export declare type ServiceSetPropertiesResponse = ServiceSetPropertiesHeaders & {
9255
+ /** The underlying HTTP response. */
9256
+ _response: coreHttp.HttpResponse & {
9257
+ /** The parsed HTTP response headers. */
9258
+ parsedHeaders: ServiceSetPropertiesHeaders;
9259
+ };
9260
+ };
11121
9261
 
11122
9262
  /** Defines headers for Service_submitBatch operation. */
11123
9263
  export declare interface ServiceSubmitBatchHeaders {
@@ -11134,7 +9274,7 @@ export declare interface ServiceSubmitBatchHeaders {
11134
9274
  }
11135
9275
 
11136
9276
  /** Optional parameters. */
11137
- export declare interface ServiceSubmitBatchOptionalParamsModel extends coreClient.OperationOptions {
9277
+ export declare interface ServiceSubmitBatchOptionalParamsModel extends coreHttp.OperationOptions {
11138
9278
  /** The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a> */
11139
9279
  timeoutInSeconds?: number;
11140
9280
  /** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. */
@@ -11142,7 +9282,7 @@ export declare interface ServiceSubmitBatchOptionalParamsModel extends coreClien
11142
9282
  }
11143
9283
 
11144
9284
  /** Contains response data for the submitBatch operation. */
11145
- export declare type ServiceSubmitBatchResponseInternal = ServiceSubmitBatchHeaders & {
9285
+ export declare type ServiceSubmitBatchResponseModel = ServiceSubmitBatchHeaders & {
11146
9286
  /**
11147
9287
  * BROWSER ONLY
11148
9288
  *
@@ -11157,11 +9297,13 @@ export declare type ServiceSubmitBatchResponseInternal = ServiceSubmitBatchHeade
11157
9297
  * Always `undefined` in the browser.
11158
9298
  */
11159
9299
  readableStreamBody?: NodeJS.ReadableStream;
9300
+ /** The underlying HTTP response. */
9301
+ _response: coreHttp.HttpResponse & {
9302
+ /** The parsed HTTP response headers. */
9303
+ parsedHeaders: ServiceSubmitBatchHeaders;
9304
+ };
11160
9305
  };
11161
9306
 
11162
- /** Contains response data for the submitBatch operation. */
11163
- export declare type ServiceSubmitBatchResponseModel = WithResponse<ServiceSubmitBatchResponseInternal, ServiceSubmitBatchHeaders>;
11164
-
11165
9307
  /**
11166
9308
  * Options to configure {@link BlobServiceClient.undeleteContainer} operation.
11167
9309
  */
@@ -11218,20 +9360,6 @@ export declare interface SignedIdentifierModel {
11218
9360
  /** Defines values for SkuName. */
11219
9361
  export declare type SkuName = "Standard_LRS" | "Standard_GRS" | "Standard_RAGRS" | "Standard_ZRS" | "Premium_LRS";
11220
9362
 
11221
- /** Parameter group */
11222
- declare interface SourceModifiedAccessConditions {
11223
- /** Specify this header value to operate only on a blob if it has been modified since the specified date/time. */
11224
- sourceIfModifiedSince?: Date;
11225
- /** Specify this header value to operate only on a blob if it has not been modified since the specified date/time. */
11226
- sourceIfUnmodifiedSince?: Date;
11227
- /** Specify an ETag value to operate only on blobs with a matching value. */
11228
- sourceIfMatch?: string;
11229
- /** Specify an ETag value to operate only on blobs without a matching value. */
11230
- sourceIfNoneMatch?: string;
11231
- /** Specify a SQL where clause on blob tags to operate only on blobs with a matching value. */
11232
- sourceIfTags?: string;
11233
- }
11234
-
11235
9363
  /** The properties that enable an account to host a static website */
11236
9364
  export declare interface StaticWebsite {
11237
9365
  /** Indicates whether this account is hosting a static website */
@@ -11316,7 +9444,7 @@ declare abstract class StorageClient {
11316
9444
  * StorageClient is a reference to protocol layer operations entry, which is
11317
9445
  * generated by AutoRest generator.
11318
9446
  */
11319
- protected readonly storageClientContext: StorageClient_2;
9447
+ protected readonly storageClientContext: StorageClientContext;
11320
9448
  /**
11321
9449
  */
11322
9450
  protected readonly isHttps: boolean;
@@ -11328,26 +9456,20 @@ declare abstract class StorageClient {
11328
9456
  protected constructor(url: string, pipeline: PipelineLike);
11329
9457
  }
11330
9458
 
11331
- declare class StorageClient_2 extends coreHttpCompat.ExtendedServiceClient {
9459
+ declare class StorageClientContext extends coreHttp.ServiceClient {
11332
9460
  url: string;
11333
9461
  version: string;
11334
9462
  /**
11335
- * Initializes a new instance of the StorageClient class.
9463
+ * Initializes a new instance of the StorageClientContext class.
11336
9464
  * @param url The URL of the service account, container, or blob that is the target of the desired
11337
9465
  * operation.
11338
9466
  * @param options The parameter options
11339
9467
  */
11340
9468
  constructor(url: string, options?: StorageClientOptionalParams);
11341
- service: Service;
11342
- container: Container;
11343
- blob: Blob_2;
11344
- pageBlob: PageBlob;
11345
- appendBlob: AppendBlob;
11346
- blockBlob: BlockBlob;
11347
9469
  }
11348
9470
 
11349
9471
  /** Optional parameters. */
11350
- declare interface StorageClientOptionalParams extends coreHttpCompat.ExtendedServiceClientOptions {
9472
+ declare interface StorageClientOptionalParams extends coreHttp.ServiceClientOptions {
11351
9473
  /** Specifies the version of the operation to use for this request. */
11352
9474
  version?: string;
11353
9475
  /** Overrides client endpoint. */
@@ -11366,11 +9488,11 @@ export declare interface StoragePipelineOptions {
11366
9488
  /**
11367
9489
  * Options to configure a proxy for outgoing requests.
11368
9490
  */
11369
- proxyOptions?: ProxySettings;
9491
+ proxyOptions?: ProxyOptions;
11370
9492
  /**
11371
9493
  * Options for adding user agent details to outgoing requests.
11372
9494
  */
11373
- userAgentOptions?: UserAgentPolicyOptions;
9495
+ userAgentOptions?: UserAgentOptions;
11374
9496
  /**
11375
9497
  * Configures the built-in retry policy behavior.
11376
9498
  */
@@ -11382,7 +9504,7 @@ export declare interface StoragePipelineOptions {
11382
9504
  /**
11383
9505
  * Configures the HTTP client to send requests and receive responses.
11384
9506
  */
11385
- httpClient?: RequestPolicy;
9507
+ httpClient?: IHttpClient;
11386
9508
  /**
11387
9509
  * The audience used to retrieve an AAD token.
11388
9510
  */
@@ -11604,6 +9726,9 @@ export declare class StorageSharedKeyCredentialPolicy extends CredentialPolicy {
11604
9726
  private getCanonicalizedResourceString;
11605
9727
  }
11606
9728
 
9729
+ /** Defines values for SyncCopyStatusType. */
9730
+ export declare type SyncCopyStatusType = "success";
9731
+
11607
9732
  /**
11608
9733
  * Specifies HTTP options for conditional requests based on blob tags.
11609
9734
  */
@@ -11673,9 +9798,4 @@ export declare interface UserDelegationKeyModel {
11673
9798
 
11674
9799
  export { WebResource }
11675
9800
 
11676
- /**
11677
- * A type that represents an operation result with a known _response property.
11678
- */
11679
- export declare type WithResponse<T, Headers = undefined, Body = undefined> = T & (Body extends object ? ResponseWithBody<Headers, Body> : Headers extends object ? ResponseWithHeaders<Headers> : ResponseLike);
11680
-
11681
9801
  export { }