@azure/storage-file-datalake 12.27.0-beta.1 → 12.28.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/dist/browser/DataLakeFileSystemClient.d.ts +13 -13
  2. package/dist/browser/DataLakeFileSystemClient.js +13 -13
  3. package/dist/browser/DataLakeFileSystemClient.js.map +1 -1
  4. package/dist/browser/DataLakeServiceClient.d.ts +6 -6
  5. package/dist/browser/DataLakeServiceClient.js +6 -6
  6. package/dist/browser/DataLakeServiceClient.js.map +1 -1
  7. package/dist/browser/Pipeline.d.ts.map +1 -1
  8. package/dist/browser/Pipeline.js +2 -1
  9. package/dist/browser/Pipeline.js.map +1 -1
  10. package/dist/browser/clients.d.ts +33 -33
  11. package/dist/browser/clients.js +23 -23
  12. package/dist/browser/clients.js.map +1 -1
  13. package/dist/browser/generated/src/models/parameters.js +1 -1
  14. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  15. package/dist/browser/generated/src/storageClient.js +2 -2
  16. package/dist/browser/generated/src/storageClient.js.map +1 -1
  17. package/dist/browser/models.d.ts +1 -1
  18. package/dist/browser/models.js.map +1 -1
  19. package/dist/browser/sas/AccountSASPermissions.d.ts +1 -1
  20. package/dist/browser/sas/AccountSASPermissions.js +2 -2
  21. package/dist/browser/sas/AccountSASPermissions.js.map +1 -1
  22. package/dist/browser/sas/AccountSASResourceTypes.d.ts +1 -1
  23. package/dist/browser/sas/AccountSASResourceTypes.js +1 -1
  24. package/dist/browser/sas/AccountSASResourceTypes.js.map +1 -1
  25. package/dist/browser/sas/AccountSASSignatureValues.d.ts +3 -3
  26. package/dist/browser/sas/AccountSASSignatureValues.js +1 -1
  27. package/dist/browser/sas/AccountSASSignatureValues.js.map +1 -1
  28. package/dist/browser/sas/DataLakeSASSignatureValues.d.ts +1 -1
  29. package/dist/browser/sas/DataLakeSASSignatureValues.js +1 -1
  30. package/dist/browser/sas/DataLakeSASSignatureValues.js.map +1 -1
  31. package/dist/browser/sas/DirectorySASPermissions.d.ts +1 -1
  32. package/dist/browser/sas/DirectorySASPermissions.js +1 -1
  33. package/dist/browser/sas/DirectorySASPermissions.js.map +1 -1
  34. package/dist/browser/sas/FileSystemSASPermissions.d.ts +1 -1
  35. package/dist/browser/sas/FileSystemSASPermissions.js +1 -1
  36. package/dist/browser/sas/FileSystemSASPermissions.js.map +1 -1
  37. package/dist/browser/sas/SASQueryParameters.d.ts +2 -2
  38. package/dist/browser/sas/SASQueryParameters.js.map +1 -1
  39. package/dist/browser/utils/constants.js +2 -2
  40. package/dist/browser/utils/constants.js.map +1 -1
  41. package/dist/browser/utils/utils.common.d.ts +2 -2
  42. package/dist/browser/utils/utils.common.js +3 -3
  43. package/dist/browser/utils/utils.common.js.map +1 -1
  44. package/dist/commonjs/DataLakeFileSystemClient.d.ts +13 -13
  45. package/dist/commonjs/DataLakeFileSystemClient.js +13 -13
  46. package/dist/commonjs/DataLakeFileSystemClient.js.map +1 -1
  47. package/dist/commonjs/DataLakeServiceClient.d.ts +6 -6
  48. package/dist/commonjs/DataLakeServiceClient.js +6 -6
  49. package/dist/commonjs/DataLakeServiceClient.js.map +1 -1
  50. package/dist/commonjs/Pipeline.d.ts.map +1 -1
  51. package/dist/commonjs/Pipeline.js +1 -0
  52. package/dist/commonjs/Pipeline.js.map +1 -1
  53. package/dist/commonjs/clients.d.ts +33 -33
  54. package/dist/commonjs/clients.js +23 -23
  55. package/dist/commonjs/clients.js.map +1 -1
  56. package/dist/commonjs/credentials/UserDelegationKeyCredential.d.ts +1 -1
  57. package/dist/commonjs/credentials/UserDelegationKeyCredential.js +1 -1
  58. package/dist/commonjs/credentials/UserDelegationKeyCredential.js.map +1 -1
  59. package/dist/commonjs/generated/src/models/parameters.js +1 -1
  60. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  61. package/dist/commonjs/generated/src/storageClient.js +2 -2
  62. package/dist/commonjs/generated/src/storageClient.js.map +1 -1
  63. package/dist/commonjs/models.d.ts +1 -1
  64. package/dist/commonjs/models.js.map +1 -1
  65. package/dist/commonjs/sas/AccountSASPermissions.d.ts +1 -1
  66. package/dist/commonjs/sas/AccountSASPermissions.js +2 -2
  67. package/dist/commonjs/sas/AccountSASPermissions.js.map +1 -1
  68. package/dist/commonjs/sas/AccountSASResourceTypes.d.ts +1 -1
  69. package/dist/commonjs/sas/AccountSASResourceTypes.js +1 -1
  70. package/dist/commonjs/sas/AccountSASResourceTypes.js.map +1 -1
  71. package/dist/commonjs/sas/AccountSASSignatureValues.d.ts +3 -3
  72. package/dist/commonjs/sas/AccountSASSignatureValues.js +1 -1
  73. package/dist/commonjs/sas/AccountSASSignatureValues.js.map +1 -1
  74. package/dist/commonjs/sas/DataLakeSASSignatureValues.d.ts +1 -1
  75. package/dist/commonjs/sas/DataLakeSASSignatureValues.js +1 -1
  76. package/dist/commonjs/sas/DataLakeSASSignatureValues.js.map +1 -1
  77. package/dist/commonjs/sas/DirectorySASPermissions.d.ts +1 -1
  78. package/dist/commonjs/sas/DirectorySASPermissions.js +1 -1
  79. package/dist/commonjs/sas/DirectorySASPermissions.js.map +1 -1
  80. package/dist/commonjs/sas/FileSystemSASPermissions.d.ts +1 -1
  81. package/dist/commonjs/sas/FileSystemSASPermissions.js +1 -1
  82. package/dist/commonjs/sas/FileSystemSASPermissions.js.map +1 -1
  83. package/dist/commonjs/sas/SASQueryParameters.d.ts +2 -2
  84. package/dist/commonjs/sas/SASQueryParameters.js.map +1 -1
  85. package/dist/commonjs/utils/constants.js +2 -2
  86. package/dist/commonjs/utils/constants.js.map +1 -1
  87. package/dist/commonjs/utils/utils.common.d.ts +2 -2
  88. package/dist/commonjs/utils/utils.common.js +3 -3
  89. package/dist/commonjs/utils/utils.common.js.map +1 -1
  90. package/dist/esm/DataLakeFileSystemClient.d.ts +13 -13
  91. package/dist/esm/DataLakeFileSystemClient.js +13 -13
  92. package/dist/esm/DataLakeFileSystemClient.js.map +1 -1
  93. package/dist/esm/DataLakeServiceClient.d.ts +6 -6
  94. package/dist/esm/DataLakeServiceClient.js +6 -6
  95. package/dist/esm/DataLakeServiceClient.js.map +1 -1
  96. package/dist/esm/Pipeline.d.ts.map +1 -1
  97. package/dist/esm/Pipeline.js +2 -1
  98. package/dist/esm/Pipeline.js.map +1 -1
  99. package/dist/esm/clients.d.ts +33 -33
  100. package/dist/esm/clients.js +23 -23
  101. package/dist/esm/clients.js.map +1 -1
  102. package/dist/esm/credentials/UserDelegationKeyCredential.d.ts +1 -1
  103. package/dist/esm/credentials/UserDelegationKeyCredential.js +1 -1
  104. package/dist/esm/credentials/UserDelegationKeyCredential.js.map +1 -1
  105. package/dist/esm/generated/src/models/parameters.js +1 -1
  106. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  107. package/dist/esm/generated/src/storageClient.js +2 -2
  108. package/dist/esm/generated/src/storageClient.js.map +1 -1
  109. package/dist/esm/models.d.ts +1 -1
  110. package/dist/esm/models.js.map +1 -1
  111. package/dist/esm/sas/AccountSASPermissions.d.ts +1 -1
  112. package/dist/esm/sas/AccountSASPermissions.js +2 -2
  113. package/dist/esm/sas/AccountSASPermissions.js.map +1 -1
  114. package/dist/esm/sas/AccountSASResourceTypes.d.ts +1 -1
  115. package/dist/esm/sas/AccountSASResourceTypes.js +1 -1
  116. package/dist/esm/sas/AccountSASResourceTypes.js.map +1 -1
  117. package/dist/esm/sas/AccountSASSignatureValues.d.ts +3 -3
  118. package/dist/esm/sas/AccountSASSignatureValues.js +1 -1
  119. package/dist/esm/sas/AccountSASSignatureValues.js.map +1 -1
  120. package/dist/esm/sas/DataLakeSASSignatureValues.d.ts +1 -1
  121. package/dist/esm/sas/DataLakeSASSignatureValues.js +1 -1
  122. package/dist/esm/sas/DataLakeSASSignatureValues.js.map +1 -1
  123. package/dist/esm/sas/DirectorySASPermissions.d.ts +1 -1
  124. package/dist/esm/sas/DirectorySASPermissions.js +1 -1
  125. package/dist/esm/sas/DirectorySASPermissions.js.map +1 -1
  126. package/dist/esm/sas/FileSystemSASPermissions.d.ts +1 -1
  127. package/dist/esm/sas/FileSystemSASPermissions.js +1 -1
  128. package/dist/esm/sas/FileSystemSASPermissions.js.map +1 -1
  129. package/dist/esm/sas/SASQueryParameters.d.ts +2 -2
  130. package/dist/esm/sas/SASQueryParameters.js.map +1 -1
  131. package/dist/esm/utils/constants.js +2 -2
  132. package/dist/esm/utils/constants.js.map +1 -1
  133. package/dist/esm/utils/utils.common.d.ts +2 -2
  134. package/dist/esm/utils/utils.common.js +3 -3
  135. package/dist/esm/utils/utils.common.js.map +1 -1
  136. package/dist/react-native/DataLakeFileSystemClient.d.ts +13 -13
  137. package/dist/react-native/DataLakeFileSystemClient.js +13 -13
  138. package/dist/react-native/DataLakeFileSystemClient.js.map +1 -1
  139. package/dist/react-native/DataLakeServiceClient.d.ts +6 -6
  140. package/dist/react-native/DataLakeServiceClient.js +6 -6
  141. package/dist/react-native/DataLakeServiceClient.js.map +1 -1
  142. package/dist/react-native/Pipeline.d.ts.map +1 -1
  143. package/dist/react-native/Pipeline.js +2 -1
  144. package/dist/react-native/Pipeline.js.map +1 -1
  145. package/dist/react-native/clients.d.ts +33 -33
  146. package/dist/react-native/clients.js +23 -23
  147. package/dist/react-native/clients.js.map +1 -1
  148. package/dist/react-native/credentials/UserDelegationKeyCredential.d.ts +1 -1
  149. package/dist/react-native/credentials/UserDelegationKeyCredential.js +1 -1
  150. package/dist/react-native/credentials/UserDelegationKeyCredential.js.map +1 -1
  151. package/dist/react-native/generated/src/models/parameters.js +1 -1
  152. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  153. package/dist/react-native/generated/src/storageClient.js +2 -2
  154. package/dist/react-native/generated/src/storageClient.js.map +1 -1
  155. package/dist/react-native/models.d.ts +1 -1
  156. package/dist/react-native/models.js.map +1 -1
  157. package/dist/react-native/sas/AccountSASPermissions.d.ts +1 -1
  158. package/dist/react-native/sas/AccountSASPermissions.js +2 -2
  159. package/dist/react-native/sas/AccountSASPermissions.js.map +1 -1
  160. package/dist/react-native/sas/AccountSASResourceTypes.d.ts +1 -1
  161. package/dist/react-native/sas/AccountSASResourceTypes.js +1 -1
  162. package/dist/react-native/sas/AccountSASResourceTypes.js.map +1 -1
  163. package/dist/react-native/sas/AccountSASSignatureValues.d.ts +3 -3
  164. package/dist/react-native/sas/AccountSASSignatureValues.js +1 -1
  165. package/dist/react-native/sas/AccountSASSignatureValues.js.map +1 -1
  166. package/dist/react-native/sas/DataLakeSASSignatureValues.d.ts +1 -1
  167. package/dist/react-native/sas/DataLakeSASSignatureValues.js +1 -1
  168. package/dist/react-native/sas/DataLakeSASSignatureValues.js.map +1 -1
  169. package/dist/react-native/sas/DirectorySASPermissions.d.ts +1 -1
  170. package/dist/react-native/sas/DirectorySASPermissions.js +1 -1
  171. package/dist/react-native/sas/DirectorySASPermissions.js.map +1 -1
  172. package/dist/react-native/sas/FileSystemSASPermissions.d.ts +1 -1
  173. package/dist/react-native/sas/FileSystemSASPermissions.js +1 -1
  174. package/dist/react-native/sas/FileSystemSASPermissions.js.map +1 -1
  175. package/dist/react-native/sas/SASQueryParameters.d.ts +2 -2
  176. package/dist/react-native/sas/SASQueryParameters.js.map +1 -1
  177. package/dist/react-native/utils/constants.js +2 -2
  178. package/dist/react-native/utils/constants.js.map +1 -1
  179. package/dist/react-native/utils/utils.common.d.ts +2 -2
  180. package/dist/react-native/utils/utils.common.js +3 -3
  181. package/dist/react-native/utils/utils.common.js.map +1 -1
  182. package/package.json +5 -5
@@ -72,7 +72,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
72
72
  * Creates a new file system under the specified account. If the file system with
73
73
  * the same name already exists, the operation fails.
74
74
  *
75
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container
75
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-container
76
76
  *
77
77
  * @param options - Optional. Options when creating file system.
78
78
  */
@@ -81,7 +81,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
81
81
  * Creates a new file system under the specified account. If the file system with
82
82
  * the same name already exists, it is not changed.
83
83
  *
84
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container
84
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-container
85
85
  *
86
86
  * @param options -
87
87
  */
@@ -99,7 +99,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
99
99
  /**
100
100
  * Delete current file system.
101
101
  *
102
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container
102
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-container
103
103
  *
104
104
  * @param options - Optional. Options when deleting file system.
105
105
  */
@@ -107,7 +107,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
107
107
  /**
108
108
  * Delete current file system if it exists.
109
109
  *
110
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container
110
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-container
111
111
  *
112
112
  * @param options -
113
113
  */
@@ -121,7 +121,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
121
121
  * the `listFileSystems` method of {@link DataLakeServiceClient} using the `includeMetadata` option, which
122
122
  * will retain their original casing.
123
123
  *
124
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-properties
124
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-container-properties
125
125
  *
126
126
  * @param options - Optional. Options when getting file system properties.
127
127
  */
@@ -132,7 +132,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
132
132
  * If no option provided, or no metadata defined in the parameter, the file system
133
133
  * metadata will be removed.
134
134
  *
135
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-metadata
135
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-container-metadata
136
136
  *
137
137
  * @param metadata - Replace existing metadata with this value.
138
138
  * If no value provided the existing metadata will be removed.
@@ -146,7 +146,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
146
146
  * WARNING: JavaScript Date will potentially lose precision when parsing startsOn and expiresOn strings.
147
147
  * For example, new Date("2018-12-31T03:44:23.8827891Z").toISOString() will get "2018-12-31T03:44:23.882Z".
148
148
  *
149
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-acl
149
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-container-acl
150
150
  *
151
151
  * @param options - Optional. Options when getting file system access policy.
152
152
  */
@@ -159,7 +159,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
159
159
  * If no access or containerAcl provided, the existing file system ACL will be
160
160
  * removed.
161
161
  *
162
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-acl
162
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-container-acl
163
163
  *
164
164
  * @param access - Optional. The level of public access to data in the file system.
165
165
  * @param fileSystemAcl - Optional. Array of elements each having a unique Id and details of the access policy.
@@ -415,7 +415,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
415
415
  /**
416
416
  * Restores a soft deleted path.
417
417
  *
418
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/undelete-blob
418
+ * @see https://learn.microsoft.com/rest/api/storageservices/undelete-blob
419
419
  *
420
420
  * @param deletedPath - Required. The path of the deleted path.
421
421
  *
@@ -429,7 +429,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
429
429
  * Generates a Service Shared Access Signature (SAS) URI based on the client properties
430
430
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
431
431
  *
432
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
432
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
433
433
  *
434
434
  * @param options - Optional parameters.
435
435
  * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
@@ -441,7 +441,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
441
441
  * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
442
442
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
443
443
  *
444
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
444
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
445
445
  *
446
446
  * @param options - Optional parameters.
447
447
  * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
@@ -451,7 +451,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
451
451
  * Generates a Service Shared Access Signature (SAS) URI based on the client properties
452
452
  * and parameters passed in. The SAS is signed by the input user delegation key.
453
453
  *
454
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
454
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
455
455
  *
456
456
  * @param options - Optional parameters.
457
457
  * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
@@ -462,7 +462,7 @@ export declare class DataLakeFileSystemClient extends StorageClient {
462
462
  * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
463
463
  * and parameters passed in. The SAS is signed by the input user delegation key.
464
464
  *
465
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
465
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
466
466
  *
467
467
  * @param options - Optional parameters.
468
468
  * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
@@ -83,7 +83,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
83
83
  * Creates a new file system under the specified account. If the file system with
84
84
  * the same name already exists, the operation fails.
85
85
  *
86
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container
86
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-container
87
87
  *
88
88
  * @param options - Optional. Options when creating file system.
89
89
  */
@@ -96,7 +96,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
96
96
  * Creates a new file system under the specified account. If the file system with
97
97
  * the same name already exists, it is not changed.
98
98
  *
99
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container
99
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-container
100
100
  *
101
101
  * @param options -
102
102
  */
@@ -122,7 +122,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
122
122
  /**
123
123
  * Delete current file system.
124
124
  *
125
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container
125
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-container
126
126
  *
127
127
  * @param options - Optional. Options when deleting file system.
128
128
  */
@@ -134,7 +134,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
134
134
  /**
135
135
  * Delete current file system if it exists.
136
136
  *
137
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container
137
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-container
138
138
  *
139
139
  * @param options -
140
140
  */
@@ -152,7 +152,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
152
152
  * the `listFileSystems` method of {@link DataLakeServiceClient} using the `includeMetadata` option, which
153
153
  * will retain their original casing.
154
154
  *
155
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-properties
155
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-container-properties
156
156
  *
157
157
  * @param options - Optional. Options when getting file system properties.
158
158
  */
@@ -174,7 +174,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
174
174
  * If no option provided, or no metadata defined in the parameter, the file system
175
175
  * metadata will be removed.
176
176
  *
177
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-metadata
177
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-container-metadata
178
178
  *
179
179
  * @param metadata - Replace existing metadata with this value.
180
180
  * If no value provided the existing metadata will be removed.
@@ -192,7 +192,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
192
192
  * WARNING: JavaScript Date will potentially lose precision when parsing startsOn and expiresOn strings.
193
193
  * For example, new Date("2018-12-31T03:44:23.8827891Z").toISOString() will get "2018-12-31T03:44:23.882Z".
194
194
  *
195
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-acl
195
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-container-acl
196
196
  *
197
197
  * @param options - Optional. Options when getting file system access policy.
198
198
  */
@@ -216,7 +216,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
216
216
  * If no access or containerAcl provided, the existing file system ACL will be
217
217
  * removed.
218
218
  *
219
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-acl
219
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-container-acl
220
220
  *
221
221
  * @param access - Optional. The level of public access to data in the file system.
222
222
  * @param fileSystemAcl - Optional. Array of elements each having a unique Id and details of the access policy.
@@ -592,7 +592,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
592
592
  /**
593
593
  * Restores a soft deleted path.
594
594
  *
595
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/undelete-blob
595
+ * @see https://learn.microsoft.com/rest/api/storageservices/undelete-blob
596
596
  *
597
597
  * @param deletedPath - Required. The path of the deleted path.
598
598
  *
@@ -617,7 +617,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
617
617
  * Generates a Service Shared Access Signature (SAS) URI based on the client properties
618
618
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
619
619
  *
620
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
620
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
621
621
  *
622
622
  * @param options - Optional parameters.
623
623
  * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
@@ -637,7 +637,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
637
637
  * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
638
638
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
639
639
  *
640
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
640
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
641
641
  *
642
642
  * @param options - Optional parameters.
643
643
  * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
@@ -653,7 +653,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
653
653
  * Generates a Service Shared Access Signature (SAS) URI based on the client properties
654
654
  * and parameters passed in. The SAS is signed by the input user delegation key.
655
655
  *
656
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
656
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
657
657
  *
658
658
  * @param options - Optional parameters.
659
659
  * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
@@ -669,7 +669,7 @@ class DataLakeFileSystemClient extends StorageClient_js_1.StorageClient {
669
669
  * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
670
670
  * and parameters passed in. The SAS is signed by the input user delegation key.
671
671
  *
672
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
672
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
673
673
  *
674
674
  * @param options - Optional parameters.
675
675
  * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
@@ -1 +1 @@
1
- {"version":3,"file":"DataLakeFileSystemClient.js","sourceRoot":"","sources":["../../src/DataLakeFileSystemClient.ts"],"names":[],"mappings":";;;;AAIA,sDAAsD;AAEtD,+CAA4D;AAC5D,+FAAyF;AACzF,sDAA0D;AAC1D,qEAA+D;AAC/D,kEAA6F;AAmC7F,yDAAmD;AACnD,mDAAiG;AACjG,mDAAmD;AACnD,6DAMiC;AACjC,6CAA2E;AAC3E,uFAG6C;AAC7C,uDAA8E;AAC9E,yEAAmE;AAEnE;;;GAGG;AACH,MAAa,wBAAyB,SAAQ,gCAAa;IA4CzD,YACE,GAAW,EACX,oBAIY;IACZ,2FAA2F;IAC3F,iEAAiE;IACjE,OAAgC;QAEhC,IAAI,IAAA,4BAAc,EAAC,oBAAoB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,GAAG,E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rE,IAAI,CAAC,CAAC,IAAI,CAAC,UAAU,YAAY,0DAA0B,CAAC,EAAE,CAAC;YAC7D,MAAM,UAAU,CACd,uFAAuF,CACxF,CAAC;QACJ,CAAC;QAED,OAAO,IAAA,0EAA0C,kBAE7C,cAAc,EAAE,IAAI,CAAC,IAAI,IACtB,OAAO,GAEZ,IAAI,CAAC,UAAU,CAChB,CAAC,YAAY,CAAC;IACjB,CAAC;IAED;;;;;;;;;OASG;IACI,4BAA4B,CACjC,OAAwC,EACxC,iBAAoC;QAEpC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC7B,MAAM,GAAG,GAAG,IAAA,kEAAkC,kBAE1C,cAAc,EAAE,IAAI,CAAC,IAAI,IACtB,OAAO,GAEZ,iBAAiB,EACjB,IAAI,CAAC,WAAW,CACjB,CAAC,QAAQ,EAAE,CAAC;YAEb,OAAO,CAAC,IAAA,kCAAgB,EAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IAEI,qCAAqC,CAC1C,OAAwC,EACxC,iBAAoC;QAEpC,OAAO,IAAA,0EAA0C,kBAE7C,cAAc,EAAE,IAAI,CAAC,IAAI,IACtB,OAAO,GAEZ,iBAAiB,EACjB,IAAI,CAAC,WAAW,CACjB,CAAC,YAAY,CAAC;IACjB,CAAC;CACF;AA34BD,4DA24BC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { ContainerClient } from \"@azure/storage-blob\";\nimport type { Pipeline, StoragePipelineOptions } from \"./Pipeline.js\";\nimport { isPipelineLike, newPipeline } from \"./Pipeline.js\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential.js\";\nimport { AnonymousCredential } from \"@azure/storage-blob\";\nimport { DataLakeLeaseClient } from \"./DataLakeLeaseClient.js\";\nimport { FileSystemOperationsImpl as FileSystem } from \"./generated/src/operations/index.js\";\nimport type {\n AccessPolicy,\n FileSystemCreateOptions,\n FileSystemCreateResponse,\n FileSystemDeleteOptions,\n FileSystemDeleteResponse,\n FileSystemExistsOptions,\n FileSystemGetAccessPolicyOptions,\n FileSystemGetAccessPolicyResponse,\n FileSystemGetPropertiesOptions,\n FileSystemGetPropertiesResponse,\n FileSystemSetAccessPolicyOptions,\n FileSystemSetAccessPolicyResponse,\n FileSystemSetMetadataOptions,\n FileSystemSetMetadataResponse,\n ListPathsOptions,\n ListPathsSegmentOptions,\n Metadata,\n Path,\n PublicAccessType,\n SignedIdentifier,\n FileSystemListPathsResponse,\n FileSystemCreateIfNotExistsResponse,\n FileSystemDeleteIfExistsResponse,\n FileSystemGenerateSasUrlOptions,\n FileSystemListDeletedPathsResponse,\n ListDeletedPathsOptions,\n DeletedPath,\n FileSystemUndeletePathResponse,\n FileSystemUndeletePathOption,\n ListDeletedPathsSegmentOptions,\n PathUndeleteHeaders,\n UserDelegationKey,\n} from \"./models.js\";\nimport { StorageClient } from \"./StorageClient.js\";\nimport { toContainerPublicAccessType, toPublicAccessType, toPermissions } from \"./transforms.js\";\nimport { tracingClient } from \"./utils/tracing.js\";\nimport {\n appendToURLPath,\n appendToURLQuery,\n assertResponse,\n EscapePath,\n windowsFileTimeTicksToTime,\n} from \"./utils/utils.common.js\";\nimport { DataLakeFileClient, DataLakeDirectoryClient } from \"./clients.js\";\nimport {\n generateDataLakeSASQueryParameters,\n generateDataLakeSASQueryParametersInternal,\n} from \"./sas/DataLakeSASSignatureValues.js\";\nimport { DeletionIdKey, PathResultTypeConstants } from \"./utils/constants.js\";\nimport { PathClientInternal } from \"./utils/PathClientInternal.js\";\n\n/**\n * A DataLakeFileSystemClient represents a URL to the Azure Storage file system\n * allowing you to manipulate its directories and files.\n */\nexport class DataLakeFileSystemClient extends StorageClient {\n /**\n * fileSystemContext provided by protocol layer.\n */\n private fileSystemContext: FileSystem;\n\n /**\n * fileSystemContext provided by protocol layer.\n */\n private fileSystemContextToBlobEndpoint: FileSystem;\n\n /**\n * blobContainerClient provided by `@azure/storage-blob` package.\n */\n private blobContainerClient: ContainerClient;\n\n /**\n * Creates an instance of DataLakeFileSystemClient from url and credential.\n *\n * @param url - A Client string pointing to Azure Storage data lake file system, such as\n * \"https://myaccount.dfs.core.windows.net/filesystem\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.dfs.core.windows.net/filesystem?sasString\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: StoragePipelineOptions,\n );\n\n /**\n * Creates an instance of DataLakeFileSystemClient from url and pipeline.\n *\n * @param url - A Client string pointing to Azure Storage data lake file system, such as\n * \"https://myaccount.dfs.core.windows.net/filesystem\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.dfs.core.windows.net/filesystem?sasString\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: Pipeline);\n\n constructor(\n url: string,\n credentialOrPipeline?:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | Pipeline,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: StoragePipelineOptions,\n ) {\n if (isPipelineLike(credentialOrPipeline)) {\n super(url, credentialOrPipeline);\n } else {\n let credential;\n if (credentialOrPipeline === undefined) {\n credential = new AnonymousCredential();\n } else {\n credential = credentialOrPipeline;\n }\n\n const pipeline = newPipeline(credential, options);\n super(url, pipeline);\n }\n\n this.fileSystemContext = new FileSystem(this.storageClientContext);\n this.fileSystemContextToBlobEndpoint = new FileSystem(this.storageClientContextToBlobEndpoint);\n this.blobContainerClient = new ContainerClient(this.blobEndpointUrl, this.pipeline);\n }\n\n /**\n * Name of current file system.\n *\n * @readonly\n */\n public get name(): string {\n return this.blobContainerClient.containerName;\n }\n\n /**\n * Creates a {@link DataLakeDirectoryClient} object under current file system.\n *\n * @param directoryName -\n */\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */\n public getDirectoryClient(directoryName: string): DataLakeDirectoryClient {\n return new DataLakeDirectoryClient(\n appendToURLPath(this.url, EscapePath(directoryName)),\n this.pipeline,\n );\n }\n\n /**\n * Creates a {@link DataLakeFileClient} object under current file system.\n *\n * @param fileName -\n */\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */\n public getFileClient(fileName: string): DataLakeFileClient {\n return new DataLakeFileClient(appendToURLPath(this.url, EscapePath(fileName)), this.pipeline);\n }\n\n /**\n * Get a {@link DataLakeLeaseClient} that manages leases on the file system.\n *\n * @param proposeLeaseId - Optional. Initial proposed lease Id.\n */\n public getDataLakeLeaseClient(proposeLeaseId?: string): DataLakeLeaseClient {\n return new DataLakeLeaseClient(this.blobContainerClient.getBlobLeaseClient(proposeLeaseId));\n }\n\n /**\n * Creates a new file system under the specified account. If the file system with\n * the same name already exists, the operation fails.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container\n *\n * @param options - Optional. Options when creating file system.\n */\n public async create(options: FileSystemCreateOptions = {}): Promise<FileSystemCreateResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-create\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.create({\n ...options,\n access: toContainerPublicAccessType(options.access),\n tracingOptions: updatedOptions.tracingOptions,\n containerEncryptionScope: options.fileSystemEncryptionScope,\n });\n },\n );\n }\n\n /**\n * Creates a new file system under the specified account. If the file system with\n * the same name already exists, it is not changed.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-container\n *\n * @param options -\n */\n public async createIfNotExists(\n options: FileSystemCreateOptions = {},\n ): Promise<FileSystemCreateIfNotExistsResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-createIfNotExists\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.createIfNotExists({\n ...options,\n access: toContainerPublicAccessType(options.access),\n containerEncryptionScope: options.fileSystemEncryptionScope,\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * Returns true if the File system represented by this client exists; false otherwise.\n *\n * NOTE: use this function with care since an existing file system might be deleted by other clients or\n * applications. Vice versa new file system with the same name might be added by other clients or\n * applications after this function completes.\n *\n * @param options -\n */\n public async exists(options: FileSystemExistsOptions = {}): Promise<boolean> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-exists\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.exists(updatedOptions);\n },\n );\n }\n\n /**\n * Delete current file system.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container\n *\n * @param options - Optional. Options when deleting file system.\n */\n public async delete(options: FileSystemDeleteOptions = {}): Promise<FileSystemDeleteResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-delete\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.delete({\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * Delete current file system if it exists.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-container\n *\n * @param options -\n */\n public async deleteIfExists(\n options: FileSystemDeleteOptions = {},\n ): Promise<FileSystemDeleteIfExistsResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-deleteIfExists\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.deleteIfExists(updatedOptions);\n },\n );\n }\n\n /**\n * Returns all user-defined metadata and system properties for the specified\n * file system.\n *\n * WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if\n * they originally contained uppercase characters. This differs from the metadata keys returned by\n * the `listFileSystems` method of {@link DataLakeServiceClient} using the `includeMetadata` option, which\n * will retain their original casing.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-properties\n *\n * @param options - Optional. Options when getting file system properties.\n */\n public async getProperties(\n options: FileSystemGetPropertiesOptions = {},\n ): Promise<FileSystemGetPropertiesResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-getProperties\",\n options,\n async (updatedOptions) => {\n const rawResponse = await this.blobContainerClient.getProperties({\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n // Transfer and rename blobPublicAccess to publicAccess\n const response = rawResponse as FileSystemGetPropertiesResponse;\n\n response.publicAccess = toPublicAccessType(rawResponse.blobPublicAccess);\n response._response.parsedHeaders.publicAccess = response.publicAccess;\n\n delete rawResponse.blobPublicAccess;\n delete rawResponse._response.parsedHeaders.blobPublicAccess;\n\n return response;\n },\n );\n }\n\n /**\n * Sets one or more user-defined name-value pairs for the specified file system.\n *\n * If no option provided, or no metadata defined in the parameter, the file system\n * metadata will be removed.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-metadata\n *\n * @param metadata - Replace existing metadata with this value.\n * If no value provided the existing metadata will be removed.\n * @param options - Optional. Options when setting file system metadata.\n */\n public async setMetadata(\n metadata?: Metadata,\n options: FileSystemSetMetadataOptions = {},\n ): Promise<FileSystemSetMetadataResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-setMetadata\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.setMetadata(metadata, {\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * Gets the permissions for the specified file system. The permissions indicate\n * whether file system data may be accessed publicly.\n *\n * WARNING: JavaScript Date will potentially lose precision when parsing startsOn and expiresOn strings.\n * For example, new Date(\"2018-12-31T03:44:23.8827891Z\").toISOString() will get \"2018-12-31T03:44:23.882Z\".\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-container-acl\n *\n * @param options - Optional. Options when getting file system access policy.\n */\n public async getAccessPolicy(\n options: FileSystemGetAccessPolicyOptions = {},\n ): Promise<FileSystemGetAccessPolicyResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-getAccessPolicy\",\n options,\n async (updatedOptions) => {\n const rawResponse = await this.blobContainerClient.getAccessPolicy({\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n // Transfer and rename blobPublicAccess to publicAccess\n const response = rawResponse as unknown as FileSystemGetAccessPolicyResponse;\n\n response.publicAccess = toPublicAccessType(rawResponse.blobPublicAccess);\n response._response.parsedHeaders.publicAccess = response.publicAccess;\n\n delete rawResponse.blobPublicAccess;\n delete rawResponse._response.parsedHeaders.blobPublicAccess;\n\n return response;\n },\n );\n }\n\n /**\n * Sets the permissions for the specified file system. The permissions indicate\n * whether directories or files in a file system may be accessed publicly.\n *\n * When you set permissions for a file system, the existing permissions are replaced.\n * If no access or containerAcl provided, the existing file system ACL will be\n * removed.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-acl\n *\n * @param access - Optional. The level of public access to data in the file system.\n * @param fileSystemAcl - Optional. Array of elements each having a unique Id and details of the access policy.\n * @param options - Optional. Options when setting file system access policy.\n */\n public async setAccessPolicy(\n access?: PublicAccessType,\n fileSystemAcl?: SignedIdentifier<AccessPolicy>[],\n options: FileSystemSetAccessPolicyOptions = {},\n ): Promise<FileSystemSetAccessPolicyResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-setAccessPolicy\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.setAccessPolicy(\n toContainerPublicAccessType(access),\n fileSystemAcl,\n {\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n },\n );\n },\n );\n }\n\n /**\n * Returns an async iterable iterator to list all the paths (directories and files)\n * under the specified file system.\n *\n * .byPage() returns an async iterable iterator to list the paths in pages.\n *\n * Example using `for await` syntax:\n *\n * ```ts snippet:ReadmeSampleListPaths\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * const paths = fileSystemClient.listPaths();\n * for await (const path of paths) {\n * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```ts snippet:ReadmeSampleListPaths_Iterator\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * const paths = fileSystemClient.listPaths();\n * let { value, done } = await paths.next();\n * while (!done) {\n * console.log(`Path ${i++}: ${value.name}, is directory: ${value.isDirectory}`);\n * ({ value, done } = await paths.next());\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```ts snippet:ReadmeSampleListPaths_ByPage\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * for await (const response of fileSystemClient.listPaths().byPage({ maxPageSize: 20 })) {\n * if (response.pathItems) {\n * for (const path of response.pathItems) {\n * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);\n * }\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```ts snippet:ReadmeSampleListPaths_Continuation\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * let paths = fileSystemClient.listPaths().byPage({ maxPageSize: 2 });\n * let response = (await paths.next()).value;\n * // Prints 2 paths\n * if (response.pathItems) {\n * for (const path of response.pathItems) {\n * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);\n * }\n * }\n * // Gets next marker\n * let marker = response.continuationToken;\n * // Passing next marker as continuationToken\n * paths = fileSystemClient.listPaths().byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await paths.next()).value;\n * // Prints 10 paths\n * if (response.pathItems) {\n * for (const path of response.pathItems) {\n * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);\n * }\n * }\n * ```\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/list-blobs\n *\n * @param options - Optional. Options when listing paths.\n */\n public listPaths(\n options: ListPathsOptions = {},\n ): PagedAsyncIterableIterator<Path, FileSystemListPathsResponse> {\n options.path = options.path === \"\" ? undefined : options.path;\n\n const iter = this.listItems(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings: PageSettings = {}) => {\n return this.listSegments(settings.continuationToken, {\n maxResults: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n private async *listItems(options: ListPathsSegmentOptions = {}): AsyncIterableIterator<Path> {\n for await (const response of this.listSegments(undefined, options)) {\n yield* response.pathItems || [];\n }\n }\n\n private async *listSegments(\n continuation?: string,\n options: ListPathsSegmentOptions = {},\n ): AsyncIterableIterator<FileSystemListPathsResponse> {\n let response;\n if (!!continuation || continuation === undefined) {\n do {\n response = await this.listPathsSegment(continuation, options);\n continuation = response.continuation;\n yield response;\n } while (continuation);\n }\n }\n\n private async listPathsSegment(\n continuation?: string,\n options: ListPathsSegmentOptions = {},\n ): Promise<FileSystemListPathsResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-listPathsSegment\",\n options,\n async (updatedOptions) => {\n const rawResponse = await this.fileSystemContext.listPaths(options.recursive || false, {\n continuation,\n ...updatedOptions,\n upn: options.userPrincipalName,\n });\n\n const response = rawResponse as FileSystemListPathsResponse;\n response.pathItems = [];\n for (const path of rawResponse.paths || []) {\n response.pathItems.push({\n ...path,\n permissions: toPermissions(path.permissions),\n createdOn: windowsFileTimeTicksToTime(path.creationTime),\n expiresOn: windowsFileTimeTicksToTime(path.expiryTime),\n });\n }\n delete rawResponse.paths;\n\n return response;\n },\n );\n }\n\n /**\n * Returns an async iterable iterator to list all the paths (directories and files)\n * under the specified file system.\n *\n * .byPage() returns an async iterable iterator to list the paths in pages.\n *\n * Example using `for await` syntax:\n *\n * ```ts snippet:ReadmeSampleListDeletedPaths\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * const deletedPaths = fileSystemClient.listDeletedPaths();\n * for await (const deletedPath of deletedPaths) {\n * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```ts snippet:ReadmeSampleListDeletedPaths_Iterator\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * const deletedPaths = fileSystemClient.listDeletedPaths();\n * let { value, done } = await deletedPaths.next();\n * while (!done) {\n * console.log(`Deleted path ${i++}: ${value.name}, deleted on: ${value.deletedOn}`);\n * ({ value, done } = await deletedPaths.next());\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```ts snippet:ReadmeSampleListDeletedPaths_ByPage\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * for await (const response of fileSystemClient.listDeletedPaths().byPage({ maxPageSize: 20 })) {\n * if (response.pathItems) {\n * for (const deletedPath of response.pathItems) {\n * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);\n * }\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```ts snippet:ReadmeSampleListDeletedPaths_Continuation\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * let deletedPaths = fileSystemClient.listDeletedPaths().byPage({ maxPageSize: 2 });\n * let response = (await deletedPaths.next()).value;\n * // Prints 2 deleted paths\n * if (response.deletedPathItems) {\n * for (const deletedPath of response.deletedPathItems) {\n * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);\n * }\n * }\n * // Gets next marker\n * let marker = response.continuationToken;\n * // Passing next marker as continuationToken\n * deletedPaths = fileSystemClient\n * .listDeletedPaths()\n * .byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await deletedPaths.next()).value;\n * // Prints 10 deleted paths\n * if (response.deletedPathItems) {\n * for (const deletedPath of response.deletedPathItems) {\n * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);\n * }\n * }\n * ```\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/list-blobs\n *\n * @param options - Optional. Options when listing deleted paths.\n */\n public listDeletedPaths(\n options: ListDeletedPathsOptions = {},\n ): PagedAsyncIterableIterator<DeletedPath, FileSystemListDeletedPathsResponse> {\n const iter = this.listDeletedItems(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings: PageSettings = {}) => {\n return this.listDeletedSegments(settings.continuationToken, {\n maxResults: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n private async *listDeletedItems(\n options: ListDeletedPathsOptions = {},\n ): AsyncIterableIterator<DeletedPath> {\n for await (const response of this.listDeletedSegments(undefined, options)) {\n yield* response.pathItems || [];\n }\n }\n\n private async *listDeletedSegments(\n continuation?: string,\n options: ListDeletedPathsSegmentOptions = {},\n ): AsyncIterableIterator<FileSystemListDeletedPathsResponse> {\n let response;\n if (!!continuation || continuation === undefined) {\n do {\n response = await this.listDeletedPathsSegment(continuation, options);\n continuation = response.continuation;\n yield response;\n } while (continuation);\n }\n }\n\n private async listDeletedPathsSegment(\n continuation?: string,\n options: ListDeletedPathsSegmentOptions = {},\n ): Promise<FileSystemListDeletedPathsResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-listDeletedPathsSegment\",\n options,\n async (updatedOptions) => {\n const rawResponse = await this.fileSystemContextToBlobEndpoint.listBlobHierarchySegment({\n marker: continuation,\n ...updatedOptions,\n prefix: options.prefix === \"\" ? undefined : options.prefix,\n });\n\n const response = rawResponse as FileSystemListDeletedPathsResponse;\n response.pathItems = [];\n for (const path of rawResponse.segment.blobItems || []) {\n response.pathItems.push({\n name: path.name,\n deletionId: path.deletionId,\n deletedOn: path.properties.deletedTime,\n remainingRetentionDays: path.properties.remainingRetentionDays,\n });\n }\n\n if (response.nextMarker) {\n response.continuation = response.nextMarker;\n }\n\n return response;\n },\n );\n }\n\n /**\n * Restores a soft deleted path.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/undelete-blob\n *\n * @param deletedPath - Required. The path of the deleted path.\n *\n * @param deletionId - Required. The deletion ID associated with the soft deleted path.\n *\n */\n\n public async undeletePath(\n deletedPath: string,\n deletionId: string,\n options: FileSystemUndeletePathOption = {},\n ): Promise<FileSystemUndeletePathResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-undeletePath\",\n options,\n async (updatedOptions) => {\n const pathClient = new PathClientInternal(\n appendToURLPath(this.blobEndpointUrl, EscapePath(deletedPath)),\n this.pipeline,\n );\n\n const rawResponse = assertResponse<PathUndeleteHeaders, PathUndeleteHeaders>(\n await pathClient.blobPathContext.undelete({\n undeleteSource: \"?\" + DeletionIdKey + \"=\" + deletionId,\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n }),\n );\n\n if (rawResponse.resourceType === PathResultTypeConstants.DirectoryResourceType) {\n return {\n pathClient: this.getDirectoryClient(deletedPath),\n ...rawResponse,\n };\n } else {\n return {\n pathClient: this.getFileClient(deletedPath),\n ...rawResponse,\n };\n }\n },\n );\n }\n\n /**\n * Only available for DataLakeFileSystemClient constructed with a shared key credential.\n *\n * Generates a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateSasUrl(options: FileSystemGenerateSasUrlOptions): Promise<string> {\n return new Promise((resolve) => {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\",\n );\n }\n\n const sas = generateDataLakeSASQueryParameters(\n {\n fileSystemName: this.name,\n ...options,\n },\n this.credential,\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Only available for DataLakeFileSystemClient constructed with a shared key credential.\n *\n * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n public generateSasStringToSign(options: FileSystemGenerateSasUrlOptions): string {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\",\n );\n }\n\n return generateDataLakeSASQueryParametersInternal(\n {\n fileSystemName: this.name,\n ...options,\n },\n this.credential,\n ).stringToSign;\n }\n\n /**\n * Generates a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the input user delegation key.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateUserDelegationSasUrl(\n options: FileSystemGenerateSasUrlOptions,\n userDelegationKey: UserDelegationKey,\n ): Promise<string> {\n return new Promise((resolve) => {\n const sas = generateDataLakeSASQueryParameters(\n {\n fileSystemName: this.name,\n ...options,\n },\n userDelegationKey,\n this.accountName,\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the input user delegation key.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n\n public generateUserDelegationSasStringToSign(\n options: FileSystemGenerateSasUrlOptions,\n userDelegationKey: UserDelegationKey,\n ): string {\n return generateDataLakeSASQueryParametersInternal(\n {\n fileSystemName: this.name,\n ...options,\n },\n userDelegationKey,\n this.accountName,\n ).stringToSign;\n }\n}\n"]}
1
+ {"version":3,"file":"DataLakeFileSystemClient.js","sourceRoot":"","sources":["../../src/DataLakeFileSystemClient.ts"],"names":[],"mappings":";;;;AAIA,sDAAsD;AAEtD,+CAA4D;AAC5D,+FAAyF;AACzF,sDAA0D;AAC1D,qEAA+D;AAC/D,kEAA6F;AAmC7F,yDAAmD;AACnD,mDAAiG;AACjG,mDAAmD;AACnD,6DAMiC;AACjC,6CAA2E;AAC3E,uFAG6C;AAC7C,uDAA8E;AAC9E,yEAAmE;AAEnE;;;GAGG;AACH,MAAa,wBAAyB,SAAQ,gCAAa;IA4CzD,YACE,GAAW,EACX,oBAIY;IACZ,2FAA2F;IAC3F,iEAAiE;IACjE,OAAgC;QAEhC,IAAI,IAAA,4BAAc,EAAC,oBAAoB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,GAAG,EAAE,oBAAoB,CA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CAAC,IAAI,CAAC,UAAU,YAAY,0DAA0B,CAAC,EAAE,CAAC;YAC7D,MAAM,UAAU,CACd,uFAAuF,CACxF,CAAC;QACJ,CAAC;QAED,OAAO,IAAA,0EAA0C,kBAE7C,cAAc,EAAE,IAAI,CAAC,IAAI,IACtB,OAAO,GAEZ,IAAI,CAAC,UAAU,CAChB,CAAC,YAAY,CAAC;IACjB,CAAC;IAED;;;;;;;;;OASG;IACI,4BAA4B,CACjC,OAAwC,EACxC,iBAAoC;QAEpC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC7B,MAAM,GAAG,GAAG,IAAA,kEAAkC,kBAE1C,cAAc,EAAE,IAAI,CAAC,IAAI,IACtB,OAAO,GAEZ,iBAAiB,EACjB,IAAI,CAAC,WAAW,CACjB,CAAC,QAAQ,EAAE,CAAC;YAEb,OAAO,CAAC,IAAA,kCAAgB,EAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IAEI,qCAAqC,CAC1C,OAAwC,EACxC,iBAAoC;QAEpC,OAAO,IAAA,0EAA0C,kBAE7C,cAAc,EAAE,IAAI,CAAC,IAAI,IACtB,OAAO,GAEZ,iBAAiB,EACjB,IAAI,CAAC,WAAW,CACjB,CAAC,YAAY,CAAC;IACjB,CAAC;CACF;AA34BD,4DA24BC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { ContainerClient } from \"@azure/storage-blob\";\nimport type { Pipeline, StoragePipelineOptions } from \"./Pipeline.js\";\nimport { isPipelineLike, newPipeline } from \"./Pipeline.js\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential.js\";\nimport { AnonymousCredential } from \"@azure/storage-blob\";\nimport { DataLakeLeaseClient } from \"./DataLakeLeaseClient.js\";\nimport { FileSystemOperationsImpl as FileSystem } from \"./generated/src/operations/index.js\";\nimport type {\n AccessPolicy,\n FileSystemCreateOptions,\n FileSystemCreateResponse,\n FileSystemDeleteOptions,\n FileSystemDeleteResponse,\n FileSystemExistsOptions,\n FileSystemGetAccessPolicyOptions,\n FileSystemGetAccessPolicyResponse,\n FileSystemGetPropertiesOptions,\n FileSystemGetPropertiesResponse,\n FileSystemSetAccessPolicyOptions,\n FileSystemSetAccessPolicyResponse,\n FileSystemSetMetadataOptions,\n FileSystemSetMetadataResponse,\n ListPathsOptions,\n ListPathsSegmentOptions,\n Metadata,\n Path,\n PublicAccessType,\n SignedIdentifier,\n FileSystemListPathsResponse,\n FileSystemCreateIfNotExistsResponse,\n FileSystemDeleteIfExistsResponse,\n FileSystemGenerateSasUrlOptions,\n FileSystemListDeletedPathsResponse,\n ListDeletedPathsOptions,\n DeletedPath,\n FileSystemUndeletePathResponse,\n FileSystemUndeletePathOption,\n ListDeletedPathsSegmentOptions,\n PathUndeleteHeaders,\n UserDelegationKey,\n} from \"./models.js\";\nimport { StorageClient } from \"./StorageClient.js\";\nimport { toContainerPublicAccessType, toPublicAccessType, toPermissions } from \"./transforms.js\";\nimport { tracingClient } from \"./utils/tracing.js\";\nimport {\n appendToURLPath,\n appendToURLQuery,\n assertResponse,\n EscapePath,\n windowsFileTimeTicksToTime,\n} from \"./utils/utils.common.js\";\nimport { DataLakeFileClient, DataLakeDirectoryClient } from \"./clients.js\";\nimport {\n generateDataLakeSASQueryParameters,\n generateDataLakeSASQueryParametersInternal,\n} from \"./sas/DataLakeSASSignatureValues.js\";\nimport { DeletionIdKey, PathResultTypeConstants } from \"./utils/constants.js\";\nimport { PathClientInternal } from \"./utils/PathClientInternal.js\";\n\n/**\n * A DataLakeFileSystemClient represents a URL to the Azure Storage file system\n * allowing you to manipulate its directories and files.\n */\nexport class DataLakeFileSystemClient extends StorageClient {\n /**\n * fileSystemContext provided by protocol layer.\n */\n private fileSystemContext: FileSystem;\n\n /**\n * fileSystemContext provided by protocol layer.\n */\n private fileSystemContextToBlobEndpoint: FileSystem;\n\n /**\n * blobContainerClient provided by `@azure/storage-blob` package.\n */\n private blobContainerClient: ContainerClient;\n\n /**\n * Creates an instance of DataLakeFileSystemClient from url and credential.\n *\n * @param url - A Client string pointing to Azure Storage data lake file system, such as\n * \"https://myaccount.dfs.core.windows.net/filesystem\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.dfs.core.windows.net/filesystem?sasString\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: StoragePipelineOptions,\n );\n\n /**\n * Creates an instance of DataLakeFileSystemClient from url and pipeline.\n *\n * @param url - A Client string pointing to Azure Storage data lake file system, such as\n * \"https://myaccount.dfs.core.windows.net/filesystem\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.dfs.core.windows.net/filesystem?sasString\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: Pipeline);\n\n constructor(\n url: string,\n credentialOrPipeline?:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | Pipeline,\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: StoragePipelineOptions,\n ) {\n if (isPipelineLike(credentialOrPipeline)) {\n super(url, credentialOrPipeline);\n } else {\n let credential;\n if (credentialOrPipeline === undefined) {\n credential = new AnonymousCredential();\n } else {\n credential = credentialOrPipeline;\n }\n\n const pipeline = newPipeline(credential, options);\n super(url, pipeline);\n }\n\n this.fileSystemContext = new FileSystem(this.storageClientContext);\n this.fileSystemContextToBlobEndpoint = new FileSystem(this.storageClientContextToBlobEndpoint);\n this.blobContainerClient = new ContainerClient(this.blobEndpointUrl, this.pipeline);\n }\n\n /**\n * Name of current file system.\n *\n * @readonly\n */\n public get name(): string {\n return this.blobContainerClient.containerName;\n }\n\n /**\n * Creates a {@link DataLakeDirectoryClient} object under current file system.\n *\n * @param directoryName -\n */\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */\n public getDirectoryClient(directoryName: string): DataLakeDirectoryClient {\n return new DataLakeDirectoryClient(\n appendToURLPath(this.url, EscapePath(directoryName)),\n this.pipeline,\n );\n }\n\n /**\n * Creates a {@link DataLakeFileClient} object under current file system.\n *\n * @param fileName -\n */\n // Legacy, no way to fix the eslint error without breaking. Disable the rule for this line.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-subclients */\n public getFileClient(fileName: string): DataLakeFileClient {\n return new DataLakeFileClient(appendToURLPath(this.url, EscapePath(fileName)), this.pipeline);\n }\n\n /**\n * Get a {@link DataLakeLeaseClient} that manages leases on the file system.\n *\n * @param proposeLeaseId - Optional. Initial proposed lease Id.\n */\n public getDataLakeLeaseClient(proposeLeaseId?: string): DataLakeLeaseClient {\n return new DataLakeLeaseClient(this.blobContainerClient.getBlobLeaseClient(proposeLeaseId));\n }\n\n /**\n * Creates a new file system under the specified account. If the file system with\n * the same name already exists, the operation fails.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/create-container\n *\n * @param options - Optional. Options when creating file system.\n */\n public async create(options: FileSystemCreateOptions = {}): Promise<FileSystemCreateResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-create\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.create({\n ...options,\n access: toContainerPublicAccessType(options.access),\n tracingOptions: updatedOptions.tracingOptions,\n containerEncryptionScope: options.fileSystemEncryptionScope,\n });\n },\n );\n }\n\n /**\n * Creates a new file system under the specified account. If the file system with\n * the same name already exists, it is not changed.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/create-container\n *\n * @param options -\n */\n public async createIfNotExists(\n options: FileSystemCreateOptions = {},\n ): Promise<FileSystemCreateIfNotExistsResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-createIfNotExists\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.createIfNotExists({\n ...options,\n access: toContainerPublicAccessType(options.access),\n containerEncryptionScope: options.fileSystemEncryptionScope,\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * Returns true if the File system represented by this client exists; false otherwise.\n *\n * NOTE: use this function with care since an existing file system might be deleted by other clients or\n * applications. Vice versa new file system with the same name might be added by other clients or\n * applications after this function completes.\n *\n * @param options -\n */\n public async exists(options: FileSystemExistsOptions = {}): Promise<boolean> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-exists\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.exists(updatedOptions);\n },\n );\n }\n\n /**\n * Delete current file system.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/delete-container\n *\n * @param options - Optional. Options when deleting file system.\n */\n public async delete(options: FileSystemDeleteOptions = {}): Promise<FileSystemDeleteResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-delete\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.delete({\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * Delete current file system if it exists.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/delete-container\n *\n * @param options -\n */\n public async deleteIfExists(\n options: FileSystemDeleteOptions = {},\n ): Promise<FileSystemDeleteIfExistsResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-deleteIfExists\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.deleteIfExists(updatedOptions);\n },\n );\n }\n\n /**\n * Returns all user-defined metadata and system properties for the specified\n * file system.\n *\n * WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if\n * they originally contained uppercase characters. This differs from the metadata keys returned by\n * the `listFileSystems` method of {@link DataLakeServiceClient} using the `includeMetadata` option, which\n * will retain their original casing.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/get-container-properties\n *\n * @param options - Optional. Options when getting file system properties.\n */\n public async getProperties(\n options: FileSystemGetPropertiesOptions = {},\n ): Promise<FileSystemGetPropertiesResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-getProperties\",\n options,\n async (updatedOptions) => {\n const rawResponse = await this.blobContainerClient.getProperties({\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n // Transfer and rename blobPublicAccess to publicAccess\n const response = rawResponse as FileSystemGetPropertiesResponse;\n\n response.publicAccess = toPublicAccessType(rawResponse.blobPublicAccess);\n response._response.parsedHeaders.publicAccess = response.publicAccess;\n\n delete rawResponse.blobPublicAccess;\n delete rawResponse._response.parsedHeaders.blobPublicAccess;\n\n return response;\n },\n );\n }\n\n /**\n * Sets one or more user-defined name-value pairs for the specified file system.\n *\n * If no option provided, or no metadata defined in the parameter, the file system\n * metadata will be removed.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/set-container-metadata\n *\n * @param metadata - Replace existing metadata with this value.\n * If no value provided the existing metadata will be removed.\n * @param options - Optional. Options when setting file system metadata.\n */\n public async setMetadata(\n metadata?: Metadata,\n options: FileSystemSetMetadataOptions = {},\n ): Promise<FileSystemSetMetadataResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-setMetadata\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.setMetadata(metadata, {\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n });\n },\n );\n }\n\n /**\n * Gets the permissions for the specified file system. The permissions indicate\n * whether file system data may be accessed publicly.\n *\n * WARNING: JavaScript Date will potentially lose precision when parsing startsOn and expiresOn strings.\n * For example, new Date(\"2018-12-31T03:44:23.8827891Z\").toISOString() will get \"2018-12-31T03:44:23.882Z\".\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/get-container-acl\n *\n * @param options - Optional. Options when getting file system access policy.\n */\n public async getAccessPolicy(\n options: FileSystemGetAccessPolicyOptions = {},\n ): Promise<FileSystemGetAccessPolicyResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-getAccessPolicy\",\n options,\n async (updatedOptions) => {\n const rawResponse = await this.blobContainerClient.getAccessPolicy({\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n // Transfer and rename blobPublicAccess to publicAccess\n const response = rawResponse as unknown as FileSystemGetAccessPolicyResponse;\n\n response.publicAccess = toPublicAccessType(rawResponse.blobPublicAccess);\n response._response.parsedHeaders.publicAccess = response.publicAccess;\n\n delete rawResponse.blobPublicAccess;\n delete rawResponse._response.parsedHeaders.blobPublicAccess;\n\n return response;\n },\n );\n }\n\n /**\n * Sets the permissions for the specified file system. The permissions indicate\n * whether directories or files in a file system may be accessed publicly.\n *\n * When you set permissions for a file system, the existing permissions are replaced.\n * If no access or containerAcl provided, the existing file system ACL will be\n * removed.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/set-container-acl\n *\n * @param access - Optional. The level of public access to data in the file system.\n * @param fileSystemAcl - Optional. Array of elements each having a unique Id and details of the access policy.\n * @param options - Optional. Options when setting file system access policy.\n */\n public async setAccessPolicy(\n access?: PublicAccessType,\n fileSystemAcl?: SignedIdentifier<AccessPolicy>[],\n options: FileSystemSetAccessPolicyOptions = {},\n ): Promise<FileSystemSetAccessPolicyResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-setAccessPolicy\",\n options,\n async (updatedOptions) => {\n return this.blobContainerClient.setAccessPolicy(\n toContainerPublicAccessType(access),\n fileSystemAcl,\n {\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n },\n );\n },\n );\n }\n\n /**\n * Returns an async iterable iterator to list all the paths (directories and files)\n * under the specified file system.\n *\n * .byPage() returns an async iterable iterator to list the paths in pages.\n *\n * Example using `for await` syntax:\n *\n * ```ts snippet:ReadmeSampleListPaths\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * const paths = fileSystemClient.listPaths();\n * for await (const path of paths) {\n * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```ts snippet:ReadmeSampleListPaths_Iterator\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * const paths = fileSystemClient.listPaths();\n * let { value, done } = await paths.next();\n * while (!done) {\n * console.log(`Path ${i++}: ${value.name}, is directory: ${value.isDirectory}`);\n * ({ value, done } = await paths.next());\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```ts snippet:ReadmeSampleListPaths_ByPage\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * for await (const response of fileSystemClient.listPaths().byPage({ maxPageSize: 20 })) {\n * if (response.pathItems) {\n * for (const path of response.pathItems) {\n * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);\n * }\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```ts snippet:ReadmeSampleListPaths_Continuation\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * let paths = fileSystemClient.listPaths().byPage({ maxPageSize: 2 });\n * let response = (await paths.next()).value;\n * // Prints 2 paths\n * if (response.pathItems) {\n * for (const path of response.pathItems) {\n * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);\n * }\n * }\n * // Gets next marker\n * let marker = response.continuationToken;\n * // Passing next marker as continuationToken\n * paths = fileSystemClient.listPaths().byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await paths.next()).value;\n * // Prints 10 paths\n * if (response.pathItems) {\n * for (const path of response.pathItems) {\n * console.log(`Path ${i++}: ${path.name}, is directory: ${path.isDirectory}`);\n * }\n * }\n * ```\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/list-blobs\n *\n * @param options - Optional. Options when listing paths.\n */\n public listPaths(\n options: ListPathsOptions = {},\n ): PagedAsyncIterableIterator<Path, FileSystemListPathsResponse> {\n options.path = options.path === \"\" ? undefined : options.path;\n\n const iter = this.listItems(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings: PageSettings = {}) => {\n return this.listSegments(settings.continuationToken, {\n maxResults: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n private async *listItems(options: ListPathsSegmentOptions = {}): AsyncIterableIterator<Path> {\n for await (const response of this.listSegments(undefined, options)) {\n yield* response.pathItems || [];\n }\n }\n\n private async *listSegments(\n continuation?: string,\n options: ListPathsSegmentOptions = {},\n ): AsyncIterableIterator<FileSystemListPathsResponse> {\n let response;\n if (!!continuation || continuation === undefined) {\n do {\n response = await this.listPathsSegment(continuation, options);\n continuation = response.continuation;\n yield response;\n } while (continuation);\n }\n }\n\n private async listPathsSegment(\n continuation?: string,\n options: ListPathsSegmentOptions = {},\n ): Promise<FileSystemListPathsResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-listPathsSegment\",\n options,\n async (updatedOptions) => {\n const rawResponse = await this.fileSystemContext.listPaths(options.recursive || false, {\n continuation,\n ...updatedOptions,\n upn: options.userPrincipalName,\n });\n\n const response = rawResponse as FileSystemListPathsResponse;\n response.pathItems = [];\n for (const path of rawResponse.paths || []) {\n response.pathItems.push({\n ...path,\n permissions: toPermissions(path.permissions),\n createdOn: windowsFileTimeTicksToTime(path.creationTime),\n expiresOn: windowsFileTimeTicksToTime(path.expiryTime),\n });\n }\n delete rawResponse.paths;\n\n return response;\n },\n );\n }\n\n /**\n * Returns an async iterable iterator to list all the paths (directories and files)\n * under the specified file system.\n *\n * .byPage() returns an async iterable iterator to list the paths in pages.\n *\n * Example using `for await` syntax:\n *\n * ```ts snippet:ReadmeSampleListDeletedPaths\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * const deletedPaths = fileSystemClient.listDeletedPaths();\n * for await (const deletedPath of deletedPaths) {\n * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```ts snippet:ReadmeSampleListDeletedPaths_Iterator\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * const deletedPaths = fileSystemClient.listDeletedPaths();\n * let { value, done } = await deletedPaths.next();\n * while (!done) {\n * console.log(`Deleted path ${i++}: ${value.name}, deleted on: ${value.deletedOn}`);\n * ({ value, done } = await deletedPaths.next());\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```ts snippet:ReadmeSampleListDeletedPaths_ByPage\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * for await (const response of fileSystemClient.listDeletedPaths().byPage({ maxPageSize: 20 })) {\n * if (response.pathItems) {\n * for (const deletedPath of response.pathItems) {\n * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);\n * }\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```ts snippet:ReadmeSampleListDeletedPaths_Continuation\n * import { DataLakeServiceClient } from \"@azure/storage-file-datalake\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const account = \"<account>\";\n * const datalakeServiceClient = new DataLakeServiceClient(\n * `https://${account}.dfs.core.windows.net`,\n * new DefaultAzureCredential(),\n * );\n *\n * const fileSystemName = \"<file system name>\";\n * const fileSystemClient = datalakeServiceClient.getFileSystemClient(fileSystemName);\n *\n * let i = 1;\n * let deletedPaths = fileSystemClient.listDeletedPaths().byPage({ maxPageSize: 2 });\n * let response = (await deletedPaths.next()).value;\n * // Prints 2 deleted paths\n * if (response.deletedPathItems) {\n * for (const deletedPath of response.deletedPathItems) {\n * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);\n * }\n * }\n * // Gets next marker\n * let marker = response.continuationToken;\n * // Passing next marker as continuationToken\n * deletedPaths = fileSystemClient\n * .listDeletedPaths()\n * .byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await deletedPaths.next()).value;\n * // Prints 10 deleted paths\n * if (response.deletedPathItems) {\n * for (const deletedPath of response.deletedPathItems) {\n * console.log(`Deleted path ${i++}: ${deletedPath.name}, deleted on: ${deletedPath.deletedOn}`);\n * }\n * }\n * ```\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/list-blobs\n *\n * @param options - Optional. Options when listing deleted paths.\n */\n public listDeletedPaths(\n options: ListDeletedPathsOptions = {},\n ): PagedAsyncIterableIterator<DeletedPath, FileSystemListDeletedPathsResponse> {\n const iter = this.listDeletedItems(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings: PageSettings = {}) => {\n return this.listDeletedSegments(settings.continuationToken, {\n maxResults: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n private async *listDeletedItems(\n options: ListDeletedPathsOptions = {},\n ): AsyncIterableIterator<DeletedPath> {\n for await (const response of this.listDeletedSegments(undefined, options)) {\n yield* response.pathItems || [];\n }\n }\n\n private async *listDeletedSegments(\n continuation?: string,\n options: ListDeletedPathsSegmentOptions = {},\n ): AsyncIterableIterator<FileSystemListDeletedPathsResponse> {\n let response;\n if (!!continuation || continuation === undefined) {\n do {\n response = await this.listDeletedPathsSegment(continuation, options);\n continuation = response.continuation;\n yield response;\n } while (continuation);\n }\n }\n\n private async listDeletedPathsSegment(\n continuation?: string,\n options: ListDeletedPathsSegmentOptions = {},\n ): Promise<FileSystemListDeletedPathsResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-listDeletedPathsSegment\",\n options,\n async (updatedOptions) => {\n const rawResponse = await this.fileSystemContextToBlobEndpoint.listBlobHierarchySegment({\n marker: continuation,\n ...updatedOptions,\n prefix: options.prefix === \"\" ? undefined : options.prefix,\n });\n\n const response = rawResponse as FileSystemListDeletedPathsResponse;\n response.pathItems = [];\n for (const path of rawResponse.segment.blobItems || []) {\n response.pathItems.push({\n name: path.name,\n deletionId: path.deletionId,\n deletedOn: path.properties.deletedTime,\n remainingRetentionDays: path.properties.remainingRetentionDays,\n });\n }\n\n if (response.nextMarker) {\n response.continuation = response.nextMarker;\n }\n\n return response;\n },\n );\n }\n\n /**\n * Restores a soft deleted path.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/undelete-blob\n *\n * @param deletedPath - Required. The path of the deleted path.\n *\n * @param deletionId - Required. The deletion ID associated with the soft deleted path.\n *\n */\n\n public async undeletePath(\n deletedPath: string,\n deletionId: string,\n options: FileSystemUndeletePathOption = {},\n ): Promise<FileSystemUndeletePathResponse> {\n return tracingClient.withSpan(\n \"DataLakeFileSystemClient-undeletePath\",\n options,\n async (updatedOptions) => {\n const pathClient = new PathClientInternal(\n appendToURLPath(this.blobEndpointUrl, EscapePath(deletedPath)),\n this.pipeline,\n );\n\n const rawResponse = assertResponse<PathUndeleteHeaders, PathUndeleteHeaders>(\n await pathClient.blobPathContext.undelete({\n undeleteSource: \"?\" + DeletionIdKey + \"=\" + deletionId,\n ...options,\n tracingOptions: updatedOptions.tracingOptions,\n }),\n );\n\n if (rawResponse.resourceType === PathResultTypeConstants.DirectoryResourceType) {\n return {\n pathClient: this.getDirectoryClient(deletedPath),\n ...rawResponse,\n };\n } else {\n return {\n pathClient: this.getFileClient(deletedPath),\n ...rawResponse,\n };\n }\n },\n );\n }\n\n /**\n * Only available for DataLakeFileSystemClient constructed with a shared key credential.\n *\n * Generates a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateSasUrl(options: FileSystemGenerateSasUrlOptions): Promise<string> {\n return new Promise((resolve) => {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\",\n );\n }\n\n const sas = generateDataLakeSASQueryParameters(\n {\n fileSystemName: this.name,\n ...options,\n },\n this.credential,\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Only available for DataLakeFileSystemClient constructed with a shared key credential.\n *\n * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n public generateSasStringToSign(options: FileSystemGenerateSasUrlOptions): string {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\",\n );\n }\n\n return generateDataLakeSASQueryParametersInternal(\n {\n fileSystemName: this.name,\n ...options,\n },\n this.credential,\n ).stringToSign;\n }\n\n /**\n * Generates a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the input user delegation key.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateUserDelegationSasUrl(\n options: FileSystemGenerateSasUrlOptions,\n userDelegationKey: UserDelegationKey,\n ): Promise<string> {\n return new Promise((resolve) => {\n const sas = generateDataLakeSASQueryParameters(\n {\n fileSystemName: this.name,\n ...options,\n },\n userDelegationKey,\n this.accountName,\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the input user delegation key.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n\n public generateUserDelegationSasStringToSign(\n options: FileSystemGenerateSasUrlOptions,\n userDelegationKey: UserDelegationKey,\n ): string {\n return generateDataLakeSASQueryParametersInternal(\n {\n fileSystemName: this.name,\n ...options,\n },\n userDelegationKey,\n this.accountName,\n ).stringToSign;\n }\n}\n"]}
@@ -100,7 +100,7 @@ export declare class DataLakeServiceClient extends StorageClient {
100
100
  * accountName,
101
101
  * ).toString();
102
102
  * ```
103
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-user-delegation-key
103
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-user-delegation-key
104
104
  *
105
105
  * @param startsOn - The start time for the user delegation SAS. Must be within 7 days of the current time.
106
106
  * @param expiresOn - The end time for the user delegation SAS. Must be within 7 days of the current time.
@@ -211,7 +211,7 @@ export declare class DataLakeServiceClient extends StorageClient {
211
211
  * }
212
212
  * ```
213
213
  *
214
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/list-containers2
214
+ * @see https://learn.microsoft.com/rest/api/storageservices/list-containers2
215
215
  *
216
216
  * @param options -
217
217
  */
@@ -222,7 +222,7 @@ export declare class DataLakeServiceClient extends StorageClient {
222
222
  * Generates an account Shared Access Signature (SAS) URI based on the client properties
223
223
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
224
224
  *
225
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas
225
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-account-sas
226
226
  *
227
227
  * @param expiresOn - Optional. The time at which the shared access signature becomes invalid. Default to an hour later if not specified.
228
228
  * @param permissions - Specifies the list of permissions to be associated with the SAS.
@@ -237,7 +237,7 @@ export declare class DataLakeServiceClient extends StorageClient {
237
237
  * Generates string to sign for an account Shared Access Signature (SAS) based on the client properties
238
238
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
239
239
  *
240
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas
240
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-account-sas
241
241
  *
242
242
  * @param expiresOn - Optional. The time at which the shared access signature becomes invalid. Default to an hour later if not specified.
243
243
  * @param permissions - Specifies the list of permissions to be associated with the SAS.
@@ -261,7 +261,7 @@ export declare class DataLakeServiceClient extends StorageClient {
261
261
  /**
262
262
  * Gets the properties of a storage account’s Blob service endpoint, including properties
263
263
  * for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
264
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-service-properties
264
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-blob-service-properties
265
265
  *
266
266
  * @param options - Options to the Service Get Properties operation.
267
267
  * @returns Response data for the Service Get Properties operation.
@@ -270,7 +270,7 @@ export declare class DataLakeServiceClient extends StorageClient {
270
270
  /**
271
271
  * Sets properties for a storage account’s Blob service endpoint, including properties
272
272
  * for Storage Analytics, CORS (Cross-Origin Resource Sharing) rules and soft delete settings.
273
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-service-properties
273
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-blob-service-properties
274
274
  *
275
275
  * @param properties -
276
276
  * @param options - Options to the Service Set Properties operation.
@@ -135,7 +135,7 @@ class DataLakeServiceClient extends StorageClient_js_1.StorageClient {
135
135
  * accountName,
136
136
  * ).toString();
137
137
  * ```
138
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-user-delegation-key
138
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-user-delegation-key
139
139
  *
140
140
  * @param startsOn - The start time for the user delegation SAS. Must be within 7 days of the current time.
141
141
  * @param expiresOn - The end time for the user delegation SAS. Must be within 7 days of the current time.
@@ -250,7 +250,7 @@ class DataLakeServiceClient extends StorageClient_js_1.StorageClient {
250
250
  * }
251
251
  * ```
252
252
  *
253
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/list-containers2
253
+ * @see https://learn.microsoft.com/rest/api/storageservices/list-containers2
254
254
  *
255
255
  * @param options -
256
256
  */
@@ -269,7 +269,7 @@ class DataLakeServiceClient extends StorageClient_js_1.StorageClient {
269
269
  * Generates an account Shared Access Signature (SAS) URI based on the client properties
270
270
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
271
271
  *
272
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas
272
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-account-sas
273
273
  *
274
274
  * @param expiresOn - Optional. The time at which the shared access signature becomes invalid. Default to an hour later if not specified.
275
275
  * @param permissions - Specifies the list of permissions to be associated with the SAS.
@@ -296,7 +296,7 @@ class DataLakeServiceClient extends StorageClient_js_1.StorageClient {
296
296
  * Generates string to sign for an account Shared Access Signature (SAS) based on the client properties
297
297
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
298
298
  *
299
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas
299
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-account-sas
300
300
  *
301
301
  * @param expiresOn - Optional. The time at which the shared access signature becomes invalid. Default to an hour later if not specified.
302
302
  * @param permissions - Specifies the list of permissions to be associated with the SAS.
@@ -337,7 +337,7 @@ class DataLakeServiceClient extends StorageClient_js_1.StorageClient {
337
337
  /**
338
338
  * Gets the properties of a storage account’s Blob service endpoint, including properties
339
339
  * for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
340
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-service-properties
340
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-blob-service-properties
341
341
  *
342
342
  * @param options - Options to the Service Get Properties operation.
343
343
  * @returns Response data for the Service Get Properties operation.
@@ -353,7 +353,7 @@ class DataLakeServiceClient extends StorageClient_js_1.StorageClient {
353
353
  /**
354
354
  * Sets properties for a storage account’s Blob service endpoint, including properties
355
355
  * for Storage Analytics, CORS (Cross-Origin Resource Sharing) rules and soft delete settings.
356
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-service-properties
356
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-blob-service-properties
357
357
  *
358
358
  * @param properties -
359
359
  * @param options - Options to the Service Set Properties operation.