@azure/storage-file-share 12.29.1-alpha.20251126.1 → 12.30.0-alpha.20251128.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/dist/browser/Clients.d.ts +52 -2
  2. package/dist/browser/Clients.d.ts.map +1 -1
  3. package/dist/browser/Clients.js +72 -0
  4. package/dist/browser/Clients.js.map +1 -1
  5. package/dist/browser/FileSASSignatureValues.d.ts +18 -17
  6. package/dist/browser/FileSASSignatureValues.d.ts.map +1 -1
  7. package/dist/browser/FileSASSignatureValues.js +82 -4
  8. package/dist/browser/FileSASSignatureValues.js.map +1 -1
  9. package/dist/browser/SASQueryParameters.d.ts +38 -1
  10. package/dist/browser/SASQueryParameters.d.ts.map +1 -1
  11. package/dist/browser/SASQueryParameters.js +74 -1
  12. package/dist/browser/SASQueryParameters.js.map +1 -1
  13. package/dist/browser/ShareServiceClient.d.ts +23 -1
  14. package/dist/browser/ShareServiceClient.d.ts.map +1 -1
  15. package/dist/browser/ShareServiceClient.js +41 -1
  16. package/dist/browser/ShareServiceClient.js.map +1 -1
  17. package/dist/browser/generated/src/models/index.d.ts +115 -18
  18. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  19. package/dist/browser/generated/src/models/index.js +8 -0
  20. package/dist/browser/generated/src/models/index.js.map +1 -1
  21. package/dist/browser/generated/src/models/mappers.d.ts +7 -0
  22. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  23. package/dist/browser/generated/src/models/mappers.js +222 -0
  24. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  25. package/dist/browser/generated/src/models/parameters.d.ts +21 -17
  26. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  27. package/dist/browser/generated/src/models/parameters.js +103 -68
  28. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  29. package/dist/browser/generated/src/operations/directory.js +5 -4
  30. package/dist/browser/generated/src/operations/directory.js.map +1 -1
  31. package/dist/browser/generated/src/operations/file.js +28 -21
  32. package/dist/browser/generated/src/operations/file.js.map +1 -1
  33. package/dist/browser/generated/src/operations/service.d.ts +8 -1
  34. package/dist/browser/generated/src/operations/service.d.ts.map +1 -1
  35. package/dist/browser/generated/src/operations/service.js +40 -0
  36. package/dist/browser/generated/src/operations/service.js.map +1 -1
  37. package/dist/browser/generated/src/operations/share.js +16 -16
  38. package/dist/browser/generated/src/operations/share.js.map +1 -1
  39. package/dist/browser/generated/src/operationsInterfaces/service.d.ts +8 -1
  40. package/dist/browser/generated/src/operationsInterfaces/service.d.ts.map +1 -1
  41. package/dist/browser/generated/src/operationsInterfaces/service.js.map +1 -1
  42. package/dist/browser/generated/src/storageClient.js +2 -2
  43. package/dist/browser/generated/src/storageClient.js.map +1 -1
  44. package/dist/browser/generatedModels.d.ts +7 -2
  45. package/dist/browser/generatedModels.d.ts.map +1 -1
  46. package/dist/browser/generatedModels.js.map +1 -1
  47. package/dist/browser/index-browser.d.mts.map +1 -1
  48. package/dist/browser/index-browser.mjs.map +1 -1
  49. package/dist/browser/index.d.ts +1 -1
  50. package/dist/browser/utils/constants.d.ts.map +1 -1
  51. package/dist/browser/utils/constants.js +2 -2
  52. package/dist/browser/utils/constants.js.map +1 -1
  53. package/dist/commonjs/Clients.d.ts +52 -2
  54. package/dist/commonjs/Clients.d.ts.map +1 -1
  55. package/dist/commonjs/Clients.js +72 -0
  56. package/dist/commonjs/Clients.js.map +1 -1
  57. package/dist/commonjs/FileSASSignatureValues.d.ts +18 -17
  58. package/dist/commonjs/FileSASSignatureValues.d.ts.map +1 -1
  59. package/dist/commonjs/FileSASSignatureValues.js +84 -4
  60. package/dist/commonjs/FileSASSignatureValues.js.map +1 -1
  61. package/dist/commonjs/SASQueryParameters.d.ts +38 -1
  62. package/dist/commonjs/SASQueryParameters.d.ts.map +1 -1
  63. package/dist/commonjs/SASQueryParameters.js +74 -1
  64. package/dist/commonjs/SASQueryParameters.js.map +1 -1
  65. package/dist/commonjs/ShareServiceClient.d.ts +23 -1
  66. package/dist/commonjs/ShareServiceClient.d.ts.map +1 -1
  67. package/dist/commonjs/ShareServiceClient.js +40 -0
  68. package/dist/commonjs/ShareServiceClient.js.map +1 -1
  69. package/dist/commonjs/generated/src/models/index.d.ts +115 -18
  70. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  71. package/dist/commonjs/generated/src/models/index.js +9 -1
  72. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  73. package/dist/commonjs/generated/src/models/mappers.d.ts +7 -0
  74. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  75. package/dist/commonjs/generated/src/models/mappers.js +225 -3
  76. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  77. package/dist/commonjs/generated/src/models/parameters.d.ts +21 -17
  78. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  79. package/dist/commonjs/generated/src/models/parameters.js +105 -70
  80. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  81. package/dist/commonjs/generated/src/operations/directory.js +5 -4
  82. package/dist/commonjs/generated/src/operations/directory.js.map +1 -1
  83. package/dist/commonjs/generated/src/operations/file.js +28 -21
  84. package/dist/commonjs/generated/src/operations/file.js.map +1 -1
  85. package/dist/commonjs/generated/src/operations/service.d.ts +8 -1
  86. package/dist/commonjs/generated/src/operations/service.d.ts.map +1 -1
  87. package/dist/commonjs/generated/src/operations/service.js +40 -0
  88. package/dist/commonjs/generated/src/operations/service.js.map +1 -1
  89. package/dist/commonjs/generated/src/operations/share.js +16 -16
  90. package/dist/commonjs/generated/src/operations/share.js.map +1 -1
  91. package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts +8 -1
  92. package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts.map +1 -1
  93. package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +1 -1
  94. package/dist/commonjs/generated/src/storageClient.js +2 -2
  95. package/dist/commonjs/generated/src/storageClient.js.map +1 -1
  96. package/dist/commonjs/generatedModels.d.ts +7 -2
  97. package/dist/commonjs/generatedModels.d.ts.map +1 -1
  98. package/dist/commonjs/generatedModels.js.map +1 -1
  99. package/dist/commonjs/index.d.ts +1 -1
  100. package/dist/commonjs/index.d.ts.map +1 -1
  101. package/dist/commonjs/index.js.map +1 -1
  102. package/dist/commonjs/utils/constants.d.ts.map +1 -1
  103. package/dist/commonjs/utils/constants.js +2 -2
  104. package/dist/commonjs/utils/constants.js.map +1 -1
  105. package/dist/esm/Clients.d.ts +52 -2
  106. package/dist/esm/Clients.d.ts.map +1 -1
  107. package/dist/esm/Clients.js +72 -0
  108. package/dist/esm/Clients.js.map +1 -1
  109. package/dist/esm/FileSASSignatureValues.d.ts +18 -17
  110. package/dist/esm/FileSASSignatureValues.d.ts.map +1 -1
  111. package/dist/esm/FileSASSignatureValues.js +82 -4
  112. package/dist/esm/FileSASSignatureValues.js.map +1 -1
  113. package/dist/esm/SASQueryParameters.d.ts +38 -1
  114. package/dist/esm/SASQueryParameters.d.ts.map +1 -1
  115. package/dist/esm/SASQueryParameters.js +74 -1
  116. package/dist/esm/SASQueryParameters.js.map +1 -1
  117. package/dist/esm/ShareServiceClient.d.ts +23 -1
  118. package/dist/esm/ShareServiceClient.d.ts.map +1 -1
  119. package/dist/esm/ShareServiceClient.js +41 -1
  120. package/dist/esm/ShareServiceClient.js.map +1 -1
  121. package/dist/esm/generated/src/models/index.d.ts +115 -18
  122. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  123. package/dist/esm/generated/src/models/index.js +8 -0
  124. package/dist/esm/generated/src/models/index.js.map +1 -1
  125. package/dist/esm/generated/src/models/mappers.d.ts +7 -0
  126. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  127. package/dist/esm/generated/src/models/mappers.js +222 -0
  128. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  129. package/dist/esm/generated/src/models/parameters.d.ts +21 -17
  130. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  131. package/dist/esm/generated/src/models/parameters.js +103 -68
  132. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  133. package/dist/esm/generated/src/operations/directory.js +5 -4
  134. package/dist/esm/generated/src/operations/directory.js.map +1 -1
  135. package/dist/esm/generated/src/operations/file.js +28 -21
  136. package/dist/esm/generated/src/operations/file.js.map +1 -1
  137. package/dist/esm/generated/src/operations/service.d.ts +8 -1
  138. package/dist/esm/generated/src/operations/service.d.ts.map +1 -1
  139. package/dist/esm/generated/src/operations/service.js +40 -0
  140. package/dist/esm/generated/src/operations/service.js.map +1 -1
  141. package/dist/esm/generated/src/operations/share.js +16 -16
  142. package/dist/esm/generated/src/operations/share.js.map +1 -1
  143. package/dist/esm/generated/src/operationsInterfaces/service.d.ts +8 -1
  144. package/dist/esm/generated/src/operationsInterfaces/service.d.ts.map +1 -1
  145. package/dist/esm/generated/src/operationsInterfaces/service.js.map +1 -1
  146. package/dist/esm/generated/src/storageClient.js +2 -2
  147. package/dist/esm/generated/src/storageClient.js.map +1 -1
  148. package/dist/esm/generatedModels.d.ts +7 -2
  149. package/dist/esm/generatedModels.d.ts.map +1 -1
  150. package/dist/esm/generatedModels.js.map +1 -1
  151. package/dist/esm/index.d.ts +1 -1
  152. package/dist/esm/index.d.ts.map +1 -1
  153. package/dist/esm/index.js.map +1 -1
  154. package/dist/esm/utils/constants.d.ts.map +1 -1
  155. package/dist/esm/utils/constants.js +2 -2
  156. package/dist/esm/utils/constants.js.map +1 -1
  157. package/dist/react-native/Clients.d.ts +52 -2
  158. package/dist/react-native/Clients.d.ts.map +1 -1
  159. package/dist/react-native/Clients.js +72 -0
  160. package/dist/react-native/Clients.js.map +1 -1
  161. package/dist/react-native/FileSASSignatureValues.d.ts +18 -17
  162. package/dist/react-native/FileSASSignatureValues.d.ts.map +1 -1
  163. package/dist/react-native/FileSASSignatureValues.js +82 -4
  164. package/dist/react-native/FileSASSignatureValues.js.map +1 -1
  165. package/dist/react-native/SASQueryParameters.d.ts +38 -1
  166. package/dist/react-native/SASQueryParameters.d.ts.map +1 -1
  167. package/dist/react-native/SASQueryParameters.js +74 -1
  168. package/dist/react-native/SASQueryParameters.js.map +1 -1
  169. package/dist/react-native/ShareServiceClient.d.ts +23 -1
  170. package/dist/react-native/ShareServiceClient.d.ts.map +1 -1
  171. package/dist/react-native/ShareServiceClient.js +41 -1
  172. package/dist/react-native/ShareServiceClient.js.map +1 -1
  173. package/dist/react-native/generated/src/models/index.d.ts +115 -18
  174. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  175. package/dist/react-native/generated/src/models/index.js +8 -0
  176. package/dist/react-native/generated/src/models/index.js.map +1 -1
  177. package/dist/react-native/generated/src/models/mappers.d.ts +7 -0
  178. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  179. package/dist/react-native/generated/src/models/mappers.js +222 -0
  180. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  181. package/dist/react-native/generated/src/models/parameters.d.ts +21 -17
  182. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  183. package/dist/react-native/generated/src/models/parameters.js +103 -68
  184. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  185. package/dist/react-native/generated/src/operations/directory.js +5 -4
  186. package/dist/react-native/generated/src/operations/directory.js.map +1 -1
  187. package/dist/react-native/generated/src/operations/file.js +28 -21
  188. package/dist/react-native/generated/src/operations/file.js.map +1 -1
  189. package/dist/react-native/generated/src/operations/service.d.ts +8 -1
  190. package/dist/react-native/generated/src/operations/service.d.ts.map +1 -1
  191. package/dist/react-native/generated/src/operations/service.js +40 -0
  192. package/dist/react-native/generated/src/operations/service.js.map +1 -1
  193. package/dist/react-native/generated/src/operations/share.js +16 -16
  194. package/dist/react-native/generated/src/operations/share.js.map +1 -1
  195. package/dist/react-native/generated/src/operationsInterfaces/service.d.ts +8 -1
  196. package/dist/react-native/generated/src/operationsInterfaces/service.d.ts.map +1 -1
  197. package/dist/react-native/generated/src/operationsInterfaces/service.js.map +1 -1
  198. package/dist/react-native/generated/src/storageClient.js +2 -2
  199. package/dist/react-native/generated/src/storageClient.js.map +1 -1
  200. package/dist/react-native/generatedModels.d.ts +7 -2
  201. package/dist/react-native/generatedModels.d.ts.map +1 -1
  202. package/dist/react-native/generatedModels.js.map +1 -1
  203. package/dist/react-native/index.d.ts +1 -1
  204. package/dist/react-native/index.d.ts.map +1 -1
  205. package/dist/react-native/index.js.map +1 -1
  206. package/dist/react-native/utils/constants.d.ts.map +1 -1
  207. package/dist/react-native/utils/constants.js +2 -2
  208. package/dist/react-native/utils/constants.js.map +1 -1
  209. package/package.json +4 -3
@@ -229,12 +229,12 @@ const createOperationSpec = {
229
229
  headersMapper: Mappers.FileCreateExceptionHeaders,
230
230
  },
231
231
  },
232
+ requestBody: Parameters.body,
232
233
  queryParameters: [Parameters.timeoutInSeconds],
233
234
  urlParameters: [Parameters.url],
234
235
  headerParameters: [
235
236
  Parameters.version,
236
237
  Parameters.fileRequestIntent,
237
- Parameters.accept1,
238
238
  Parameters.metadata,
239
239
  Parameters.leaseId,
240
240
  Parameters.filePermissionFormat,
@@ -248,6 +248,9 @@ const createOperationSpec = {
248
248
  Parameters.owner,
249
249
  Parameters.group,
250
250
  Parameters.fileMode,
251
+ Parameters.filePropertySemantics,
252
+ Parameters.contentType2,
253
+ Parameters.accept3,
251
254
  Parameters.fileContentLength,
252
255
  Parameters.fileTypeConstant,
253
256
  Parameters.fileContentType,
@@ -257,8 +260,12 @@ const createOperationSpec = {
257
260
  Parameters.fileContentMD5,
258
261
  Parameters.fileContentDisposition,
259
262
  Parameters.nfsFileType,
263
+ Parameters.contentMD5,
264
+ Parameters.contentLength,
260
265
  ],
261
266
  isXML: true,
267
+ contentType: "application/xml; charset=utf-8",
268
+ mediaType: "binary",
262
269
  serializer: xmlSerializer,
263
270
  };
264
271
  const downloadOperationSpec = {
@@ -399,7 +406,7 @@ const setMetadataOperationSpec = {
399
406
  headersMapper: Mappers.FileSetMetadataExceptionHeaders,
400
407
  },
401
408
  },
402
- queryParameters: [Parameters.timeoutInSeconds, Parameters.comp5],
409
+ queryParameters: [Parameters.timeoutInSeconds, Parameters.comp6],
403
410
  urlParameters: [Parameters.url],
404
411
  headerParameters: [
405
412
  Parameters.version,
@@ -424,16 +431,16 @@ const acquireLeaseOperationSpec = {
424
431
  headersMapper: Mappers.FileAcquireLeaseExceptionHeaders,
425
432
  },
426
433
  },
427
- queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],
434
+ queryParameters: [Parameters.timeoutInSeconds, Parameters.comp3],
428
435
  urlParameters: [Parameters.url],
429
436
  headerParameters: [
430
437
  Parameters.version,
431
438
  Parameters.fileRequestIntent,
432
439
  Parameters.accept1,
440
+ Parameters.requestId,
433
441
  Parameters.action,
434
442
  Parameters.duration,
435
443
  Parameters.proposedLeaseId,
436
- Parameters.requestId,
437
444
  Parameters.allowTrailingDot,
438
445
  ],
439
446
  isXML: true,
@@ -451,7 +458,7 @@ const releaseLeaseOperationSpec = {
451
458
  headersMapper: Mappers.FileReleaseLeaseExceptionHeaders,
452
459
  },
453
460
  },
454
- queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],
461
+ queryParameters: [Parameters.timeoutInSeconds, Parameters.comp3],
455
462
  urlParameters: [Parameters.url],
456
463
  headerParameters: [
457
464
  Parameters.version,
@@ -477,14 +484,14 @@ const changeLeaseOperationSpec = {
477
484
  headersMapper: Mappers.FileChangeLeaseExceptionHeaders,
478
485
  },
479
486
  },
480
- queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],
487
+ queryParameters: [Parameters.timeoutInSeconds, Parameters.comp3],
481
488
  urlParameters: [Parameters.url],
482
489
  headerParameters: [
483
490
  Parameters.version,
484
491
  Parameters.fileRequestIntent,
485
492
  Parameters.accept1,
486
- Parameters.proposedLeaseId,
487
493
  Parameters.requestId,
494
+ Parameters.proposedLeaseId,
488
495
  Parameters.leaseId1,
489
496
  Parameters.action2,
490
497
  Parameters.allowTrailingDot,
@@ -504,14 +511,14 @@ const breakLeaseOperationSpec = {
504
511
  headersMapper: Mappers.FileBreakLeaseExceptionHeaders,
505
512
  },
506
513
  },
507
- queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],
514
+ queryParameters: [Parameters.timeoutInSeconds, Parameters.comp3],
508
515
  urlParameters: [Parameters.url],
509
516
  headerParameters: [
510
517
  Parameters.version,
511
518
  Parameters.fileRequestIntent,
512
519
  Parameters.accept1,
513
- Parameters.leaseId,
514
520
  Parameters.requestId,
521
+ Parameters.leaseId,
515
522
  Parameters.action4,
516
523
  Parameters.allowTrailingDot,
517
524
  ],
@@ -531,7 +538,7 @@ const uploadRangeOperationSpec = {
531
538
  },
532
539
  },
533
540
  requestBody: Parameters.body,
534
- queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],
541
+ queryParameters: [Parameters.timeoutInSeconds, Parameters.comp13],
535
542
  urlParameters: [Parameters.url],
536
543
  headerParameters: [
537
544
  Parameters.version,
@@ -540,10 +547,10 @@ const uploadRangeOperationSpec = {
540
547
  Parameters.allowTrailingDot,
541
548
  Parameters.contentType2,
542
549
  Parameters.accept3,
550
+ Parameters.contentMD5,
543
551
  Parameters.range1,
544
552
  Parameters.fileRangeWrite,
545
- Parameters.contentLength,
546
- Parameters.contentMD5,
553
+ Parameters.contentLength1,
547
554
  Parameters.fileLastWrittenMode,
548
555
  ],
549
556
  isXML: true,
@@ -563,7 +570,7 @@ const uploadRangeFromURLOperationSpec = {
563
570
  headersMapper: Mappers.FileUploadRangeFromURLExceptionHeaders,
564
571
  },
565
572
  },
566
- queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],
573
+ queryParameters: [Parameters.timeoutInSeconds, Parameters.comp13],
567
574
  urlParameters: [Parameters.url],
568
575
  headerParameters: [
569
576
  Parameters.version,
@@ -573,7 +580,7 @@ const uploadRangeFromURLOperationSpec = {
573
580
  Parameters.allowTrailingDot,
574
581
  Parameters.allowSourceTrailingDot,
575
582
  Parameters.range1,
576
- Parameters.contentLength,
583
+ Parameters.contentLength1,
577
584
  Parameters.fileLastWrittenMode,
578
585
  Parameters.copySource,
579
586
  Parameters.sourceRange,
@@ -602,7 +609,7 @@ const getRangeListOperationSpec = {
602
609
  queryParameters: [
603
610
  Parameters.timeoutInSeconds,
604
611
  Parameters.shareSnapshot,
605
- Parameters.comp13,
612
+ Parameters.comp14,
606
613
  Parameters.prevsharesnapshot,
607
614
  ],
608
615
  urlParameters: [Parameters.url],
@@ -674,7 +681,7 @@ const abortCopyOperationSpec = {
674
681
  },
675
682
  queryParameters: [
676
683
  Parameters.timeoutInSeconds,
677
- Parameters.comp14,
684
+ Parameters.comp15,
678
685
  Parameters.copyId,
679
686
  ],
680
687
  urlParameters: [Parameters.url],
@@ -707,7 +714,7 @@ const listHandlesOperationSpec = {
707
714
  Parameters.marker,
708
715
  Parameters.maxResults,
709
716
  Parameters.shareSnapshot,
710
- Parameters.comp9,
717
+ Parameters.comp10,
711
718
  ],
712
719
  urlParameters: [Parameters.url],
713
720
  headerParameters: [
@@ -735,7 +742,7 @@ const forceCloseHandlesOperationSpec = {
735
742
  Parameters.timeoutInSeconds,
736
743
  Parameters.marker,
737
744
  Parameters.shareSnapshot,
738
- Parameters.comp10,
745
+ Parameters.comp11,
739
746
  ],
740
747
  urlParameters: [Parameters.url],
741
748
  headerParameters: [
@@ -760,7 +767,7 @@ const renameOperationSpec = {
760
767
  headersMapper: Mappers.FileRenameExceptionHeaders,
761
768
  },
762
769
  },
763
- queryParameters: [Parameters.timeoutInSeconds, Parameters.comp11],
770
+ queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],
764
771
  urlParameters: [Parameters.url],
765
772
  headerParameters: [
766
773
  Parameters.version,
@@ -804,9 +811,9 @@ const createSymbolicLinkOperationSpec = {
804
811
  Parameters.version,
805
812
  Parameters.fileRequestIntent,
806
813
  Parameters.accept1,
814
+ Parameters.requestId,
807
815
  Parameters.metadata,
808
816
  Parameters.leaseId,
809
- Parameters.requestId,
810
817
  Parameters.fileCreatedOn,
811
818
  Parameters.fileLastWriteOn,
812
819
  Parameters.owner,
@@ -861,8 +868,8 @@ const createHardLinkOperationSpec = {
861
868
  Parameters.version,
862
869
  Parameters.fileRequestIntent,
863
870
  Parameters.accept1,
864
- Parameters.leaseId,
865
871
  Parameters.requestId,
872
+ Parameters.leaseId,
866
873
  Parameters.fileTypeConstant,
867
874
  Parameters.targetFile,
868
875
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAgDtD,wCAAwC;AACxC,MAAa,QAAQ;IACF,MAAM,CAAgB;IAEvC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,iBAAyB,EACzB,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAC9B,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;;;OAGG;IACH,MAAM,CAAC,OAAkC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;IAED;;;OAGG;IACH,cAAc,CACZ,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,2BAA2B,CAC5B,CAA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CAAC,OAAO;QAClB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,UAAU;KACtB;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/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageClient } from \"../storageClient.js\";\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/index.js\";\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
+ {"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAgDtD,wCAAwC;AACxC,MAAa,QAAQ;IACF,MAAM,CAAgB;IAEvC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;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YACH,aAAa,EAAE,OAAO,CAAC,0BAA0B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;YAChC,aAAa,EAAE,OAAO,CAAC,mCAAmC;SAC3D;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;KACrB;IACD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,aAAa;CAC1B,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,qCAAqC;IAC3C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,yBAAyB;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;YAChC,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,gBAAgB,EAAE,UAAU,CAAC,QAAQ,CAAC;IACnE,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,UAAU;KACtB;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/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageClient } from \"../storageClient.js\";\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/index.js\";\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 requestBody: Parameters.body,\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\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.filePropertySemantics,\n Parameters.contentType2,\n Parameters.accept3,\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 Parameters.contentMD5,\n Parameters.contentLength,\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"binary\",\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.comp6],\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.comp3],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.action,\n Parameters.duration,\n Parameters.proposedLeaseId,\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.comp3],\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.comp3],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.proposedLeaseId,\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.comp3],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.leaseId,\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.comp13],\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.contentMD5,\n Parameters.range1,\n Parameters.fileRangeWrite,\n Parameters.contentLength1,\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.comp13],\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.contentLength1,\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.comp14,\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.comp15,\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.comp10,\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.comp11,\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.comp12],\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.requestId,\n Parameters.metadata,\n Parameters.leaseId,\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.requestId,\n Parameters.leaseId,\n Parameters.fileTypeConstant,\n Parameters.targetFile,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\n"]}
@@ -1,6 +1,6 @@
1
1
  import { Service } from "../operationsInterfaces/index.js";
2
2
  import { StorageClient } from "../storageClient.js";
3
- import { FileServiceProperties, ServiceSetPropertiesOptionalParams, ServiceSetPropertiesResponse, ServiceGetPropertiesOptionalParams, ServiceGetPropertiesResponse, ServiceListSharesSegmentOptionalParams, ServiceListSharesSegmentResponse } from "../models/index.js";
3
+ import { FileServiceProperties, ServiceSetPropertiesOptionalParams, ServiceSetPropertiesResponse, ServiceGetPropertiesOptionalParams, ServiceGetPropertiesResponse, ServiceListSharesSegmentOptionalParams, ServiceListSharesSegmentResponse, KeyInfo, ServiceGetUserDelegationKeyOptionalParams, ServiceGetUserDelegationKeyResponse } from "../models/index.js";
4
4
  /** Class containing Service operations. */
5
5
  export declare class ServiceImpl implements Service {
6
6
  private readonly client;
@@ -28,5 +28,12 @@ export declare class ServiceImpl implements Service {
28
28
  * @param options The options parameters.
29
29
  */
30
30
  listSharesSegment(options?: ServiceListSharesSegmentOptionalParams): Promise<ServiceListSharesSegmentResponse>;
31
+ /**
32
+ * Retrieves a user delegation key for the File service. This is only a valid operation when using
33
+ * bearer token authentication.
34
+ * @param keyInfo Key information
35
+ * @param options The options parameters.
36
+ */
37
+ getUserDelegationKey(keyInfo: KeyInfo, options?: ServiceGetUserDelegationKeyOptionalParams): Promise<ServiceGetUserDelegationKeyResponse>;
31
38
  }
32
39
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/service.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,qBAAqB,EACrB,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,EAClC,4BAA4B,EAC5B,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;;;OAKG;IACH,aAAa,CACX,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;OAIG;IACH,aAAa,CACX,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;OAIG;IACH,iBAAiB,CACf,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;CAM7C"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/service.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,qBAAqB,EACrB,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,EAClC,4BAA4B,EAC5B,sCAAsC,EACtC,gCAAgC,EAChC,OAAO,EACP,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;;;OAKG;IACH,aAAa,CACX,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;OAIG;IACH,aAAa,CACX,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;OAIG;IACH,iBAAiB,CACf,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;OAKG;IACH,oBAAoB,CAClB,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;CAMhD"}
@@ -47,6 +47,15 @@ class ServiceImpl {
47
47
  listSharesSegment(options) {
48
48
  return this.client.sendOperationRequest({ options }, listSharesSegmentOperationSpec);
49
49
  }
50
+ /**
51
+ * Retrieves a user delegation key for the File service. This is only a valid operation when using
52
+ * bearer token authentication.
53
+ * @param keyInfo Key information
54
+ * @param options The options parameters.
55
+ */
56
+ getUserDelegationKey(keyInfo, options) {
57
+ return this.client.sendOperationRequest({ keyInfo, options }, getUserDelegationKeyOperationSpec);
58
+ }
50
59
  }
51
60
  exports.ServiceImpl = ServiceImpl;
52
61
  // Operation Specifications
@@ -138,4 +147,35 @@ const listSharesSegmentOperationSpec = {
138
147
  isXML: true,
139
148
  serializer: xmlSerializer,
140
149
  };
150
+ const getUserDelegationKeyOperationSpec = {
151
+ path: "/",
152
+ httpMethod: "POST",
153
+ responses: {
154
+ 200: {
155
+ bodyMapper: Mappers.UserDelegationKey,
156
+ headersMapper: Mappers.ServiceGetUserDelegationKeyHeaders,
157
+ },
158
+ default: {
159
+ bodyMapper: Mappers.StorageError,
160
+ headersMapper: Mappers.ServiceGetUserDelegationKeyExceptionHeaders,
161
+ },
162
+ },
163
+ requestBody: Parameters.keyInfo,
164
+ queryParameters: [
165
+ Parameters.restype,
166
+ Parameters.timeoutInSeconds,
167
+ Parameters.comp2,
168
+ ],
169
+ urlParameters: [Parameters.url],
170
+ headerParameters: [
171
+ Parameters.contentType,
172
+ Parameters.accept,
173
+ Parameters.version,
174
+ Parameters.requestId,
175
+ ],
176
+ isXML: true,
177
+ contentType: "application/xml; charset=utf-8",
178
+ mediaType: "xml",
179
+ serializer: xmlSerializer,
180
+ };
141
181
  //# sourceMappingURL=service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/service.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAYtD,2CAA2C;AAC3C,MAAa,WAAW;IACL,MAAM,CAAgB;IAEvC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,aAAa,CACX,UAAiC,EACjC,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,UAAU,EAAE,OAAO,EAAE,EACvB,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX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OAAO,CAAC,2BAA2B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;YAChC,aAAa,EAAE,OAAO,CAAC,oCAAoC;SAC5D;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,gBAAgB;KAC5B;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;KACnB;IACD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,aAAa;CAC1B,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,GAAG;IACT,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;YACtC,aAAa,EAAE,OAAO,CAAC,+BAA+B;SACvD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;YAChC,aAAa,EAAE,OAAO,CAAC,wCAAwC;SAChE;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,OAAO;KACnB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;KACnB;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 { Service } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageClient } from \"../storageClient.js\";\nimport {\n FileServiceProperties,\n ServiceSetPropertiesOptionalParams,\n ServiceSetPropertiesResponse,\n ServiceGetPropertiesOptionalParams,\n ServiceGetPropertiesResponse,\n ServiceListSharesSegmentOptionalParams,\n ServiceListSharesSegmentResponse,\n} from \"../models/index.js\";\n\n/** Class containing Service operations. */\nexport class ServiceImpl implements Service {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Sets properties for a storage account's File service endpoint, including properties for Storage\n * Analytics metrics and CORS (Cross-Origin Resource Sharing) rules.\n * @param properties The StorageService properties.\n * @param options The options parameters.\n */\n setProperties(\n properties: FileServiceProperties,\n options?: ServiceSetPropertiesOptionalParams,\n ): Promise<ServiceSetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { properties, options },\n setPropertiesOperationSpec,\n );\n }\n\n /**\n * Gets the properties of a storage account's File service, including properties for Storage Analytics\n * metrics and CORS (Cross-Origin Resource Sharing) rules.\n * @param options The options parameters.\n */\n getProperties(\n options?: ServiceGetPropertiesOptionalParams,\n ): Promise<ServiceGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec,\n );\n }\n\n /**\n * The List Shares Segment operation returns a list of the shares and share snapshots under the\n * specified account.\n * @param options The options parameters.\n */\n listSharesSegment(\n options?: ServiceListSharesSegmentOptionalParams,\n ): Promise<ServiceListSharesSegmentResponse> {\n return this.client.sendOperationRequest(\n { options },\n listSharesSegmentOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst setPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ServiceSetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceSetPropertiesExceptionHeaders,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.fileRequestIntent,\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer,\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceProperties,\n headersMapper: Mappers.ServiceGetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetPropertiesExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\nconst listSharesSegmentOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListSharesResponse,\n headersMapper: Mappers.ServiceListSharesSegmentHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceListSharesSegmentExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp1,\n Parameters.prefix,\n Parameters.marker,\n Parameters.maxResults,\n Parameters.include,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\n"]}
1
+ {"version":3,"file":"service.js","sourceRoot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(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 { Service } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageClient } from \"../storageClient.js\";\nimport {\n FileServiceProperties,\n ServiceSetPropertiesOptionalParams,\n ServiceSetPropertiesResponse,\n ServiceGetPropertiesOptionalParams,\n ServiceGetPropertiesResponse,\n ServiceListSharesSegmentOptionalParams,\n ServiceListSharesSegmentResponse,\n KeyInfo,\n ServiceGetUserDelegationKeyOptionalParams,\n ServiceGetUserDelegationKeyResponse,\n} from \"../models/index.js\";\n\n/** Class containing Service operations. */\nexport class ServiceImpl implements Service {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Sets properties for a storage account's File service endpoint, including properties for Storage\n * Analytics metrics and CORS (Cross-Origin Resource Sharing) rules.\n * @param properties The StorageService properties.\n * @param options The options parameters.\n */\n setProperties(\n properties: FileServiceProperties,\n options?: ServiceSetPropertiesOptionalParams,\n ): Promise<ServiceSetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { properties, options },\n setPropertiesOperationSpec,\n );\n }\n\n /**\n * Gets the properties of a storage account's File service, including properties for Storage Analytics\n * metrics and CORS (Cross-Origin Resource Sharing) rules.\n * @param options The options parameters.\n */\n getProperties(\n options?: ServiceGetPropertiesOptionalParams,\n ): Promise<ServiceGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec,\n );\n }\n\n /**\n * The List Shares Segment operation returns a list of the shares and share snapshots under the\n * specified account.\n * @param options The options parameters.\n */\n listSharesSegment(\n options?: ServiceListSharesSegmentOptionalParams,\n ): Promise<ServiceListSharesSegmentResponse> {\n return this.client.sendOperationRequest(\n { options },\n listSharesSegmentOperationSpec,\n );\n }\n\n /**\n * Retrieves a user delegation key for the File service. This is only a valid operation when using\n * bearer token authentication.\n * @param keyInfo Key information\n * @param options The options parameters.\n */\n getUserDelegationKey(\n keyInfo: KeyInfo,\n options?: ServiceGetUserDelegationKeyOptionalParams,\n ): Promise<ServiceGetUserDelegationKeyResponse> {\n return this.client.sendOperationRequest(\n { keyInfo, options },\n getUserDelegationKeyOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst setPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ServiceSetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceSetPropertiesExceptionHeaders,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.fileRequestIntent,\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer,\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceProperties,\n headersMapper: Mappers.ServiceGetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetPropertiesExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\nconst listSharesSegmentOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListSharesResponse,\n headersMapper: Mappers.ServiceListSharesSegmentHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceListSharesSegmentExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp1,\n Parameters.prefix,\n Parameters.marker,\n Parameters.maxResults,\n Parameters.include,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\nconst getUserDelegationKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserDelegationKey,\n headersMapper: Mappers.ServiceGetUserDelegationKeyHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetUserDelegationKeyExceptionHeaders,\n },\n },\n requestBody: Parameters.keyInfo,\n queryParameters: [\n Parameters.restype,\n Parameters.timeoutInSeconds,\n Parameters.comp2,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer,\n};\n"]}