@azure/storage-file-datalake 12.28.1 → 12.29.0-alpha.20251128.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/DataLakeFileSystemClient.d.ts +2 -1
- package/dist/browser/DataLakeFileSystemClient.d.ts.map +1 -1
- package/dist/browser/DataLakeFileSystemClient.js +1 -0
- package/dist/browser/DataLakeFileSystemClient.js.map +1 -1
- package/dist/browser/clients.d.ts +2 -1
- package/dist/browser/clients.d.ts.map +1 -1
- package/dist/browser/clients.js.map +1 -1
- package/dist/browser/generated/src/models/index.d.ts +41 -19
- package/dist/browser/generated/src/models/index.d.ts.map +1 -1
- package/dist/browser/generated/src/models/index.js.map +1 -1
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/browser/generated/src/models/mappers.js +757 -715
- package/dist/browser/generated/src/models/mappers.js.map +1 -1
- package/dist/browser/generated/src/models/parameters.d.ts +3 -0
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/browser/generated/src/models/parameters.js +299 -269
- package/dist/browser/generated/src/models/parameters.js.map +1 -1
- package/dist/browser/generated/src/operations/fileSystemOperations.d.ts +2 -2
- package/dist/browser/generated/src/operations/fileSystemOperations.js +35 -34
- package/dist/browser/generated/src/operations/fileSystemOperations.js.map +1 -1
- package/dist/browser/generated/src/operations/pathOperations.d.ts +6 -6
- package/dist/browser/generated/src/operations/pathOperations.js +83 -79
- package/dist/browser/generated/src/operations/pathOperations.js.map +1 -1
- package/dist/browser/generated/src/operations/service.js +6 -6
- package/dist/browser/generated/src/operations/service.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/fileSystemOperations.d.ts +2 -2
- package/dist/browser/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/pathOperations.d.ts +6 -6
- package/dist/browser/generated/src/operationsInterfaces/pathOperations.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/browser/generated/src/storageClient.js +6 -6
- package/dist/browser/generated/src/storageClient.js.map +1 -1
- package/dist/browser/index-browser.d.mts.map +1 -1
- package/dist/browser/index-browser.mjs.map +1 -1
- package/dist/browser/index.d.ts +1 -0
- package/dist/browser/models.d.ts +7 -9
- package/dist/browser/models.d.ts.map +1 -1
- package/dist/browser/models.js.map +1 -1
- package/dist/browser/sas/DataLakeSASSignatureValues.d.ts +7 -1
- package/dist/browser/sas/DataLakeSASSignatureValues.d.ts.map +1 -1
- package/dist/browser/sas/DataLakeSASSignatureValues.js +3 -3
- package/dist/browser/sas/DataLakeSASSignatureValues.js.map +1 -1
- package/dist/browser/sas/SASQueryParameters.d.ts +14 -2
- package/dist/browser/sas/SASQueryParameters.d.ts.map +1 -1
- package/dist/browser/sas/SASQueryParameters.js +13 -1
- package/dist/browser/sas/SASQueryParameters.js.map +1 -1
- package/dist/browser/utils/constants.d.ts.map +1 -1
- package/dist/browser/utils/constants.js +2 -2
- package/dist/browser/utils/constants.js.map +1 -1
- package/dist/commonjs/DataLakeFileSystemClient.d.ts +2 -1
- package/dist/commonjs/DataLakeFileSystemClient.d.ts.map +1 -1
- package/dist/commonjs/DataLakeFileSystemClient.js +1 -0
- package/dist/commonjs/DataLakeFileSystemClient.js.map +1 -1
- package/dist/commonjs/clients.d.ts +2 -1
- package/dist/commonjs/clients.d.ts.map +1 -1
- package/dist/commonjs/clients.js.map +1 -1
- package/dist/commonjs/generated/src/models/index.d.ts +41 -19
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/index.js.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.js +757 -715
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts +3 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.js +301 -271
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
- package/dist/commonjs/generated/src/operations/fileSystemOperations.d.ts +2 -2
- package/dist/commonjs/generated/src/operations/fileSystemOperations.js +35 -34
- package/dist/commonjs/generated/src/operations/fileSystemOperations.js.map +1 -1
- package/dist/commonjs/generated/src/operations/pathOperations.d.ts +6 -6
- package/dist/commonjs/generated/src/operations/pathOperations.js +83 -79
- package/dist/commonjs/generated/src/operations/pathOperations.js.map +1 -1
- package/dist/commonjs/generated/src/operations/service.js +6 -6
- package/dist/commonjs/generated/src/operations/service.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.d.ts +2 -2
- package/dist/commonjs/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.d.ts +6 -6
- package/dist/commonjs/generated/src/operationsInterfaces/pathOperations.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/commonjs/generated/src/storageClient.js +5 -5
- package/dist/commonjs/generated/src/storageClient.js.map +1 -1
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models.d.ts +7 -9
- package/dist/commonjs/models.d.ts.map +1 -1
- package/dist/commonjs/models.js.map +1 -1
- package/dist/commonjs/sas/DataLakeSASSignatureValues.d.ts +7 -1
- package/dist/commonjs/sas/DataLakeSASSignatureValues.d.ts.map +1 -1
- package/dist/commonjs/sas/DataLakeSASSignatureValues.js +4 -4
- package/dist/commonjs/sas/DataLakeSASSignatureValues.js.map +1 -1
- package/dist/commonjs/sas/SASQueryParameters.d.ts +14 -2
- package/dist/commonjs/sas/SASQueryParameters.d.ts.map +1 -1
- package/dist/commonjs/sas/SASQueryParameters.js +13 -1
- package/dist/commonjs/sas/SASQueryParameters.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/utils/constants.d.ts.map +1 -1
- package/dist/commonjs/utils/constants.js +2 -2
- package/dist/commonjs/utils/constants.js.map +1 -1
- package/dist/esm/DataLakeFileSystemClient.d.ts +2 -1
- package/dist/esm/DataLakeFileSystemClient.d.ts.map +1 -1
- package/dist/esm/DataLakeFileSystemClient.js +1 -0
- package/dist/esm/DataLakeFileSystemClient.js.map +1 -1
- package/dist/esm/clients.d.ts +2 -1
- package/dist/esm/clients.d.ts.map +1 -1
- package/dist/esm/clients.js.map +1 -1
- package/dist/esm/generated/src/models/index.d.ts +41 -19
- package/dist/esm/generated/src/models/index.d.ts.map +1 -1
- package/dist/esm/generated/src/models/index.js.map +1 -1
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/esm/generated/src/models/mappers.js +757 -715
- package/dist/esm/generated/src/models/mappers.js.map +1 -1
- package/dist/esm/generated/src/models/parameters.d.ts +3 -0
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/esm/generated/src/models/parameters.js +299 -269
- package/dist/esm/generated/src/models/parameters.js.map +1 -1
- package/dist/esm/generated/src/operations/fileSystemOperations.d.ts +2 -2
- package/dist/esm/generated/src/operations/fileSystemOperations.js +35 -34
- package/dist/esm/generated/src/operations/fileSystemOperations.js.map +1 -1
- package/dist/esm/generated/src/operations/pathOperations.d.ts +6 -6
- package/dist/esm/generated/src/operations/pathOperations.js +83 -79
- package/dist/esm/generated/src/operations/pathOperations.js.map +1 -1
- package/dist/esm/generated/src/operations/service.js +6 -6
- package/dist/esm/generated/src/operations/service.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.d.ts +2 -2
- package/dist/esm/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/pathOperations.d.ts +6 -6
- package/dist/esm/generated/src/operationsInterfaces/pathOperations.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/esm/generated/src/storageClient.js +6 -6
- package/dist/esm/generated/src/storageClient.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models.d.ts +7 -9
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/models.js.map +1 -1
- package/dist/esm/sas/DataLakeSASSignatureValues.d.ts +7 -1
- package/dist/esm/sas/DataLakeSASSignatureValues.d.ts.map +1 -1
- package/dist/esm/sas/DataLakeSASSignatureValues.js +3 -3
- package/dist/esm/sas/DataLakeSASSignatureValues.js.map +1 -1
- package/dist/esm/sas/SASQueryParameters.d.ts +14 -2
- package/dist/esm/sas/SASQueryParameters.d.ts.map +1 -1
- package/dist/esm/sas/SASQueryParameters.js +13 -1
- package/dist/esm/sas/SASQueryParameters.js.map +1 -1
- package/dist/esm/utils/constants.d.ts.map +1 -1
- package/dist/esm/utils/constants.js +2 -2
- package/dist/esm/utils/constants.js.map +1 -1
- package/dist/react-native/DataLakeFileSystemClient.d.ts +2 -1
- package/dist/react-native/DataLakeFileSystemClient.d.ts.map +1 -1
- package/dist/react-native/DataLakeFileSystemClient.js +1 -0
- package/dist/react-native/DataLakeFileSystemClient.js.map +1 -1
- package/dist/react-native/clients.d.ts +2 -1
- package/dist/react-native/clients.d.ts.map +1 -1
- package/dist/react-native/clients.js.map +1 -1
- package/dist/react-native/generated/src/models/index.d.ts +41 -19
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/index.js.map +1 -1
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/mappers.js +757 -715
- package/dist/react-native/generated/src/models/mappers.js.map +1 -1
- package/dist/react-native/generated/src/models/parameters.d.ts +3 -0
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/parameters.js +299 -269
- package/dist/react-native/generated/src/models/parameters.js.map +1 -1
- package/dist/react-native/generated/src/operations/fileSystemOperations.d.ts +2 -2
- package/dist/react-native/generated/src/operations/fileSystemOperations.js +35 -34
- package/dist/react-native/generated/src/operations/fileSystemOperations.js.map +1 -1
- package/dist/react-native/generated/src/operations/pathOperations.d.ts +6 -6
- package/dist/react-native/generated/src/operations/pathOperations.js +83 -79
- package/dist/react-native/generated/src/operations/pathOperations.js.map +1 -1
- package/dist/react-native/generated/src/operations/service.js +6 -6
- package/dist/react-native/generated/src/operations/service.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.d.ts +2 -2
- package/dist/react-native/generated/src/operationsInterfaces/fileSystemOperations.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/pathOperations.d.ts +6 -6
- package/dist/react-native/generated/src/operationsInterfaces/pathOperations.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/react-native/generated/src/storageClient.js +6 -6
- package/dist/react-native/generated/src/storageClient.js.map +1 -1
- package/dist/react-native/index.d.ts +1 -0
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models.d.ts +7 -9
- package/dist/react-native/models.d.ts.map +1 -1
- package/dist/react-native/models.js.map +1 -1
- package/dist/react-native/sas/DataLakeSASSignatureValues.d.ts +7 -1
- package/dist/react-native/sas/DataLakeSASSignatureValues.d.ts.map +1 -1
- package/dist/react-native/sas/DataLakeSASSignatureValues.js +3 -3
- package/dist/react-native/sas/DataLakeSASSignatureValues.js.map +1 -1
- package/dist/react-native/sas/SASQueryParameters.d.ts +14 -2
- package/dist/react-native/sas/SASQueryParameters.d.ts.map +1 -1
- package/dist/react-native/sas/SASQueryParameters.js +13 -1
- package/dist/react-native/sas/SASQueryParameters.js.map +1 -1
- package/dist/react-native/utils/constants.d.ts.map +1 -1
- package/dist/react-native/utils/constants.js +2 -2
- package/dist/react-native/utils/constants.js.map +1 -1
- package/package.json +27 -27
- package/dist/browser/credentials/UserDelegationKeyCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/UserDelegationKeyCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/UserDelegationKeyCredential.d.ts +0 -3
- package/dist/browser/credentials/UserDelegationKeyCredential.js +0 -5
- package/dist/commonjs/credentials/UserDelegationKeyCredential.d.ts +0 -34
- package/dist/commonjs/credentials/UserDelegationKeyCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/UserDelegationKeyCredential.js +0 -47
- package/dist/commonjs/credentials/UserDelegationKeyCredential.js.map +0 -1
- package/dist/esm/credentials/UserDelegationKeyCredential.d.ts +0 -34
- package/dist/esm/credentials/UserDelegationKeyCredential.d.ts.map +0 -1
- package/dist/esm/credentials/UserDelegationKeyCredential.js +0 -43
- package/dist/esm/credentials/UserDelegationKeyCredential.js.map +0 -1
- package/dist/react-native/credentials/UserDelegationKeyCredential.d.ts +0 -34
- package/dist/react-native/credentials/UserDelegationKeyCredential.d.ts.map +0 -1
- package/dist/react-native/credentials/UserDelegationKeyCredential.js +0 -43
- package/dist/react-native/credentials/UserDelegationKeyCredential.js.map +0 -1
|
@@ -26,7 +26,7 @@ class PathOperationsImpl {
|
|
|
26
26
|
* Create or rename a file or directory. By default, the destination is overwritten and if the
|
|
27
27
|
* destination already exists and has a lease the lease is broken. This operation supports conditional
|
|
28
28
|
* HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service
|
|
29
|
-
* Operations](https://
|
|
29
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
30
30
|
* To fail if the destination already exists, use a conditional request with If-None-Match: "*".
|
|
31
31
|
* @param options The options parameters.
|
|
32
32
|
*/
|
|
@@ -39,7 +39,7 @@ class PathOperationsImpl {
|
|
|
39
39
|
* appended to a file. Concurrent writes to the same file using multiple clients are not supported.
|
|
40
40
|
* This operation supports conditional HTTP requests. For more information, see [Specifying Conditional
|
|
41
41
|
* Headers for Blob Service
|
|
42
|
-
* Operations](https://
|
|
42
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
43
43
|
* @param action The action must be "append" to upload data to be appended to a file, "flush" to flush
|
|
44
44
|
* previously uploaded data to a file, "setProperties" to set the properties of a file or directory,
|
|
45
45
|
* "setAccessControl" to set the owner, group, permissions, or access control list for a file or
|
|
@@ -60,7 +60,7 @@ class PathOperationsImpl {
|
|
|
60
60
|
* Create and manage a lease to restrict write and delete access to the path. This operation supports
|
|
61
61
|
* conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob
|
|
62
62
|
* Service
|
|
63
|
-
* Operations](https://
|
|
63
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
64
64
|
* @param xMsLeaseAction There are five lease actions: "acquire", "break", "change", "renew", and
|
|
65
65
|
* "release". Use "acquire" and specify the "x-ms-proposed-lease-id" and "x-ms-lease-duration" to
|
|
66
66
|
* acquire a new lease. Use "break" to break an existing lease. When a lease is broken, the lease break
|
|
@@ -79,7 +79,7 @@ class PathOperationsImpl {
|
|
|
79
79
|
* Read the contents of a file. For read operations, range requests are supported. This operation
|
|
80
80
|
* supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for
|
|
81
81
|
* Blob Service
|
|
82
|
-
* Operations](https://
|
|
82
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
83
83
|
* @param options The options parameters.
|
|
84
84
|
*/
|
|
85
85
|
read(options) {
|
|
@@ -90,7 +90,7 @@ class PathOperationsImpl {
|
|
|
90
90
|
* system defined properties for a path. Get Access Control List returns the access control list for a
|
|
91
91
|
* path. This operation supports conditional HTTP requests. For more information, see [Specifying
|
|
92
92
|
* Conditional Headers for Blob Service
|
|
93
|
-
* Operations](https://
|
|
93
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
94
94
|
* @param options The options parameters.
|
|
95
95
|
*/
|
|
96
96
|
getProperties(options) {
|
|
@@ -99,7 +99,7 @@ class PathOperationsImpl {
|
|
|
99
99
|
/**
|
|
100
100
|
* Delete the file or directory. This operation supports conditional HTTP requests. For more
|
|
101
101
|
* information, see [Specifying Conditional Headers for Blob Service
|
|
102
|
-
* Operations](https://
|
|
102
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
103
103
|
* @param options The options parameters.
|
|
104
104
|
*/
|
|
105
105
|
delete(options) {
|
|
@@ -161,18 +161,18 @@ const createOperationSpec = {
|
|
|
161
161
|
httpMethod: "PUT",
|
|
162
162
|
responses: {
|
|
163
163
|
201: {
|
|
164
|
-
headersMapper: Mappers.PathCreateHeaders
|
|
164
|
+
headersMapper: Mappers.PathCreateHeaders,
|
|
165
165
|
},
|
|
166
166
|
default: {
|
|
167
167
|
bodyMapper: Mappers.StorageError,
|
|
168
|
-
headersMapper: Mappers.PathCreateExceptionHeaders
|
|
169
|
-
}
|
|
168
|
+
headersMapper: Mappers.PathCreateExceptionHeaders,
|
|
169
|
+
},
|
|
170
170
|
},
|
|
171
171
|
queryParameters: [
|
|
172
172
|
Parameters.continuation,
|
|
173
173
|
Parameters.timeout,
|
|
174
174
|
Parameters.resource2,
|
|
175
|
-
Parameters.mode
|
|
175
|
+
Parameters.mode,
|
|
176
176
|
],
|
|
177
177
|
urlParameters: [Parameters.url],
|
|
178
178
|
headerParameters: [
|
|
@@ -208,9 +208,9 @@ const createOperationSpec = {
|
|
|
208
208
|
Parameters.leaseDuration,
|
|
209
209
|
Parameters.expiryOptions,
|
|
210
210
|
Parameters.expiresOn,
|
|
211
|
-
Parameters.encryptionContext
|
|
211
|
+
Parameters.encryptionContext,
|
|
212
212
|
],
|
|
213
|
-
serializer
|
|
213
|
+
serializer,
|
|
214
214
|
};
|
|
215
215
|
const updateOperationSpec = {
|
|
216
216
|
path: "/{filesystem}/{path}",
|
|
@@ -218,15 +218,15 @@ const updateOperationSpec = {
|
|
|
218
218
|
responses: {
|
|
219
219
|
200: {
|
|
220
220
|
bodyMapper: Mappers.SetAccessControlRecursiveResponse,
|
|
221
|
-
headersMapper: Mappers.PathUpdateHeaders
|
|
221
|
+
headersMapper: Mappers.PathUpdateHeaders,
|
|
222
222
|
},
|
|
223
223
|
202: {
|
|
224
|
-
headersMapper: Mappers.PathUpdateHeaders
|
|
224
|
+
headersMapper: Mappers.PathUpdateHeaders,
|
|
225
225
|
},
|
|
226
226
|
default: {
|
|
227
227
|
bodyMapper: Mappers.StorageError,
|
|
228
|
-
headersMapper: Mappers.PathUpdateExceptionHeaders
|
|
229
|
-
}
|
|
228
|
+
headersMapper: Mappers.PathUpdateExceptionHeaders,
|
|
229
|
+
},
|
|
230
230
|
},
|
|
231
231
|
requestBody: Parameters.body,
|
|
232
232
|
queryParameters: [
|
|
@@ -238,7 +238,7 @@ const updateOperationSpec = {
|
|
|
238
238
|
Parameters.forceFlag,
|
|
239
239
|
Parameters.position,
|
|
240
240
|
Parameters.retainUncommittedData,
|
|
241
|
-
Parameters.close
|
|
241
|
+
Parameters.close,
|
|
242
242
|
],
|
|
243
243
|
urlParameters: [Parameters.url],
|
|
244
244
|
headerParameters: [
|
|
@@ -262,28 +262,30 @@ const updateOperationSpec = {
|
|
|
262
262
|
Parameters.contentType1,
|
|
263
263
|
Parameters.accept2,
|
|
264
264
|
Parameters.contentLength,
|
|
265
|
-
Parameters.contentMD5
|
|
265
|
+
Parameters.contentMD5,
|
|
266
|
+
Parameters.structuredBodyType,
|
|
267
|
+
Parameters.structuredContentLength,
|
|
266
268
|
],
|
|
267
269
|
mediaType: "binary",
|
|
268
|
-
serializer
|
|
270
|
+
serializer,
|
|
269
271
|
};
|
|
270
272
|
const leaseOperationSpec = {
|
|
271
273
|
path: "/{filesystem}/{path}",
|
|
272
274
|
httpMethod: "POST",
|
|
273
275
|
responses: {
|
|
274
276
|
200: {
|
|
275
|
-
headersMapper: Mappers.PathLeaseHeaders
|
|
277
|
+
headersMapper: Mappers.PathLeaseHeaders,
|
|
276
278
|
},
|
|
277
279
|
201: {
|
|
278
|
-
headersMapper: Mappers.PathLeaseHeaders
|
|
280
|
+
headersMapper: Mappers.PathLeaseHeaders,
|
|
279
281
|
},
|
|
280
282
|
202: {
|
|
281
|
-
headersMapper: Mappers.PathLeaseHeaders
|
|
283
|
+
headersMapper: Mappers.PathLeaseHeaders,
|
|
282
284
|
},
|
|
283
285
|
default: {
|
|
284
286
|
bodyMapper: Mappers.StorageError,
|
|
285
|
-
headersMapper: Mappers.PathLeaseExceptionHeaders
|
|
286
|
-
}
|
|
287
|
+
headersMapper: Mappers.PathLeaseExceptionHeaders,
|
|
288
|
+
},
|
|
287
289
|
},
|
|
288
290
|
queryParameters: [Parameters.timeout],
|
|
289
291
|
urlParameters: [Parameters.url],
|
|
@@ -299,9 +301,9 @@ const leaseOperationSpec = {
|
|
|
299
301
|
Parameters.proposedLeaseId,
|
|
300
302
|
Parameters.xMsLeaseAction,
|
|
301
303
|
Parameters.xMsLeaseDuration,
|
|
302
|
-
Parameters.xMsLeaseBreakPeriod
|
|
304
|
+
Parameters.xMsLeaseBreakPeriod,
|
|
303
305
|
],
|
|
304
|
-
serializer
|
|
306
|
+
serializer,
|
|
305
307
|
};
|
|
306
308
|
const readOperationSpec = {
|
|
307
309
|
path: "/{filesystem}/{path}",
|
|
@@ -310,21 +312,21 @@ const readOperationSpec = {
|
|
|
310
312
|
200: {
|
|
311
313
|
bodyMapper: {
|
|
312
314
|
type: { name: "Stream" },
|
|
313
|
-
serializedName: "parsedResponse"
|
|
315
|
+
serializedName: "parsedResponse",
|
|
314
316
|
},
|
|
315
|
-
headersMapper: Mappers.PathReadHeaders
|
|
317
|
+
headersMapper: Mappers.PathReadHeaders,
|
|
316
318
|
},
|
|
317
319
|
206: {
|
|
318
320
|
bodyMapper: {
|
|
319
321
|
type: { name: "Stream" },
|
|
320
|
-
serializedName: "parsedResponse"
|
|
322
|
+
serializedName: "parsedResponse",
|
|
321
323
|
},
|
|
322
|
-
headersMapper: Mappers.PathReadHeaders
|
|
324
|
+
headersMapper: Mappers.PathReadHeaders,
|
|
323
325
|
},
|
|
324
326
|
default: {
|
|
325
327
|
bodyMapper: Mappers.StorageError,
|
|
326
|
-
headersMapper: Mappers.PathReadExceptionHeaders
|
|
327
|
-
}
|
|
328
|
+
headersMapper: Mappers.PathReadExceptionHeaders,
|
|
329
|
+
},
|
|
328
330
|
},
|
|
329
331
|
queryParameters: [Parameters.timeout],
|
|
330
332
|
urlParameters: [Parameters.url],
|
|
@@ -341,21 +343,21 @@ const readOperationSpec = {
|
|
|
341
343
|
Parameters.encryptionKeySha256,
|
|
342
344
|
Parameters.encryptionAlgorithm,
|
|
343
345
|
Parameters.range,
|
|
344
|
-
Parameters.xMsRangeGetContentMd5
|
|
346
|
+
Parameters.xMsRangeGetContentMd5,
|
|
345
347
|
],
|
|
346
|
-
serializer
|
|
348
|
+
serializer,
|
|
347
349
|
};
|
|
348
350
|
const getPropertiesOperationSpec = {
|
|
349
351
|
path: "/{filesystem}/{path}",
|
|
350
352
|
httpMethod: "HEAD",
|
|
351
353
|
responses: {
|
|
352
354
|
200: {
|
|
353
|
-
headersMapper: Mappers.PathGetPropertiesHeaders
|
|
355
|
+
headersMapper: Mappers.PathGetPropertiesHeaders,
|
|
354
356
|
},
|
|
355
357
|
default: {
|
|
356
358
|
bodyMapper: Mappers.StorageError,
|
|
357
|
-
headersMapper: Mappers.PathGetPropertiesExceptionHeaders
|
|
358
|
-
}
|
|
359
|
+
headersMapper: Mappers.PathGetPropertiesExceptionHeaders,
|
|
360
|
+
},
|
|
359
361
|
},
|
|
360
362
|
queryParameters: [Parameters.timeout, Parameters.upn, Parameters.action1],
|
|
361
363
|
urlParameters: [Parameters.url],
|
|
@@ -367,30 +369,30 @@ const getPropertiesOperationSpec = {
|
|
|
367
369
|
Parameters.ifUnmodifiedSince,
|
|
368
370
|
Parameters.leaseId,
|
|
369
371
|
Parameters.ifMatch,
|
|
370
|
-
Parameters.ifNoneMatch
|
|
372
|
+
Parameters.ifNoneMatch,
|
|
371
373
|
],
|
|
372
|
-
serializer
|
|
374
|
+
serializer,
|
|
373
375
|
};
|
|
374
376
|
const deleteOperationSpec = {
|
|
375
377
|
path: "/{filesystem}/{path}",
|
|
376
378
|
httpMethod: "DELETE",
|
|
377
379
|
responses: {
|
|
378
380
|
200: {
|
|
379
|
-
headersMapper: Mappers.PathDeleteHeaders
|
|
381
|
+
headersMapper: Mappers.PathDeleteHeaders,
|
|
380
382
|
},
|
|
381
383
|
202: {
|
|
382
|
-
headersMapper: Mappers.PathDeleteHeaders
|
|
384
|
+
headersMapper: Mappers.PathDeleteHeaders,
|
|
383
385
|
},
|
|
384
386
|
default: {
|
|
385
387
|
bodyMapper: Mappers.StorageError,
|
|
386
|
-
headersMapper: Mappers.PathDeleteExceptionHeaders
|
|
387
|
-
}
|
|
388
|
+
headersMapper: Mappers.PathDeleteExceptionHeaders,
|
|
389
|
+
},
|
|
388
390
|
},
|
|
389
391
|
queryParameters: [
|
|
390
392
|
Parameters.continuation,
|
|
391
393
|
Parameters.timeout,
|
|
392
394
|
Parameters.recursive1,
|
|
393
|
-
Parameters.paginated
|
|
395
|
+
Parameters.paginated,
|
|
394
396
|
],
|
|
395
397
|
urlParameters: [Parameters.url],
|
|
396
398
|
headerParameters: [
|
|
@@ -401,21 +403,21 @@ const deleteOperationSpec = {
|
|
|
401
403
|
Parameters.ifUnmodifiedSince,
|
|
402
404
|
Parameters.leaseId,
|
|
403
405
|
Parameters.ifMatch,
|
|
404
|
-
Parameters.ifNoneMatch
|
|
406
|
+
Parameters.ifNoneMatch,
|
|
405
407
|
],
|
|
406
|
-
serializer
|
|
408
|
+
serializer,
|
|
407
409
|
};
|
|
408
410
|
const setAccessControlOperationSpec = {
|
|
409
411
|
path: "/{filesystem}/{path}",
|
|
410
412
|
httpMethod: "PATCH",
|
|
411
413
|
responses: {
|
|
412
414
|
200: {
|
|
413
|
-
headersMapper: Mappers.PathSetAccessControlHeaders
|
|
415
|
+
headersMapper: Mappers.PathSetAccessControlHeaders,
|
|
414
416
|
},
|
|
415
417
|
default: {
|
|
416
418
|
bodyMapper: Mappers.StorageError,
|
|
417
|
-
headersMapper: Mappers.PathSetAccessControlExceptionHeaders
|
|
418
|
-
}
|
|
419
|
+
headersMapper: Mappers.PathSetAccessControlExceptionHeaders,
|
|
420
|
+
},
|
|
419
421
|
},
|
|
420
422
|
queryParameters: [Parameters.timeout, Parameters.action2],
|
|
421
423
|
urlParameters: [Parameters.url],
|
|
@@ -431,9 +433,9 @@ const setAccessControlOperationSpec = {
|
|
|
431
433
|
Parameters.ifNoneMatch,
|
|
432
434
|
Parameters.owner,
|
|
433
435
|
Parameters.group,
|
|
434
|
-
Parameters.acl
|
|
436
|
+
Parameters.acl,
|
|
435
437
|
],
|
|
436
|
-
serializer
|
|
438
|
+
serializer,
|
|
437
439
|
};
|
|
438
440
|
const setAccessControlRecursiveOperationSpec = {
|
|
439
441
|
path: "/{filesystem}/{path}",
|
|
@@ -441,12 +443,12 @@ const setAccessControlRecursiveOperationSpec = {
|
|
|
441
443
|
responses: {
|
|
442
444
|
200: {
|
|
443
445
|
bodyMapper: Mappers.SetAccessControlRecursiveResponse,
|
|
444
|
-
headersMapper: Mappers.PathSetAccessControlRecursiveHeaders
|
|
446
|
+
headersMapper: Mappers.PathSetAccessControlRecursiveHeaders,
|
|
445
447
|
},
|
|
446
448
|
default: {
|
|
447
449
|
bodyMapper: Mappers.StorageError,
|
|
448
|
-
headersMapper: Mappers.PathSetAccessControlRecursiveExceptionHeaders
|
|
449
|
-
}
|
|
450
|
+
headersMapper: Mappers.PathSetAccessControlRecursiveExceptionHeaders,
|
|
451
|
+
},
|
|
450
452
|
},
|
|
451
453
|
queryParameters: [
|
|
452
454
|
Parameters.continuation,
|
|
@@ -454,35 +456,35 @@ const setAccessControlRecursiveOperationSpec = {
|
|
|
454
456
|
Parameters.maxRecords,
|
|
455
457
|
Parameters.mode1,
|
|
456
458
|
Parameters.forceFlag,
|
|
457
|
-
Parameters.action3
|
|
459
|
+
Parameters.action3,
|
|
458
460
|
],
|
|
459
461
|
urlParameters: [Parameters.url],
|
|
460
462
|
headerParameters: [
|
|
461
463
|
Parameters.accept,
|
|
462
464
|
Parameters.requestId,
|
|
463
465
|
Parameters.version,
|
|
464
|
-
Parameters.acl
|
|
466
|
+
Parameters.acl,
|
|
465
467
|
],
|
|
466
|
-
serializer
|
|
468
|
+
serializer,
|
|
467
469
|
};
|
|
468
470
|
const flushDataOperationSpec = {
|
|
469
471
|
path: "/{filesystem}/{path}",
|
|
470
472
|
httpMethod: "PATCH",
|
|
471
473
|
responses: {
|
|
472
474
|
200: {
|
|
473
|
-
headersMapper: Mappers.PathFlushDataHeaders
|
|
475
|
+
headersMapper: Mappers.PathFlushDataHeaders,
|
|
474
476
|
},
|
|
475
477
|
default: {
|
|
476
478
|
bodyMapper: Mappers.StorageError,
|
|
477
|
-
headersMapper: Mappers.PathFlushDataExceptionHeaders
|
|
478
|
-
}
|
|
479
|
+
headersMapper: Mappers.PathFlushDataExceptionHeaders,
|
|
480
|
+
},
|
|
479
481
|
},
|
|
480
482
|
queryParameters: [
|
|
481
483
|
Parameters.timeout,
|
|
482
484
|
Parameters.position,
|
|
483
485
|
Parameters.retainUncommittedData,
|
|
484
486
|
Parameters.close,
|
|
485
|
-
Parameters.action4
|
|
487
|
+
Parameters.action4,
|
|
486
488
|
],
|
|
487
489
|
urlParameters: [Parameters.url],
|
|
488
490
|
headerParameters: [
|
|
@@ -506,28 +508,28 @@ const flushDataOperationSpec = {
|
|
|
506
508
|
Parameters.leaseDuration,
|
|
507
509
|
Parameters.contentLength,
|
|
508
510
|
Parameters.contentMD5,
|
|
509
|
-
Parameters.leaseAction
|
|
511
|
+
Parameters.leaseAction,
|
|
510
512
|
],
|
|
511
|
-
serializer
|
|
513
|
+
serializer,
|
|
512
514
|
};
|
|
513
515
|
const appendDataOperationSpec = {
|
|
514
516
|
path: "/{filesystem}/{path}",
|
|
515
517
|
httpMethod: "PATCH",
|
|
516
518
|
responses: {
|
|
517
519
|
202: {
|
|
518
|
-
headersMapper: Mappers.PathAppendDataHeaders
|
|
520
|
+
headersMapper: Mappers.PathAppendDataHeaders,
|
|
519
521
|
},
|
|
520
522
|
default: {
|
|
521
523
|
bodyMapper: Mappers.StorageError,
|
|
522
|
-
headersMapper: Mappers.PathAppendDataExceptionHeaders
|
|
523
|
-
}
|
|
524
|
+
headersMapper: Mappers.PathAppendDataExceptionHeaders,
|
|
525
|
+
},
|
|
524
526
|
},
|
|
525
527
|
requestBody: Parameters.body,
|
|
526
528
|
queryParameters: [
|
|
527
529
|
Parameters.timeout,
|
|
528
530
|
Parameters.position,
|
|
529
531
|
Parameters.action5,
|
|
530
|
-
Parameters.flush
|
|
532
|
+
Parameters.flush,
|
|
531
533
|
],
|
|
532
534
|
urlParameters: [Parameters.url],
|
|
533
535
|
headerParameters: [
|
|
@@ -541,25 +543,27 @@ const appendDataOperationSpec = {
|
|
|
541
543
|
Parameters.leaseDuration,
|
|
542
544
|
Parameters.accept2,
|
|
543
545
|
Parameters.contentLength,
|
|
546
|
+
Parameters.structuredBodyType,
|
|
547
|
+
Parameters.structuredContentLength,
|
|
544
548
|
Parameters.leaseAction,
|
|
545
549
|
Parameters.contentType2,
|
|
546
550
|
Parameters.transactionalContentHash,
|
|
547
|
-
Parameters.transactionalContentCrc64
|
|
551
|
+
Parameters.transactionalContentCrc64,
|
|
548
552
|
],
|
|
549
553
|
mediaType: "binary",
|
|
550
|
-
serializer
|
|
554
|
+
serializer,
|
|
551
555
|
};
|
|
552
556
|
const setExpiryOperationSpec = {
|
|
553
557
|
path: "/{filesystem}/{path}",
|
|
554
558
|
httpMethod: "PUT",
|
|
555
559
|
responses: {
|
|
556
560
|
200: {
|
|
557
|
-
headersMapper: Mappers.PathSetExpiryHeaders
|
|
561
|
+
headersMapper: Mappers.PathSetExpiryHeaders,
|
|
558
562
|
},
|
|
559
563
|
default: {
|
|
560
564
|
bodyMapper: Mappers.StorageError,
|
|
561
|
-
headersMapper: Mappers.PathSetExpiryExceptionHeaders
|
|
562
|
-
}
|
|
565
|
+
headersMapper: Mappers.PathSetExpiryExceptionHeaders,
|
|
566
|
+
},
|
|
563
567
|
},
|
|
564
568
|
queryParameters: [Parameters.timeout, Parameters.comp1],
|
|
565
569
|
urlParameters: [Parameters.url],
|
|
@@ -568,21 +572,21 @@ const setExpiryOperationSpec = {
|
|
|
568
572
|
Parameters.requestId,
|
|
569
573
|
Parameters.version,
|
|
570
574
|
Parameters.expiresOn,
|
|
571
|
-
Parameters.expiryOptions1
|
|
575
|
+
Parameters.expiryOptions1,
|
|
572
576
|
],
|
|
573
|
-
serializer
|
|
577
|
+
serializer,
|
|
574
578
|
};
|
|
575
579
|
const undeleteOperationSpec = {
|
|
576
580
|
path: "/{filesystem}/{path}",
|
|
577
581
|
httpMethod: "PUT",
|
|
578
582
|
responses: {
|
|
579
583
|
200: {
|
|
580
|
-
headersMapper: Mappers.PathUndeleteHeaders
|
|
584
|
+
headersMapper: Mappers.PathUndeleteHeaders,
|
|
581
585
|
},
|
|
582
586
|
default: {
|
|
583
587
|
bodyMapper: Mappers.StorageError,
|
|
584
|
-
headersMapper: Mappers.PathUndeleteExceptionHeaders
|
|
585
|
-
}
|
|
588
|
+
headersMapper: Mappers.PathUndeleteExceptionHeaders,
|
|
589
|
+
},
|
|
586
590
|
},
|
|
587
591
|
queryParameters: [Parameters.timeout, Parameters.comp2],
|
|
588
592
|
urlParameters: [Parameters.url],
|
|
@@ -590,8 +594,8 @@ const undeleteOperationSpec = {
|
|
|
590
594
|
Parameters.accept,
|
|
591
595
|
Parameters.requestId,
|
|
592
596
|
Parameters.version,
|
|
593
|
-
Parameters.undeleteSource
|
|
597
|
+
Parameters.undeleteSource,
|
|
594
598
|
],
|
|
595
|
-
serializer
|
|
599
|
+
serializer,
|
|
596
600
|
};
|
|
597
601
|
//# sourceMappingURL=pathOperations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pathOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/pathOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AAEjD,sEAAgD;AAChD,4EAAsD;AAiCtD,kDAAkD;AAClD,MAAa,kBAAkB;IACZ,MAAM,CAAgB;IAEvC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,OAAkC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,MAAwB,EACxB,IAAuC,EACvC,IAAsC,EACtC,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAC/B,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CACH,cAA+B,EAC/B,OAAiC;QAEjC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,cAAc,EAAE,OAAO,EAAE,EAC3B,kBAAkB,CACnB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CAAC,OAAgC;QACnC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;OAOG;IACH,aAAa,CACX,OAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,OAAkC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,o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AE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,cAAc;KAC1B;IACD,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PathOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageClient } from \"../storageClient.js\";\nimport {\n PathCreateOptionalParams,\n PathCreateResponse,\n PathUpdateAction,\n PathSetAccessControlRecursiveMode,\n PathUpdateOptionalParams,\n PathUpdateResponse,\n PathLeaseAction,\n PathLeaseOptionalParams,\n PathLeaseResponse,\n PathReadOptionalParams,\n PathReadResponse,\n PathGetPropertiesOptionalParams,\n PathGetPropertiesResponse,\n PathDeleteOptionalParams,\n PathDeleteResponse,\n PathSetAccessControlOptionalParams,\n PathSetAccessControlResponse,\n PathSetAccessControlRecursiveOptionalParams,\n PathSetAccessControlRecursiveResponse,\n PathFlushDataOptionalParams,\n PathFlushDataResponse,\n PathAppendDataOptionalParams,\n PathAppendDataResponse,\n PathExpiryOptions,\n PathSetExpiryOptionalParams,\n PathSetExpiryResponse,\n PathUndeleteOptionalParams,\n PathUndeleteResponse\n} from \"../models/index.js\";\n\n/** Class containing PathOperations operations. */\nexport class PathOperationsImpl implements PathOperations {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class PathOperations class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Create or rename a file or directory. By default, the destination is overwritten and if the\n * destination already exists and has a lease the lease is broken. This operation supports conditional\n * HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * To fail if the destination already exists, use a conditional request with If-None-Match: \"*\".\n * @param options The options parameters.\n */\n create(options?: PathCreateOptionalParams): Promise<PathCreateResponse> {\n return this.client.sendOperationRequest({ options }, createOperationSpec);\n }\n\n /**\n * Uploads data to be appended to a file, flushes (writes) previously uploaded data to a file, sets\n * properties for a file or directory, or sets access control for a file or directory. Data can only be\n * appended to a file. Concurrent writes to the same file using multiple clients are not supported.\n * This operation supports conditional HTTP requests. For more information, see [Specifying Conditional\n * Headers for Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param action The action must be \"append\" to upload data to be appended to a file, \"flush\" to flush\n * previously uploaded data to a file, \"setProperties\" to set the properties of a file or directory,\n * \"setAccessControl\" to set the owner, group, permissions, or access control list for a file or\n * directory, or \"setAccessControlRecursive\" to set the access control list for a directory\n * recursively. Note that Hierarchical Namespace must be enabled for the account in order to use access\n * control. Also note that the Access Control List (ACL) includes permissions for the owner, owning\n * group, and others, so the x-ms-permissions and x-ms-acl request headers are mutually exclusive.\n * @param mode Mode \"set\" sets POSIX access control rights on files and directories, \"modify\" modifies\n * one or more POSIX access control rights that pre-exist on files and directories, \"remove\" removes\n * one or more POSIX access control rights that were present earlier on files and directories\n * @param body Initial data\n * @param options The options parameters.\n */\n update(\n action: PathUpdateAction,\n mode: PathSetAccessControlRecursiveMode,\n body: coreRestPipeline.RequestBodyType,\n options?: PathUpdateOptionalParams\n ): Promise<PathUpdateResponse> {\n return this.client.sendOperationRequest(\n { action, mode, body, options },\n updateOperationSpec\n );\n }\n\n /**\n * Create and manage a lease to restrict write and delete access to the path. This operation supports\n * conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob\n * Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param xMsLeaseAction There are five lease actions: \"acquire\", \"break\", \"change\", \"renew\", and\n * \"release\". Use \"acquire\" and specify the \"x-ms-proposed-lease-id\" and \"x-ms-lease-duration\" to\n * acquire a new lease. Use \"break\" to break an existing lease. When a lease is broken, the lease break\n * period is allowed to elapse, during which time no lease operation except break and release can be\n * performed on the file. When a lease is successfully broken, the response indicates the interval in\n * seconds until a new lease can be acquired. Use \"change\" and specify the current lease ID in\n * \"x-ms-lease-id\" and the new lease ID in \"x-ms-proposed-lease-id\" to change the lease ID of an active\n * lease. Use \"renew\" and specify the \"x-ms-lease-id\" to renew an existing lease. Use \"release\" and\n * specify the \"x-ms-lease-id\" to release a lease.\n * @param options The options parameters.\n */\n lease(\n xMsLeaseAction: PathLeaseAction,\n options?: PathLeaseOptionalParams\n ): Promise<PathLeaseResponse> {\n return this.client.sendOperationRequest(\n { xMsLeaseAction, options },\n leaseOperationSpec\n );\n }\n\n /**\n * Read the contents of a file. For read operations, range requests are supported. This operation\n * supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for\n * Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param options The options parameters.\n */\n read(options?: PathReadOptionalParams): Promise<PathReadResponse> {\n return this.client.sendOperationRequest({ options }, readOperationSpec);\n }\n\n /**\n * Get Properties returns all system and user defined properties for a path. Get Status returns all\n * system defined properties for a path. Get Access Control List returns the access control list for a\n * path. This operation supports conditional HTTP requests. For more information, see [Specifying\n * Conditional Headers for Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param options The options parameters.\n */\n getProperties(\n options?: PathGetPropertiesOptionalParams\n ): Promise<PathGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec\n );\n }\n\n /**\n * Delete the file or directory. This operation supports conditional HTTP requests. For more\n * information, see [Specifying Conditional Headers for Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param options The options parameters.\n */\n delete(options?: PathDeleteOptionalParams): Promise<PathDeleteResponse> {\n return this.client.sendOperationRequest({ options }, deleteOperationSpec);\n }\n\n /**\n * Set the owner, group, permissions, or access control list for a path.\n * @param options The options parameters.\n */\n setAccessControl(\n options?: PathSetAccessControlOptionalParams\n ): Promise<PathSetAccessControlResponse> {\n return this.client.sendOperationRequest(\n { options },\n setAccessControlOperationSpec\n );\n }\n\n /**\n * Set the access control list for a path and sub-paths.\n * @param mode Mode \"set\" sets POSIX access control rights on files and directories, \"modify\" modifies\n * one or more POSIX access control rights that pre-exist on files and directories, \"remove\" removes\n * one or more POSIX access control rights that were present earlier on files and directories\n * @param options The options parameters.\n */\n setAccessControlRecursive(\n mode: PathSetAccessControlRecursiveMode,\n options?: PathSetAccessControlRecursiveOptionalParams\n ): Promise<PathSetAccessControlRecursiveResponse> {\n return this.client.sendOperationRequest(\n { mode, options },\n setAccessControlRecursiveOperationSpec\n );\n }\n\n /**\n * Set the owner, group, permissions, or access control list for a path.\n * @param options The options parameters.\n */\n flushData(\n options?: PathFlushDataOptionalParams\n ): Promise<PathFlushDataResponse> {\n return this.client.sendOperationRequest(\n { options },\n flushDataOperationSpec\n );\n }\n\n /**\n * Append data to the file.\n * @param body Initial data\n * @param options The options parameters.\n */\n appendData(\n body: coreRestPipeline.RequestBodyType,\n options?: PathAppendDataOptionalParams\n ): Promise<PathAppendDataResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n appendDataOperationSpec\n );\n }\n\n /**\n * Sets the time a blob will expire and be deleted.\n * @param expiryOptions Required. Indicates mode of the expiry time\n * @param options The options parameters.\n */\n setExpiry(\n expiryOptions: PathExpiryOptions,\n options?: PathSetExpiryOptionalParams\n ): Promise<PathSetExpiryResponse> {\n return this.client.sendOperationRequest(\n { expiryOptions, options },\n setExpiryOperationSpec\n );\n }\n\n /**\n * Undelete a path that was previously soft deleted\n * @param options The options parameters.\n */\n undelete(\n options?: PathUndeleteOptionalParams\n ): Promise<PathUndeleteResponse> {\n return this.client.sendOperationRequest({ options }, undeleteOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.PathCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathCreateExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.continuation,\n Parameters.timeout,\n Parameters.resource2,\n Parameters.mode\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.properties,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.cacheControl,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.contentType,\n Parameters.renameSource,\n Parameters.leaseId,\n Parameters.sourceLeaseId,\n Parameters.permissions,\n Parameters.umask,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.owner,\n Parameters.group,\n Parameters.acl,\n Parameters.proposedLeaseId,\n Parameters.leaseDuration,\n Parameters.expiryOptions,\n Parameters.expiresOn,\n Parameters.encryptionContext\n ],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SetAccessControlRecursiveResponse,\n headersMapper: Mappers.PathUpdateHeaders\n },\n 202: {\n headersMapper: Mappers.PathUpdateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathUpdateExceptionHeaders\n }\n },\n requestBody: Parameters.body,\n queryParameters: [\n Parameters.continuation,\n Parameters.timeout,\n Parameters.action,\n Parameters.maxRecords,\n Parameters.mode1,\n Parameters.forceFlag,\n Parameters.position,\n Parameters.retainUncommittedData,\n Parameters.close\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.requestId,\n Parameters.version,\n Parameters.properties,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.cacheControl,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.contentType,\n Parameters.leaseId,\n Parameters.permissions,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.owner,\n Parameters.group,\n Parameters.acl,\n Parameters.contentType1,\n Parameters.accept2,\n Parameters.contentLength,\n Parameters.contentMD5\n ],\n mediaType: \"binary\",\n serializer\n};\nconst leaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.PathLeaseHeaders\n },\n 201: {\n headersMapper: Mappers.PathLeaseHeaders\n },\n 202: {\n headersMapper: Mappers.PathLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeout],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.proposedLeaseId,\n Parameters.xMsLeaseAction,\n Parameters.xMsLeaseDuration,\n Parameters.xMsLeaseBreakPeriod\n ],\n serializer\n};\nconst readOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.PathReadHeaders\n },\n 206: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.PathReadHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathReadExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeout],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.range,\n Parameters.xMsRangeGetContentMd5\n ],\n serializer\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.PathGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeout, Parameters.upn, Parameters.action1],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.PathDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.PathDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathDeleteExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.continuation,\n Parameters.timeout,\n Parameters.recursive1,\n Parameters.paginated\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst setAccessControlOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n headersMapper: Mappers.PathSetAccessControlHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathSetAccessControlExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeout, Parameters.action2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.permissions,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.owner,\n Parameters.group,\n Parameters.acl\n ],\n serializer\n};\nconst setAccessControlRecursiveOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SetAccessControlRecursiveResponse,\n headersMapper: Mappers.PathSetAccessControlRecursiveHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathSetAccessControlRecursiveExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.continuation,\n Parameters.timeout,\n Parameters.maxRecords,\n Parameters.mode1,\n Parameters.forceFlag,\n Parameters.action3\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.acl\n ],\n serializer\n};\nconst flushDataOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n headersMapper: Mappers.PathFlushDataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathFlushDataExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeout,\n Parameters.position,\n Parameters.retainUncommittedData,\n Parameters.close,\n Parameters.action4\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.cacheControl,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.contentType,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.proposedLeaseId,\n Parameters.leaseDuration,\n Parameters.contentLength,\n Parameters.contentMD5,\n Parameters.leaseAction\n ],\n serializer\n};\nconst appendDataOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 202: {\n headersMapper: Mappers.PathAppendDataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathAppendDataExceptionHeaders\n }\n },\n requestBody: Parameters.body,\n queryParameters: [\n Parameters.timeout,\n Parameters.position,\n Parameters.action5,\n Parameters.flush\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.requestId,\n Parameters.version,\n Parameters.leaseId,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.proposedLeaseId,\n Parameters.leaseDuration,\n Parameters.accept2,\n Parameters.contentLength,\n Parameters.leaseAction,\n Parameters.contentType2,\n Parameters.transactionalContentHash,\n Parameters.transactionalContentCrc64\n ],\n mediaType: \"binary\",\n serializer\n};\nconst setExpiryOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.PathSetExpiryHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathSetExpiryExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeout, Parameters.comp1],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.expiresOn,\n Parameters.expiryOptions1\n ],\n serializer\n};\nconst undeleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.PathUndeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathUndeleteExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeout, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.undeleteSource\n ],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"pathOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/pathOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AAEjD,sEAAgD;AAChD,4EAAsD;AAiCtD,kDAAkD;AAClD,MAAa,kBAAkB;IACZ,MAAM,CAAgB;IAEvC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,OAAkC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,MAAwB,EACxB,IAAuC,EACvC,IAAsC,EACtC,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAC/B,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CACH,cAA+B,EAC/B,OAAiC;QAEjC,OAAO,IAAI,C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AU,CAAC,KAAK,CAAC;IACvD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,cAAc;KAC1B;IACD,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,sBAAsB;IAC5B,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,mBAAmB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;YAChC,aAAa,EAAE,OAAO,CAAC,4BAA4B;SACpD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,KAAK,CAAC;IACvD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,cAAc;KAC1B;IACD,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PathOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageClient } from \"../storageClient.js\";\nimport {\n PathCreateOptionalParams,\n PathCreateResponse,\n PathUpdateAction,\n PathSetAccessControlRecursiveMode,\n PathUpdateOptionalParams,\n PathUpdateResponse,\n PathLeaseAction,\n PathLeaseOptionalParams,\n PathLeaseResponse,\n PathReadOptionalParams,\n PathReadResponse,\n PathGetPropertiesOptionalParams,\n PathGetPropertiesResponse,\n PathDeleteOptionalParams,\n PathDeleteResponse,\n PathSetAccessControlOptionalParams,\n PathSetAccessControlResponse,\n PathSetAccessControlRecursiveOptionalParams,\n PathSetAccessControlRecursiveResponse,\n PathFlushDataOptionalParams,\n PathFlushDataResponse,\n PathAppendDataOptionalParams,\n PathAppendDataResponse,\n PathExpiryOptions,\n PathSetExpiryOptionalParams,\n PathSetExpiryResponse,\n PathUndeleteOptionalParams,\n PathUndeleteResponse,\n} from \"../models/index.js\";\n\n/** Class containing PathOperations operations. */\nexport class PathOperationsImpl implements PathOperations {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class PathOperations class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Create or rename a file or directory. By default, the destination is overwritten and if the\n * destination already exists and has a lease the lease is broken. This operation supports conditional\n * HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service\n * Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * To fail if the destination already exists, use a conditional request with If-None-Match: \"*\".\n * @param options The options parameters.\n */\n create(options?: PathCreateOptionalParams): Promise<PathCreateResponse> {\n return this.client.sendOperationRequest({ options }, createOperationSpec);\n }\n\n /**\n * Uploads data to be appended to a file, flushes (writes) previously uploaded data to a file, sets\n * properties for a file or directory, or sets access control for a file or directory. Data can only be\n * appended to a file. Concurrent writes to the same file using multiple clients are not supported.\n * This operation supports conditional HTTP requests. For more information, see [Specifying Conditional\n * Headers for Blob Service\n * Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param action The action must be \"append\" to upload data to be appended to a file, \"flush\" to flush\n * previously uploaded data to a file, \"setProperties\" to set the properties of a file or directory,\n * \"setAccessControl\" to set the owner, group, permissions, or access control list for a file or\n * directory, or \"setAccessControlRecursive\" to set the access control list for a directory\n * recursively. Note that Hierarchical Namespace must be enabled for the account in order to use access\n * control. Also note that the Access Control List (ACL) includes permissions for the owner, owning\n * group, and others, so the x-ms-permissions and x-ms-acl request headers are mutually exclusive.\n * @param mode Mode \"set\" sets POSIX access control rights on files and directories, \"modify\" modifies\n * one or more POSIX access control rights that pre-exist on files and directories, \"remove\" removes\n * one or more POSIX access control rights that were present earlier on files and directories\n * @param body Initial data\n * @param options The options parameters.\n */\n update(\n action: PathUpdateAction,\n mode: PathSetAccessControlRecursiveMode,\n body: coreRestPipeline.RequestBodyType,\n options?: PathUpdateOptionalParams,\n ): Promise<PathUpdateResponse> {\n return this.client.sendOperationRequest(\n { action, mode, body, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Create and manage a lease to restrict write and delete access to the path. This operation supports\n * conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob\n * Service\n * Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param xMsLeaseAction There are five lease actions: \"acquire\", \"break\", \"change\", \"renew\", and\n * \"release\". Use \"acquire\" and specify the \"x-ms-proposed-lease-id\" and \"x-ms-lease-duration\" to\n * acquire a new lease. Use \"break\" to break an existing lease. When a lease is broken, the lease break\n * period is allowed to elapse, during which time no lease operation except break and release can be\n * performed on the file. When a lease is successfully broken, the response indicates the interval in\n * seconds until a new lease can be acquired. Use \"change\" and specify the current lease ID in\n * \"x-ms-lease-id\" and the new lease ID in \"x-ms-proposed-lease-id\" to change the lease ID of an active\n * lease. Use \"renew\" and specify the \"x-ms-lease-id\" to renew an existing lease. Use \"release\" and\n * specify the \"x-ms-lease-id\" to release a lease.\n * @param options The options parameters.\n */\n lease(\n xMsLeaseAction: PathLeaseAction,\n options?: PathLeaseOptionalParams,\n ): Promise<PathLeaseResponse> {\n return this.client.sendOperationRequest(\n { xMsLeaseAction, options },\n leaseOperationSpec,\n );\n }\n\n /**\n * Read the contents of a file. For read operations, range requests are supported. This operation\n * supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for\n * Blob Service\n * Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param options The options parameters.\n */\n read(options?: PathReadOptionalParams): Promise<PathReadResponse> {\n return this.client.sendOperationRequest({ options }, readOperationSpec);\n }\n\n /**\n * Get Properties returns all system and user defined properties for a path. Get Status returns all\n * system defined properties for a path. Get Access Control List returns the access control list for a\n * path. This operation supports conditional HTTP requests. For more information, see [Specifying\n * Conditional Headers for Blob Service\n * Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param options The options parameters.\n */\n getProperties(\n options?: PathGetPropertiesOptionalParams,\n ): Promise<PathGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec,\n );\n }\n\n /**\n * Delete the file or directory. This operation supports conditional HTTP requests. For more\n * information, see [Specifying Conditional Headers for Blob Service\n * Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * @param options The options parameters.\n */\n delete(options?: PathDeleteOptionalParams): Promise<PathDeleteResponse> {\n return this.client.sendOperationRequest({ options }, deleteOperationSpec);\n }\n\n /**\n * Set the owner, group, permissions, or access control list for a path.\n * @param options The options parameters.\n */\n setAccessControl(\n options?: PathSetAccessControlOptionalParams,\n ): Promise<PathSetAccessControlResponse> {\n return this.client.sendOperationRequest(\n { options },\n setAccessControlOperationSpec,\n );\n }\n\n /**\n * Set the access control list for a path and sub-paths.\n * @param mode Mode \"set\" sets POSIX access control rights on files and directories, \"modify\" modifies\n * one or more POSIX access control rights that pre-exist on files and directories, \"remove\" removes\n * one or more POSIX access control rights that were present earlier on files and directories\n * @param options The options parameters.\n */\n setAccessControlRecursive(\n mode: PathSetAccessControlRecursiveMode,\n options?: PathSetAccessControlRecursiveOptionalParams,\n ): Promise<PathSetAccessControlRecursiveResponse> {\n return this.client.sendOperationRequest(\n { mode, options },\n setAccessControlRecursiveOperationSpec,\n );\n }\n\n /**\n * Set the owner, group, permissions, or access control list for a path.\n * @param options The options parameters.\n */\n flushData(\n options?: PathFlushDataOptionalParams,\n ): Promise<PathFlushDataResponse> {\n return this.client.sendOperationRequest(\n { options },\n flushDataOperationSpec,\n );\n }\n\n /**\n * Append data to the file.\n * @param body Initial data\n * @param options The options parameters.\n */\n appendData(\n body: coreRestPipeline.RequestBodyType,\n options?: PathAppendDataOptionalParams,\n ): Promise<PathAppendDataResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n appendDataOperationSpec,\n );\n }\n\n /**\n * Sets the time a blob will expire and be deleted.\n * @param expiryOptions Required. Indicates mode of the expiry time\n * @param options The options parameters.\n */\n setExpiry(\n expiryOptions: PathExpiryOptions,\n options?: PathSetExpiryOptionalParams,\n ): Promise<PathSetExpiryResponse> {\n return this.client.sendOperationRequest(\n { expiryOptions, options },\n setExpiryOperationSpec,\n );\n }\n\n /**\n * Undelete a path that was previously soft deleted\n * @param options The options parameters.\n */\n undelete(\n options?: PathUndeleteOptionalParams,\n ): Promise<PathUndeleteResponse> {\n return this.client.sendOperationRequest({ options }, undeleteOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.PathCreateHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathCreateExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.continuation,\n Parameters.timeout,\n Parameters.resource2,\n Parameters.mode,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.properties,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.cacheControl,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.contentType,\n Parameters.renameSource,\n Parameters.leaseId,\n Parameters.sourceLeaseId,\n Parameters.permissions,\n Parameters.umask,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.owner,\n Parameters.group,\n Parameters.acl,\n Parameters.proposedLeaseId,\n Parameters.leaseDuration,\n Parameters.expiryOptions,\n Parameters.expiresOn,\n Parameters.encryptionContext,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SetAccessControlRecursiveResponse,\n headersMapper: Mappers.PathUpdateHeaders,\n },\n 202: {\n headersMapper: Mappers.PathUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathUpdateExceptionHeaders,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [\n Parameters.continuation,\n Parameters.timeout,\n Parameters.action,\n Parameters.maxRecords,\n Parameters.mode1,\n Parameters.forceFlag,\n Parameters.position,\n Parameters.retainUncommittedData,\n Parameters.close,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.requestId,\n Parameters.version,\n Parameters.properties,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.cacheControl,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.contentType,\n Parameters.leaseId,\n Parameters.permissions,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.owner,\n Parameters.group,\n Parameters.acl,\n Parameters.contentType1,\n Parameters.accept2,\n Parameters.contentLength,\n Parameters.contentMD5,\n Parameters.structuredBodyType,\n Parameters.structuredContentLength,\n ],\n mediaType: \"binary\",\n serializer,\n};\nconst leaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.PathLeaseHeaders,\n },\n 201: {\n headersMapper: Mappers.PathLeaseHeaders,\n },\n 202: {\n headersMapper: Mappers.PathLeaseHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathLeaseExceptionHeaders,\n },\n },\n queryParameters: [Parameters.timeout],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.proposedLeaseId,\n Parameters.xMsLeaseAction,\n Parameters.xMsLeaseDuration,\n Parameters.xMsLeaseBreakPeriod,\n ],\n serializer,\n};\nconst readOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\",\n },\n headersMapper: Mappers.PathReadHeaders,\n },\n 206: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\",\n },\n headersMapper: Mappers.PathReadHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathReadExceptionHeaders,\n },\n },\n queryParameters: [Parameters.timeout],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.range,\n Parameters.xMsRangeGetContentMd5,\n ],\n serializer,\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.PathGetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathGetPropertiesExceptionHeaders,\n },\n },\n queryParameters: [Parameters.timeout, Parameters.upn, Parameters.action1],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.PathDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.PathDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathDeleteExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.continuation,\n Parameters.timeout,\n Parameters.recursive1,\n Parameters.paginated,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n serializer,\n};\nconst setAccessControlOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n headersMapper: Mappers.PathSetAccessControlHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathSetAccessControlExceptionHeaders,\n },\n },\n queryParameters: [Parameters.timeout, Parameters.action2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId,\n Parameters.permissions,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.owner,\n Parameters.group,\n Parameters.acl,\n ],\n serializer,\n};\nconst setAccessControlRecursiveOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SetAccessControlRecursiveResponse,\n headersMapper: Mappers.PathSetAccessControlRecursiveHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathSetAccessControlRecursiveExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.continuation,\n Parameters.timeout,\n Parameters.maxRecords,\n Parameters.mode1,\n Parameters.forceFlag,\n Parameters.action3,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.acl,\n ],\n serializer,\n};\nconst flushDataOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n headersMapper: Mappers.PathFlushDataHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathFlushDataExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.timeout,\n Parameters.position,\n Parameters.retainUncommittedData,\n Parameters.close,\n Parameters.action4,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.cacheControl,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.contentType,\n Parameters.leaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.proposedLeaseId,\n Parameters.leaseDuration,\n Parameters.contentLength,\n Parameters.contentMD5,\n Parameters.leaseAction,\n ],\n serializer,\n};\nconst appendDataOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 202: {\n headersMapper: Mappers.PathAppendDataHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathAppendDataExceptionHeaders,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [\n Parameters.timeout,\n Parameters.position,\n Parameters.action5,\n Parameters.flush,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.requestId,\n Parameters.version,\n Parameters.leaseId,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.proposedLeaseId,\n Parameters.leaseDuration,\n Parameters.accept2,\n Parameters.contentLength,\n Parameters.structuredBodyType,\n Parameters.structuredContentLength,\n Parameters.leaseAction,\n Parameters.contentType2,\n Parameters.transactionalContentHash,\n Parameters.transactionalContentCrc64,\n ],\n mediaType: \"binary\",\n serializer,\n};\nconst setExpiryOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.PathSetExpiryHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathSetExpiryExceptionHeaders,\n },\n },\n queryParameters: [Parameters.timeout, Parameters.comp1],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.expiresOn,\n Parameters.expiryOptions1,\n ],\n serializer,\n};\nconst undeleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.PathUndeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PathUndeleteExceptionHeaders,\n },\n },\n queryParameters: [Parameters.timeout, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.requestId,\n Parameters.version,\n Parameters.undeleteSource,\n ],\n serializer,\n};\n"]}
|
|
@@ -39,26 +39,26 @@ const listFileSystemsOperationSpec = {
|
|
|
39
39
|
responses: {
|
|
40
40
|
200: {
|
|
41
41
|
bodyMapper: Mappers.FileSystemList,
|
|
42
|
-
headersMapper: Mappers.ServiceListFileSystemsHeaders
|
|
42
|
+
headersMapper: Mappers.ServiceListFileSystemsHeaders,
|
|
43
43
|
},
|
|
44
44
|
default: {
|
|
45
45
|
bodyMapper: Mappers.StorageError,
|
|
46
|
-
headersMapper: Mappers.ServiceListFileSystemsExceptionHeaders
|
|
47
|
-
}
|
|
46
|
+
headersMapper: Mappers.ServiceListFileSystemsExceptionHeaders,
|
|
47
|
+
},
|
|
48
48
|
},
|
|
49
49
|
queryParameters: [
|
|
50
50
|
Parameters.resource,
|
|
51
51
|
Parameters.prefix,
|
|
52
52
|
Parameters.continuation,
|
|
53
53
|
Parameters.maxResults,
|
|
54
|
-
Parameters.timeout
|
|
54
|
+
Parameters.timeout,
|
|
55
55
|
],
|
|
56
56
|
urlParameters: [Parameters.url],
|
|
57
57
|
headerParameters: [
|
|
58
58
|
Parameters.accept,
|
|
59
59
|
Parameters.requestId,
|
|
60
|
-
Parameters.version
|
|
60
|
+
Parameters.version,
|
|
61
61
|
],
|
|
62
|
-
serializer
|
|
62
|
+
serializer,
|
|
63
63
|
};
|
|
64
64
|
//# sourceMappingURL=service.js.map
|