@azure/storage-file-share 12.26.0 → 12.27.0-alpha.20250217.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +3 -3
- package/README.md +16 -18
- package/dist/index.js +1430 -431
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BatchResponseParser.js +1 -1
- package/dist-esm/storage-blob/src/BatchResponseParser.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatch.js +1 -1
- package/dist-esm/storage-blob/src/BlobBatch.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatchClient.js +2 -2
- package/dist-esm/storage-blob/src/BlobBatchClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobLeaseClient.js +10 -10
- package/dist-esm/storage-blob/src/BlobLeaseClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js +11 -11
- package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Clients.js +43 -43
- package/dist-esm/storage-blob/src/Clients.js.map +1 -1
- package/dist-esm/storage-blob/src/ContainerClient.js +18 -18
- package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Range.js.map +1 -1
- package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +1 -1
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js +1 -1
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js.map +1 -1
- package/dist-esm/storage-blob/src/models.js +2 -2
- package/dist-esm/storage-blob/src/models.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js +2 -2
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +2 -2
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js +2 -2
- package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js +1 -1
- package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js +1 -1
- package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/SASQueryParameters.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.common.js +3 -3
- package/dist-esm/storage-blob/src/utils/utils.common.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js +1 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js.map +1 -1
- package/dist-esm/storage-file-share/src/AccountSASPermissions.js +2 -2
- package/dist-esm/storage-file-share/src/AccountSASPermissions.js.map +1 -1
- package/dist-esm/storage-file-share/src/AccountSASResourceTypes.js +1 -1
- package/dist-esm/storage-file-share/src/AccountSASResourceTypes.js.map +1 -1
- package/dist-esm/storage-file-share/src/AccountSASSignatureValues.js +1 -1
- package/dist-esm/storage-file-share/src/AccountSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-file-share/src/Clients.js +103 -78
- package/dist-esm/storage-file-share/src/Clients.js.map +1 -1
- package/dist-esm/storage-file-share/src/FileDownloadResponse.js +24 -0
- package/dist-esm/storage-file-share/src/FileDownloadResponse.js.map +1 -1
- package/dist-esm/storage-file-share/src/FileSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-file-share/src/FileSystemAttributes.js +1 -1
- package/dist-esm/storage-file-share/src/FileSystemAttributes.js.map +1 -1
- package/dist-esm/storage-file-share/src/Range.js.map +1 -1
- package/dist-esm/storage-file-share/src/SASQueryParameters.js.map +1 -1
- package/dist-esm/storage-file-share/src/ShareSASPermissions.js +1 -1
- package/dist-esm/storage-file-share/src/ShareSASPermissions.js.map +1 -1
- package/dist-esm/storage-file-share/src/ShareServiceClient.js +13 -7
- package/dist-esm/storage-file-share/src/ShareServiceClient.js.map +1 -1
- package/dist-esm/storage-file-share/src/StorageRetryPolicyFactory.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/models/index.js +10 -0
- package/dist-esm/storage-file-share/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/models/mappers.js +544 -0
- package/dist-esm/storage-file-share/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/models/parameters.js +108 -3
- package/dist-esm/storage-file-share/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/operations/directory.js +12 -10
- package/dist-esm/storage-file-share/src/generated/src/operations/directory.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/operations/file.js +125 -10
- package/dist-esm/storage-file-share/src/generated/src/operations/file.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/directory.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/file.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/storageClient.js +2 -2
- package/dist-esm/storage-file-share/src/generated/src/storageClient.js.map +1 -1
- package/dist-esm/storage-file-share/src/generatedModels.js.map +1 -1
- package/dist-esm/storage-file-share/src/index.browser.js +1 -0
- package/dist-esm/storage-file-share/src/index.browser.js.map +1 -1
- package/dist-esm/storage-file-share/src/index.js +1 -0
- package/dist-esm/storage-file-share/src/index.js.map +1 -1
- package/dist-esm/storage-file-share/src/models.js +0 -21
- package/dist-esm/storage-file-share/src/models.js.map +1 -1
- package/dist-esm/storage-file-share/src/utils/constants.js +2 -2
- package/dist-esm/storage-file-share/src/utils/constants.js.map +1 -1
- package/dist-esm/storage-file-share/src/utils/utils.common.js +214 -2
- package/dist-esm/storage-file-share/src/utils/utils.common.js.map +1 -1
- package/package.json +9 -9
- package/types/latest/storage-file-share.d.ts +968 -134
@@ -20,12 +20,10 @@ export class FileImpl {
|
|
20
20
|
/**
|
21
21
|
* Creates a new file or replaces a file. Note it only initializes the file with no content.
|
22
22
|
* @param fileContentLength Specifies the maximum size for the file, up to 4 TB.
|
23
|
-
* @param fileAttributes If specified, the provided file attributes shall be set. Default value:
|
24
|
-
* ‘Archive’ for file and ‘Directory’ for directory. ‘None’ can also be specified as default.
|
25
23
|
* @param options The options parameters.
|
26
24
|
*/
|
27
|
-
create(fileContentLength,
|
28
|
-
return this.client.sendOperationRequest({ fileContentLength,
|
25
|
+
create(fileContentLength, options) {
|
26
|
+
return this.client.sendOperationRequest({ fileContentLength, options }, createOperationSpec);
|
29
27
|
}
|
30
28
|
/**
|
31
29
|
* Reads or downloads a file from the system, including its metadata and properties.
|
@@ -51,12 +49,10 @@ export class FileImpl {
|
|
51
49
|
}
|
52
50
|
/**
|
53
51
|
* Sets HTTP headers on the file.
|
54
|
-
* @param fileAttributes If specified, the provided file attributes shall be set. Default value:
|
55
|
-
* ‘Archive’ for file and ‘Directory’ for directory. ‘None’ can also be specified as default.
|
56
52
|
* @param options The options parameters.
|
57
53
|
*/
|
58
|
-
setHttpHeaders(
|
59
|
-
return this.client.sendOperationRequest({
|
54
|
+
setHttpHeaders(options) {
|
55
|
+
return this.client.sendOperationRequest({ options }, setHttpHeadersOperationSpec);
|
60
56
|
}
|
61
57
|
/**
|
62
58
|
* Updates user-defined metadata for the specified file.
|
@@ -188,6 +184,30 @@ export class FileImpl {
|
|
188
184
|
rename(renameSource, options) {
|
189
185
|
return this.client.sendOperationRequest({ renameSource, options }, renameOperationSpec);
|
190
186
|
}
|
187
|
+
/**
|
188
|
+
* Creates a symbolic link.
|
189
|
+
* @param linkText NFS only. Required. The path to the original file, the symbolic link is pointing to.
|
190
|
+
* The path is of type string which is not resolved and is stored as is. The path can be absolute path
|
191
|
+
* or the relative path depending on the content stored in the symbolic link file.
|
192
|
+
* @param options The options parameters.
|
193
|
+
*/
|
194
|
+
createSymbolicLink(linkText, options) {
|
195
|
+
return this.client.sendOperationRequest({ linkText, options }, createSymbolicLinkOperationSpec);
|
196
|
+
}
|
197
|
+
/** @param options The options parameters. */
|
198
|
+
getSymbolicLink(options) {
|
199
|
+
return this.client.sendOperationRequest({ options }, getSymbolicLinkOperationSpec);
|
200
|
+
}
|
201
|
+
/**
|
202
|
+
* Creates a hard link.
|
203
|
+
* @param targetFile NFS only. Required. Specifies the path of the target file to which the link will
|
204
|
+
* be created, up to 2 KiB in length. It should be full path of the target from the root.The target
|
205
|
+
* file must be in the same share and hence the same storage account.
|
206
|
+
* @param options The options parameters.
|
207
|
+
*/
|
208
|
+
createHardLink(targetFile, options) {
|
209
|
+
return this.client.sendOperationRequest({ targetFile, options }, createHardLinkOperationSpec);
|
210
|
+
}
|
191
211
|
}
|
192
212
|
// Operation Specifications
|
193
213
|
const xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);
|
@@ -219,6 +239,9 @@ const createOperationSpec = {
|
|
219
239
|
Parameters.fileCreatedOn,
|
220
240
|
Parameters.fileLastWriteOn,
|
221
241
|
Parameters.fileChangeOn,
|
242
|
+
Parameters.owner,
|
243
|
+
Parameters.group,
|
244
|
+
Parameters.fileMode,
|
222
245
|
Parameters.fileContentLength,
|
223
246
|
Parameters.fileTypeConstant,
|
224
247
|
Parameters.fileContentType,
|
@@ -226,7 +249,8 @@ const createOperationSpec = {
|
|
226
249
|
Parameters.fileContentLanguage,
|
227
250
|
Parameters.fileCacheControl,
|
228
251
|
Parameters.fileContentMD5,
|
229
|
-
Parameters.fileContentDisposition
|
252
|
+
Parameters.fileContentDisposition,
|
253
|
+
Parameters.nfsFileType
|
230
254
|
],
|
231
255
|
isXML: true,
|
232
256
|
serializer: xmlSerializer
|
@@ -343,6 +367,9 @@ const setHttpHeadersOperationSpec = {
|
|
343
367
|
Parameters.fileCreatedOn,
|
344
368
|
Parameters.fileLastWriteOn,
|
345
369
|
Parameters.fileChangeOn,
|
370
|
+
Parameters.owner,
|
371
|
+
Parameters.group,
|
372
|
+
Parameters.fileMode,
|
346
373
|
Parameters.fileContentType,
|
347
374
|
Parameters.fileContentEncoding,
|
348
375
|
Parameters.fileContentLanguage,
|
@@ -609,6 +636,9 @@ const startCopyOperationSpec = {
|
|
609
636
|
Parameters.allowTrailingDot,
|
610
637
|
Parameters.filePermission,
|
611
638
|
Parameters.filePermissionKey1,
|
639
|
+
Parameters.owner,
|
640
|
+
Parameters.group,
|
641
|
+
Parameters.fileMode,
|
612
642
|
Parameters.fileAttributes1,
|
613
643
|
Parameters.fileCreationTime,
|
614
644
|
Parameters.fileLastWriteTime,
|
@@ -617,7 +647,9 @@ const startCopyOperationSpec = {
|
|
617
647
|
Parameters.copySource,
|
618
648
|
Parameters.filePermissionCopyMode,
|
619
649
|
Parameters.ignoreReadOnly1,
|
620
|
-
Parameters.setArchiveAttribute
|
650
|
+
Parameters.setArchiveAttribute,
|
651
|
+
Parameters.fileModeCopyMode,
|
652
|
+
Parameters.fileOwnerCopyMode
|
621
653
|
],
|
622
654
|
isXML: true,
|
623
655
|
serializer: xmlSerializer
|
@@ -748,4 +780,87 @@ const renameOperationSpec = {
|
|
748
780
|
isXML: true,
|
749
781
|
serializer: xmlSerializer
|
750
782
|
};
|
783
|
+
const createSymbolicLinkOperationSpec = {
|
784
|
+
path: "/{shareName}/{directory}/{fileName}",
|
785
|
+
httpMethod: "PUT",
|
786
|
+
responses: {
|
787
|
+
201: {
|
788
|
+
headersMapper: Mappers.FileCreateSymbolicLinkHeaders
|
789
|
+
},
|
790
|
+
default: {
|
791
|
+
bodyMapper: Mappers.StorageError,
|
792
|
+
headersMapper: Mappers.FileCreateSymbolicLinkExceptionHeaders
|
793
|
+
}
|
794
|
+
},
|
795
|
+
queryParameters: [Parameters.timeoutInSeconds, Parameters.restype3],
|
796
|
+
urlParameters: [Parameters.url],
|
797
|
+
headerParameters: [
|
798
|
+
Parameters.version,
|
799
|
+
Parameters.fileRequestIntent,
|
800
|
+
Parameters.accept1,
|
801
|
+
Parameters.metadata,
|
802
|
+
Parameters.leaseId,
|
803
|
+
Parameters.requestId,
|
804
|
+
Parameters.fileCreatedOn,
|
805
|
+
Parameters.fileLastWriteOn,
|
806
|
+
Parameters.owner,
|
807
|
+
Parameters.group,
|
808
|
+
Parameters.linkText
|
809
|
+
],
|
810
|
+
isXML: true,
|
811
|
+
serializer: xmlSerializer
|
812
|
+
};
|
813
|
+
const getSymbolicLinkOperationSpec = {
|
814
|
+
path: "/{shareName}/{directory}/{fileName}",
|
815
|
+
httpMethod: "GET",
|
816
|
+
responses: {
|
817
|
+
200: {
|
818
|
+
headersMapper: Mappers.FileGetSymbolicLinkHeaders
|
819
|
+
},
|
820
|
+
default: {
|
821
|
+
bodyMapper: Mappers.StorageError,
|
822
|
+
headersMapper: Mappers.FileGetSymbolicLinkExceptionHeaders
|
823
|
+
}
|
824
|
+
},
|
825
|
+
queryParameters: [
|
826
|
+
Parameters.timeoutInSeconds,
|
827
|
+
Parameters.shareSnapshot,
|
828
|
+
Parameters.restype3
|
829
|
+
],
|
830
|
+
urlParameters: [Parameters.url],
|
831
|
+
headerParameters: [
|
832
|
+
Parameters.version,
|
833
|
+
Parameters.fileRequestIntent,
|
834
|
+
Parameters.accept1,
|
835
|
+
Parameters.requestId
|
836
|
+
],
|
837
|
+
isXML: true,
|
838
|
+
serializer: xmlSerializer
|
839
|
+
};
|
840
|
+
const createHardLinkOperationSpec = {
|
841
|
+
path: "/{shareName}/{directory}/{fileName}",
|
842
|
+
httpMethod: "PUT",
|
843
|
+
responses: {
|
844
|
+
201: {
|
845
|
+
headersMapper: Mappers.FileCreateHardLinkHeaders
|
846
|
+
},
|
847
|
+
default: {
|
848
|
+
bodyMapper: Mappers.StorageError,
|
849
|
+
headersMapper: Mappers.FileCreateHardLinkExceptionHeaders
|
850
|
+
}
|
851
|
+
},
|
852
|
+
queryParameters: [Parameters.timeoutInSeconds, Parameters.restype4],
|
853
|
+
urlParameters: [Parameters.url],
|
854
|
+
headerParameters: [
|
855
|
+
Parameters.version,
|
856
|
+
Parameters.fileRequestIntent,
|
857
|
+
Parameters.accept1,
|
858
|
+
Parameters.leaseId,
|
859
|
+
Parameters.requestId,
|
860
|
+
Parameters.fileTypeConstant,
|
861
|
+
Parameters.targetFile
|
862
|
+
],
|
863
|
+
isXML: true,
|
864
|
+
serializer: xmlSerializer
|
865
|
+
};
|
751
866
|
//# sourceMappingURL=file.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/file.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA0CnD,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,iBAAyB,EACzB,cAAsB,EACtB,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,EAAE,EAC9C,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,QAAQ,CACN,OAAoC;QAEpC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,qBAAqB,CAAC,CAAC;IAC9E,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;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AAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,sBAAsB;QACjC,UAAU,CAAC,eAAe;KAC3B;IACD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,aAAa;CAC1B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { File } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClient } from \"../storageClient\";\nimport {\n FileCreateOptionalParams,\n FileCreateResponse,\n FileDownloadOptionalParams,\n FileDownloadResponse,\n FileGetPropertiesOptionalParams,\n FileGetPropertiesResponse,\n FileDeleteOptionalParams,\n FileDeleteResponse,\n FileSetHttpHeadersOptionalParams,\n FileSetHttpHeadersResponse,\n FileSetMetadataOptionalParams,\n FileSetMetadataResponse,\n FileAcquireLeaseOptionalParams,\n FileAcquireLeaseResponse,\n FileReleaseLeaseOptionalParams,\n FileReleaseLeaseResponse,\n FileChangeLeaseOptionalParams,\n FileChangeLeaseResponse,\n FileBreakLeaseOptionalParams,\n FileBreakLeaseResponse,\n FileRangeWriteType,\n FileUploadRangeOptionalParams,\n FileUploadRangeResponse,\n FileUploadRangeFromURLOptionalParams,\n FileUploadRangeFromURLResponse,\n FileGetRangeListOptionalParams,\n FileGetRangeListResponse,\n FileStartCopyOptionalParams,\n FileStartCopyResponse,\n FileAbortCopyOptionalParams,\n FileAbortCopyResponse,\n FileListHandlesOptionalParams,\n FileListHandlesResponse,\n FileForceCloseHandlesOptionalParams,\n FileForceCloseHandlesResponse,\n FileRenameOptionalParams,\n FileRenameResponse\n} from \"../models\";\n\n/** Class containing File operations. */\nexport class FileImpl implements File {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class File class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Creates a new file or replaces a file. Note it only initializes the file with no content.\n * @param fileContentLength Specifies the maximum size for the file, up to 4 TB.\n * @param fileAttributes If specified, the provided file attributes shall be set. Default value:\n * ‘Archive’ for file and ‘Directory’ for directory. ‘None’ can also be specified as default.\n * @param options The options parameters.\n */\n create(\n fileContentLength: number,\n fileAttributes: string,\n options?: FileCreateOptionalParams\n ): Promise<FileCreateResponse> {\n return this.client.sendOperationRequest(\n { fileContentLength, fileAttributes, options },\n createOperationSpec\n );\n }\n\n /**\n * Reads or downloads a file from the system, including its metadata and properties.\n * @param options The options parameters.\n */\n download(\n options?: FileDownloadOptionalParams\n ): Promise<FileDownloadResponse> {\n return this.client.sendOperationRequest({ options }, downloadOperationSpec);\n }\n\n /**\n * Returns all user-defined metadata, standard HTTP properties, and system properties for the file. It\n * does not return the content of the file.\n * @param options The options parameters.\n */\n getProperties(\n options?: FileGetPropertiesOptionalParams\n ): Promise<FileGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec\n );\n }\n\n /**\n * removes the file from the storage account.\n * @param options The options parameters.\n */\n delete(options?: FileDeleteOptionalParams): Promise<FileDeleteResponse> {\n return this.client.sendOperationRequest({ options }, deleteOperationSpec);\n }\n\n /**\n * Sets HTTP headers on the file.\n * @param fileAttributes If specified, the provided file attributes shall be set. Default value:\n * ‘Archive’ for file and ‘Directory’ for directory. ‘None’ can also be specified as default.\n * @param options The options parameters.\n */\n setHttpHeaders(\n fileAttributes: string,\n options?: FileSetHttpHeadersOptionalParams\n ): Promise<FileSetHttpHeadersResponse> {\n return this.client.sendOperationRequest(\n { fileAttributes, options },\n setHttpHeadersOperationSpec\n );\n }\n\n /**\n * Updates user-defined metadata for the specified file.\n * @param options The options parameters.\n */\n setMetadata(\n options?: FileSetMetadataOptionalParams\n ): Promise<FileSetMetadataResponse> {\n return this.client.sendOperationRequest(\n { options },\n setMetadataOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n acquireLease(\n options?: FileAcquireLeaseOptionalParams\n ): Promise<FileAcquireLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n acquireLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n releaseLease(\n leaseId: string,\n options?: FileReleaseLeaseOptionalParams\n ): Promise<FileReleaseLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n releaseLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n changeLease(\n leaseId: string,\n options?: FileChangeLeaseOptionalParams\n ): Promise<FileChangeLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n changeLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n breakLease(\n options?: FileBreakLeaseOptionalParams\n ): Promise<FileBreakLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n breakLeaseOperationSpec\n );\n }\n\n /**\n * Upload a range of bytes to a file.\n * @param range Specifies the range of bytes to be written. Both the start and end of the range must be\n * specified. For an update operation, the range can be up to 4 MB in size. For a clear operation, the\n * range can be up to the value of the file's full size. The File service accepts only a single byte\n * range for the Range and 'x-ms-range' headers, and the byte range must be specified in the following\n * format: bytes=startByte-endByte.\n * @param fileRangeWrite Specify one of the following options: - Update: Writes the bytes specified by\n * the request body into the specified range. The Range and Content-Length headers must match to\n * perform the update. - Clear: Clears the specified range and releases the space used in storage for\n * that range. To clear a range, set the Content-Length header to zero, and set the Range header to a\n * value that indicates the range to clear, up to maximum file size.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRange(\n range: string,\n fileRangeWrite: FileRangeWriteType,\n contentLength: number,\n options?: FileUploadRangeOptionalParams\n ): Promise<FileUploadRangeResponse> {\n return this.client.sendOperationRequest(\n { range, fileRangeWrite, contentLength, options },\n uploadRangeOperationSpec\n );\n }\n\n /**\n * Upload a range of bytes to a file where the contents are read from a URL.\n * @param range Writes data to the specified byte range in the file.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRangeFromURL(\n range: string,\n copySource: string,\n contentLength: number,\n options?: FileUploadRangeFromURLOptionalParams\n ): Promise<FileUploadRangeFromURLResponse> {\n return this.client.sendOperationRequest(\n { range, copySource, contentLength, options },\n uploadRangeFromURLOperationSpec\n );\n }\n\n /**\n * Returns the list of valid ranges for a file.\n * @param options The options parameters.\n */\n getRangeList(\n options?: FileGetRangeListOptionalParams\n ): Promise<FileGetRangeListResponse> {\n return this.client.sendOperationRequest(\n { options },\n getRangeListOperationSpec\n );\n }\n\n /**\n * Copies a blob or file to a destination file within the storage account.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param options The options parameters.\n */\n startCopy(\n copySource: string,\n options?: FileStartCopyOptionalParams\n ): Promise<FileStartCopyResponse> {\n return this.client.sendOperationRequest(\n { copySource, options },\n startCopyOperationSpec\n );\n }\n\n /**\n * Aborts a pending Copy File operation, and leaves a destination file with zero length and full\n * metadata.\n * @param copyId The copy identifier provided in the x-ms-copy-id header of the original Copy File\n * operation.\n * @param options The options parameters.\n */\n abortCopy(\n copyId: string,\n options?: FileAbortCopyOptionalParams\n ): Promise<FileAbortCopyResponse> {\n return this.client.sendOperationRequest(\n { copyId, options },\n abortCopyOperationSpec\n );\n }\n\n /**\n * Lists handles for file\n * @param options The options parameters.\n */\n listHandles(\n options?: FileListHandlesOptionalParams\n ): Promise<FileListHandlesResponse> {\n return this.client.sendOperationRequest(\n { options },\n listHandlesOperationSpec\n );\n }\n\n /**\n * Closes all handles open for given file\n * @param handleId Specifies handle ID opened on the file or directory to be closed. Asterisk (‘*’) is\n * a wildcard that specifies all handles.\n * @param options The options parameters.\n */\n forceCloseHandles(\n handleId: string,\n options?: FileForceCloseHandlesOptionalParams\n ): Promise<FileForceCloseHandlesResponse> {\n return this.client.sendOperationRequest(\n { handleId, options },\n forceCloseHandlesOperationSpec\n );\n }\n\n /**\n * Renames a file\n * @param renameSource Required. Specifies the URI-style path of the source file, up to 2 KB in length.\n * @param options The options parameters.\n */\n rename(\n renameSource: string,\n options?: FileRenameOptionalParams\n ): Promise<FileRenameResponse> {\n return this.client.sendOperationRequest(\n { renameSource, options },\n renameOperationSpec\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.filePermissionFormat,\n Parameters.allowTrailingDot,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.fileAttributes,\n Parameters.fileCreatedOn,\n Parameters.fileLastWriteOn,\n Parameters.fileChangeOn,\n Parameters.fileContentLength,\n Parameters.fileTypeConstant,\n Parameters.fileContentType,\n Parameters.fileContentEncoding,\n Parameters.fileContentLanguage,\n Parameters.fileCacheControl,\n Parameters.fileContentMD5,\n Parameters.fileContentDisposition\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst downloadOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.FileDownloadHeaders\n },\n 206: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.FileDownloadHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileDownloadExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.range,\n Parameters.rangeGetContentMD5\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.FileGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.shareSnapshot],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"DELETE\",\n responses: {\n 202: {\n headersMapper: Mappers.FileDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileDeleteExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setHttpHeadersOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileSetHttpHeadersHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileSetHttpHeadersExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.filePermissionFormat,\n Parameters.allowTrailingDot,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.fileAttributes,\n Parameters.fileCreatedOn,\n Parameters.fileLastWriteOn,\n Parameters.fileChangeOn,\n Parameters.fileContentType,\n Parameters.fileContentEncoding,\n Parameters.fileContentLanguage,\n Parameters.fileCacheControl,\n Parameters.fileContentMD5,\n Parameters.fileContentDisposition,\n Parameters.fileContentLength1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setMetadataOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileSetMetadataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileSetMetadataExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp5],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst acquireLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileAcquireLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileAcquireLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.action,\n Parameters.duration,\n Parameters.proposedLeaseId,\n Parameters.requestId,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst releaseLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileReleaseLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileReleaseLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.action1,\n Parameters.leaseId1,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst changeLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileChangeLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileChangeLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.proposedLeaseId,\n Parameters.requestId,\n Parameters.leaseId1,\n Parameters.action2,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst breakLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.FileBreakLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileBreakLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.requestId,\n Parameters.action4,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst uploadRangeOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileUploadRangeHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileUploadRangeExceptionHeaders\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.contentType2,\n Parameters.accept3,\n Parameters.range1,\n Parameters.fileRangeWrite,\n Parameters.contentLength,\n Parameters.contentMD5,\n Parameters.fileLastWrittenMode\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"binary\",\n serializer: xmlSerializer\n};\nconst uploadRangeFromURLOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileUploadRangeFromURLHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileUploadRangeFromURLExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.allowSourceTrailingDot,\n Parameters.range1,\n Parameters.contentLength,\n Parameters.fileLastWrittenMode,\n Parameters.copySource,\n Parameters.sourceRange,\n Parameters.fileRangeWriteFromUrl,\n Parameters.sourceContentCrc64,\n Parameters.sourceIfMatchCrc64,\n Parameters.sourceIfNoneMatchCrc64,\n Parameters.copySourceAuthorization\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getRangeListOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShareFileRangeList,\n headersMapper: Mappers.FileGetRangeListHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileGetRangeListExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.shareSnapshot,\n Parameters.comp13,\n Parameters.prevsharesnapshot\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.range,\n Parameters.supportRename\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst startCopyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.FileStartCopyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileStartCopyExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.filePermissionFormat,\n Parameters.allowTrailingDot,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.fileAttributes1,\n Parameters.fileCreationTime,\n Parameters.fileLastWriteTime,\n Parameters.fileChangeTime,\n Parameters.allowSourceTrailingDot,\n Parameters.copySource,\n Parameters.filePermissionCopyMode,\n Parameters.ignoreReadOnly1,\n Parameters.setArchiveAttribute\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst abortCopyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.FileAbortCopyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileAbortCopyExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp14,\n Parameters.copyId\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.copyActionAbortConstant\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst listHandlesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListHandlesResponse,\n headersMapper: Mappers.FileListHandlesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileListHandlesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.maxResults,\n Parameters.shareSnapshot,\n Parameters.comp9\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst forceCloseHandlesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileForceCloseHandlesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileForceCloseHandlesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.shareSnapshot,\n Parameters.comp10\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.allowTrailingDot,\n Parameters.handleId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renameOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileRenameHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileRenameExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp11],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.filePermissionFormat,\n Parameters.allowTrailingDot,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.renameSource,\n Parameters.replaceIfExists,\n Parameters.ignoreReadOnly,\n Parameters.sourceLeaseId,\n Parameters.destinationLeaseId,\n Parameters.fileAttributes1,\n Parameters.fileCreationTime,\n Parameters.fileLastWriteTime,\n Parameters.fileChangeTime,\n Parameters.allowSourceTrailingDot,\n Parameters.fileContentType\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n"]}
|
1
|
+
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/file.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;A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code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { File } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClient } from \"../storageClient\";\nimport {\n FileCreateOptionalParams,\n FileCreateResponse,\n FileDownloadOptionalParams,\n FileDownloadResponse,\n FileGetPropertiesOptionalParams,\n FileGetPropertiesResponse,\n FileDeleteOptionalParams,\n FileDeleteResponse,\n FileSetHttpHeadersOptionalParams,\n FileSetHttpHeadersResponse,\n FileSetMetadataOptionalParams,\n FileSetMetadataResponse,\n FileAcquireLeaseOptionalParams,\n FileAcquireLeaseResponse,\n FileReleaseLeaseOptionalParams,\n FileReleaseLeaseResponse,\n FileChangeLeaseOptionalParams,\n FileChangeLeaseResponse,\n FileBreakLeaseOptionalParams,\n FileBreakLeaseResponse,\n FileRangeWriteType,\n FileUploadRangeOptionalParams,\n FileUploadRangeResponse,\n FileUploadRangeFromURLOptionalParams,\n FileUploadRangeFromURLResponse,\n FileGetRangeListOptionalParams,\n FileGetRangeListResponse,\n FileStartCopyOptionalParams,\n FileStartCopyResponse,\n FileAbortCopyOptionalParams,\n FileAbortCopyResponse,\n FileListHandlesOptionalParams,\n FileListHandlesResponse,\n FileForceCloseHandlesOptionalParams,\n FileForceCloseHandlesResponse,\n FileRenameOptionalParams,\n FileRenameResponse,\n FileCreateSymbolicLinkOptionalParams,\n FileCreateSymbolicLinkResponse,\n FileGetSymbolicLinkOptionalParams,\n FileGetSymbolicLinkResponse,\n FileCreateHardLinkOptionalParams,\n FileCreateHardLinkResponse\n} from \"../models\";\n\n/** Class containing File operations. */\nexport class FileImpl implements File {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class File class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Creates a new file or replaces a file. Note it only initializes the file with no content.\n * @param fileContentLength Specifies the maximum size for the file, up to 4 TB.\n * @param options The options parameters.\n */\n create(\n fileContentLength: number,\n options?: FileCreateOptionalParams\n ): Promise<FileCreateResponse> {\n return this.client.sendOperationRequest(\n { fileContentLength, options },\n createOperationSpec\n );\n }\n\n /**\n * Reads or downloads a file from the system, including its metadata and properties.\n * @param options The options parameters.\n */\n download(\n options?: FileDownloadOptionalParams\n ): Promise<FileDownloadResponse> {\n return this.client.sendOperationRequest({ options }, downloadOperationSpec);\n }\n\n /**\n * Returns all user-defined metadata, standard HTTP properties, and system properties for the file. It\n * does not return the content of the file.\n * @param options The options parameters.\n */\n getProperties(\n options?: FileGetPropertiesOptionalParams\n ): Promise<FileGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec\n );\n }\n\n /**\n * removes the file from the storage account.\n * @param options The options parameters.\n */\n delete(options?: FileDeleteOptionalParams): Promise<FileDeleteResponse> {\n return this.client.sendOperationRequest({ options }, deleteOperationSpec);\n }\n\n /**\n * Sets HTTP headers on the file.\n * @param options The options parameters.\n */\n setHttpHeaders(\n options?: FileSetHttpHeadersOptionalParams\n ): Promise<FileSetHttpHeadersResponse> {\n return this.client.sendOperationRequest(\n { options },\n setHttpHeadersOperationSpec\n );\n }\n\n /**\n * Updates user-defined metadata for the specified file.\n * @param options The options parameters.\n */\n setMetadata(\n options?: FileSetMetadataOptionalParams\n ): Promise<FileSetMetadataResponse> {\n return this.client.sendOperationRequest(\n { options },\n setMetadataOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n acquireLease(\n options?: FileAcquireLeaseOptionalParams\n ): Promise<FileAcquireLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n acquireLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n releaseLease(\n leaseId: string,\n options?: FileReleaseLeaseOptionalParams\n ): Promise<FileReleaseLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n releaseLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n changeLease(\n leaseId: string,\n options?: FileChangeLeaseOptionalParams\n ): Promise<FileChangeLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n changeLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n breakLease(\n options?: FileBreakLeaseOptionalParams\n ): Promise<FileBreakLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n breakLeaseOperationSpec\n );\n }\n\n /**\n * Upload a range of bytes to a file.\n * @param range Specifies the range of bytes to be written. Both the start and end of the range must be\n * specified. For an update operation, the range can be up to 4 MB in size. For a clear operation, the\n * range can be up to the value of the file's full size. The File service accepts only a single byte\n * range for the Range and 'x-ms-range' headers, and the byte range must be specified in the following\n * format: bytes=startByte-endByte.\n * @param fileRangeWrite Specify one of the following options: - Update: Writes the bytes specified by\n * the request body into the specified range. The Range and Content-Length headers must match to\n * perform the update. - Clear: Clears the specified range and releases the space used in storage for\n * that range. To clear a range, set the Content-Length header to zero, and set the Range header to a\n * value that indicates the range to clear, up to maximum file size.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRange(\n range: string,\n fileRangeWrite: FileRangeWriteType,\n contentLength: number,\n options?: FileUploadRangeOptionalParams\n ): Promise<FileUploadRangeResponse> {\n return this.client.sendOperationRequest(\n { range, fileRangeWrite, contentLength, options },\n uploadRangeOperationSpec\n );\n }\n\n /**\n * Upload a range of bytes to a file where the contents are read from a URL.\n * @param range Writes data to the specified byte range in the file.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRangeFromURL(\n range: string,\n copySource: string,\n contentLength: number,\n options?: FileUploadRangeFromURLOptionalParams\n ): Promise<FileUploadRangeFromURLResponse> {\n return this.client.sendOperationRequest(\n { range, copySource, contentLength, options },\n uploadRangeFromURLOperationSpec\n );\n }\n\n /**\n * Returns the list of valid ranges for a file.\n * @param options The options parameters.\n */\n getRangeList(\n options?: FileGetRangeListOptionalParams\n ): Promise<FileGetRangeListResponse> {\n return this.client.sendOperationRequest(\n { options },\n getRangeListOperationSpec\n );\n }\n\n /**\n * Copies a blob or file to a destination file within the storage account.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param options The options parameters.\n */\n startCopy(\n copySource: string,\n options?: FileStartCopyOptionalParams\n ): Promise<FileStartCopyResponse> {\n return this.client.sendOperationRequest(\n { copySource, options },\n startCopyOperationSpec\n );\n }\n\n /**\n * Aborts a pending Copy File operation, and leaves a destination file with zero length and full\n * metadata.\n * @param copyId The copy identifier provided in the x-ms-copy-id header of the original Copy File\n * operation.\n * @param options The options parameters.\n */\n abortCopy(\n copyId: string,\n options?: FileAbortCopyOptionalParams\n ): Promise<FileAbortCopyResponse> {\n return this.client.sendOperationRequest(\n { copyId, options },\n abortCopyOperationSpec\n );\n }\n\n /**\n * Lists handles for file\n * @param options The options parameters.\n */\n listHandles(\n options?: FileListHandlesOptionalParams\n ): Promise<FileListHandlesResponse> {\n return this.client.sendOperationRequest(\n { options },\n listHandlesOperationSpec\n );\n }\n\n /**\n * Closes all handles open for given file\n * @param handleId Specifies handle ID opened on the file or directory to be closed. Asterisk (‘*’) is\n * a wildcard that specifies all handles.\n * @param options The options parameters.\n */\n forceCloseHandles(\n handleId: string,\n options?: FileForceCloseHandlesOptionalParams\n ): Promise<FileForceCloseHandlesResponse> {\n return this.client.sendOperationRequest(\n { handleId, options },\n forceCloseHandlesOperationSpec\n );\n }\n\n /**\n * Renames a file\n * @param renameSource Required. Specifies the URI-style path of the source file, up to 2 KB in length.\n * @param options The options parameters.\n */\n rename(\n renameSource: string,\n options?: FileRenameOptionalParams\n ): Promise<FileRenameResponse> {\n return this.client.sendOperationRequest(\n { renameSource, options },\n renameOperationSpec\n );\n }\n\n /**\n * Creates a symbolic link.\n * @param linkText NFS only. Required. The path to the original file, the symbolic link is pointing to.\n * The path is of type string which is not resolved and is stored as is. The path can be absolute path\n * or the relative path depending on the content stored in the symbolic link file.\n * @param options The options parameters.\n */\n createSymbolicLink(\n linkText: string,\n options?: FileCreateSymbolicLinkOptionalParams\n ): Promise<FileCreateSymbolicLinkResponse> {\n return this.client.sendOperationRequest(\n { linkText, options },\n createSymbolicLinkOperationSpec\n );\n }\n\n /** @param options The options parameters. */\n getSymbolicLink(\n options?: FileGetSymbolicLinkOptionalParams\n ): Promise<FileGetSymbolicLinkResponse> {\n return this.client.sendOperationRequest(\n { options },\n getSymbolicLinkOperationSpec\n );\n }\n\n /**\n * Creates a hard link.\n * @param targetFile NFS only. Required. Specifies the path of the target file to which the link will\n * be created, up to 2 KiB in length. It should be full path of the target from the root.The target\n * file must be in the same share and hence the same storage account.\n * @param options The options parameters.\n */\n createHardLink(\n targetFile: string,\n options?: FileCreateHardLinkOptionalParams\n ): Promise<FileCreateHardLinkResponse> {\n return this.client.sendOperationRequest(\n { targetFile, options },\n createHardLinkOperationSpec\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.filePermissionFormat,\n Parameters.allowTrailingDot,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.fileAttributes,\n Parameters.fileCreatedOn,\n Parameters.fileLastWriteOn,\n Parameters.fileChangeOn,\n Parameters.owner,\n Parameters.group,\n Parameters.fileMode,\n Parameters.fileContentLength,\n Parameters.fileTypeConstant,\n Parameters.fileContentType,\n Parameters.fileContentEncoding,\n Parameters.fileContentLanguage,\n Parameters.fileCacheControl,\n Parameters.fileContentMD5,\n Parameters.fileContentDisposition,\n Parameters.nfsFileType\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst downloadOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.FileDownloadHeaders\n },\n 206: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.FileDownloadHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileDownloadExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.range,\n Parameters.rangeGetContentMD5\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.FileGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.shareSnapshot],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"DELETE\",\n responses: {\n 202: {\n headersMapper: Mappers.FileDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileDeleteExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setHttpHeadersOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileSetHttpHeadersHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileSetHttpHeadersExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.filePermissionFormat,\n Parameters.allowTrailingDot,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.fileAttributes,\n Parameters.fileCreatedOn,\n Parameters.fileLastWriteOn,\n Parameters.fileChangeOn,\n Parameters.owner,\n Parameters.group,\n Parameters.fileMode,\n Parameters.fileContentType,\n Parameters.fileContentEncoding,\n Parameters.fileContentLanguage,\n Parameters.fileCacheControl,\n Parameters.fileContentMD5,\n Parameters.fileContentDisposition,\n Parameters.fileContentLength1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setMetadataOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileSetMetadataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileSetMetadataExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp5],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst acquireLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileAcquireLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileAcquireLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.action,\n Parameters.duration,\n Parameters.proposedLeaseId,\n Parameters.requestId,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst releaseLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileReleaseLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileReleaseLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.action1,\n Parameters.leaseId1,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst changeLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileChangeLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileChangeLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.proposedLeaseId,\n Parameters.requestId,\n Parameters.leaseId1,\n Parameters.action2,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst breakLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.FileBreakLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileBreakLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.requestId,\n Parameters.action4,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst uploadRangeOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileUploadRangeHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileUploadRangeExceptionHeaders\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.contentType2,\n Parameters.accept3,\n Parameters.range1,\n Parameters.fileRangeWrite,\n Parameters.contentLength,\n Parameters.contentMD5,\n Parameters.fileLastWrittenMode\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"binary\",\n serializer: xmlSerializer\n};\nconst uploadRangeFromURLOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileUploadRangeFromURLHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileUploadRangeFromURLExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.allowSourceTrailingDot,\n Parameters.range1,\n Parameters.contentLength,\n Parameters.fileLastWrittenMode,\n Parameters.copySource,\n Parameters.sourceRange,\n Parameters.fileRangeWriteFromUrl,\n Parameters.sourceContentCrc64,\n Parameters.sourceIfMatchCrc64,\n Parameters.sourceIfNoneMatchCrc64,\n Parameters.copySourceAuthorization\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getRangeListOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShareFileRangeList,\n headersMapper: Mappers.FileGetRangeListHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileGetRangeListExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.shareSnapshot,\n Parameters.comp13,\n Parameters.prevsharesnapshot\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.range,\n Parameters.supportRename\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst startCopyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.FileStartCopyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileStartCopyExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.filePermissionFormat,\n Parameters.allowTrailingDot,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.owner,\n Parameters.group,\n Parameters.fileMode,\n Parameters.fileAttributes1,\n Parameters.fileCreationTime,\n Parameters.fileLastWriteTime,\n Parameters.fileChangeTime,\n Parameters.allowSourceTrailingDot,\n Parameters.copySource,\n Parameters.filePermissionCopyMode,\n Parameters.ignoreReadOnly1,\n Parameters.setArchiveAttribute,\n Parameters.fileModeCopyMode,\n Parameters.fileOwnerCopyMode\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst abortCopyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.FileAbortCopyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileAbortCopyExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp14,\n Parameters.copyId\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.allowTrailingDot,\n Parameters.copyActionAbortConstant\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst listHandlesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListHandlesResponse,\n headersMapper: Mappers.FileListHandlesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileListHandlesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.maxResults,\n Parameters.shareSnapshot,\n Parameters.comp9\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.allowTrailingDot\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst forceCloseHandlesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileForceCloseHandlesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileForceCloseHandlesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.shareSnapshot,\n Parameters.comp10\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.allowTrailingDot,\n Parameters.handleId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renameOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileRenameHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileRenameExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp11],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.filePermissionFormat,\n Parameters.allowTrailingDot,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.renameSource,\n Parameters.replaceIfExists,\n Parameters.ignoreReadOnly,\n Parameters.sourceLeaseId,\n Parameters.destinationLeaseId,\n Parameters.fileAttributes1,\n Parameters.fileCreationTime,\n Parameters.fileLastWriteTime,\n Parameters.fileChangeTime,\n Parameters.allowSourceTrailingDot,\n Parameters.fileContentType\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst createSymbolicLinkOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileCreateSymbolicLinkHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileCreateSymbolicLinkExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.restype3],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.requestId,\n Parameters.fileCreatedOn,\n Parameters.fileLastWriteOn,\n Parameters.owner,\n Parameters.group,\n Parameters.linkText\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getSymbolicLinkOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n headersMapper: Mappers.FileGetSymbolicLinkHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileGetSymbolicLinkExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.shareSnapshot,\n Parameters.restype3\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst createHardLinkOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileCreateHardLinkHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileCreateHardLinkExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.restype4],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.requestId,\n Parameters.fileTypeConstant,\n Parameters.targetFile\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"directory.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operationsInterfaces/directory.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n DirectoryCreateOptionalParams,\n DirectoryCreateResponse,\n DirectoryGetPropertiesOptionalParams,\n DirectoryGetPropertiesResponse,\n DirectoryDeleteOptionalParams,\n DirectoryDeleteResponse,\n DirectorySetPropertiesOptionalParams,\n DirectorySetPropertiesResponse,\n DirectorySetMetadataOptionalParams,\n DirectorySetMetadataResponse,\n DirectoryListFilesAndDirectoriesSegmentOptionalParams,\n DirectoryListFilesAndDirectoriesSegmentResponse,\n DirectoryListHandlesOptionalParams,\n DirectoryListHandlesResponse,\n DirectoryForceCloseHandlesOptionalParams,\n DirectoryForceCloseHandlesResponse,\n DirectoryRenameOptionalParams,\n DirectoryRenameResponse\n} from \"../models\";\n\n/** Interface representing a Directory. */\nexport interface Directory {\n /**\n * Creates a new directory under the specified share or parent directory.\n * @param
|
1
|
+
{"version":3,"file":"directory.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operationsInterfaces/directory.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n DirectoryCreateOptionalParams,\n DirectoryCreateResponse,\n DirectoryGetPropertiesOptionalParams,\n DirectoryGetPropertiesResponse,\n DirectoryDeleteOptionalParams,\n DirectoryDeleteResponse,\n DirectorySetPropertiesOptionalParams,\n DirectorySetPropertiesResponse,\n DirectorySetMetadataOptionalParams,\n DirectorySetMetadataResponse,\n DirectoryListFilesAndDirectoriesSegmentOptionalParams,\n DirectoryListFilesAndDirectoriesSegmentResponse,\n DirectoryListHandlesOptionalParams,\n DirectoryListHandlesResponse,\n DirectoryForceCloseHandlesOptionalParams,\n DirectoryForceCloseHandlesResponse,\n DirectoryRenameOptionalParams,\n DirectoryRenameResponse\n} from \"../models\";\n\n/** Interface representing a Directory. */\nexport interface Directory {\n /**\n * Creates a new directory under the specified share or parent directory.\n * @param options The options parameters.\n */\n create(\n options?: DirectoryCreateOptionalParams\n ): Promise<DirectoryCreateResponse>;\n /**\n * Returns all system properties for the specified directory, and can also be used to check the\n * existence of a directory. The data returned does not include the files in the directory or any\n * subdirectories.\n * @param options The options parameters.\n */\n getProperties(\n options?: DirectoryGetPropertiesOptionalParams\n ): Promise<DirectoryGetPropertiesResponse>;\n /**\n * Removes the specified empty directory. Note that the directory must be empty before it can be\n * deleted.\n * @param options The options parameters.\n */\n delete(\n options?: DirectoryDeleteOptionalParams\n ): Promise<DirectoryDeleteResponse>;\n /**\n * Sets properties on the directory.\n * @param options The options parameters.\n */\n setProperties(\n options?: DirectorySetPropertiesOptionalParams\n ): Promise<DirectorySetPropertiesResponse>;\n /**\n * Updates user defined metadata for the specified directory.\n * @param options The options parameters.\n */\n setMetadata(\n options?: DirectorySetMetadataOptionalParams\n ): Promise<DirectorySetMetadataResponse>;\n /**\n * Returns a list of files or directories under the specified share or directory. It lists the contents\n * only for a single level of the directory hierarchy.\n * @param options The options parameters.\n */\n listFilesAndDirectoriesSegment(\n options?: DirectoryListFilesAndDirectoriesSegmentOptionalParams\n ): Promise<DirectoryListFilesAndDirectoriesSegmentResponse>;\n /**\n * Lists handles for directory.\n * @param options The options parameters.\n */\n listHandles(\n options?: DirectoryListHandlesOptionalParams\n ): Promise<DirectoryListHandlesResponse>;\n /**\n * Closes all handles open for given directory.\n * @param handleId Specifies handle ID opened on the file or directory to be closed. Asterisk (‘*’) is\n * a wildcard that specifies all handles.\n * @param options The options parameters.\n */\n forceCloseHandles(\n handleId: string,\n options?: DirectoryForceCloseHandlesOptionalParams\n ): Promise<DirectoryForceCloseHandlesResponse>;\n /**\n * Renames a directory\n * @param renameSource Required. Specifies the URI-style path of the source file, up to 2 KB in length.\n * @param options The options parameters.\n */\n rename(\n renameSource: string,\n options?: DirectoryRenameOptionalParams\n ): Promise<DirectoryRenameResponse>;\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operationsInterfaces/file.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n FileCreateOptionalParams,\n FileCreateResponse,\n FileDownloadOptionalParams,\n FileDownloadResponse,\n FileGetPropertiesOptionalParams,\n FileGetPropertiesResponse,\n FileDeleteOptionalParams,\n FileDeleteResponse,\n FileSetHttpHeadersOptionalParams,\n FileSetHttpHeadersResponse,\n FileSetMetadataOptionalParams,\n FileSetMetadataResponse,\n FileAcquireLeaseOptionalParams,\n FileAcquireLeaseResponse,\n FileReleaseLeaseOptionalParams,\n FileReleaseLeaseResponse,\n FileChangeLeaseOptionalParams,\n FileChangeLeaseResponse,\n FileBreakLeaseOptionalParams,\n FileBreakLeaseResponse,\n FileRangeWriteType,\n FileUploadRangeOptionalParams,\n FileUploadRangeResponse,\n FileUploadRangeFromURLOptionalParams,\n FileUploadRangeFromURLResponse,\n FileGetRangeListOptionalParams,\n FileGetRangeListResponse,\n FileStartCopyOptionalParams,\n FileStartCopyResponse,\n FileAbortCopyOptionalParams,\n FileAbortCopyResponse,\n FileListHandlesOptionalParams,\n FileListHandlesResponse,\n FileForceCloseHandlesOptionalParams,\n FileForceCloseHandlesResponse,\n FileRenameOptionalParams,\n FileRenameResponse\n} from \"../models\";\n\n/** Interface representing a File. */\nexport interface File {\n /**\n * Creates a new file or replaces a file. Note it only initializes the file with no content.\n * @param fileContentLength Specifies the maximum size for the file, up to 4 TB.\n * @param fileAttributes If specified, the provided file attributes shall be set. Default value:\n * ‘Archive’ for file and ‘Directory’ for directory. ‘None’ can also be specified as default.\n * @param options The options parameters.\n */\n create(\n fileContentLength: number,\n fileAttributes: string,\n options?: FileCreateOptionalParams\n ): Promise<FileCreateResponse>;\n /**\n * Reads or downloads a file from the system, including its metadata and properties.\n * @param options The options parameters.\n */\n download(options?: FileDownloadOptionalParams): Promise<FileDownloadResponse>;\n /**\n * Returns all user-defined metadata, standard HTTP properties, and system properties for the file. It\n * does not return the content of the file.\n * @param options The options parameters.\n */\n getProperties(\n options?: FileGetPropertiesOptionalParams\n ): Promise<FileGetPropertiesResponse>;\n /**\n * removes the file from the storage account.\n * @param options The options parameters.\n */\n delete(options?: FileDeleteOptionalParams): Promise<FileDeleteResponse>;\n /**\n * Sets HTTP headers on the file.\n * @param fileAttributes If specified, the provided file attributes shall be set. Default value:\n * ‘Archive’ for file and ‘Directory’ for directory. ‘None’ can also be specified as default.\n * @param options The options parameters.\n */\n setHttpHeaders(\n fileAttributes: string,\n options?: FileSetHttpHeadersOptionalParams\n ): Promise<FileSetHttpHeadersResponse>;\n /**\n * Updates user-defined metadata for the specified file.\n * @param options The options parameters.\n */\n setMetadata(\n options?: FileSetMetadataOptionalParams\n ): Promise<FileSetMetadataResponse>;\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n acquireLease(\n options?: FileAcquireLeaseOptionalParams\n ): Promise<FileAcquireLeaseResponse>;\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n releaseLease(\n leaseId: string,\n options?: FileReleaseLeaseOptionalParams\n ): Promise<FileReleaseLeaseResponse>;\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n changeLease(\n leaseId: string,\n options?: FileChangeLeaseOptionalParams\n ): Promise<FileChangeLeaseResponse>;\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n breakLease(\n options?: FileBreakLeaseOptionalParams\n ): Promise<FileBreakLeaseResponse>;\n /**\n * Upload a range of bytes to a file.\n * @param range Specifies the range of bytes to be written. Both the start and end of the range must be\n * specified. For an update operation, the range can be up to 4 MB in size. For a clear operation, the\n * range can be up to the value of the file's full size. The File service accepts only a single byte\n * range for the Range and 'x-ms-range' headers, and the byte range must be specified in the following\n * format: bytes=startByte-endByte.\n * @param fileRangeWrite Specify one of the following options: - Update: Writes the bytes specified by\n * the request body into the specified range. The Range and Content-Length headers must match to\n * perform the update. - Clear: Clears the specified range and releases the space used in storage for\n * that range. To clear a range, set the Content-Length header to zero, and set the Range header to a\n * value that indicates the range to clear, up to maximum file size.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRange(\n range: string,\n fileRangeWrite: FileRangeWriteType,\n contentLength: number,\n options?: FileUploadRangeOptionalParams\n ): Promise<FileUploadRangeResponse>;\n /**\n * Upload a range of bytes to a file where the contents are read from a URL.\n * @param range Writes data to the specified byte range in the file.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRangeFromURL(\n range: string,\n copySource: string,\n contentLength: number,\n options?: FileUploadRangeFromURLOptionalParams\n ): Promise<FileUploadRangeFromURLResponse>;\n /**\n * Returns the list of valid ranges for a file.\n * @param options The options parameters.\n */\n getRangeList(\n options?: FileGetRangeListOptionalParams\n ): Promise<FileGetRangeListResponse>;\n /**\n * Copies a blob or file to a destination file within the storage account.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param options The options parameters.\n */\n startCopy(\n copySource: string,\n options?: FileStartCopyOptionalParams\n ): Promise<FileStartCopyResponse>;\n /**\n * Aborts a pending Copy File operation, and leaves a destination file with zero length and full\n * metadata.\n * @param copyId The copy identifier provided in the x-ms-copy-id header of the original Copy File\n * operation.\n * @param options The options parameters.\n */\n abortCopy(\n copyId: string,\n options?: FileAbortCopyOptionalParams\n ): Promise<FileAbortCopyResponse>;\n /**\n * Lists handles for file\n * @param options The options parameters.\n */\n listHandles(\n options?: FileListHandlesOptionalParams\n ): Promise<FileListHandlesResponse>;\n /**\n * Closes all handles open for given file\n * @param handleId Specifies handle ID opened on the file or directory to be closed. Asterisk (‘*’) is\n * a wildcard that specifies all handles.\n * @param options The options parameters.\n */\n forceCloseHandles(\n handleId: string,\n options?: FileForceCloseHandlesOptionalParams\n ): Promise<FileForceCloseHandlesResponse>;\n /**\n * Renames a file\n * @param renameSource Required. Specifies the URI-style path of the source file, up to 2 KB in length.\n * @param options The options parameters.\n */\n rename(\n renameSource: string,\n options?: FileRenameOptionalParams\n ): Promise<FileRenameResponse>;\n}\n"]}
|
1
|
+
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operationsInterfaces/file.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n FileCreateOptionalParams,\n FileCreateResponse,\n FileDownloadOptionalParams,\n FileDownloadResponse,\n FileGetPropertiesOptionalParams,\n FileGetPropertiesResponse,\n FileDeleteOptionalParams,\n FileDeleteResponse,\n FileSetHttpHeadersOptionalParams,\n FileSetHttpHeadersResponse,\n FileSetMetadataOptionalParams,\n FileSetMetadataResponse,\n FileAcquireLeaseOptionalParams,\n FileAcquireLeaseResponse,\n FileReleaseLeaseOptionalParams,\n FileReleaseLeaseResponse,\n FileChangeLeaseOptionalParams,\n FileChangeLeaseResponse,\n FileBreakLeaseOptionalParams,\n FileBreakLeaseResponse,\n FileRangeWriteType,\n FileUploadRangeOptionalParams,\n FileUploadRangeResponse,\n FileUploadRangeFromURLOptionalParams,\n FileUploadRangeFromURLResponse,\n FileGetRangeListOptionalParams,\n FileGetRangeListResponse,\n FileStartCopyOptionalParams,\n FileStartCopyResponse,\n FileAbortCopyOptionalParams,\n FileAbortCopyResponse,\n FileListHandlesOptionalParams,\n FileListHandlesResponse,\n FileForceCloseHandlesOptionalParams,\n FileForceCloseHandlesResponse,\n FileRenameOptionalParams,\n FileRenameResponse,\n FileCreateSymbolicLinkOptionalParams,\n FileCreateSymbolicLinkResponse,\n FileGetSymbolicLinkOptionalParams,\n FileGetSymbolicLinkResponse,\n FileCreateHardLinkOptionalParams,\n FileCreateHardLinkResponse\n} from \"../models\";\n\n/** Interface representing a File. */\nexport interface File {\n /**\n * Creates a new file or replaces a file. Note it only initializes the file with no content.\n * @param fileContentLength Specifies the maximum size for the file, up to 4 TB.\n * @param options The options parameters.\n */\n create(\n fileContentLength: number,\n options?: FileCreateOptionalParams\n ): Promise<FileCreateResponse>;\n /**\n * Reads or downloads a file from the system, including its metadata and properties.\n * @param options The options parameters.\n */\n download(options?: FileDownloadOptionalParams): Promise<FileDownloadResponse>;\n /**\n * Returns all user-defined metadata, standard HTTP properties, and system properties for the file. It\n * does not return the content of the file.\n * @param options The options parameters.\n */\n getProperties(\n options?: FileGetPropertiesOptionalParams\n ): Promise<FileGetPropertiesResponse>;\n /**\n * removes the file from the storage account.\n * @param options The options parameters.\n */\n delete(options?: FileDeleteOptionalParams): Promise<FileDeleteResponse>;\n /**\n * Sets HTTP headers on the file.\n * @param options The options parameters.\n */\n setHttpHeaders(\n options?: FileSetHttpHeadersOptionalParams\n ): Promise<FileSetHttpHeadersResponse>;\n /**\n * Updates user-defined metadata for the specified file.\n * @param options The options parameters.\n */\n setMetadata(\n options?: FileSetMetadataOptionalParams\n ): Promise<FileSetMetadataResponse>;\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n acquireLease(\n options?: FileAcquireLeaseOptionalParams\n ): Promise<FileAcquireLeaseResponse>;\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n releaseLease(\n leaseId: string,\n options?: FileReleaseLeaseOptionalParams\n ): Promise<FileReleaseLeaseResponse>;\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n changeLease(\n leaseId: string,\n options?: FileChangeLeaseOptionalParams\n ): Promise<FileChangeLeaseResponse>;\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n breakLease(\n options?: FileBreakLeaseOptionalParams\n ): Promise<FileBreakLeaseResponse>;\n /**\n * Upload a range of bytes to a file.\n * @param range Specifies the range of bytes to be written. Both the start and end of the range must be\n * specified. For an update operation, the range can be up to 4 MB in size. For a clear operation, the\n * range can be up to the value of the file's full size. The File service accepts only a single byte\n * range for the Range and 'x-ms-range' headers, and the byte range must be specified in the following\n * format: bytes=startByte-endByte.\n * @param fileRangeWrite Specify one of the following options: - Update: Writes the bytes specified by\n * the request body into the specified range. The Range and Content-Length headers must match to\n * perform the update. - Clear: Clears the specified range and releases the space used in storage for\n * that range. To clear a range, set the Content-Length header to zero, and set the Range header to a\n * value that indicates the range to clear, up to maximum file size.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRange(\n range: string,\n fileRangeWrite: FileRangeWriteType,\n contentLength: number,\n options?: FileUploadRangeOptionalParams\n ): Promise<FileUploadRangeResponse>;\n /**\n * Upload a range of bytes to a file where the contents are read from a URL.\n * @param range Writes data to the specified byte range in the file.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRangeFromURL(\n range: string,\n copySource: string,\n contentLength: number,\n options?: FileUploadRangeFromURLOptionalParams\n ): Promise<FileUploadRangeFromURLResponse>;\n /**\n * Returns the list of valid ranges for a file.\n * @param options The options parameters.\n */\n getRangeList(\n options?: FileGetRangeListOptionalParams\n ): Promise<FileGetRangeListResponse>;\n /**\n * Copies a blob or file to a destination file within the storage account.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param options The options parameters.\n */\n startCopy(\n copySource: string,\n options?: FileStartCopyOptionalParams\n ): Promise<FileStartCopyResponse>;\n /**\n * Aborts a pending Copy File operation, and leaves a destination file with zero length and full\n * metadata.\n * @param copyId The copy identifier provided in the x-ms-copy-id header of the original Copy File\n * operation.\n * @param options The options parameters.\n */\n abortCopy(\n copyId: string,\n options?: FileAbortCopyOptionalParams\n ): Promise<FileAbortCopyResponse>;\n /**\n * Lists handles for file\n * @param options The options parameters.\n */\n listHandles(\n options?: FileListHandlesOptionalParams\n ): Promise<FileListHandlesResponse>;\n /**\n * Closes all handles open for given file\n * @param handleId Specifies handle ID opened on the file or directory to be closed. Asterisk (‘*’) is\n * a wildcard that specifies all handles.\n * @param options The options parameters.\n */\n forceCloseHandles(\n handleId: string,\n options?: FileForceCloseHandlesOptionalParams\n ): Promise<FileForceCloseHandlesResponse>;\n /**\n * Renames a file\n * @param renameSource Required. Specifies the URI-style path of the source file, up to 2 KB in length.\n * @param options The options parameters.\n */\n rename(\n renameSource: string,\n options?: FileRenameOptionalParams\n ): Promise<FileRenameResponse>;\n /**\n * Creates a symbolic link.\n * @param linkText NFS only. Required. The path to the original file, the symbolic link is pointing to.\n * The path is of type string which is not resolved and is stored as is. The path can be absolute path\n * or the relative path depending on the content stored in the symbolic link file.\n * @param options The options parameters.\n */\n createSymbolicLink(\n linkText: string,\n options?: FileCreateSymbolicLinkOptionalParams\n ): Promise<FileCreateSymbolicLinkResponse>;\n /** @param options The options parameters. */\n getSymbolicLink(\n options?: FileGetSymbolicLinkOptionalParams\n ): Promise<FileGetSymbolicLinkResponse>;\n /**\n * Creates a hard link.\n * @param targetFile NFS only. Required. Specifies the path of the target file to which the link will\n * be created, up to 2 KiB in length. It should be full path of the target from the root.The target\n * file must be in the same share and hence the same storage account.\n * @param options The options parameters.\n */\n createHardLink(\n targetFile: string,\n options?: FileCreateHardLinkOptionalParams\n ): Promise<FileCreateHardLinkResponse>;\n}\n"]}
|
@@ -26,7 +26,7 @@ export class StorageClient extends coreHttpCompat.ExtendedServiceClient {
|
|
26
26
|
const defaults = {
|
27
27
|
requestContentType: "application/json; charset=utf-8"
|
28
28
|
};
|
29
|
-
const packageDetails = `azsdk-js-azure-storage-file-share/12.
|
29
|
+
const packageDetails = `azsdk-js-azure-storage-file-share/12.27.0-beta.1`;
|
30
30
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
31
31
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
32
32
|
: `${packageDetails}`;
|
@@ -37,7 +37,7 @@ export class StorageClient extends coreHttpCompat.ExtendedServiceClient {
|
|
37
37
|
// Parameter assignments
|
38
38
|
this.url = url;
|
39
39
|
// Assigning values to Constant parameters
|
40
|
-
this.version = options.version || "2025-
|
40
|
+
this.version = options.version || "2025-05-05";
|
41
41
|
this.fileRangeWriteFromUrl = options.fileRangeWriteFromUrl || "update";
|
42
42
|
this.service = new ServiceImpl(this);
|
43
43
|
this.share = new ShareImpl(this);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"storageClient.js","sourceRoot":"","sources":["../../../../../src/generated/src/storageClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAA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gB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EAAE,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,OAAO,GACzD,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QAEf,0CAA0C;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,YAAY,CAAC;QAC/C,IAAI,CAAC,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,IAAI,QAAQ,CAAC;QACvE,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;CAMF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttpCompat from \"@azure/core-http-compat\";\nimport { ServiceImpl, ShareImpl, DirectoryImpl, FileImpl } from \"./operations\";\nimport { Service, Share, Directory, File } from \"./operationsInterfaces\";\nimport { StorageClientOptionalParams } from \"./models\";\n\nexport class StorageClient extends coreHttpCompat.ExtendedServiceClient {\n url: string;\n version: string;\n fileRangeWriteFromUrl: string;\n\n /**\n * Initializes a new instance of the StorageClient class.\n * @param url The URL of the service account, share, directory or file that is the target of the\n * desired operation.\n * @param options The parameter options\n */\n constructor(url: string, options?: StorageClientOptionalParams) {\n if (url === undefined) {\n throw new Error(\"'url' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-azure-storage-file-share/12.27.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{url}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.url = url;\n\n // Assigning values to Constant parameters\n this.version = options.version || \"2025-05-05\";\n this.fileRangeWriteFromUrl = options.fileRangeWriteFromUrl || \"update\";\n this.service = new ServiceImpl(this);\n this.share = new ShareImpl(this);\n this.directory = new DirectoryImpl(this);\n this.file = new FileImpl(this);\n }\n\n service: Service;\n share: Share;\n directory: Directory;\n file: File;\n}\n"]}
|