@azure/storage-blob 12.9.0-alpha.20220105.6 → 12.9.0-alpha.20220128.2
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/CHANGELOG.md +7 -5
- package/README.md +11 -10
- package/dist/index.js +260 -218
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js +3 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Clients.js +12 -4
- package/dist-esm/storage-blob/src/Clients.js.map +1 -1
- package/dist-esm/storage-blob/src/ContainerClient.js +3 -1
- package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
- package/package.json +33 -38
- package/{typings → types}/3.1/storage-blob.d.ts +24 -0
- /package/{typings → types}/latest/storage-blob.d.ts +0 -0
package/dist/index.js
CHANGED
@@ -16,6 +16,29 @@ var events = require('events');
|
|
16
16
|
var fs = require('fs');
|
17
17
|
var util = require('util');
|
18
18
|
|
19
|
+
function _interopNamespace(e) {
|
20
|
+
if (e && e.__esModule) return e;
|
21
|
+
var n = Object.create(null);
|
22
|
+
if (e) {
|
23
|
+
Object.keys(e).forEach(function (k) {
|
24
|
+
if (k !== 'default') {
|
25
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
26
|
+
Object.defineProperty(n, k, d.get ? d : {
|
27
|
+
enumerable: true,
|
28
|
+
get: function () { return e[k]; }
|
29
|
+
});
|
30
|
+
}
|
31
|
+
});
|
32
|
+
}
|
33
|
+
n["default"] = e;
|
34
|
+
return Object.freeze(n);
|
35
|
+
}
|
36
|
+
|
37
|
+
var coreHttp__namespace = /*#__PURE__*/_interopNamespace(coreHttp);
|
38
|
+
var os__namespace = /*#__PURE__*/_interopNamespace(os);
|
39
|
+
var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
|
40
|
+
var util__namespace = /*#__PURE__*/_interopNamespace(util);
|
41
|
+
|
19
42
|
/*
|
20
43
|
* Copyright (c) Microsoft Corporation.
|
21
44
|
* Licensed under the MIT License.
|
@@ -9950,7 +9973,7 @@ class Service {
|
|
9950
9973
|
setProperties(blobServiceProperties, options) {
|
9951
9974
|
const operationArguments = {
|
9952
9975
|
blobServiceProperties,
|
9953
|
-
options:
|
9976
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
9954
9977
|
};
|
9955
9978
|
return this.client.sendOperationRequest(operationArguments, setPropertiesOperationSpec);
|
9956
9979
|
}
|
@@ -9961,9 +9984,9 @@ class Service {
|
|
9961
9984
|
*/
|
9962
9985
|
getProperties(options) {
|
9963
9986
|
const operationArguments = {
|
9964
|
-
options:
|
9987
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
9965
9988
|
};
|
9966
|
-
return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec);
|
9989
|
+
return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec$2);
|
9967
9990
|
}
|
9968
9991
|
/**
|
9969
9992
|
* Retrieves statistics related to replication for the Blob service. It is only available on the
|
@@ -9973,7 +9996,7 @@ class Service {
|
|
9973
9996
|
*/
|
9974
9997
|
getStatistics(options) {
|
9975
9998
|
const operationArguments = {
|
9976
|
-
options:
|
9999
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
9977
10000
|
};
|
9978
10001
|
return this.client.sendOperationRequest(operationArguments, getStatisticsOperationSpec);
|
9979
10002
|
}
|
@@ -9983,7 +10006,7 @@ class Service {
|
|
9983
10006
|
*/
|
9984
10007
|
listContainersSegment(options) {
|
9985
10008
|
const operationArguments = {
|
9986
|
-
options:
|
10009
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
9987
10010
|
};
|
9988
10011
|
return this.client.sendOperationRequest(operationArguments, listContainersSegmentOperationSpec);
|
9989
10012
|
}
|
@@ -9996,7 +10019,7 @@ class Service {
|
|
9996
10019
|
getUserDelegationKey(keyInfo, options) {
|
9997
10020
|
const operationArguments = {
|
9998
10021
|
keyInfo,
|
9999
|
-
options:
|
10022
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10000
10023
|
};
|
10001
10024
|
return this.client.sendOperationRequest(operationArguments, getUserDelegationKeyOperationSpec);
|
10002
10025
|
}
|
@@ -10006,9 +10029,9 @@ class Service {
|
|
10006
10029
|
*/
|
10007
10030
|
getAccountInfo(options) {
|
10008
10031
|
const operationArguments = {
|
10009
|
-
options:
|
10032
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10010
10033
|
};
|
10011
|
-
return this.client.sendOperationRequest(operationArguments, getAccountInfoOperationSpec);
|
10034
|
+
return this.client.sendOperationRequest(operationArguments, getAccountInfoOperationSpec$2);
|
10012
10035
|
}
|
10013
10036
|
/**
|
10014
10037
|
* The Batch operation allows multiple API calls to be embedded into a single HTTP request.
|
@@ -10023,9 +10046,9 @@ class Service {
|
|
10023
10046
|
contentLength,
|
10024
10047
|
multipartContentType,
|
10025
10048
|
body,
|
10026
|
-
options:
|
10049
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10027
10050
|
};
|
10028
|
-
return this.client.sendOperationRequest(operationArguments, submitBatchOperationSpec);
|
10051
|
+
return this.client.sendOperationRequest(operationArguments, submitBatchOperationSpec$1);
|
10029
10052
|
}
|
10030
10053
|
/**
|
10031
10054
|
* The Filter Blobs operation enables callers to list blobs across all containers whose tags match a
|
@@ -10035,13 +10058,13 @@ class Service {
|
|
10035
10058
|
*/
|
10036
10059
|
filterBlobs(options) {
|
10037
10060
|
const operationArguments = {
|
10038
|
-
options:
|
10061
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10039
10062
|
};
|
10040
10063
|
return this.client.sendOperationRequest(operationArguments, filterBlobsOperationSpec);
|
10041
10064
|
}
|
10042
10065
|
}
|
10043
10066
|
// Operation Specifications
|
10044
|
-
const xmlSerializer = new
|
10067
|
+
const xmlSerializer$5 = new coreHttp__namespace.Serializer(Mappers, /* isXml */ true);
|
10045
10068
|
const setPropertiesOperationSpec = {
|
10046
10069
|
path: "/",
|
10047
10070
|
httpMethod: "PUT",
|
@@ -10070,9 +10093,9 @@ const setPropertiesOperationSpec = {
|
|
10070
10093
|
isXML: true,
|
10071
10094
|
contentType: "application/xml; charset=utf-8",
|
10072
10095
|
mediaType: "xml",
|
10073
|
-
serializer: xmlSerializer
|
10096
|
+
serializer: xmlSerializer$5
|
10074
10097
|
};
|
10075
|
-
const getPropertiesOperationSpec = {
|
10098
|
+
const getPropertiesOperationSpec$2 = {
|
10076
10099
|
path: "/",
|
10077
10100
|
httpMethod: "GET",
|
10078
10101
|
responses: {
|
@@ -10097,7 +10120,7 @@ const getPropertiesOperationSpec = {
|
|
10097
10120
|
accept1
|
10098
10121
|
],
|
10099
10122
|
isXML: true,
|
10100
|
-
serializer: xmlSerializer
|
10123
|
+
serializer: xmlSerializer$5
|
10101
10124
|
};
|
10102
10125
|
const getStatisticsOperationSpec = {
|
10103
10126
|
path: "/",
|
@@ -10124,7 +10147,7 @@ const getStatisticsOperationSpec = {
|
|
10124
10147
|
accept1
|
10125
10148
|
],
|
10126
10149
|
isXML: true,
|
10127
|
-
serializer: xmlSerializer
|
10150
|
+
serializer: xmlSerializer$5
|
10128
10151
|
};
|
10129
10152
|
const listContainersSegmentOperationSpec = {
|
10130
10153
|
path: "/",
|
@@ -10154,7 +10177,7 @@ const listContainersSegmentOperationSpec = {
|
|
10154
10177
|
accept1
|
10155
10178
|
],
|
10156
10179
|
isXML: true,
|
10157
|
-
serializer: xmlSerializer
|
10180
|
+
serializer: xmlSerializer$5
|
10158
10181
|
};
|
10159
10182
|
const getUserDelegationKeyOperationSpec = {
|
10160
10183
|
path: "/",
|
@@ -10185,9 +10208,9 @@ const getUserDelegationKeyOperationSpec = {
|
|
10185
10208
|
isXML: true,
|
10186
10209
|
contentType: "application/xml; charset=utf-8",
|
10187
10210
|
mediaType: "xml",
|
10188
|
-
serializer: xmlSerializer
|
10211
|
+
serializer: xmlSerializer$5
|
10189
10212
|
};
|
10190
|
-
const getAccountInfoOperationSpec = {
|
10213
|
+
const getAccountInfoOperationSpec$2 = {
|
10191
10214
|
path: "/",
|
10192
10215
|
httpMethod: "GET",
|
10193
10216
|
responses: {
|
@@ -10203,9 +10226,9 @@ const getAccountInfoOperationSpec = {
|
|
10203
10226
|
urlParameters: [url],
|
10204
10227
|
headerParameters: [version, accept1],
|
10205
10228
|
isXML: true,
|
10206
|
-
serializer: xmlSerializer
|
10229
|
+
serializer: xmlSerializer$5
|
10207
10230
|
};
|
10208
|
-
const submitBatchOperationSpec = {
|
10231
|
+
const submitBatchOperationSpec$1 = {
|
10209
10232
|
path: "/",
|
10210
10233
|
httpMethod: "POST",
|
10211
10234
|
responses: {
|
@@ -10235,7 +10258,7 @@ const submitBatchOperationSpec = {
|
|
10235
10258
|
isXML: true,
|
10236
10259
|
contentType: "application/xml; charset=utf-8",
|
10237
10260
|
mediaType: "xml",
|
10238
|
-
serializer: xmlSerializer
|
10261
|
+
serializer: xmlSerializer$5
|
10239
10262
|
};
|
10240
10263
|
const filterBlobsOperationSpec = {
|
10241
10264
|
path: "/",
|
@@ -10264,7 +10287,7 @@ const filterBlobsOperationSpec = {
|
|
10264
10287
|
accept1
|
10265
10288
|
],
|
10266
10289
|
isXML: true,
|
10267
|
-
serializer: xmlSerializer
|
10290
|
+
serializer: xmlSerializer$5
|
10268
10291
|
};
|
10269
10292
|
|
10270
10293
|
/*
|
@@ -10290,9 +10313,9 @@ class Container {
|
|
10290
10313
|
*/
|
10291
10314
|
create(options) {
|
10292
10315
|
const operationArguments = {
|
10293
|
-
options:
|
10316
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10294
10317
|
};
|
10295
|
-
return this.client.sendOperationRequest(operationArguments, createOperationSpec);
|
10318
|
+
return this.client.sendOperationRequest(operationArguments, createOperationSpec$2);
|
10296
10319
|
}
|
10297
10320
|
/**
|
10298
10321
|
* returns all user-defined metadata and system properties for the specified container. The data
|
@@ -10301,7 +10324,7 @@ class Container {
|
|
10301
10324
|
*/
|
10302
10325
|
getProperties(options) {
|
10303
10326
|
const operationArguments = {
|
10304
|
-
options:
|
10327
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10305
10328
|
};
|
10306
10329
|
return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec$1);
|
10307
10330
|
}
|
@@ -10312,9 +10335,9 @@ class Container {
|
|
10312
10335
|
*/
|
10313
10336
|
delete(options) {
|
10314
10337
|
const operationArguments = {
|
10315
|
-
options:
|
10338
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10316
10339
|
};
|
10317
|
-
return this.client.sendOperationRequest(operationArguments, deleteOperationSpec);
|
10340
|
+
return this.client.sendOperationRequest(operationArguments, deleteOperationSpec$1);
|
10318
10341
|
}
|
10319
10342
|
/**
|
10320
10343
|
* operation sets one or more user-defined name-value pairs for the specified container.
|
@@ -10322,9 +10345,9 @@ class Container {
|
|
10322
10345
|
*/
|
10323
10346
|
setMetadata(options) {
|
10324
10347
|
const operationArguments = {
|
10325
|
-
options:
|
10348
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10326
10349
|
};
|
10327
|
-
return this.client.sendOperationRequest(operationArguments, setMetadataOperationSpec);
|
10350
|
+
return this.client.sendOperationRequest(operationArguments, setMetadataOperationSpec$1);
|
10328
10351
|
}
|
10329
10352
|
/**
|
10330
10353
|
* gets the permissions for the specified container. The permissions indicate whether container data
|
@@ -10333,7 +10356,7 @@ class Container {
|
|
10333
10356
|
*/
|
10334
10357
|
getAccessPolicy(options) {
|
10335
10358
|
const operationArguments = {
|
10336
|
-
options:
|
10359
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10337
10360
|
};
|
10338
10361
|
return this.client.sendOperationRequest(operationArguments, getAccessPolicyOperationSpec);
|
10339
10362
|
}
|
@@ -10344,7 +10367,7 @@ class Container {
|
|
10344
10367
|
*/
|
10345
10368
|
setAccessPolicy(options) {
|
10346
10369
|
const operationArguments = {
|
10347
|
-
options:
|
10370
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10348
10371
|
};
|
10349
10372
|
return this.client.sendOperationRequest(operationArguments, setAccessPolicyOperationSpec);
|
10350
10373
|
}
|
@@ -10354,7 +10377,7 @@ class Container {
|
|
10354
10377
|
*/
|
10355
10378
|
restore(options) {
|
10356
10379
|
const operationArguments = {
|
10357
|
-
options:
|
10380
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10358
10381
|
};
|
10359
10382
|
return this.client.sendOperationRequest(operationArguments, restoreOperationSpec);
|
10360
10383
|
}
|
@@ -10366,7 +10389,7 @@ class Container {
|
|
10366
10389
|
rename(sourceContainerName, options) {
|
10367
10390
|
const operationArguments = {
|
10368
10391
|
sourceContainerName,
|
10369
|
-
options:
|
10392
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10370
10393
|
};
|
10371
10394
|
return this.client.sendOperationRequest(operationArguments, renameOperationSpec);
|
10372
10395
|
}
|
@@ -10383,9 +10406,9 @@ class Container {
|
|
10383
10406
|
contentLength,
|
10384
10407
|
multipartContentType,
|
10385
10408
|
body,
|
10386
|
-
options:
|
10409
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10387
10410
|
};
|
10388
|
-
return this.client.sendOperationRequest(operationArguments, submitBatchOperationSpec
|
10411
|
+
return this.client.sendOperationRequest(operationArguments, submitBatchOperationSpec);
|
10389
10412
|
}
|
10390
10413
|
/**
|
10391
10414
|
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
@@ -10394,9 +10417,9 @@ class Container {
|
|
10394
10417
|
*/
|
10395
10418
|
acquireLease(options) {
|
10396
10419
|
const operationArguments = {
|
10397
|
-
options:
|
10420
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10398
10421
|
};
|
10399
|
-
return this.client.sendOperationRequest(operationArguments, acquireLeaseOperationSpec);
|
10422
|
+
return this.client.sendOperationRequest(operationArguments, acquireLeaseOperationSpec$1);
|
10400
10423
|
}
|
10401
10424
|
/**
|
10402
10425
|
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
@@ -10407,9 +10430,9 @@ class Container {
|
|
10407
10430
|
releaseLease(leaseId, options) {
|
10408
10431
|
const operationArguments = {
|
10409
10432
|
leaseId,
|
10410
|
-
options:
|
10433
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10411
10434
|
};
|
10412
|
-
return this.client.sendOperationRequest(operationArguments, releaseLeaseOperationSpec);
|
10435
|
+
return this.client.sendOperationRequest(operationArguments, releaseLeaseOperationSpec$1);
|
10413
10436
|
}
|
10414
10437
|
/**
|
10415
10438
|
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
@@ -10420,9 +10443,9 @@ class Container {
|
|
10420
10443
|
renewLease(leaseId, options) {
|
10421
10444
|
const operationArguments = {
|
10422
10445
|
leaseId,
|
10423
|
-
options:
|
10446
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10424
10447
|
};
|
10425
|
-
return this.client.sendOperationRequest(operationArguments, renewLeaseOperationSpec);
|
10448
|
+
return this.client.sendOperationRequest(operationArguments, renewLeaseOperationSpec$1);
|
10426
10449
|
}
|
10427
10450
|
/**
|
10428
10451
|
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
@@ -10431,9 +10454,9 @@ class Container {
|
|
10431
10454
|
*/
|
10432
10455
|
breakLease(options) {
|
10433
10456
|
const operationArguments = {
|
10434
|
-
options:
|
10457
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10435
10458
|
};
|
10436
|
-
return this.client.sendOperationRequest(operationArguments, breakLeaseOperationSpec);
|
10459
|
+
return this.client.sendOperationRequest(operationArguments, breakLeaseOperationSpec$1);
|
10437
10460
|
}
|
10438
10461
|
/**
|
10439
10462
|
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
@@ -10448,9 +10471,9 @@ class Container {
|
|
10448
10471
|
const operationArguments = {
|
10449
10472
|
leaseId,
|
10450
10473
|
proposedLeaseId,
|
10451
|
-
options:
|
10474
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10452
10475
|
};
|
10453
|
-
return this.client.sendOperationRequest(operationArguments, changeLeaseOperationSpec);
|
10476
|
+
return this.client.sendOperationRequest(operationArguments, changeLeaseOperationSpec$1);
|
10454
10477
|
}
|
10455
10478
|
/**
|
10456
10479
|
* [Update] The List Blobs operation returns a list of the blobs under the specified container
|
@@ -10458,7 +10481,7 @@ class Container {
|
|
10458
10481
|
*/
|
10459
10482
|
listBlobFlatSegment(options) {
|
10460
10483
|
const operationArguments = {
|
10461
|
-
options:
|
10484
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10462
10485
|
};
|
10463
10486
|
return this.client.sendOperationRequest(operationArguments, listBlobFlatSegmentOperationSpec);
|
10464
10487
|
}
|
@@ -10473,7 +10496,7 @@ class Container {
|
|
10473
10496
|
listBlobHierarchySegment(delimiter, options) {
|
10474
10497
|
const operationArguments = {
|
10475
10498
|
delimiter,
|
10476
|
-
options:
|
10499
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10477
10500
|
};
|
10478
10501
|
return this.client.sendOperationRequest(operationArguments, listBlobHierarchySegmentOperationSpec);
|
10479
10502
|
}
|
@@ -10483,14 +10506,14 @@ class Container {
|
|
10483
10506
|
*/
|
10484
10507
|
getAccountInfo(options) {
|
10485
10508
|
const operationArguments = {
|
10486
|
-
options:
|
10509
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
10487
10510
|
};
|
10488
10511
|
return this.client.sendOperationRequest(operationArguments, getAccountInfoOperationSpec$1);
|
10489
10512
|
}
|
10490
10513
|
}
|
10491
10514
|
// Operation Specifications
|
10492
|
-
const xmlSerializer$
|
10493
|
-
const createOperationSpec = {
|
10515
|
+
const xmlSerializer$4 = new coreHttp__namespace.Serializer(Mappers, /* isXml */ true);
|
10516
|
+
const createOperationSpec$2 = {
|
10494
10517
|
path: "/{containerName}",
|
10495
10518
|
httpMethod: "PUT",
|
10496
10519
|
responses: {
|
@@ -10514,7 +10537,7 @@ const createOperationSpec = {
|
|
10514
10537
|
preventEncryptionScopeOverride
|
10515
10538
|
],
|
10516
10539
|
isXML: true,
|
10517
|
-
serializer: xmlSerializer$
|
10540
|
+
serializer: xmlSerializer$4
|
10518
10541
|
};
|
10519
10542
|
const getPropertiesOperationSpec$1 = {
|
10520
10543
|
path: "/{containerName}",
|
@@ -10537,9 +10560,9 @@ const getPropertiesOperationSpec$1 = {
|
|
10537
10560
|
leaseId
|
10538
10561
|
],
|
10539
10562
|
isXML: true,
|
10540
|
-
serializer: xmlSerializer$
|
10563
|
+
serializer: xmlSerializer$4
|
10541
10564
|
};
|
10542
|
-
const deleteOperationSpec = {
|
10565
|
+
const deleteOperationSpec$1 = {
|
10543
10566
|
path: "/{containerName}",
|
10544
10567
|
httpMethod: "DELETE",
|
10545
10568
|
responses: {
|
@@ -10562,9 +10585,9 @@ const deleteOperationSpec = {
|
|
10562
10585
|
ifUnmodifiedSince
|
10563
10586
|
],
|
10564
10587
|
isXML: true,
|
10565
|
-
serializer: xmlSerializer$
|
10588
|
+
serializer: xmlSerializer$4
|
10566
10589
|
};
|
10567
|
-
const setMetadataOperationSpec = {
|
10590
|
+
const setMetadataOperationSpec$1 = {
|
10568
10591
|
path: "/{containerName}",
|
10569
10592
|
httpMethod: "PUT",
|
10570
10593
|
responses: {
|
@@ -10591,7 +10614,7 @@ const setMetadataOperationSpec = {
|
|
10591
10614
|
ifModifiedSince
|
10592
10615
|
],
|
10593
10616
|
isXML: true,
|
10594
|
-
serializer: xmlSerializer$
|
10617
|
+
serializer: xmlSerializer$4
|
10595
10618
|
};
|
10596
10619
|
const getAccessPolicyOperationSpec = {
|
10597
10620
|
path: "/{containerName}",
|
@@ -10630,7 +10653,7 @@ const getAccessPolicyOperationSpec = {
|
|
10630
10653
|
leaseId
|
10631
10654
|
],
|
10632
10655
|
isXML: true,
|
10633
|
-
serializer: xmlSerializer$
|
10656
|
+
serializer: xmlSerializer$4
|
10634
10657
|
};
|
10635
10658
|
const setAccessPolicyOperationSpec = {
|
10636
10659
|
path: "/{containerName}",
|
@@ -10664,7 +10687,7 @@ const setAccessPolicyOperationSpec = {
|
|
10664
10687
|
isXML: true,
|
10665
10688
|
contentType: "application/xml; charset=utf-8",
|
10666
10689
|
mediaType: "xml",
|
10667
|
-
serializer: xmlSerializer$
|
10690
|
+
serializer: xmlSerializer$4
|
10668
10691
|
};
|
10669
10692
|
const restoreOperationSpec = {
|
10670
10693
|
path: "/{containerName}",
|
@@ -10692,7 +10715,7 @@ const restoreOperationSpec = {
|
|
10692
10715
|
deletedContainerVersion
|
10693
10716
|
],
|
10694
10717
|
isXML: true,
|
10695
|
-
serializer: xmlSerializer$
|
10718
|
+
serializer: xmlSerializer$4
|
10696
10719
|
};
|
10697
10720
|
const renameOperationSpec = {
|
10698
10721
|
path: "/{containerName}",
|
@@ -10720,9 +10743,9 @@ const renameOperationSpec = {
|
|
10720
10743
|
sourceLeaseId
|
10721
10744
|
],
|
10722
10745
|
isXML: true,
|
10723
|
-
serializer: xmlSerializer$
|
10746
|
+
serializer: xmlSerializer$4
|
10724
10747
|
};
|
10725
|
-
const submitBatchOperationSpec
|
10748
|
+
const submitBatchOperationSpec = {
|
10726
10749
|
path: "/{containerName}",
|
10727
10750
|
httpMethod: "POST",
|
10728
10751
|
responses: {
|
@@ -10756,9 +10779,9 @@ const submitBatchOperationSpec$1 = {
|
|
10756
10779
|
isXML: true,
|
10757
10780
|
contentType: "application/xml; charset=utf-8",
|
10758
10781
|
mediaType: "xml",
|
10759
|
-
serializer: xmlSerializer$
|
10782
|
+
serializer: xmlSerializer$4
|
10760
10783
|
};
|
10761
|
-
const acquireLeaseOperationSpec = {
|
10784
|
+
const acquireLeaseOperationSpec$1 = {
|
10762
10785
|
path: "/{containerName}",
|
10763
10786
|
httpMethod: "PUT",
|
10764
10787
|
responses: {
|
@@ -10787,9 +10810,9 @@ const acquireLeaseOperationSpec = {
|
|
10787
10810
|
proposedLeaseId
|
10788
10811
|
],
|
10789
10812
|
isXML: true,
|
10790
|
-
serializer: xmlSerializer$
|
10813
|
+
serializer: xmlSerializer$4
|
10791
10814
|
};
|
10792
|
-
const releaseLeaseOperationSpec = {
|
10815
|
+
const releaseLeaseOperationSpec$1 = {
|
10793
10816
|
path: "/{containerName}",
|
10794
10817
|
httpMethod: "PUT",
|
10795
10818
|
responses: {
|
@@ -10817,9 +10840,9 @@ const releaseLeaseOperationSpec = {
|
|
10817
10840
|
leaseId1
|
10818
10841
|
],
|
10819
10842
|
isXML: true,
|
10820
|
-
serializer: xmlSerializer$
|
10843
|
+
serializer: xmlSerializer$4
|
10821
10844
|
};
|
10822
|
-
const renewLeaseOperationSpec = {
|
10845
|
+
const renewLeaseOperationSpec$1 = {
|
10823
10846
|
path: "/{containerName}",
|
10824
10847
|
httpMethod: "PUT",
|
10825
10848
|
responses: {
|
@@ -10847,9 +10870,9 @@ const renewLeaseOperationSpec = {
|
|
10847
10870
|
action2
|
10848
10871
|
],
|
10849
10872
|
isXML: true,
|
10850
|
-
serializer: xmlSerializer$
|
10873
|
+
serializer: xmlSerializer$4
|
10851
10874
|
};
|
10852
|
-
const breakLeaseOperationSpec = {
|
10875
|
+
const breakLeaseOperationSpec$1 = {
|
10853
10876
|
path: "/{containerName}",
|
10854
10877
|
httpMethod: "PUT",
|
10855
10878
|
responses: {
|
@@ -10877,9 +10900,9 @@ const breakLeaseOperationSpec = {
|
|
10877
10900
|
breakPeriod
|
10878
10901
|
],
|
10879
10902
|
isXML: true,
|
10880
|
-
serializer: xmlSerializer$
|
10903
|
+
serializer: xmlSerializer$4
|
10881
10904
|
};
|
10882
|
-
const changeLeaseOperationSpec = {
|
10905
|
+
const changeLeaseOperationSpec$1 = {
|
10883
10906
|
path: "/{containerName}",
|
10884
10907
|
httpMethod: "PUT",
|
10885
10908
|
responses: {
|
@@ -10908,7 +10931,7 @@ const changeLeaseOperationSpec = {
|
|
10908
10931
|
proposedLeaseId1
|
10909
10932
|
],
|
10910
10933
|
isXML: true,
|
10911
|
-
serializer: xmlSerializer$
|
10934
|
+
serializer: xmlSerializer$4
|
10912
10935
|
};
|
10913
10936
|
const listBlobFlatSegmentOperationSpec = {
|
10914
10937
|
path: "/{containerName}",
|
@@ -10939,7 +10962,7 @@ const listBlobFlatSegmentOperationSpec = {
|
|
10939
10962
|
accept1
|
10940
10963
|
],
|
10941
10964
|
isXML: true,
|
10942
|
-
serializer: xmlSerializer$
|
10965
|
+
serializer: xmlSerializer$4
|
10943
10966
|
};
|
10944
10967
|
const listBlobHierarchySegmentOperationSpec = {
|
10945
10968
|
path: "/{containerName}",
|
@@ -10971,7 +10994,7 @@ const listBlobHierarchySegmentOperationSpec = {
|
|
10971
10994
|
accept1
|
10972
10995
|
],
|
10973
10996
|
isXML: true,
|
10974
|
-
serializer: xmlSerializer$
|
10997
|
+
serializer: xmlSerializer$4
|
10975
10998
|
};
|
10976
10999
|
const getAccountInfoOperationSpec$1 = {
|
10977
11000
|
path: "/{containerName}",
|
@@ -10989,7 +11012,7 @@ const getAccountInfoOperationSpec$1 = {
|
|
10989
11012
|
urlParameters: [url],
|
10990
11013
|
headerParameters: [version, accept1],
|
10991
11014
|
isXML: true,
|
10992
|
-
serializer: xmlSerializer$
|
11015
|
+
serializer: xmlSerializer$4
|
10993
11016
|
};
|
10994
11017
|
|
10995
11018
|
/*
|
@@ -11015,7 +11038,7 @@ class Blob$1 {
|
|
11015
11038
|
*/
|
11016
11039
|
download(options) {
|
11017
11040
|
const operationArguments = {
|
11018
|
-
options:
|
11041
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11019
11042
|
};
|
11020
11043
|
return this.client.sendOperationRequest(operationArguments, downloadOperationSpec);
|
11021
11044
|
}
|
@@ -11026,9 +11049,9 @@ class Blob$1 {
|
|
11026
11049
|
*/
|
11027
11050
|
getProperties(options) {
|
11028
11051
|
const operationArguments = {
|
11029
|
-
options:
|
11052
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11030
11053
|
};
|
11031
|
-
return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec
|
11054
|
+
return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec);
|
11032
11055
|
}
|
11033
11056
|
/**
|
11034
11057
|
* If the storage account's soft delete feature is disabled then, when a blob is deleted, it is
|
@@ -11047,9 +11070,9 @@ class Blob$1 {
|
|
11047
11070
|
*/
|
11048
11071
|
delete(options) {
|
11049
11072
|
const operationArguments = {
|
11050
|
-
options:
|
11073
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11051
11074
|
};
|
11052
|
-
return this.client.sendOperationRequest(operationArguments, deleteOperationSpec
|
11075
|
+
return this.client.sendOperationRequest(operationArguments, deleteOperationSpec);
|
11053
11076
|
}
|
11054
11077
|
/**
|
11055
11078
|
* Undelete a blob that was previously soft deleted
|
@@ -11057,7 +11080,7 @@ class Blob$1 {
|
|
11057
11080
|
*/
|
11058
11081
|
undelete(options) {
|
11059
11082
|
const operationArguments = {
|
11060
|
-
options:
|
11083
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11061
11084
|
};
|
11062
11085
|
return this.client.sendOperationRequest(operationArguments, undeleteOperationSpec);
|
11063
11086
|
}
|
@@ -11069,7 +11092,7 @@ class Blob$1 {
|
|
11069
11092
|
setExpiry(expiryOptions, options) {
|
11070
11093
|
const operationArguments = {
|
11071
11094
|
expiryOptions,
|
11072
|
-
options:
|
11095
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11073
11096
|
};
|
11074
11097
|
return this.client.sendOperationRequest(operationArguments, setExpiryOperationSpec);
|
11075
11098
|
}
|
@@ -11079,7 +11102,7 @@ class Blob$1 {
|
|
11079
11102
|
*/
|
11080
11103
|
setHttpHeaders(options) {
|
11081
11104
|
const operationArguments = {
|
11082
|
-
options:
|
11105
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11083
11106
|
};
|
11084
11107
|
return this.client.sendOperationRequest(operationArguments, setHttpHeadersOperationSpec);
|
11085
11108
|
}
|
@@ -11089,7 +11112,7 @@ class Blob$1 {
|
|
11089
11112
|
*/
|
11090
11113
|
setImmutabilityPolicy(options) {
|
11091
11114
|
const operationArguments = {
|
11092
|
-
options:
|
11115
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11093
11116
|
};
|
11094
11117
|
return this.client.sendOperationRequest(operationArguments, setImmutabilityPolicyOperationSpec);
|
11095
11118
|
}
|
@@ -11099,7 +11122,7 @@ class Blob$1 {
|
|
11099
11122
|
*/
|
11100
11123
|
deleteImmutabilityPolicy(options) {
|
11101
11124
|
const operationArguments = {
|
11102
|
-
options:
|
11125
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11103
11126
|
};
|
11104
11127
|
return this.client.sendOperationRequest(operationArguments, deleteImmutabilityPolicyOperationSpec);
|
11105
11128
|
}
|
@@ -11111,7 +11134,7 @@ class Blob$1 {
|
|
11111
11134
|
setLegalHold(legalHold, options) {
|
11112
11135
|
const operationArguments = {
|
11113
11136
|
legalHold,
|
11114
|
-
options:
|
11137
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11115
11138
|
};
|
11116
11139
|
return this.client.sendOperationRequest(operationArguments, setLegalHoldOperationSpec);
|
11117
11140
|
}
|
@@ -11122,9 +11145,9 @@ class Blob$1 {
|
|
11122
11145
|
*/
|
11123
11146
|
setMetadata(options) {
|
11124
11147
|
const operationArguments = {
|
11125
|
-
options:
|
11148
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11126
11149
|
};
|
11127
|
-
return this.client.sendOperationRequest(operationArguments, setMetadataOperationSpec
|
11150
|
+
return this.client.sendOperationRequest(operationArguments, setMetadataOperationSpec);
|
11128
11151
|
}
|
11129
11152
|
/**
|
11130
11153
|
* [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
@@ -11133,9 +11156,9 @@ class Blob$1 {
|
|
11133
11156
|
*/
|
11134
11157
|
acquireLease(options) {
|
11135
11158
|
const operationArguments = {
|
11136
|
-
options:
|
11159
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11137
11160
|
};
|
11138
|
-
return this.client.sendOperationRequest(operationArguments, acquireLeaseOperationSpec
|
11161
|
+
return this.client.sendOperationRequest(operationArguments, acquireLeaseOperationSpec);
|
11139
11162
|
}
|
11140
11163
|
/**
|
11141
11164
|
* [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
@@ -11146,9 +11169,9 @@ class Blob$1 {
|
|
11146
11169
|
releaseLease(leaseId, options) {
|
11147
11170
|
const operationArguments = {
|
11148
11171
|
leaseId,
|
11149
|
-
options:
|
11172
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11150
11173
|
};
|
11151
|
-
return this.client.sendOperationRequest(operationArguments, releaseLeaseOperationSpec
|
11174
|
+
return this.client.sendOperationRequest(operationArguments, releaseLeaseOperationSpec);
|
11152
11175
|
}
|
11153
11176
|
/**
|
11154
11177
|
* [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
@@ -11159,9 +11182,9 @@ class Blob$1 {
|
|
11159
11182
|
renewLease(leaseId, options) {
|
11160
11183
|
const operationArguments = {
|
11161
11184
|
leaseId,
|
11162
|
-
options:
|
11185
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11163
11186
|
};
|
11164
|
-
return this.client.sendOperationRequest(operationArguments, renewLeaseOperationSpec
|
11187
|
+
return this.client.sendOperationRequest(operationArguments, renewLeaseOperationSpec);
|
11165
11188
|
}
|
11166
11189
|
/**
|
11167
11190
|
* [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
@@ -11176,9 +11199,9 @@ class Blob$1 {
|
|
11176
11199
|
const operationArguments = {
|
11177
11200
|
leaseId,
|
11178
11201
|
proposedLeaseId,
|
11179
|
-
options:
|
11202
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11180
11203
|
};
|
11181
|
-
return this.client.sendOperationRequest(operationArguments, changeLeaseOperationSpec
|
11204
|
+
return this.client.sendOperationRequest(operationArguments, changeLeaseOperationSpec);
|
11182
11205
|
}
|
11183
11206
|
/**
|
11184
11207
|
* [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
@@ -11187,9 +11210,9 @@ class Blob$1 {
|
|
11187
11210
|
*/
|
11188
11211
|
breakLease(options) {
|
11189
11212
|
const operationArguments = {
|
11190
|
-
options:
|
11213
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11191
11214
|
};
|
11192
|
-
return this.client.sendOperationRequest(operationArguments, breakLeaseOperationSpec
|
11215
|
+
return this.client.sendOperationRequest(operationArguments, breakLeaseOperationSpec);
|
11193
11216
|
}
|
11194
11217
|
/**
|
11195
11218
|
* The Create Snapshot operation creates a read-only snapshot of a blob
|
@@ -11197,7 +11220,7 @@ class Blob$1 {
|
|
11197
11220
|
*/
|
11198
11221
|
createSnapshot(options) {
|
11199
11222
|
const operationArguments = {
|
11200
|
-
options:
|
11223
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11201
11224
|
};
|
11202
11225
|
return this.client.sendOperationRequest(operationArguments, createSnapshotOperationSpec);
|
11203
11226
|
}
|
@@ -11212,7 +11235,7 @@ class Blob$1 {
|
|
11212
11235
|
startCopyFromURL(copySource, options) {
|
11213
11236
|
const operationArguments = {
|
11214
11237
|
copySource,
|
11215
|
-
options:
|
11238
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11216
11239
|
};
|
11217
11240
|
return this.client.sendOperationRequest(operationArguments, startCopyFromURLOperationSpec);
|
11218
11241
|
}
|
@@ -11228,7 +11251,7 @@ class Blob$1 {
|
|
11228
11251
|
copyFromURL(copySource, options) {
|
11229
11252
|
const operationArguments = {
|
11230
11253
|
copySource,
|
11231
|
-
options:
|
11254
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11232
11255
|
};
|
11233
11256
|
return this.client.sendOperationRequest(operationArguments, copyFromURLOperationSpec);
|
11234
11257
|
}
|
@@ -11242,7 +11265,7 @@ class Blob$1 {
|
|
11242
11265
|
abortCopyFromURL(copyId, options) {
|
11243
11266
|
const operationArguments = {
|
11244
11267
|
copyId,
|
11245
|
-
options:
|
11268
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11246
11269
|
};
|
11247
11270
|
return this.client.sendOperationRequest(operationArguments, abortCopyFromURLOperationSpec);
|
11248
11271
|
}
|
@@ -11258,7 +11281,7 @@ class Blob$1 {
|
|
11258
11281
|
setTier(tier, options) {
|
11259
11282
|
const operationArguments = {
|
11260
11283
|
tier,
|
11261
|
-
options:
|
11284
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11262
11285
|
};
|
11263
11286
|
return this.client.sendOperationRequest(operationArguments, setTierOperationSpec);
|
11264
11287
|
}
|
@@ -11268,9 +11291,9 @@ class Blob$1 {
|
|
11268
11291
|
*/
|
11269
11292
|
getAccountInfo(options) {
|
11270
11293
|
const operationArguments = {
|
11271
|
-
options:
|
11294
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11272
11295
|
};
|
11273
|
-
return this.client.sendOperationRequest(operationArguments, getAccountInfoOperationSpec
|
11296
|
+
return this.client.sendOperationRequest(operationArguments, getAccountInfoOperationSpec);
|
11274
11297
|
}
|
11275
11298
|
/**
|
11276
11299
|
* The Query operation enables users to select/project on blob data by providing simple query
|
@@ -11279,7 +11302,7 @@ class Blob$1 {
|
|
11279
11302
|
*/
|
11280
11303
|
query(options) {
|
11281
11304
|
const operationArguments = {
|
11282
|
-
options:
|
11305
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11283
11306
|
};
|
11284
11307
|
return this.client.sendOperationRequest(operationArguments, queryOperationSpec);
|
11285
11308
|
}
|
@@ -11289,7 +11312,7 @@ class Blob$1 {
|
|
11289
11312
|
*/
|
11290
11313
|
getTags(options) {
|
11291
11314
|
const operationArguments = {
|
11292
|
-
options:
|
11315
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11293
11316
|
};
|
11294
11317
|
return this.client.sendOperationRequest(operationArguments, getTagsOperationSpec);
|
11295
11318
|
}
|
@@ -11299,13 +11322,13 @@ class Blob$1 {
|
|
11299
11322
|
*/
|
11300
11323
|
setTags(options) {
|
11301
11324
|
const operationArguments = {
|
11302
|
-
options:
|
11325
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
11303
11326
|
};
|
11304
11327
|
return this.client.sendOperationRequest(operationArguments, setTagsOperationSpec);
|
11305
11328
|
}
|
11306
11329
|
}
|
11307
11330
|
// Operation Specifications
|
11308
|
-
const xmlSerializer$
|
11331
|
+
const xmlSerializer$3 = new coreHttp__namespace.Serializer(Mappers, /* isXml */ true);
|
11309
11332
|
const downloadOperationSpec = {
|
11310
11333
|
path: "/{containerName}/{blob}",
|
11311
11334
|
httpMethod: "GET",
|
@@ -11353,9 +11376,9 @@ const downloadOperationSpec = {
|
|
11353
11376
|
ifTags
|
11354
11377
|
],
|
11355
11378
|
isXML: true,
|
11356
|
-
serializer: xmlSerializer$
|
11379
|
+
serializer: xmlSerializer$3
|
11357
11380
|
};
|
11358
|
-
const getPropertiesOperationSpec
|
11381
|
+
const getPropertiesOperationSpec = {
|
11359
11382
|
path: "/{containerName}/{blob}",
|
11360
11383
|
httpMethod: "HEAD",
|
11361
11384
|
responses: {
|
@@ -11388,9 +11411,9 @@ const getPropertiesOperationSpec$2 = {
|
|
11388
11411
|
ifTags
|
11389
11412
|
],
|
11390
11413
|
isXML: true,
|
11391
|
-
serializer: xmlSerializer$
|
11414
|
+
serializer: xmlSerializer$3
|
11392
11415
|
};
|
11393
|
-
const deleteOperationSpec
|
11416
|
+
const deleteOperationSpec = {
|
11394
11417
|
path: "/{containerName}/{blob}",
|
11395
11418
|
httpMethod: "DELETE",
|
11396
11419
|
responses: {
|
@@ -11422,7 +11445,7 @@ const deleteOperationSpec$1 = {
|
|
11422
11445
|
deleteSnapshots
|
11423
11446
|
],
|
11424
11447
|
isXML: true,
|
11425
|
-
serializer: xmlSerializer$
|
11448
|
+
serializer: xmlSerializer$3
|
11426
11449
|
};
|
11427
11450
|
const undeleteOperationSpec = {
|
11428
11451
|
path: "/{containerName}/{blob}",
|
@@ -11444,7 +11467,7 @@ const undeleteOperationSpec = {
|
|
11444
11467
|
accept1
|
11445
11468
|
],
|
11446
11469
|
isXML: true,
|
11447
|
-
serializer: xmlSerializer$
|
11470
|
+
serializer: xmlSerializer$3
|
11448
11471
|
};
|
11449
11472
|
const setExpiryOperationSpec = {
|
11450
11473
|
path: "/{containerName}/{blob}",
|
@@ -11468,7 +11491,7 @@ const setExpiryOperationSpec = {
|
|
11468
11491
|
expiresOn
|
11469
11492
|
],
|
11470
11493
|
isXML: true,
|
11471
|
-
serializer: xmlSerializer$
|
11494
|
+
serializer: xmlSerializer$3
|
11472
11495
|
};
|
11473
11496
|
const setHttpHeadersOperationSpec = {
|
11474
11497
|
path: "/{containerName}/{blob}",
|
@@ -11502,7 +11525,7 @@ const setHttpHeadersOperationSpec = {
|
|
11502
11525
|
blobContentDisposition
|
11503
11526
|
],
|
11504
11527
|
isXML: true,
|
11505
|
-
serializer: xmlSerializer$
|
11528
|
+
serializer: xmlSerializer$3
|
11506
11529
|
};
|
11507
11530
|
const setImmutabilityPolicyOperationSpec = {
|
11508
11531
|
path: "/{containerName}/{blob}",
|
@@ -11527,7 +11550,7 @@ const setImmutabilityPolicyOperationSpec = {
|
|
11527
11550
|
immutabilityPolicyMode
|
11528
11551
|
],
|
11529
11552
|
isXML: true,
|
11530
|
-
serializer: xmlSerializer$
|
11553
|
+
serializer: xmlSerializer$3
|
11531
11554
|
};
|
11532
11555
|
const deleteImmutabilityPolicyOperationSpec = {
|
11533
11556
|
path: "/{containerName}/{blob}",
|
@@ -11549,7 +11572,7 @@ const deleteImmutabilityPolicyOperationSpec = {
|
|
11549
11572
|
accept1
|
11550
11573
|
],
|
11551
11574
|
isXML: true,
|
11552
|
-
serializer: xmlSerializer$
|
11575
|
+
serializer: xmlSerializer$3
|
11553
11576
|
};
|
11554
11577
|
const setLegalHoldOperationSpec = {
|
11555
11578
|
path: "/{containerName}/{blob}",
|
@@ -11572,9 +11595,9 @@ const setLegalHoldOperationSpec = {
|
|
11572
11595
|
legalHold
|
11573
11596
|
],
|
11574
11597
|
isXML: true,
|
11575
|
-
serializer: xmlSerializer$
|
11598
|
+
serializer: xmlSerializer$3
|
11576
11599
|
};
|
11577
|
-
const setMetadataOperationSpec
|
11600
|
+
const setMetadataOperationSpec = {
|
11578
11601
|
path: "/{containerName}/{blob}",
|
11579
11602
|
httpMethod: "PUT",
|
11580
11603
|
responses: {
|
@@ -11605,9 +11628,9 @@ const setMetadataOperationSpec$1 = {
|
|
11605
11628
|
encryptionScope
|
11606
11629
|
],
|
11607
11630
|
isXML: true,
|
11608
|
-
serializer: xmlSerializer$
|
11631
|
+
serializer: xmlSerializer$3
|
11609
11632
|
};
|
11610
|
-
const acquireLeaseOperationSpec
|
11633
|
+
const acquireLeaseOperationSpec = {
|
11611
11634
|
path: "/{containerName}/{blob}",
|
11612
11635
|
httpMethod: "PUT",
|
11613
11636
|
responses: {
|
@@ -11635,9 +11658,9 @@ const acquireLeaseOperationSpec$1 = {
|
|
11635
11658
|
ifTags
|
11636
11659
|
],
|
11637
11660
|
isXML: true,
|
11638
|
-
serializer: xmlSerializer$
|
11661
|
+
serializer: xmlSerializer$3
|
11639
11662
|
};
|
11640
|
-
const releaseLeaseOperationSpec
|
11663
|
+
const releaseLeaseOperationSpec = {
|
11641
11664
|
path: "/{containerName}/{blob}",
|
11642
11665
|
httpMethod: "PUT",
|
11643
11666
|
responses: {
|
@@ -11664,9 +11687,9 @@ const releaseLeaseOperationSpec$1 = {
|
|
11664
11687
|
ifTags
|
11665
11688
|
],
|
11666
11689
|
isXML: true,
|
11667
|
-
serializer: xmlSerializer$
|
11690
|
+
serializer: xmlSerializer$3
|
11668
11691
|
};
|
11669
|
-
const renewLeaseOperationSpec
|
11692
|
+
const renewLeaseOperationSpec = {
|
11670
11693
|
path: "/{containerName}/{blob}",
|
11671
11694
|
httpMethod: "PUT",
|
11672
11695
|
responses: {
|
@@ -11693,9 +11716,9 @@ const renewLeaseOperationSpec$1 = {
|
|
11693
11716
|
ifTags
|
11694
11717
|
],
|
11695
11718
|
isXML: true,
|
11696
|
-
serializer: xmlSerializer$
|
11719
|
+
serializer: xmlSerializer$3
|
11697
11720
|
};
|
11698
|
-
const changeLeaseOperationSpec
|
11721
|
+
const changeLeaseOperationSpec = {
|
11699
11722
|
path: "/{containerName}/{blob}",
|
11700
11723
|
httpMethod: "PUT",
|
11701
11724
|
responses: {
|
@@ -11723,9 +11746,9 @@ const changeLeaseOperationSpec$1 = {
|
|
11723
11746
|
ifTags
|
11724
11747
|
],
|
11725
11748
|
isXML: true,
|
11726
|
-
serializer: xmlSerializer$
|
11749
|
+
serializer: xmlSerializer$3
|
11727
11750
|
};
|
11728
|
-
const breakLeaseOperationSpec
|
11751
|
+
const breakLeaseOperationSpec = {
|
11729
11752
|
path: "/{containerName}/{blob}",
|
11730
11753
|
httpMethod: "PUT",
|
11731
11754
|
responses: {
|
@@ -11752,7 +11775,7 @@ const breakLeaseOperationSpec$1 = {
|
|
11752
11775
|
ifTags
|
11753
11776
|
],
|
11754
11777
|
isXML: true,
|
11755
|
-
serializer: xmlSerializer$
|
11778
|
+
serializer: xmlSerializer$3
|
11756
11779
|
};
|
11757
11780
|
const createSnapshotOperationSpec = {
|
11758
11781
|
path: "/{containerName}/{blob}",
|
@@ -11785,7 +11808,7 @@ const createSnapshotOperationSpec = {
|
|
11785
11808
|
encryptionScope
|
11786
11809
|
],
|
11787
11810
|
isXML: true,
|
11788
|
-
serializer: xmlSerializer$
|
11811
|
+
serializer: xmlSerializer$3
|
11789
11812
|
};
|
11790
11813
|
const startCopyFromURLOperationSpec = {
|
11791
11814
|
path: "/{containerName}/{blob}",
|
@@ -11827,7 +11850,7 @@ const startCopyFromURLOperationSpec = {
|
|
11827
11850
|
legalHold1
|
11828
11851
|
],
|
11829
11852
|
isXML: true,
|
11830
|
-
serializer: xmlSerializer$
|
11853
|
+
serializer: xmlSerializer$3
|
11831
11854
|
};
|
11832
11855
|
const copyFromURLOperationSpec = {
|
11833
11856
|
path: "/{containerName}/{blob}",
|
@@ -11870,7 +11893,7 @@ const copyFromURLOperationSpec = {
|
|
11870
11893
|
copySourceAuthorization
|
11871
11894
|
],
|
11872
11895
|
isXML: true,
|
11873
|
-
serializer: xmlSerializer$
|
11896
|
+
serializer: xmlSerializer$3
|
11874
11897
|
};
|
11875
11898
|
const abortCopyFromURLOperationSpec = {
|
11876
11899
|
path: "/{containerName}/{blob}",
|
@@ -11898,7 +11921,7 @@ const abortCopyFromURLOperationSpec = {
|
|
11898
11921
|
copyActionAbortConstant
|
11899
11922
|
],
|
11900
11923
|
isXML: true,
|
11901
|
-
serializer: xmlSerializer$
|
11924
|
+
serializer: xmlSerializer$3
|
11902
11925
|
};
|
11903
11926
|
const setTierOperationSpec = {
|
11904
11927
|
path: "/{containerName}/{blob}",
|
@@ -11932,9 +11955,9 @@ const setTierOperationSpec = {
|
|
11932
11955
|
tier1
|
11933
11956
|
],
|
11934
11957
|
isXML: true,
|
11935
|
-
serializer: xmlSerializer$
|
11958
|
+
serializer: xmlSerializer$3
|
11936
11959
|
};
|
11937
|
-
const getAccountInfoOperationSpec
|
11960
|
+
const getAccountInfoOperationSpec = {
|
11938
11961
|
path: "/{containerName}/{blob}",
|
11939
11962
|
httpMethod: "GET",
|
11940
11963
|
responses: {
|
@@ -11950,7 +11973,7 @@ const getAccountInfoOperationSpec$2 = {
|
|
11950
11973
|
urlParameters: [url],
|
11951
11974
|
headerParameters: [version, accept1],
|
11952
11975
|
isXML: true,
|
11953
|
-
serializer: xmlSerializer$
|
11976
|
+
serializer: xmlSerializer$3
|
11954
11977
|
};
|
11955
11978
|
const queryOperationSpec = {
|
11956
11979
|
path: "/{containerName}/{blob}",
|
@@ -12000,7 +12023,7 @@ const queryOperationSpec = {
|
|
12000
12023
|
isXML: true,
|
12001
12024
|
contentType: "application/xml; charset=utf-8",
|
12002
12025
|
mediaType: "xml",
|
12003
|
-
serializer: xmlSerializer$
|
12026
|
+
serializer: xmlSerializer$3
|
12004
12027
|
};
|
12005
12028
|
const getTagsOperationSpec = {
|
12006
12029
|
path: "/{containerName}/{blob}",
|
@@ -12030,7 +12053,7 @@ const getTagsOperationSpec = {
|
|
12030
12053
|
ifTags
|
12031
12054
|
],
|
12032
12055
|
isXML: true,
|
12033
|
-
serializer: xmlSerializer$
|
12056
|
+
serializer: xmlSerializer$3
|
12034
12057
|
};
|
12035
12058
|
const setTagsOperationSpec = {
|
12036
12059
|
path: "/{containerName}/{blob}",
|
@@ -12064,7 +12087,7 @@ const setTagsOperationSpec = {
|
|
12064
12087
|
isXML: true,
|
12065
12088
|
contentType: "application/xml; charset=utf-8",
|
12066
12089
|
mediaType: "xml",
|
12067
|
-
serializer: xmlSerializer$
|
12090
|
+
serializer: xmlSerializer$3
|
12068
12091
|
};
|
12069
12092
|
|
12070
12093
|
/*
|
@@ -12094,7 +12117,7 @@ class PageBlob {
|
|
12094
12117
|
const operationArguments = {
|
12095
12118
|
contentLength,
|
12096
12119
|
blobContentLength,
|
12097
|
-
options:
|
12120
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12098
12121
|
};
|
12099
12122
|
return this.client.sendOperationRequest(operationArguments, createOperationSpec$1);
|
12100
12123
|
}
|
@@ -12108,7 +12131,7 @@ class PageBlob {
|
|
12108
12131
|
const operationArguments = {
|
12109
12132
|
contentLength,
|
12110
12133
|
body,
|
12111
|
-
options:
|
12134
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12112
12135
|
};
|
12113
12136
|
return this.client.sendOperationRequest(operationArguments, uploadPagesOperationSpec);
|
12114
12137
|
}
|
@@ -12120,7 +12143,7 @@ class PageBlob {
|
|
12120
12143
|
clearPages(contentLength, options) {
|
12121
12144
|
const operationArguments = {
|
12122
12145
|
contentLength,
|
12123
|
-
options:
|
12146
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12124
12147
|
};
|
12125
12148
|
return this.client.sendOperationRequest(operationArguments, clearPagesOperationSpec);
|
12126
12149
|
}
|
@@ -12141,7 +12164,7 @@ class PageBlob {
|
|
12141
12164
|
sourceRange,
|
12142
12165
|
contentLength,
|
12143
12166
|
range,
|
12144
|
-
options:
|
12167
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12145
12168
|
};
|
12146
12169
|
return this.client.sendOperationRequest(operationArguments, uploadPagesFromURLOperationSpec);
|
12147
12170
|
}
|
@@ -12152,7 +12175,7 @@ class PageBlob {
|
|
12152
12175
|
*/
|
12153
12176
|
getPageRanges(options) {
|
12154
12177
|
const operationArguments = {
|
12155
|
-
options:
|
12178
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12156
12179
|
};
|
12157
12180
|
return this.client.sendOperationRequest(operationArguments, getPageRangesOperationSpec);
|
12158
12181
|
}
|
@@ -12163,7 +12186,7 @@ class PageBlob {
|
|
12163
12186
|
*/
|
12164
12187
|
getPageRangesDiff(options) {
|
12165
12188
|
const operationArguments = {
|
12166
|
-
options:
|
12189
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12167
12190
|
};
|
12168
12191
|
return this.client.sendOperationRequest(operationArguments, getPageRangesDiffOperationSpec);
|
12169
12192
|
}
|
@@ -12176,7 +12199,7 @@ class PageBlob {
|
|
12176
12199
|
resize(blobContentLength, options) {
|
12177
12200
|
const operationArguments = {
|
12178
12201
|
blobContentLength,
|
12179
|
-
options:
|
12202
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12180
12203
|
};
|
12181
12204
|
return this.client.sendOperationRequest(operationArguments, resizeOperationSpec);
|
12182
12205
|
}
|
@@ -12190,7 +12213,7 @@ class PageBlob {
|
|
12190
12213
|
updateSequenceNumber(sequenceNumberAction, options) {
|
12191
12214
|
const operationArguments = {
|
12192
12215
|
sequenceNumberAction,
|
12193
|
-
options:
|
12216
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12194
12217
|
};
|
12195
12218
|
return this.client.sendOperationRequest(operationArguments, updateSequenceNumberOperationSpec);
|
12196
12219
|
}
|
@@ -12209,14 +12232,14 @@ class PageBlob {
|
|
12209
12232
|
copyIncremental(copySource, options) {
|
12210
12233
|
const operationArguments = {
|
12211
12234
|
copySource,
|
12212
|
-
options:
|
12235
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12213
12236
|
};
|
12214
12237
|
return this.client.sendOperationRequest(operationArguments, copyIncrementalOperationSpec);
|
12215
12238
|
}
|
12216
12239
|
}
|
12217
12240
|
// Operation Specifications
|
12218
|
-
const xmlSerializer$
|
12219
|
-
const serializer = new
|
12241
|
+
const xmlSerializer$2 = new coreHttp__namespace.Serializer(Mappers, /* isXml */ true);
|
12242
|
+
const serializer$2 = new coreHttp__namespace.Serializer(Mappers, /* isXml */ false);
|
12220
12243
|
const createOperationSpec$1 = {
|
12221
12244
|
path: "/{containerName}/{blob}",
|
12222
12245
|
httpMethod: "PUT",
|
@@ -12263,7 +12286,7 @@ const createOperationSpec$1 = {
|
|
12263
12286
|
blobSequenceNumber
|
12264
12287
|
],
|
12265
12288
|
isXML: true,
|
12266
|
-
serializer: xmlSerializer$
|
12289
|
+
serializer: xmlSerializer$2
|
12267
12290
|
};
|
12268
12291
|
const uploadPagesOperationSpec = {
|
12269
12292
|
path: "/{containerName}/{blob}",
|
@@ -12305,7 +12328,7 @@ const uploadPagesOperationSpec = {
|
|
12305
12328
|
ifSequenceNumberEqualTo
|
12306
12329
|
],
|
12307
12330
|
mediaType: "binary",
|
12308
|
-
serializer
|
12331
|
+
serializer: serializer$2
|
12309
12332
|
};
|
12310
12333
|
const clearPagesOperationSpec = {
|
12311
12334
|
path: "/{containerName}/{blob}",
|
@@ -12343,7 +12366,7 @@ const clearPagesOperationSpec = {
|
|
12343
12366
|
pageWrite1
|
12344
12367
|
],
|
12345
12368
|
isXML: true,
|
12346
|
-
serializer: xmlSerializer$
|
12369
|
+
serializer: xmlSerializer$2
|
12347
12370
|
};
|
12348
12371
|
const uploadPagesFromURLOperationSpec = {
|
12349
12372
|
path: "/{containerName}/{blob}",
|
@@ -12390,7 +12413,7 @@ const uploadPagesFromURLOperationSpec = {
|
|
12390
12413
|
range1
|
12391
12414
|
],
|
12392
12415
|
isXML: true,
|
12393
|
-
serializer: xmlSerializer$
|
12416
|
+
serializer: xmlSerializer$2
|
12394
12417
|
};
|
12395
12418
|
const getPageRangesOperationSpec = {
|
12396
12419
|
path: "/{containerName}/{blob}",
|
@@ -12424,7 +12447,7 @@ const getPageRangesOperationSpec = {
|
|
12424
12447
|
ifTags
|
12425
12448
|
],
|
12426
12449
|
isXML: true,
|
12427
|
-
serializer: xmlSerializer$
|
12450
|
+
serializer: xmlSerializer$2
|
12428
12451
|
};
|
12429
12452
|
const getPageRangesDiffOperationSpec = {
|
12430
12453
|
path: "/{containerName}/{blob}",
|
@@ -12460,7 +12483,7 @@ const getPageRangesDiffOperationSpec = {
|
|
12460
12483
|
prevSnapshotUrl
|
12461
12484
|
],
|
12462
12485
|
isXML: true,
|
12463
|
-
serializer: xmlSerializer$
|
12486
|
+
serializer: xmlSerializer$2
|
12464
12487
|
};
|
12465
12488
|
const resizeOperationSpec = {
|
12466
12489
|
path: "/{containerName}/{blob}",
|
@@ -12493,7 +12516,7 @@ const resizeOperationSpec = {
|
|
12493
12516
|
blobContentLength
|
12494
12517
|
],
|
12495
12518
|
isXML: true,
|
12496
|
-
serializer: xmlSerializer$
|
12519
|
+
serializer: xmlSerializer$2
|
12497
12520
|
};
|
12498
12521
|
const updateSequenceNumberOperationSpec = {
|
12499
12522
|
path: "/{containerName}/{blob}",
|
@@ -12523,7 +12546,7 @@ const updateSequenceNumberOperationSpec = {
|
|
12523
12546
|
sequenceNumberAction
|
12524
12547
|
],
|
12525
12548
|
isXML: true,
|
12526
|
-
serializer: xmlSerializer$
|
12549
|
+
serializer: xmlSerializer$2
|
12527
12550
|
};
|
12528
12551
|
const copyIncrementalOperationSpec = {
|
12529
12552
|
path: "/{containerName}/{blob}",
|
@@ -12551,7 +12574,7 @@ const copyIncrementalOperationSpec = {
|
|
12551
12574
|
copySource
|
12552
12575
|
],
|
12553
12576
|
isXML: true,
|
12554
|
-
serializer: xmlSerializer$
|
12577
|
+
serializer: xmlSerializer$2
|
12555
12578
|
};
|
12556
12579
|
|
12557
12580
|
/*
|
@@ -12578,9 +12601,9 @@ class AppendBlob {
|
|
12578
12601
|
create(contentLength, options) {
|
12579
12602
|
const operationArguments = {
|
12580
12603
|
contentLength,
|
12581
|
-
options:
|
12604
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12582
12605
|
};
|
12583
|
-
return this.client.sendOperationRequest(operationArguments, createOperationSpec
|
12606
|
+
return this.client.sendOperationRequest(operationArguments, createOperationSpec);
|
12584
12607
|
}
|
12585
12608
|
/**
|
12586
12609
|
* The Append Block operation commits a new block of data to the end of an existing append blob. The
|
@@ -12594,7 +12617,7 @@ class AppendBlob {
|
|
12594
12617
|
const operationArguments = {
|
12595
12618
|
contentLength,
|
12596
12619
|
body,
|
12597
|
-
options:
|
12620
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12598
12621
|
};
|
12599
12622
|
return this.client.sendOperationRequest(operationArguments, appendBlockOperationSpec);
|
12600
12623
|
}
|
@@ -12611,7 +12634,7 @@ class AppendBlob {
|
|
12611
12634
|
const operationArguments = {
|
12612
12635
|
sourceUrl,
|
12613
12636
|
contentLength,
|
12614
|
-
options:
|
12637
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12615
12638
|
};
|
12616
12639
|
return this.client.sendOperationRequest(operationArguments, appendBlockFromUrlOperationSpec);
|
12617
12640
|
}
|
@@ -12622,15 +12645,15 @@ class AppendBlob {
|
|
12622
12645
|
*/
|
12623
12646
|
seal(options) {
|
12624
12647
|
const operationArguments = {
|
12625
|
-
options:
|
12648
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12626
12649
|
};
|
12627
12650
|
return this.client.sendOperationRequest(operationArguments, sealOperationSpec);
|
12628
12651
|
}
|
12629
12652
|
}
|
12630
12653
|
// Operation Specifications
|
12631
|
-
const xmlSerializer$
|
12632
|
-
const serializer$1 = new
|
12633
|
-
const createOperationSpec
|
12654
|
+
const xmlSerializer$1 = new coreHttp__namespace.Serializer(Mappers, /* isXml */ true);
|
12655
|
+
const serializer$1 = new coreHttp__namespace.Serializer(Mappers, /* isXml */ false);
|
12656
|
+
const createOperationSpec = {
|
12634
12657
|
path: "/{containerName}/{blob}",
|
12635
12658
|
httpMethod: "PUT",
|
12636
12659
|
responses: {
|
@@ -12673,7 +12696,7 @@ const createOperationSpec$2 = {
|
|
12673
12696
|
blobType1
|
12674
12697
|
],
|
12675
12698
|
isXML: true,
|
12676
|
-
serializer: xmlSerializer$
|
12699
|
+
serializer: xmlSerializer$1
|
12677
12700
|
};
|
12678
12701
|
const appendBlockOperationSpec = {
|
12679
12702
|
path: "/{containerName}/{blob}",
|
@@ -12757,7 +12780,7 @@ const appendBlockFromUrlOperationSpec = {
|
|
12757
12780
|
sourceRange1
|
12758
12781
|
],
|
12759
12782
|
isXML: true,
|
12760
|
-
serializer: xmlSerializer$
|
12783
|
+
serializer: xmlSerializer$1
|
12761
12784
|
};
|
12762
12785
|
const sealOperationSpec = {
|
12763
12786
|
path: "/{containerName}/{blob}",
|
@@ -12785,7 +12808,7 @@ const sealOperationSpec = {
|
|
12785
12808
|
appendPosition
|
12786
12809
|
],
|
12787
12810
|
isXML: true,
|
12788
|
-
serializer: xmlSerializer$
|
12811
|
+
serializer: xmlSerializer$1
|
12789
12812
|
};
|
12790
12813
|
|
12791
12814
|
/*
|
@@ -12817,7 +12840,7 @@ class BlockBlob {
|
|
12817
12840
|
const operationArguments = {
|
12818
12841
|
contentLength,
|
12819
12842
|
body,
|
12820
|
-
options:
|
12843
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12821
12844
|
};
|
12822
12845
|
return this.client.sendOperationRequest(operationArguments, uploadOperationSpec);
|
12823
12846
|
}
|
@@ -12838,7 +12861,7 @@ class BlockBlob {
|
|
12838
12861
|
const operationArguments = {
|
12839
12862
|
contentLength,
|
12840
12863
|
copySource,
|
12841
|
-
options:
|
12864
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12842
12865
|
};
|
12843
12866
|
return this.client.sendOperationRequest(operationArguments, putBlobFromUrlOperationSpec);
|
12844
12867
|
}
|
@@ -12856,7 +12879,7 @@ class BlockBlob {
|
|
12856
12879
|
blockId,
|
12857
12880
|
contentLength,
|
12858
12881
|
body,
|
12859
|
-
options:
|
12882
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12860
12883
|
};
|
12861
12884
|
return this.client.sendOperationRequest(operationArguments, stageBlockOperationSpec);
|
12862
12885
|
}
|
@@ -12875,7 +12898,7 @@ class BlockBlob {
|
|
12875
12898
|
blockId,
|
12876
12899
|
contentLength,
|
12877
12900
|
sourceUrl,
|
12878
|
-
options:
|
12901
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12879
12902
|
};
|
12880
12903
|
return this.client.sendOperationRequest(operationArguments, stageBlockFromURLOperationSpec);
|
12881
12904
|
}
|
@@ -12893,7 +12916,7 @@ class BlockBlob {
|
|
12893
12916
|
commitBlockList(blocks, options) {
|
12894
12917
|
const operationArguments = {
|
12895
12918
|
blocks,
|
12896
|
-
options:
|
12919
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12897
12920
|
};
|
12898
12921
|
return this.client.sendOperationRequest(operationArguments, commitBlockListOperationSpec);
|
12899
12922
|
}
|
@@ -12907,14 +12930,14 @@ class BlockBlob {
|
|
12907
12930
|
getBlockList(listType, options) {
|
12908
12931
|
const operationArguments = {
|
12909
12932
|
listType,
|
12910
|
-
options:
|
12933
|
+
options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
|
12911
12934
|
};
|
12912
12935
|
return this.client.sendOperationRequest(operationArguments, getBlockListOperationSpec);
|
12913
12936
|
}
|
12914
12937
|
}
|
12915
12938
|
// Operation Specifications
|
12916
|
-
const xmlSerializer
|
12917
|
-
const serializer
|
12939
|
+
const xmlSerializer = new coreHttp__namespace.Serializer(Mappers, /* isXml */ true);
|
12940
|
+
const serializer = new coreHttp__namespace.Serializer(Mappers, /* isXml */ false);
|
12918
12941
|
const uploadOperationSpec = {
|
12919
12942
|
path: "/{containerName}/{blob}",
|
12920
12943
|
httpMethod: "PUT",
|
@@ -12962,7 +12985,7 @@ const uploadOperationSpec = {
|
|
12962
12985
|
blobType2
|
12963
12986
|
],
|
12964
12987
|
mediaType: "binary",
|
12965
|
-
serializer
|
12988
|
+
serializer
|
12966
12989
|
};
|
12967
12990
|
const putBlobFromUrlOperationSpec = {
|
12968
12991
|
path: "/{containerName}/{blob}",
|
@@ -13015,7 +13038,7 @@ const putBlobFromUrlOperationSpec = {
|
|
13015
13038
|
copySourceBlobProperties
|
13016
13039
|
],
|
13017
13040
|
isXML: true,
|
13018
|
-
serializer: xmlSerializer
|
13041
|
+
serializer: xmlSerializer
|
13019
13042
|
};
|
13020
13043
|
const stageBlockOperationSpec = {
|
13021
13044
|
path: "/{containerName}/{blob}",
|
@@ -13051,7 +13074,7 @@ const stageBlockOperationSpec = {
|
|
13051
13074
|
accept2
|
13052
13075
|
],
|
13053
13076
|
mediaType: "binary",
|
13054
|
-
serializer
|
13077
|
+
serializer
|
13055
13078
|
};
|
13056
13079
|
const stageBlockFromURLOperationSpec = {
|
13057
13080
|
path: "/{containerName}/{blob}",
|
@@ -13092,7 +13115,7 @@ const stageBlockFromURLOperationSpec = {
|
|
13092
13115
|
sourceRange1
|
13093
13116
|
],
|
13094
13117
|
isXML: true,
|
13095
|
-
serializer: xmlSerializer
|
13118
|
+
serializer: xmlSerializer
|
13096
13119
|
};
|
13097
13120
|
const commitBlockListOperationSpec = {
|
13098
13121
|
path: "/{containerName}/{blob}",
|
@@ -13142,7 +13165,7 @@ const commitBlockListOperationSpec = {
|
|
13142
13165
|
isXML: true,
|
13143
13166
|
contentType: "application/xml; charset=utf-8",
|
13144
13167
|
mediaType: "xml",
|
13145
|
-
serializer: xmlSerializer
|
13168
|
+
serializer: xmlSerializer
|
13146
13169
|
};
|
13147
13170
|
const getBlockListOperationSpec = {
|
13148
13171
|
path: "/{containerName}/{blob}",
|
@@ -13172,7 +13195,7 @@ const getBlockListOperationSpec = {
|
|
13172
13195
|
ifTags
|
13173
13196
|
],
|
13174
13197
|
isXML: true,
|
13175
|
-
serializer: xmlSerializer
|
13198
|
+
serializer: xmlSerializer
|
13176
13199
|
};
|
13177
13200
|
|
13178
13201
|
// Copyright (c) Microsoft Corporation.
|
@@ -14228,6 +14251,10 @@ class StorageBrowserPolicyFactory {
|
|
14228
14251
|
}
|
14229
14252
|
|
14230
14253
|
// Copyright (c) Microsoft Corporation.
|
14254
|
+
/**
|
14255
|
+
* RetryPolicy types.
|
14256
|
+
*/
|
14257
|
+
exports.StorageRetryPolicyType = void 0;
|
14231
14258
|
(function (StorageRetryPolicyType) {
|
14232
14259
|
/**
|
14233
14260
|
* Exponential retry. Retry time delay grows exponentially.
|
@@ -14581,7 +14608,7 @@ class TelemetryPolicyFactory {
|
|
14581
14608
|
userAgentInfo.push(libInfo);
|
14582
14609
|
}
|
14583
14610
|
// e.g. (NODE-VERSION 4.9.1; Windows_NT 10.0.16299)
|
14584
|
-
const runtimeInfo = `(NODE-VERSION ${process.version}; ${
|
14611
|
+
const runtimeInfo = `(NODE-VERSION ${process.version}; ${os__namespace.type()} ${os__namespace.release()})`;
|
14585
14612
|
if (userAgentInfo.indexOf(runtimeInfo) === -1) {
|
14586
14613
|
userAgentInfo.push(runtimeInfo);
|
14587
14614
|
}
|
@@ -14876,7 +14903,7 @@ class StorageSharedKeyCredential extends Credential {
|
|
14876
14903
|
*/
|
14877
14904
|
const packageName = "azure-storage-blob";
|
14878
14905
|
const packageVersion = "12.9.0-beta.3";
|
14879
|
-
class StorageClientContext extends
|
14906
|
+
class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
14880
14907
|
/**
|
14881
14908
|
* Initializes a new instance of the StorageClientContext class.
|
14882
14909
|
* @param url The URL of the service account, container, or blob that is the target of the desired
|
@@ -14892,7 +14919,7 @@ class StorageClientContext extends coreHttp.ServiceClient {
|
|
14892
14919
|
options = {};
|
14893
14920
|
}
|
14894
14921
|
if (!options.userAgent) {
|
14895
|
-
const defaultUserAgent =
|
14922
|
+
const defaultUserAgent = coreHttp__namespace.getDefaultUserAgentValue();
|
14896
14923
|
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
14897
14924
|
}
|
14898
14925
|
super(undefined, options);
|
@@ -15412,6 +15439,10 @@ function ipRangeToString(ipRange) {
|
|
15412
15439
|
}
|
15413
15440
|
|
15414
15441
|
// Copyright (c) Microsoft Corporation.
|
15442
|
+
/**
|
15443
|
+
* Protocols for generated SAS.
|
15444
|
+
*/
|
15445
|
+
exports.SASProtocol = void 0;
|
15415
15446
|
(function (SASProtocol) {
|
15416
15447
|
/**
|
15417
15448
|
* Protocol that allows HTTPS only
|
@@ -17946,6 +17977,11 @@ class BlobQueryResponse {
|
|
17946
17977
|
}
|
17947
17978
|
|
17948
17979
|
// Copyright (c) Microsoft Corporation.
|
17980
|
+
/**
|
17981
|
+
* Represents the access tier on a blob.
|
17982
|
+
* For detailed information about block blob level tiering see {@link https://docs.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers|Hot, cool and archive storage tiers.}
|
17983
|
+
*/
|
17984
|
+
exports.BlockBlobTier = void 0;
|
17949
17985
|
(function (BlockBlobTier) {
|
17950
17986
|
/**
|
17951
17987
|
* Optimized for storing data that is accessed frequently.
|
@@ -17961,6 +17997,12 @@ class BlobQueryResponse {
|
|
17961
17997
|
*/
|
17962
17998
|
BlockBlobTier["Archive"] = "Archive";
|
17963
17999
|
})(exports.BlockBlobTier || (exports.BlockBlobTier = {}));
|
18000
|
+
/**
|
18001
|
+
* Specifies the page blob tier to set the blob to. This is only applicable to page blobs on premium storage accounts.
|
18002
|
+
* Please see {@link https://docs.microsoft.com/azure/storage/storage-premium-storage#scalability-and-performance-targets|here}
|
18003
|
+
* for detailed information on the corresponding IOPS and throughput per PageBlobTier.
|
18004
|
+
*/
|
18005
|
+
exports.PremiumPageBlobTier = void 0;
|
17964
18006
|
(function (PremiumPageBlobTier) {
|
17965
18007
|
/**
|
17966
18008
|
* P4 Tier.
|
@@ -18811,7 +18853,7 @@ async function streamToBuffer2(stream, buffer, encoding) {
|
|
18811
18853
|
*/
|
18812
18854
|
async function readStreamToLocalFile(rs, file) {
|
18813
18855
|
return new Promise((resolve, reject) => {
|
18814
|
-
const ws =
|
18856
|
+
const ws = fs__namespace.createWriteStream(file);
|
18815
18857
|
rs.on("error", (err) => {
|
18816
18858
|
reject(err);
|
18817
18859
|
});
|
@@ -18827,8 +18869,8 @@ async function readStreamToLocalFile(rs, file) {
|
|
18827
18869
|
*
|
18828
18870
|
* Promisified version of fs.stat().
|
18829
18871
|
*/
|
18830
|
-
const fsStat =
|
18831
|
-
const fsCreateReadStream =
|
18872
|
+
const fsStat = util__namespace.promisify(fs__namespace.stat);
|
18873
|
+
const fsCreateReadStream = fs__namespace.createReadStream;
|
18832
18874
|
|
18833
18875
|
/**
|
18834
18876
|
* A BlobClient represents a URL to an Azure Storage blob; the blob may be a block blob,
|
@@ -18874,7 +18916,9 @@ class BlobClient extends StorageClient {
|
|
18874
18916
|
if (coreHttp.isNode) {
|
18875
18917
|
const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
|
18876
18918
|
url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName));
|
18877
|
-
options.proxyOptions
|
18919
|
+
if (!options.proxyOptions) {
|
18920
|
+
options.proxyOptions = coreHttp.getDefaultProxySettings(extractedCreds.proxyUri);
|
18921
|
+
}
|
18878
18922
|
pipeline = newPipeline(sharedKeyCredential, options);
|
18879
18923
|
}
|
18880
18924
|
else {
|
@@ -19916,7 +19960,9 @@ class AppendBlobClient extends BlobClient {
|
|
19916
19960
|
if (coreHttp.isNode) {
|
19917
19961
|
const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
|
19918
19962
|
url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName));
|
19919
|
-
options.proxyOptions
|
19963
|
+
if (!options.proxyOptions) {
|
19964
|
+
options.proxyOptions = coreHttp.getDefaultProxySettings(extractedCreds.proxyUri);
|
19965
|
+
}
|
19920
19966
|
pipeline = newPipeline(sharedKeyCredential, options);
|
19921
19967
|
}
|
19922
19968
|
else {
|
@@ -20170,7 +20216,9 @@ class BlockBlobClient extends BlobClient {
|
|
20170
20216
|
if (coreHttp.isNode) {
|
20171
20217
|
const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
|
20172
20218
|
url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName));
|
20173
|
-
options.proxyOptions
|
20219
|
+
if (!options.proxyOptions) {
|
20220
|
+
options.proxyOptions = coreHttp.getDefaultProxySettings(extractedCreds.proxyUri);
|
20221
|
+
}
|
20174
20222
|
pipeline = newPipeline(sharedKeyCredential, options);
|
20175
20223
|
}
|
20176
20224
|
else {
|
@@ -20818,7 +20866,9 @@ class PageBlobClient extends BlobClient {
|
|
20818
20866
|
if (coreHttp.isNode) {
|
20819
20867
|
const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
|
20820
20868
|
url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName));
|
20821
|
-
options.proxyOptions
|
20869
|
+
if (!options.proxyOptions) {
|
20870
|
+
options.proxyOptions = coreHttp.getDefaultProxySettings(extractedCreds.proxyUri);
|
20871
|
+
}
|
20822
20872
|
pipeline = newPipeline(sharedKeyCredential, options);
|
20823
20873
|
}
|
20824
20874
|
else {
|
@@ -21844,7 +21894,9 @@ class ContainerClient extends StorageClient {
|
|
21844
21894
|
if (coreHttp.isNode) {
|
21845
21895
|
const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
|
21846
21896
|
url = appendToURLPath(extractedCreds.url, encodeURIComponent(containerName));
|
21847
|
-
options.proxyOptions
|
21897
|
+
if (!options.proxyOptions) {
|
21898
|
+
options.proxyOptions = coreHttp.getDefaultProxySettings(extractedCreds.proxyUri);
|
21899
|
+
}
|
21848
21900
|
pipeline = newPipeline(sharedKeyCredential, options);
|
21849
21901
|
}
|
21850
21902
|
else {
|
@@ -23371,7 +23423,9 @@ class BlobServiceClient extends StorageClient {
|
|
23371
23423
|
if (extractedCreds.kind === "AccountConnString") {
|
23372
23424
|
if (coreHttp.isNode) {
|
23373
23425
|
const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
|
23374
|
-
options.proxyOptions
|
23426
|
+
if (!options.proxyOptions) {
|
23427
|
+
options.proxyOptions = coreHttp.getDefaultProxySettings(extractedCreds.proxyUri);
|
23428
|
+
}
|
23375
23429
|
const pipeline = newPipeline(sharedKeyCredential, options);
|
23376
23430
|
return new BlobServiceClient(extractedCreds.url, pipeline);
|
23377
23431
|
}
|
@@ -24092,39 +24146,27 @@ class BlobServiceClient extends StorageClient {
|
|
24092
24146
|
|
24093
24147
|
Object.defineProperty(exports, 'BaseRequestPolicy', {
|
24094
24148
|
enumerable: true,
|
24095
|
-
get: function () {
|
24096
|
-
return coreHttp.BaseRequestPolicy;
|
24097
|
-
}
|
24149
|
+
get: function () { return coreHttp.BaseRequestPolicy; }
|
24098
24150
|
});
|
24099
24151
|
Object.defineProperty(exports, 'HttpHeaders', {
|
24100
24152
|
enumerable: true,
|
24101
|
-
get: function () {
|
24102
|
-
return coreHttp.HttpHeaders;
|
24103
|
-
}
|
24153
|
+
get: function () { return coreHttp.HttpHeaders; }
|
24104
24154
|
});
|
24105
24155
|
Object.defineProperty(exports, 'RequestPolicyOptions', {
|
24106
24156
|
enumerable: true,
|
24107
|
-
get: function () {
|
24108
|
-
return coreHttp.RequestPolicyOptions;
|
24109
|
-
}
|
24157
|
+
get: function () { return coreHttp.RequestPolicyOptions; }
|
24110
24158
|
});
|
24111
24159
|
Object.defineProperty(exports, 'RestError', {
|
24112
24160
|
enumerable: true,
|
24113
|
-
get: function () {
|
24114
|
-
return coreHttp.RestError;
|
24115
|
-
}
|
24161
|
+
get: function () { return coreHttp.RestError; }
|
24116
24162
|
});
|
24117
24163
|
Object.defineProperty(exports, 'WebResource', {
|
24118
24164
|
enumerable: true,
|
24119
|
-
get: function () {
|
24120
|
-
return coreHttp.WebResource;
|
24121
|
-
}
|
24165
|
+
get: function () { return coreHttp.WebResource; }
|
24122
24166
|
});
|
24123
24167
|
Object.defineProperty(exports, 'deserializationPolicy', {
|
24124
24168
|
enumerable: true,
|
24125
|
-
get: function () {
|
24126
|
-
return coreHttp.deserializationPolicy;
|
24127
|
-
}
|
24169
|
+
get: function () { return coreHttp.deserializationPolicy; }
|
24128
24170
|
});
|
24129
24171
|
exports.AccountSASPermissions = AccountSASPermissions;
|
24130
24172
|
exports.AccountSASResourceTypes = AccountSASResourceTypes;
|