@azure/storage-file-share 12.20.0-alpha.20230926.1 → 12.20.0-alpha.20231009.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/dist/index.js +149 -117
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
3
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
6
4
|
var coreUtil = require('@azure/core-util');
|
7
5
|
var tslib = require('tslib');
|
@@ -20,8 +18,7 @@ var fs = require('fs');
|
|
20
18
|
var util = require('util');
|
21
19
|
var uuid = require('uuid');
|
22
20
|
|
23
|
-
function
|
24
|
-
if (e && e.__esModule) return e;
|
21
|
+
function _interopNamespaceDefault(e) {
|
25
22
|
var n = Object.create(null);
|
26
23
|
if (e) {
|
27
24
|
Object.keys(e).forEach(function (k) {
|
@@ -34,14 +31,14 @@ function _interopNamespace(e) {
|
|
34
31
|
}
|
35
32
|
});
|
36
33
|
}
|
37
|
-
n
|
34
|
+
n.default = e;
|
38
35
|
return Object.freeze(n);
|
39
36
|
}
|
40
37
|
|
41
|
-
var coreHttpCompat__namespace = /*#__PURE__*/
|
42
|
-
var coreClient__namespace = /*#__PURE__*/
|
43
|
-
var fs__namespace = /*#__PURE__*/
|
44
|
-
var util__namespace = /*#__PURE__*/
|
38
|
+
var coreHttpCompat__namespace = /*#__PURE__*/_interopNamespaceDefault(coreHttpCompat);
|
39
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
40
|
+
var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
|
41
|
+
var util__namespace = /*#__PURE__*/_interopNamespaceDefault(util);
|
45
42
|
|
46
43
|
// Copyright (c) Microsoft Corporation.
|
47
44
|
// Licensed under the MIT license.
|
@@ -382,6 +379,7 @@ const PathStylePorts = [
|
|
382
379
|
];
|
383
380
|
|
384
381
|
// Copyright (c) Microsoft Corporation.
|
382
|
+
// Licensed under the MIT license.
|
385
383
|
/**
|
386
384
|
* Reserved URL characters must be properly escaped for Storage services like Blob or File.
|
387
385
|
*
|
@@ -800,6 +798,7 @@ function removeEmptyString(value) {
|
|
800
798
|
}
|
801
799
|
|
802
800
|
// Copyright (c) Microsoft Corporation.
|
801
|
+
// Licensed under the MIT license.
|
803
802
|
/**
|
804
803
|
* Protocols for generated SAS.
|
805
804
|
*/
|
@@ -974,6 +973,7 @@ class SASQueryParameters {
|
|
974
973
|
}
|
975
974
|
|
976
975
|
// Copyright (c) Microsoft Corporation.
|
976
|
+
// Licensed under the MIT license.
|
977
977
|
/**
|
978
978
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
979
979
|
*
|
@@ -1204,6 +1204,7 @@ class ShareSASPermissions {
|
|
1204
1204
|
}
|
1205
1205
|
|
1206
1206
|
// Copyright (c) Microsoft Corporation.
|
1207
|
+
// Licensed under the MIT license.
|
1207
1208
|
/**
|
1208
1209
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
1209
1210
|
*
|
@@ -1274,6 +1275,7 @@ function getCanonicalName(accountName, shareName, filePath) {
|
|
1274
1275
|
}
|
1275
1276
|
|
1276
1277
|
// Copyright (c) Microsoft Corporation.
|
1278
|
+
// Licensed under the MIT license.
|
1277
1279
|
/**
|
1278
1280
|
* The `@azure/logger` configuration for this package.
|
1279
1281
|
*/
|
@@ -1493,6 +1495,7 @@ const StorageBlobLoggingAllowedQueryParameters = [
|
|
1493
1495
|
];
|
1494
1496
|
|
1495
1497
|
// Copyright (c) Microsoft Corporation.
|
1498
|
+
// Licensed under the MIT license.
|
1496
1499
|
/**
|
1497
1500
|
* Set URL parameter name and value. If name exists in URL parameters, old value
|
1498
1501
|
* will be replaced by name key. If not provide value, the parameter will be deleted.
|
@@ -1607,6 +1610,7 @@ async function delay(timeInMs, aborter, abortError) {
|
|
1607
1610
|
}
|
1608
1611
|
|
1609
1612
|
// Copyright (c) Microsoft Corporation.
|
1613
|
+
// Licensed under the MIT license.
|
1610
1614
|
/**
|
1611
1615
|
* RetryPolicy types.
|
1612
1616
|
*/
|
@@ -1803,6 +1807,7 @@ class StorageRetryPolicy extends BaseRequestPolicy {
|
|
1803
1807
|
}
|
1804
1808
|
|
1805
1809
|
// Copyright (c) Microsoft Corporation.
|
1810
|
+
// Licensed under the MIT license.
|
1806
1811
|
/**
|
1807
1812
|
* StorageRetryPolicyFactory is a factory class helping generating {@link StorageRetryPolicy} objects.
|
1808
1813
|
*/
|
@@ -1826,6 +1831,7 @@ class StorageRetryPolicyFactory {
|
|
1826
1831
|
}
|
1827
1832
|
|
1828
1833
|
// Copyright (c) Microsoft Corporation.
|
1834
|
+
// Licensed under the MIT license.
|
1829
1835
|
/**
|
1830
1836
|
* Credential policy used to sign HTTP(S) requests before sending. This is an
|
1831
1837
|
* abstract class.
|
@@ -1853,6 +1859,7 @@ class CredentialPolicy extends BaseRequestPolicy {
|
|
1853
1859
|
}
|
1854
1860
|
|
1855
1861
|
// Copyright (c) Microsoft Corporation.
|
1862
|
+
// Licensed under the MIT license.
|
1856
1863
|
/**
|
1857
1864
|
* StorageSharedKeyCredentialPolicy is a policy used to sign HTTP request with a shared key.
|
1858
1865
|
*/
|
@@ -2007,6 +2014,7 @@ class Credential {
|
|
2007
2014
|
}
|
2008
2015
|
|
2009
2016
|
// Copyright (c) Microsoft Corporation.
|
2017
|
+
// Licensed under the MIT license.
|
2010
2018
|
/**
|
2011
2019
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
2012
2020
|
*
|
@@ -2043,6 +2051,7 @@ class StorageSharedKeyCredential extends Credential {
|
|
2043
2051
|
}
|
2044
2052
|
|
2045
2053
|
// Copyright (c) Microsoft Corporation.
|
2054
|
+
// Licensed under the MIT license.
|
2046
2055
|
/**
|
2047
2056
|
* AnonymousCredentialPolicy is used with HTTP(S) requests that read public resources
|
2048
2057
|
* or for use with Shared Access Signatures (SAS).
|
@@ -2061,6 +2070,7 @@ class AnonymousCredentialPolicy extends CredentialPolicy {
|
|
2061
2070
|
}
|
2062
2071
|
|
2063
2072
|
// Copyright (c) Microsoft Corporation.
|
2073
|
+
// Licensed under the MIT license.
|
2064
2074
|
/**
|
2065
2075
|
* AnonymousCredential provides a credentialPolicyCreator member used to create
|
2066
2076
|
* AnonymousCredentialPolicy objects. AnonymousCredentialPolicy is used with
|
@@ -2080,6 +2090,7 @@ class AnonymousCredential extends Credential {
|
|
2080
2090
|
}
|
2081
2091
|
|
2082
2092
|
// Copyright (c) Microsoft Corporation.
|
2093
|
+
// Licensed under the MIT license.
|
2083
2094
|
let _defaultHttpClient;
|
2084
2095
|
function getCachedDefaultHttpClient() {
|
2085
2096
|
if (!_defaultHttpClient) {
|
@@ -2089,6 +2100,7 @@ function getCachedDefaultHttpClient() {
|
|
2089
2100
|
}
|
2090
2101
|
|
2091
2102
|
// Copyright (c) Microsoft Corporation.
|
2103
|
+
// Licensed under the MIT license.
|
2092
2104
|
/**
|
2093
2105
|
* The programmatic identifier of the StorageBrowserPolicy.
|
2094
2106
|
*/
|
@@ -2116,6 +2128,7 @@ function storageBrowserPolicy() {
|
|
2116
2128
|
}
|
2117
2129
|
|
2118
2130
|
// Copyright (c) Microsoft Corporation.
|
2131
|
+
// Licensed under the MIT license.
|
2119
2132
|
/**
|
2120
2133
|
* Name of the {@link storageRetryPolicy}
|
2121
2134
|
*/
|
@@ -2274,6 +2287,7 @@ function storageRetryPolicy(options = {}) {
|
|
2274
2287
|
}
|
2275
2288
|
|
2276
2289
|
// Copyright (c) Microsoft Corporation.
|
2290
|
+
// Licensed under the MIT license.
|
2277
2291
|
/**
|
2278
2292
|
* The programmatic identifier of the storageSharedKeyCredentialPolicy.
|
2279
2293
|
*/
|
@@ -2401,6 +2415,7 @@ function storageSharedKeyCredentialPolicy(options) {
|
|
2401
2415
|
}
|
2402
2416
|
|
2403
2417
|
// Copyright (c) Microsoft Corporation.
|
2418
|
+
// Licensed under the MIT license.
|
2404
2419
|
/**
|
2405
2420
|
* StorageBrowserPolicy will handle differences between Node.js and browser runtime, including:
|
2406
2421
|
*
|
@@ -2443,6 +2458,7 @@ class StorageBrowserPolicy extends BaseRequestPolicy {
|
|
2443
2458
|
}
|
2444
2459
|
|
2445
2460
|
// Copyright (c) Microsoft Corporation.
|
2461
|
+
// Licensed under the MIT license.
|
2446
2462
|
/**
|
2447
2463
|
* StorageBrowserPolicyFactory is a factory class helping generating StorageBrowserPolicy objects.
|
2448
2464
|
*/
|
@@ -2459,6 +2475,7 @@ class StorageBrowserPolicyFactory {
|
|
2459
2475
|
}
|
2460
2476
|
|
2461
2477
|
// Copyright (c) Microsoft Corporation.
|
2478
|
+
// Licensed under the MIT license.
|
2462
2479
|
/**
|
2463
2480
|
* A helper to decide if a given argument satisfies the Pipeline contract
|
2464
2481
|
* @param pipeline - An argument that may be a Pipeline
|
@@ -2698,6 +2715,7 @@ function isCoreHttpPolicyFactory(factory) {
|
|
2698
2715
|
}
|
2699
2716
|
|
2700
2717
|
// Copyright (c) Microsoft Corporation.
|
2718
|
+
// Licensed under the MIT license.
|
2701
2719
|
/**
|
2702
2720
|
* Creates a span using the global tracer.
|
2703
2721
|
* @internal
|
@@ -7878,126 +7896,126 @@ const FileRenameExceptionHeaders = {
|
|
7878
7896
|
|
7879
7897
|
var Mappers = /*#__PURE__*/Object.freeze({
|
7880
7898
|
__proto__: null,
|
7881
|
-
FileServiceProperties: FileServiceProperties,
|
7882
|
-
Metrics: Metrics,
|
7883
|
-
RetentionPolicy: RetentionPolicy,
|
7884
|
-
CorsRule: CorsRule,
|
7885
|
-
ShareProtocolSettings: ShareProtocolSettings,
|
7886
|
-
ShareSmbSettings: ShareSmbSettings,
|
7887
|
-
SmbMultichannel: SmbMultichannel,
|
7888
|
-
StorageError: StorageError,
|
7889
|
-
ListSharesResponse: ListSharesResponse,
|
7890
|
-
ShareItemInternal: ShareItemInternal,
|
7891
|
-
SharePropertiesInternal: SharePropertiesInternal,
|
7892
|
-
SharePermission: SharePermission,
|
7893
|
-
SignedIdentifier: SignedIdentifier,
|
7894
7899
|
AccessPolicy: AccessPolicy,
|
7895
|
-
ShareStats: ShareStats,
|
7896
|
-
ListFilesAndDirectoriesSegmentResponse: ListFilesAndDirectoriesSegmentResponse,
|
7897
|
-
StringEncoded: StringEncoded,
|
7898
|
-
FilesAndDirectoriesListSegment: FilesAndDirectoriesListSegment,
|
7899
|
-
DirectoryItem: DirectoryItem,
|
7900
|
-
FileProperty: FileProperty,
|
7901
|
-
FileItem: FileItem,
|
7902
|
-
ListHandlesResponse: ListHandlesResponse,
|
7903
|
-
HandleItem: HandleItem,
|
7904
|
-
ShareFileRangeList: ShareFileRangeList,
|
7905
|
-
FileRange: FileRange,
|
7906
7900
|
ClearRange: ClearRange,
|
7907
|
-
|
7908
|
-
ServiceSetPropertiesExceptionHeaders: ServiceSetPropertiesExceptionHeaders,
|
7909
|
-
ServiceGetPropertiesHeaders: ServiceGetPropertiesHeaders,
|
7910
|
-
ServiceGetPropertiesExceptionHeaders: ServiceGetPropertiesExceptionHeaders,
|
7911
|
-
ServiceListSharesSegmentHeaders: ServiceListSharesSegmentHeaders,
|
7912
|
-
ServiceListSharesSegmentExceptionHeaders: ServiceListSharesSegmentExceptionHeaders,
|
7913
|
-
ShareCreateHeaders: ShareCreateHeaders,
|
7914
|
-
ShareCreateExceptionHeaders: ShareCreateExceptionHeaders,
|
7915
|
-
ShareGetPropertiesHeaders: ShareGetPropertiesHeaders,
|
7916
|
-
ShareGetPropertiesExceptionHeaders: ShareGetPropertiesExceptionHeaders,
|
7917
|
-
ShareDeleteHeaders: ShareDeleteHeaders,
|
7918
|
-
ShareDeleteExceptionHeaders: ShareDeleteExceptionHeaders,
|
7919
|
-
ShareAcquireLeaseHeaders: ShareAcquireLeaseHeaders,
|
7920
|
-
ShareAcquireLeaseExceptionHeaders: ShareAcquireLeaseExceptionHeaders,
|
7921
|
-
ShareReleaseLeaseHeaders: ShareReleaseLeaseHeaders,
|
7922
|
-
ShareReleaseLeaseExceptionHeaders: ShareReleaseLeaseExceptionHeaders,
|
7923
|
-
ShareChangeLeaseHeaders: ShareChangeLeaseHeaders,
|
7924
|
-
ShareChangeLeaseExceptionHeaders: ShareChangeLeaseExceptionHeaders,
|
7925
|
-
ShareRenewLeaseHeaders: ShareRenewLeaseHeaders,
|
7926
|
-
ShareRenewLeaseExceptionHeaders: ShareRenewLeaseExceptionHeaders,
|
7927
|
-
ShareBreakLeaseHeaders: ShareBreakLeaseHeaders,
|
7928
|
-
ShareBreakLeaseExceptionHeaders: ShareBreakLeaseExceptionHeaders,
|
7929
|
-
ShareCreateSnapshotHeaders: ShareCreateSnapshotHeaders,
|
7930
|
-
ShareCreateSnapshotExceptionHeaders: ShareCreateSnapshotExceptionHeaders,
|
7931
|
-
ShareCreatePermissionHeaders: ShareCreatePermissionHeaders,
|
7932
|
-
ShareCreatePermissionExceptionHeaders: ShareCreatePermissionExceptionHeaders,
|
7933
|
-
ShareGetPermissionHeaders: ShareGetPermissionHeaders,
|
7934
|
-
ShareGetPermissionExceptionHeaders: ShareGetPermissionExceptionHeaders,
|
7935
|
-
ShareSetPropertiesHeaders: ShareSetPropertiesHeaders,
|
7936
|
-
ShareSetPropertiesExceptionHeaders: ShareSetPropertiesExceptionHeaders,
|
7937
|
-
ShareSetMetadataHeaders: ShareSetMetadataHeaders,
|
7938
|
-
ShareSetMetadataExceptionHeaders: ShareSetMetadataExceptionHeaders,
|
7939
|
-
ShareGetAccessPolicyHeaders: ShareGetAccessPolicyHeaders,
|
7940
|
-
ShareGetAccessPolicyExceptionHeaders: ShareGetAccessPolicyExceptionHeaders,
|
7941
|
-
ShareSetAccessPolicyHeaders: ShareSetAccessPolicyHeaders,
|
7942
|
-
ShareSetAccessPolicyExceptionHeaders: ShareSetAccessPolicyExceptionHeaders,
|
7943
|
-
ShareGetStatisticsHeaders: ShareGetStatisticsHeaders,
|
7944
|
-
ShareGetStatisticsExceptionHeaders: ShareGetStatisticsExceptionHeaders,
|
7945
|
-
ShareRestoreHeaders: ShareRestoreHeaders,
|
7946
|
-
ShareRestoreExceptionHeaders: ShareRestoreExceptionHeaders,
|
7947
|
-
DirectoryCreateHeaders: DirectoryCreateHeaders,
|
7901
|
+
CorsRule: CorsRule,
|
7948
7902
|
DirectoryCreateExceptionHeaders: DirectoryCreateExceptionHeaders,
|
7949
|
-
|
7950
|
-
DirectoryGetPropertiesExceptionHeaders: DirectoryGetPropertiesExceptionHeaders,
|
7951
|
-
DirectoryDeleteHeaders: DirectoryDeleteHeaders,
|
7903
|
+
DirectoryCreateHeaders: DirectoryCreateHeaders,
|
7952
7904
|
DirectoryDeleteExceptionHeaders: DirectoryDeleteExceptionHeaders,
|
7953
|
-
|
7954
|
-
|
7955
|
-
|
7956
|
-
|
7957
|
-
|
7905
|
+
DirectoryDeleteHeaders: DirectoryDeleteHeaders,
|
7906
|
+
DirectoryForceCloseHandlesExceptionHeaders: DirectoryForceCloseHandlesExceptionHeaders,
|
7907
|
+
DirectoryForceCloseHandlesHeaders: DirectoryForceCloseHandlesHeaders,
|
7908
|
+
DirectoryGetPropertiesExceptionHeaders: DirectoryGetPropertiesExceptionHeaders,
|
7909
|
+
DirectoryGetPropertiesHeaders: DirectoryGetPropertiesHeaders,
|
7910
|
+
DirectoryItem: DirectoryItem,
|
7958
7911
|
DirectoryListFilesAndDirectoriesSegmentExceptionHeaders: DirectoryListFilesAndDirectoriesSegmentExceptionHeaders,
|
7959
|
-
|
7912
|
+
DirectoryListFilesAndDirectoriesSegmentHeaders: DirectoryListFilesAndDirectoriesSegmentHeaders,
|
7960
7913
|
DirectoryListHandlesExceptionHeaders: DirectoryListHandlesExceptionHeaders,
|
7961
|
-
|
7962
|
-
DirectoryForceCloseHandlesExceptionHeaders: DirectoryForceCloseHandlesExceptionHeaders,
|
7963
|
-
DirectoryRenameHeaders: DirectoryRenameHeaders,
|
7914
|
+
DirectoryListHandlesHeaders: DirectoryListHandlesHeaders,
|
7964
7915
|
DirectoryRenameExceptionHeaders: DirectoryRenameExceptionHeaders,
|
7965
|
-
|
7916
|
+
DirectoryRenameHeaders: DirectoryRenameHeaders,
|
7917
|
+
DirectorySetMetadataExceptionHeaders: DirectorySetMetadataExceptionHeaders,
|
7918
|
+
DirectorySetMetadataHeaders: DirectorySetMetadataHeaders,
|
7919
|
+
DirectorySetPropertiesExceptionHeaders: DirectorySetPropertiesExceptionHeaders,
|
7920
|
+
DirectorySetPropertiesHeaders: DirectorySetPropertiesHeaders,
|
7921
|
+
FileAbortCopyExceptionHeaders: FileAbortCopyExceptionHeaders,
|
7922
|
+
FileAbortCopyHeaders: FileAbortCopyHeaders,
|
7923
|
+
FileAcquireLeaseExceptionHeaders: FileAcquireLeaseExceptionHeaders,
|
7924
|
+
FileAcquireLeaseHeaders: FileAcquireLeaseHeaders,
|
7925
|
+
FileBreakLeaseExceptionHeaders: FileBreakLeaseExceptionHeaders,
|
7926
|
+
FileBreakLeaseHeaders: FileBreakLeaseHeaders,
|
7927
|
+
FileChangeLeaseExceptionHeaders: FileChangeLeaseExceptionHeaders,
|
7928
|
+
FileChangeLeaseHeaders: FileChangeLeaseHeaders,
|
7966
7929
|
FileCreateExceptionHeaders: FileCreateExceptionHeaders,
|
7967
|
-
|
7930
|
+
FileCreateHeaders: FileCreateHeaders,
|
7931
|
+
FileDeleteExceptionHeaders: FileDeleteExceptionHeaders,
|
7932
|
+
FileDeleteHeaders: FileDeleteHeaders,
|
7968
7933
|
FileDownloadExceptionHeaders: FileDownloadExceptionHeaders,
|
7969
|
-
|
7934
|
+
FileDownloadHeaders: FileDownloadHeaders,
|
7935
|
+
FileForceCloseHandlesExceptionHeaders: FileForceCloseHandlesExceptionHeaders,
|
7936
|
+
FileForceCloseHandlesHeaders: FileForceCloseHandlesHeaders,
|
7970
7937
|
FileGetPropertiesExceptionHeaders: FileGetPropertiesExceptionHeaders,
|
7971
|
-
|
7972
|
-
|
7973
|
-
|
7938
|
+
FileGetPropertiesHeaders: FileGetPropertiesHeaders,
|
7939
|
+
FileGetRangeListExceptionHeaders: FileGetRangeListExceptionHeaders,
|
7940
|
+
FileGetRangeListHeaders: FileGetRangeListHeaders,
|
7941
|
+
FileItem: FileItem,
|
7942
|
+
FileListHandlesExceptionHeaders: FileListHandlesExceptionHeaders,
|
7943
|
+
FileListHandlesHeaders: FileListHandlesHeaders,
|
7944
|
+
FileProperty: FileProperty,
|
7945
|
+
FileRange: FileRange,
|
7946
|
+
FileReleaseLeaseExceptionHeaders: FileReleaseLeaseExceptionHeaders,
|
7947
|
+
FileReleaseLeaseHeaders: FileReleaseLeaseHeaders,
|
7948
|
+
FileRenameExceptionHeaders: FileRenameExceptionHeaders,
|
7949
|
+
FileRenameHeaders: FileRenameHeaders,
|
7950
|
+
FileServiceProperties: FileServiceProperties,
|
7974
7951
|
FileSetHttpHeadersExceptionHeaders: FileSetHttpHeadersExceptionHeaders,
|
7975
|
-
|
7952
|
+
FileSetHttpHeadersHeaders: FileSetHttpHeadersHeaders,
|
7976
7953
|
FileSetMetadataExceptionHeaders: FileSetMetadataExceptionHeaders,
|
7977
|
-
|
7978
|
-
|
7979
|
-
|
7980
|
-
FileReleaseLeaseExceptionHeaders: FileReleaseLeaseExceptionHeaders,
|
7981
|
-
FileChangeLeaseHeaders: FileChangeLeaseHeaders,
|
7982
|
-
FileChangeLeaseExceptionHeaders: FileChangeLeaseExceptionHeaders,
|
7983
|
-
FileBreakLeaseHeaders: FileBreakLeaseHeaders,
|
7984
|
-
FileBreakLeaseExceptionHeaders: FileBreakLeaseExceptionHeaders,
|
7985
|
-
FileUploadRangeHeaders: FileUploadRangeHeaders,
|
7954
|
+
FileSetMetadataHeaders: FileSetMetadataHeaders,
|
7955
|
+
FileStartCopyExceptionHeaders: FileStartCopyExceptionHeaders,
|
7956
|
+
FileStartCopyHeaders: FileStartCopyHeaders,
|
7986
7957
|
FileUploadRangeExceptionHeaders: FileUploadRangeExceptionHeaders,
|
7987
|
-
FileUploadRangeFromURLHeaders: FileUploadRangeFromURLHeaders,
|
7988
7958
|
FileUploadRangeFromURLExceptionHeaders: FileUploadRangeFromURLExceptionHeaders,
|
7989
|
-
|
7990
|
-
|
7991
|
-
|
7992
|
-
|
7993
|
-
|
7994
|
-
|
7995
|
-
|
7996
|
-
|
7997
|
-
|
7998
|
-
|
7999
|
-
|
8000
|
-
|
7959
|
+
FileUploadRangeFromURLHeaders: FileUploadRangeFromURLHeaders,
|
7960
|
+
FileUploadRangeHeaders: FileUploadRangeHeaders,
|
7961
|
+
FilesAndDirectoriesListSegment: FilesAndDirectoriesListSegment,
|
7962
|
+
HandleItem: HandleItem,
|
7963
|
+
ListFilesAndDirectoriesSegmentResponse: ListFilesAndDirectoriesSegmentResponse,
|
7964
|
+
ListHandlesResponse: ListHandlesResponse,
|
7965
|
+
ListSharesResponse: ListSharesResponse,
|
7966
|
+
Metrics: Metrics,
|
7967
|
+
RetentionPolicy: RetentionPolicy,
|
7968
|
+
ServiceGetPropertiesExceptionHeaders: ServiceGetPropertiesExceptionHeaders,
|
7969
|
+
ServiceGetPropertiesHeaders: ServiceGetPropertiesHeaders,
|
7970
|
+
ServiceListSharesSegmentExceptionHeaders: ServiceListSharesSegmentExceptionHeaders,
|
7971
|
+
ServiceListSharesSegmentHeaders: ServiceListSharesSegmentHeaders,
|
7972
|
+
ServiceSetPropertiesExceptionHeaders: ServiceSetPropertiesExceptionHeaders,
|
7973
|
+
ServiceSetPropertiesHeaders: ServiceSetPropertiesHeaders,
|
7974
|
+
ShareAcquireLeaseExceptionHeaders: ShareAcquireLeaseExceptionHeaders,
|
7975
|
+
ShareAcquireLeaseHeaders: ShareAcquireLeaseHeaders,
|
7976
|
+
ShareBreakLeaseExceptionHeaders: ShareBreakLeaseExceptionHeaders,
|
7977
|
+
ShareBreakLeaseHeaders: ShareBreakLeaseHeaders,
|
7978
|
+
ShareChangeLeaseExceptionHeaders: ShareChangeLeaseExceptionHeaders,
|
7979
|
+
ShareChangeLeaseHeaders: ShareChangeLeaseHeaders,
|
7980
|
+
ShareCreateExceptionHeaders: ShareCreateExceptionHeaders,
|
7981
|
+
ShareCreateHeaders: ShareCreateHeaders,
|
7982
|
+
ShareCreatePermissionExceptionHeaders: ShareCreatePermissionExceptionHeaders,
|
7983
|
+
ShareCreatePermissionHeaders: ShareCreatePermissionHeaders,
|
7984
|
+
ShareCreateSnapshotExceptionHeaders: ShareCreateSnapshotExceptionHeaders,
|
7985
|
+
ShareCreateSnapshotHeaders: ShareCreateSnapshotHeaders,
|
7986
|
+
ShareDeleteExceptionHeaders: ShareDeleteExceptionHeaders,
|
7987
|
+
ShareDeleteHeaders: ShareDeleteHeaders,
|
7988
|
+
ShareFileRangeList: ShareFileRangeList,
|
7989
|
+
ShareGetAccessPolicyExceptionHeaders: ShareGetAccessPolicyExceptionHeaders,
|
7990
|
+
ShareGetAccessPolicyHeaders: ShareGetAccessPolicyHeaders,
|
7991
|
+
ShareGetPermissionExceptionHeaders: ShareGetPermissionExceptionHeaders,
|
7992
|
+
ShareGetPermissionHeaders: ShareGetPermissionHeaders,
|
7993
|
+
ShareGetPropertiesExceptionHeaders: ShareGetPropertiesExceptionHeaders,
|
7994
|
+
ShareGetPropertiesHeaders: ShareGetPropertiesHeaders,
|
7995
|
+
ShareGetStatisticsExceptionHeaders: ShareGetStatisticsExceptionHeaders,
|
7996
|
+
ShareGetStatisticsHeaders: ShareGetStatisticsHeaders,
|
7997
|
+
ShareItemInternal: ShareItemInternal,
|
7998
|
+
SharePermission: SharePermission,
|
7999
|
+
SharePropertiesInternal: SharePropertiesInternal,
|
8000
|
+
ShareProtocolSettings: ShareProtocolSettings,
|
8001
|
+
ShareReleaseLeaseExceptionHeaders: ShareReleaseLeaseExceptionHeaders,
|
8002
|
+
ShareReleaseLeaseHeaders: ShareReleaseLeaseHeaders,
|
8003
|
+
ShareRenewLeaseExceptionHeaders: ShareRenewLeaseExceptionHeaders,
|
8004
|
+
ShareRenewLeaseHeaders: ShareRenewLeaseHeaders,
|
8005
|
+
ShareRestoreExceptionHeaders: ShareRestoreExceptionHeaders,
|
8006
|
+
ShareRestoreHeaders: ShareRestoreHeaders,
|
8007
|
+
ShareSetAccessPolicyExceptionHeaders: ShareSetAccessPolicyExceptionHeaders,
|
8008
|
+
ShareSetAccessPolicyHeaders: ShareSetAccessPolicyHeaders,
|
8009
|
+
ShareSetMetadataExceptionHeaders: ShareSetMetadataExceptionHeaders,
|
8010
|
+
ShareSetMetadataHeaders: ShareSetMetadataHeaders,
|
8011
|
+
ShareSetPropertiesExceptionHeaders: ShareSetPropertiesExceptionHeaders,
|
8012
|
+
ShareSetPropertiesHeaders: ShareSetPropertiesHeaders,
|
8013
|
+
ShareSmbSettings: ShareSmbSettings,
|
8014
|
+
ShareStats: ShareStats,
|
8015
|
+
SignedIdentifier: SignedIdentifier,
|
8016
|
+
SmbMultichannel: SmbMultichannel,
|
8017
|
+
StorageError: StorageError,
|
8018
|
+
StringEncoded: StringEncoded
|
8001
8019
|
});
|
8002
8020
|
|
8003
8021
|
/*
|
@@ -11059,7 +11077,7 @@ const renameOperationSpec = {
|
|
11059
11077
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
11060
11078
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
11061
11079
|
*/
|
11062
|
-
|
11080
|
+
let StorageClient$1 = class StorageClient extends coreHttpCompat__namespace.ExtendedServiceClient {
|
11063
11081
|
/**
|
11064
11082
|
* Initializes a new instance of the StorageClient class.
|
11065
11083
|
* @param url The URL of the service account, share, directory or file that is the target of the
|
@@ -11096,9 +11114,10 @@ class StorageClient$1 extends coreHttpCompat__namespace.ExtendedServiceClient {
|
|
11096
11114
|
this.directory = new DirectoryImpl(this);
|
11097
11115
|
this.file = new FileImpl(this);
|
11098
11116
|
}
|
11099
|
-
}
|
11117
|
+
};
|
11100
11118
|
|
11101
11119
|
// Copyright (c) Microsoft Corporation.
|
11120
|
+
// Licensed under the MIT license.
|
11102
11121
|
/**
|
11103
11122
|
* @internal
|
11104
11123
|
*/
|
@@ -11115,6 +11134,7 @@ class StorageContextClient extends StorageClient$1 {
|
|
11115
11134
|
}
|
11116
11135
|
|
11117
11136
|
// Copyright (c) Microsoft Corporation.
|
11137
|
+
// Licensed under the MIT license.
|
11118
11138
|
/**
|
11119
11139
|
* A StorageClient represents a base client class for ServiceClient, ContainerClient and etc.
|
11120
11140
|
*/
|
@@ -11285,6 +11305,7 @@ class FileSystemAttributes {
|
|
11285
11305
|
}
|
11286
11306
|
|
11287
11307
|
// Copyright (c) Microsoft Corporation.
|
11308
|
+
// Licensed under the MIT license.
|
11288
11309
|
/**
|
11289
11310
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
11290
11311
|
*
|
@@ -11401,6 +11422,7 @@ class RetriableReadableStream extends stream.Readable {
|
|
11401
11422
|
}
|
11402
11423
|
|
11403
11424
|
// Copyright (c) Microsoft Corporation.
|
11425
|
+
// Licensed under the MIT license.
|
11404
11426
|
/**
|
11405
11427
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
11406
11428
|
*
|
@@ -11780,12 +11802,14 @@ function rangeToString(range) {
|
|
11780
11802
|
}
|
11781
11803
|
|
11782
11804
|
// Copyright (c) Microsoft Corporation.
|
11805
|
+
// Licensed under the MIT license.
|
11783
11806
|
/**
|
11784
11807
|
* The `@azure/logger` configuration for this package.
|
11785
11808
|
*/
|
11786
11809
|
const logger = logger$2.createClientLogger("storage-file-share");
|
11787
11810
|
|
11788
11811
|
// Copyright (c) Microsoft Corporation.
|
11812
|
+
// Licensed under the MIT license.
|
11789
11813
|
/**
|
11790
11814
|
* Convert protocols from joined string to ShareProtocols.
|
11791
11815
|
*
|
@@ -11881,6 +11905,9 @@ function fileChangeTimeToString(time) {
|
|
11881
11905
|
}
|
11882
11906
|
|
11883
11907
|
// Copyright (c) Microsoft Corporation.
|
11908
|
+
// Licensed under the MIT license.
|
11909
|
+
// In browser, during webpack or browserify bundling, this module will be replaced by 'events'
|
11910
|
+
// https://github.com/Gozala/events
|
11884
11911
|
/**
|
11885
11912
|
* States for Batch.
|
11886
11913
|
*/
|
@@ -11999,6 +12026,7 @@ class Batch {
|
|
11999
12026
|
}
|
12000
12027
|
|
12001
12028
|
// Copyright (c) Microsoft Corporation.
|
12029
|
+
// Licensed under the MIT license.
|
12002
12030
|
/**
|
12003
12031
|
* This class accepts a Node.js Readable stream as input, and keeps reading data
|
12004
12032
|
* from the stream into the internal buffer structure, until it reaches maxBuffers.
|
@@ -12261,6 +12289,7 @@ class BufferScheduler {
|
|
12261
12289
|
}
|
12262
12290
|
|
12263
12291
|
// Copyright (c) Microsoft Corporation.
|
12292
|
+
// Licensed under the MIT license.
|
12264
12293
|
/**
|
12265
12294
|
* Reads a readable stream into buffer. Fill the buffer from offset to end.
|
12266
12295
|
*
|
@@ -12336,6 +12365,7 @@ const fsStat = util__namespace.promisify(fs__namespace.stat);
|
|
12336
12365
|
const fsCreateReadStream = fs__namespace.createReadStream;
|
12337
12366
|
|
12338
12367
|
// Copyright (c) Microsoft Corporation.
|
12368
|
+
// Licensed under the MIT license.
|
12339
12369
|
/**
|
12340
12370
|
* A ShareClient represents a URL to the Azure Storage share allowing you to manipulate its directories and files.
|
12341
12371
|
*/
|
@@ -14852,6 +14882,7 @@ function isFile(fileOrShare) {
|
|
14852
14882
|
}
|
14853
14883
|
|
14854
14884
|
// Copyright (c) Microsoft Corporation.
|
14885
|
+
// Licensed under the MIT license.
|
14855
14886
|
/**
|
14856
14887
|
* ShareClientInternal is the thin wrapper for Share which contains internal helper methods.
|
14857
14888
|
*/
|
@@ -14866,6 +14897,7 @@ class ShareClientInternal extends StorageClient {
|
|
14866
14897
|
}
|
14867
14898
|
|
14868
14899
|
// Copyright (c) Microsoft Corporation.
|
14900
|
+
// Licensed under the MIT license.
|
14869
14901
|
/**
|
14870
14902
|
* A ShareServiceClient represents a URL to the Azure Storage File service allowing you
|
14871
14903
|
* to manipulate file shares.
|