@azure/storage-blob 12.8.1-alpha.20210915.2 → 12.8.1-alpha.20210930.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/storage-blob",
|
3
3
|
"sdk-type": "client",
|
4
|
-
"version": "12.8.1-alpha.
|
4
|
+
"version": "12.8.1-alpha.20210930.1",
|
5
5
|
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
|
6
6
|
"main": "./dist/index.js",
|
7
7
|
"module": "./dist-esm/storage-blob/src/index.js",
|
@@ -142,7 +142,7 @@
|
|
142
142
|
"@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
|
143
143
|
"@azure-tools/test-recorder": "^1.0.0",
|
144
144
|
"@azure/test-utils-perfstress": ">=1.0.0-alpha <1.0.0-alphb",
|
145
|
-
"@microsoft/api-extractor": "7.
|
145
|
+
"@microsoft/api-extractor": "^7.18.11",
|
146
146
|
"@rollup/plugin-multi-entry": "^3.0.0",
|
147
147
|
"@rollup/plugin-replace": "^2.2.0",
|
148
148
|
"@rollup/plugin-json": "^4.0.0",
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import { AbortSignalLike } from '@azure/abort-controller';
|
3
|
+
import { AzureLogger } from '@azure/logger';
|
3
4
|
import { BaseRequestPolicy } from '@azure/core-http';
|
4
5
|
import * as coreHttp from '@azure/core-http';
|
5
6
|
import { deserializationPolicy } from '@azure/core-http';
|
@@ -308,7 +309,7 @@ export declare interface AccountSASSignatureValues {
|
|
308
309
|
* HTTP(S) requests that read public resources or for use with Shared Access
|
309
310
|
* Signatures (SAS).
|
310
311
|
*/
|
311
|
-
export declare class AnonymousCredential extends
|
312
|
+
export declare class AnonymousCredential extends Credential_2 {
|
312
313
|
/**
|
313
314
|
* Creates an {@link AnonymousCredentialPolicy} object.
|
314
315
|
*
|
@@ -4482,7 +4483,7 @@ export declare interface BlockBlobStageBlockFromURLOptions extends CommonOptions
|
|
4482
4483
|
* Specifies the bytes of the source Blob/File to upload.
|
4483
4484
|
* If not specified, the entire content is uploaded as a single block.
|
4484
4485
|
*/
|
4485
|
-
range?:
|
4486
|
+
range?: Range_2;
|
4486
4487
|
/**
|
4487
4488
|
* If specified, contains the lease id that must be matched and lease with this id
|
4488
4489
|
* must be active in order for the operation to succeed.
|
@@ -6169,7 +6170,7 @@ export declare interface CpkInfo {
|
|
6169
6170
|
* Credential is an abstract class for Azure Storage HTTP requests signing. This
|
6170
6171
|
* class will host an credentialPolicyCreator factory which generates CredentialPolicy.
|
6171
6172
|
*/
|
6172
|
-
|
6173
|
+
declare abstract class Credential_2 implements RequestPolicyFactory {
|
6173
6174
|
/**
|
6174
6175
|
* Creates a RequestPolicy object.
|
6175
6176
|
*
|
@@ -6178,6 +6179,7 @@ export declare abstract class Credential implements RequestPolicyFactory {
|
|
6178
6179
|
*/
|
6179
6180
|
create(_nextPolicy: RequestPolicy, _options: RequestPolicyOptions): RequestPolicy;
|
6180
6181
|
}
|
6182
|
+
export { Credential_2 as Credential };
|
6181
6183
|
/**
|
6182
6184
|
* Credential policy used to sign HTTP(S) requests before sending. This is an
|
6183
6185
|
* abstract class.
|
@@ -6562,7 +6564,7 @@ export declare interface ListContainersSegmentResponse {
|
|
6562
6564
|
/**
|
6563
6565
|
* The `@azure/logger` configuration for this package.
|
6564
6566
|
*/
|
6565
|
-
export declare const logger:
|
6567
|
+
export declare const logger: AzureLogger;
|
6566
6568
|
/** Azure Analytics Logging settings. */
|
6567
6569
|
export declare interface Logging {
|
6568
6570
|
/** The version of Storage Analytics to configure. */
|
@@ -7496,12 +7498,12 @@ export declare interface PageList {
|
|
7496
7498
|
/**
|
7497
7499
|
* Valid non-overlapping page ranges.
|
7498
7500
|
*/
|
7499
|
-
pageRange?:
|
7501
|
+
pageRange?: Range_2[];
|
7500
7502
|
/**
|
7501
7503
|
* Present if the prevSnapshot parameter was specified and there were cleared
|
7502
7504
|
* pages between the previous snapshot and the target snapshot.
|
7503
7505
|
*/
|
7504
|
-
clearRange?:
|
7506
|
+
clearRange?: Range_2[];
|
7505
7507
|
}
|
7506
7508
|
/**
|
7507
7509
|
* The multipart/mixed response which contains the response for each subrequest.
|
@@ -7645,7 +7647,7 @@ export declare type PublicAccessType = "container" | "blob";
|
|
7645
7647
|
* Range for Blob Service Operations.
|
7646
7648
|
* @see https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-the-range-header-for-blob-service-operations
|
7647
7649
|
*/
|
7648
|
-
|
7650
|
+
declare interface Range_2 {
|
7649
7651
|
/**
|
7650
7652
|
* StartByte, larger than or equal 0.
|
7651
7653
|
*/
|
@@ -7656,6 +7658,7 @@ export declare interface Range {
|
|
7656
7658
|
*/
|
7657
7659
|
count?: number;
|
7658
7660
|
}
|
7661
|
+
export { Range_2 as Range };
|
7659
7662
|
/** Defines values for RehydratePriority. */
|
7660
7663
|
export declare type RehydratePriority = "High" | "Standard";
|
7661
7664
|
export { RequestPolicy };
|
@@ -8619,7 +8622,7 @@ export declare enum StorageRetryPolicyType {
|
|
8619
8622
|
*
|
8620
8623
|
* StorageSharedKeyCredential for account key authorization of Azure Storage service.
|
8621
8624
|
*/
|
8622
|
-
export declare class StorageSharedKeyCredential extends
|
8625
|
+
export declare class StorageSharedKeyCredential extends Credential_2 {
|
8623
8626
|
/**
|
8624
8627
|
* Azure Storage account name; readonly.
|
8625
8628
|
*/
|
@@ -1,5 +1,7 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
+
|
2
3
|
import { AbortSignalLike } from '@azure/abort-controller';
|
4
|
+
import { AzureLogger } from '@azure/logger';
|
3
5
|
import { BaseRequestPolicy } from '@azure/core-http';
|
4
6
|
import * as coreHttp from '@azure/core-http';
|
5
7
|
import { deserializationPolicy } from '@azure/core-http';
|
@@ -317,7 +319,7 @@ export declare interface AccountSASSignatureValues {
|
|
317
319
|
* HTTP(S) requests that read public resources or for use with Shared Access
|
318
320
|
* Signatures (SAS).
|
319
321
|
*/
|
320
|
-
export declare class AnonymousCredential extends
|
322
|
+
export declare class AnonymousCredential extends Credential_2 {
|
321
323
|
/**
|
322
324
|
* Creates an {@link AnonymousCredentialPolicy} object.
|
323
325
|
*
|
@@ -829,6 +831,7 @@ export declare interface AppendPositionAccessConditions {
|
|
829
831
|
|
830
832
|
/** Defines values for ArchiveStatus. */
|
831
833
|
export declare type ArchiveStatus = "rehydrate-pending-to-hot" | "rehydrate-pending-to-cool";
|
834
|
+
|
832
835
|
export { BaseRequestPolicy }
|
833
836
|
|
834
837
|
/**
|
@@ -4642,7 +4645,7 @@ export declare interface BlockBlobStageBlockFromURLOptions extends CommonOptions
|
|
4642
4645
|
* Specifies the bytes of the source Blob/File to upload.
|
4643
4646
|
* If not specified, the entire content is uploaded as a single block.
|
4644
4647
|
*/
|
4645
|
-
range?:
|
4648
|
+
range?: Range_2;
|
4646
4649
|
/**
|
4647
4650
|
* If specified, contains the lease id that must be matched and lease with this id
|
4648
4651
|
* must be active in order for the operation to succeed.
|
@@ -6396,7 +6399,7 @@ export declare interface CpkInfo {
|
|
6396
6399
|
* Credential is an abstract class for Azure Storage HTTP requests signing. This
|
6397
6400
|
* class will host an credentialPolicyCreator factory which generates CredentialPolicy.
|
6398
6401
|
*/
|
6399
|
-
|
6402
|
+
declare abstract class Credential_2 implements RequestPolicyFactory {
|
6400
6403
|
/**
|
6401
6404
|
* Creates a RequestPolicy object.
|
6402
6405
|
*
|
@@ -6405,6 +6408,7 @@ export declare abstract class Credential implements RequestPolicyFactory {
|
|
6405
6408
|
*/
|
6406
6409
|
create(_nextPolicy: RequestPolicy, _options: RequestPolicyOptions): RequestPolicy;
|
6407
6410
|
}
|
6411
|
+
export { Credential_2 as Credential }
|
6408
6412
|
|
6409
6413
|
/**
|
6410
6414
|
* Credential policy used to sign HTTP(S) requests before sending. This is an
|
@@ -6433,6 +6437,7 @@ export declare type CredentialPolicyCreator = (nextPolicy: RequestPolicy, option
|
|
6433
6437
|
|
6434
6438
|
/** Defines values for DeleteSnapshotsOptionType. */
|
6435
6439
|
export declare type DeleteSnapshotsOptionType = "include" | "only";
|
6440
|
+
|
6436
6441
|
export { deserializationPolicy }
|
6437
6442
|
|
6438
6443
|
/** Defines values for EncryptionAlgorithmType. */
|
@@ -6642,9 +6647,13 @@ export declare interface HttpAuthorization {
|
|
6642
6647
|
*/
|
6643
6648
|
value: string;
|
6644
6649
|
}
|
6650
|
+
|
6645
6651
|
export { HttpHeaders }
|
6652
|
+
|
6646
6653
|
export { HttpOperationResponse }
|
6654
|
+
|
6647
6655
|
export { HttpRequestBody }
|
6656
|
+
|
6648
6657
|
export { IHttpClient }
|
6649
6658
|
|
6650
6659
|
/**
|
@@ -6819,7 +6828,7 @@ export declare interface ListContainersSegmentResponse {
|
|
6819
6828
|
/**
|
6820
6829
|
* The `@azure/logger` configuration for this package.
|
6821
6830
|
*/
|
6822
|
-
export declare const logger:
|
6831
|
+
export declare const logger: AzureLogger;
|
6823
6832
|
|
6824
6833
|
/** Azure Analytics Logging settings. */
|
6825
6834
|
export declare interface Logging {
|
@@ -7796,12 +7805,12 @@ export declare interface PageList {
|
|
7796
7805
|
/**
|
7797
7806
|
* Valid non-overlapping page ranges.
|
7798
7807
|
*/
|
7799
|
-
pageRange?:
|
7808
|
+
pageRange?: Range_2[];
|
7800
7809
|
/**
|
7801
7810
|
* Present if the prevSnapshot parameter was specified and there were cleared
|
7802
7811
|
* pages between the previous snapshot and the target snapshot.
|
7803
7812
|
*/
|
7804
|
-
clearRange?:
|
7813
|
+
clearRange?: Range_2[];
|
7805
7814
|
}
|
7806
7815
|
|
7807
7816
|
/**
|
@@ -7890,7 +7899,9 @@ export declare interface PipelineOptions {
|
|
7890
7899
|
*/
|
7891
7900
|
httpClient?: IHttpClient;
|
7892
7901
|
}
|
7902
|
+
|
7893
7903
|
export { PollerLike }
|
7904
|
+
|
7894
7905
|
export { PollOperationState }
|
7895
7906
|
|
7896
7907
|
/**
|
@@ -7952,7 +7963,7 @@ export declare type PublicAccessType = "container" | "blob";
|
|
7952
7963
|
* Range for Blob Service Operations.
|
7953
7964
|
* @see https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-the-range-header-for-blob-service-operations
|
7954
7965
|
*/
|
7955
|
-
|
7966
|
+
declare interface Range_2 {
|
7956
7967
|
/**
|
7957
7968
|
* StartByte, larger than or equal 0.
|
7958
7969
|
*/
|
@@ -7963,12 +7974,17 @@ export declare interface Range {
|
|
7963
7974
|
*/
|
7964
7975
|
count?: number;
|
7965
7976
|
}
|
7977
|
+
export { Range_2 as Range }
|
7966
7978
|
|
7967
7979
|
/** Defines values for RehydratePriority. */
|
7968
7980
|
export declare type RehydratePriority = "High" | "Standard";
|
7981
|
+
|
7969
7982
|
export { RequestPolicy }
|
7983
|
+
|
7970
7984
|
export { RequestPolicyFactory }
|
7985
|
+
|
7971
7986
|
export { RequestPolicyOptions }
|
7987
|
+
|
7972
7988
|
export { RestError }
|
7973
7989
|
|
7974
7990
|
/** the retention policy which determines how long the associated data should persist */
|
@@ -8982,7 +8998,7 @@ export declare enum StorageRetryPolicyType {
|
|
8982
8998
|
*
|
8983
8999
|
* StorageSharedKeyCredential for account key authorization of Azure Storage service.
|
8984
9000
|
*/
|
8985
|
-
export declare class StorageSharedKeyCredential extends
|
9001
|
+
export declare class StorageSharedKeyCredential extends Credential_2 {
|
8986
9002
|
/**
|
8987
9003
|
* Azure Storage account name; readonly.
|
8988
9004
|
*/
|
@@ -9132,6 +9148,7 @@ export declare interface UserDelegationKeyModel {
|
|
9132
9148
|
/** The key as a base64 string */
|
9133
9149
|
value: string;
|
9134
9150
|
}
|
9151
|
+
|
9135
9152
|
export { WebResource }
|
9136
9153
|
|
9137
9154
|
export { }
|