@azure/storage-file-datalake 12.28.1 → 12.29.0-alpha.20251201.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +26 -26
- 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
|
@@ -22,7 +22,7 @@ export class PathOperationsImpl {
|
|
|
22
22
|
* Create or rename a file or directory. By default, the destination is overwritten and if the
|
|
23
23
|
* destination already exists and has a lease the lease is broken. This operation supports conditional
|
|
24
24
|
* HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service
|
|
25
|
-
* Operations](https://
|
|
25
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
26
26
|
* To fail if the destination already exists, use a conditional request with If-None-Match: "*".
|
|
27
27
|
* @param options The options parameters.
|
|
28
28
|
*/
|
|
@@ -35,7 +35,7 @@ export class PathOperationsImpl {
|
|
|
35
35
|
* appended to a file. Concurrent writes to the same file using multiple clients are not supported.
|
|
36
36
|
* This operation supports conditional HTTP requests. For more information, see [Specifying Conditional
|
|
37
37
|
* Headers for Blob Service
|
|
38
|
-
* Operations](https://
|
|
38
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
39
39
|
* @param action The action must be "append" to upload data to be appended to a file, "flush" to flush
|
|
40
40
|
* previously uploaded data to a file, "setProperties" to set the properties of a file or directory,
|
|
41
41
|
* "setAccessControl" to set the owner, group, permissions, or access control list for a file or
|
|
@@ -56,7 +56,7 @@ export class PathOperationsImpl {
|
|
|
56
56
|
* Create and manage a lease to restrict write and delete access to the path. This operation supports
|
|
57
57
|
* conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob
|
|
58
58
|
* Service
|
|
59
|
-
* Operations](https://
|
|
59
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
60
60
|
* @param xMsLeaseAction There are five lease actions: "acquire", "break", "change", "renew", and
|
|
61
61
|
* "release". Use "acquire" and specify the "x-ms-proposed-lease-id" and "x-ms-lease-duration" to
|
|
62
62
|
* acquire a new lease. Use "break" to break an existing lease. When a lease is broken, the lease break
|
|
@@ -75,7 +75,7 @@ export class PathOperationsImpl {
|
|
|
75
75
|
* Read the contents of a file. For read operations, range requests are supported. This operation
|
|
76
76
|
* supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for
|
|
77
77
|
* Blob Service
|
|
78
|
-
* Operations](https://
|
|
78
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
79
79
|
* @param options The options parameters.
|
|
80
80
|
*/
|
|
81
81
|
read(options) {
|
|
@@ -86,7 +86,7 @@ export class PathOperationsImpl {
|
|
|
86
86
|
* system defined properties for a path. Get Access Control List returns the access control list for a
|
|
87
87
|
* path. This operation supports conditional HTTP requests. For more information, see [Specifying
|
|
88
88
|
* Conditional Headers for Blob Service
|
|
89
|
-
* Operations](https://
|
|
89
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
90
90
|
* @param options The options parameters.
|
|
91
91
|
*/
|
|
92
92
|
getProperties(options) {
|
|
@@ -95,7 +95,7 @@ export class PathOperationsImpl {
|
|
|
95
95
|
/**
|
|
96
96
|
* Delete the file or directory. This operation supports conditional HTTP requests. For more
|
|
97
97
|
* information, see [Specifying Conditional Headers for Blob Service
|
|
98
|
-
* Operations](https://
|
|
98
|
+
* Operations](https://learn.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
|
|
99
99
|
* @param options The options parameters.
|
|
100
100
|
*/
|
|
101
101
|
delete(options) {
|
|
@@ -156,18 +156,18 @@ const createOperationSpec = {
|
|
|
156
156
|
httpMethod: "PUT",
|
|
157
157
|
responses: {
|
|
158
158
|
201: {
|
|
159
|
-
headersMapper: Mappers.PathCreateHeaders
|
|
159
|
+
headersMapper: Mappers.PathCreateHeaders,
|
|
160
160
|
},
|
|
161
161
|
default: {
|
|
162
162
|
bodyMapper: Mappers.StorageError,
|
|
163
|
-
headersMapper: Mappers.PathCreateExceptionHeaders
|
|
164
|
-
}
|
|
163
|
+
headersMapper: Mappers.PathCreateExceptionHeaders,
|
|
164
|
+
},
|
|
165
165
|
},
|
|
166
166
|
queryParameters: [
|
|
167
167
|
Parameters.continuation,
|
|
168
168
|
Parameters.timeout,
|
|
169
169
|
Parameters.resource2,
|
|
170
|
-
Parameters.mode
|
|
170
|
+
Parameters.mode,
|
|
171
171
|
],
|
|
172
172
|
urlParameters: [Parameters.url],
|
|
173
173
|
headerParameters: [
|
|
@@ -203,9 +203,9 @@ const createOperationSpec = {
|
|
|
203
203
|
Parameters.leaseDuration,
|
|
204
204
|
Parameters.expiryOptions,
|
|
205
205
|
Parameters.expiresOn,
|
|
206
|
-
Parameters.encryptionContext
|
|
206
|
+
Parameters.encryptionContext,
|
|
207
207
|
],
|
|
208
|
-
serializer
|
|
208
|
+
serializer,
|
|
209
209
|
};
|
|
210
210
|
const updateOperationSpec = {
|
|
211
211
|
path: "/{filesystem}/{path}",
|
|
@@ -213,15 +213,15 @@ const updateOperationSpec = {
|
|
|
213
213
|
responses: {
|
|
214
214
|
200: {
|
|
215
215
|
bodyMapper: Mappers.SetAccessControlRecursiveResponse,
|
|
216
|
-
headersMapper: Mappers.PathUpdateHeaders
|
|
216
|
+
headersMapper: Mappers.PathUpdateHeaders,
|
|
217
217
|
},
|
|
218
218
|
202: {
|
|
219
|
-
headersMapper: Mappers.PathUpdateHeaders
|
|
219
|
+
headersMapper: Mappers.PathUpdateHeaders,
|
|
220
220
|
},
|
|
221
221
|
default: {
|
|
222
222
|
bodyMapper: Mappers.StorageError,
|
|
223
|
-
headersMapper: Mappers.PathUpdateExceptionHeaders
|
|
224
|
-
}
|
|
223
|
+
headersMapper: Mappers.PathUpdateExceptionHeaders,
|
|
224
|
+
},
|
|
225
225
|
},
|
|
226
226
|
requestBody: Parameters.body,
|
|
227
227
|
queryParameters: [
|
|
@@ -233,7 +233,7 @@ const updateOperationSpec = {
|
|
|
233
233
|
Parameters.forceFlag,
|
|
234
234
|
Parameters.position,
|
|
235
235
|
Parameters.retainUncommittedData,
|
|
236
|
-
Parameters.close
|
|
236
|
+
Parameters.close,
|
|
237
237
|
],
|
|
238
238
|
urlParameters: [Parameters.url],
|
|
239
239
|
headerParameters: [
|
|
@@ -257,28 +257,30 @@ const updateOperationSpec = {
|
|
|
257
257
|
Parameters.contentType1,
|
|
258
258
|
Parameters.accept2,
|
|
259
259
|
Parameters.contentLength,
|
|
260
|
-
Parameters.contentMD5
|
|
260
|
+
Parameters.contentMD5,
|
|
261
|
+
Parameters.structuredBodyType,
|
|
262
|
+
Parameters.structuredContentLength,
|
|
261
263
|
],
|
|
262
264
|
mediaType: "binary",
|
|
263
|
-
serializer
|
|
265
|
+
serializer,
|
|
264
266
|
};
|
|
265
267
|
const leaseOperationSpec = {
|
|
266
268
|
path: "/{filesystem}/{path}",
|
|
267
269
|
httpMethod: "POST",
|
|
268
270
|
responses: {
|
|
269
271
|
200: {
|
|
270
|
-
headersMapper: Mappers.PathLeaseHeaders
|
|
272
|
+
headersMapper: Mappers.PathLeaseHeaders,
|
|
271
273
|
},
|
|
272
274
|
201: {
|
|
273
|
-
headersMapper: Mappers.PathLeaseHeaders
|
|
275
|
+
headersMapper: Mappers.PathLeaseHeaders,
|
|
274
276
|
},
|
|
275
277
|
202: {
|
|
276
|
-
headersMapper: Mappers.PathLeaseHeaders
|
|
278
|
+
headersMapper: Mappers.PathLeaseHeaders,
|
|
277
279
|
},
|
|
278
280
|
default: {
|
|
279
281
|
bodyMapper: Mappers.StorageError,
|
|
280
|
-
headersMapper: Mappers.PathLeaseExceptionHeaders
|
|
281
|
-
}
|
|
282
|
+
headersMapper: Mappers.PathLeaseExceptionHeaders,
|
|
283
|
+
},
|
|
282
284
|
},
|
|
283
285
|
queryParameters: [Parameters.timeout],
|
|
284
286
|
urlParameters: [Parameters.url],
|
|
@@ -294,9 +296,9 @@ const leaseOperationSpec = {
|
|
|
294
296
|
Parameters.proposedLeaseId,
|
|
295
297
|
Parameters.xMsLeaseAction,
|
|
296
298
|
Parameters.xMsLeaseDuration,
|
|
297
|
-
Parameters.xMsLeaseBreakPeriod
|
|
299
|
+
Parameters.xMsLeaseBreakPeriod,
|
|
298
300
|
],
|
|
299
|
-
serializer
|
|
301
|
+
serializer,
|
|
300
302
|
};
|
|
301
303
|
const readOperationSpec = {
|
|
302
304
|
path: "/{filesystem}/{path}",
|
|
@@ -305,21 +307,21 @@ const readOperationSpec = {
|
|
|
305
307
|
200: {
|
|
306
308
|
bodyMapper: {
|
|
307
309
|
type: { name: "Stream" },
|
|
308
|
-
serializedName: "parsedResponse"
|
|
310
|
+
serializedName: "parsedResponse",
|
|
309
311
|
},
|
|
310
|
-
headersMapper: Mappers.PathReadHeaders
|
|
312
|
+
headersMapper: Mappers.PathReadHeaders,
|
|
311
313
|
},
|
|
312
314
|
206: {
|
|
313
315
|
bodyMapper: {
|
|
314
316
|
type: { name: "Stream" },
|
|
315
|
-
serializedName: "parsedResponse"
|
|
317
|
+
serializedName: "parsedResponse",
|
|
316
318
|
},
|
|
317
|
-
headersMapper: Mappers.PathReadHeaders
|
|
319
|
+
headersMapper: Mappers.PathReadHeaders,
|
|
318
320
|
},
|
|
319
321
|
default: {
|
|
320
322
|
bodyMapper: Mappers.StorageError,
|
|
321
|
-
headersMapper: Mappers.PathReadExceptionHeaders
|
|
322
|
-
}
|
|
323
|
+
headersMapper: Mappers.PathReadExceptionHeaders,
|
|
324
|
+
},
|
|
323
325
|
},
|
|
324
326
|
queryParameters: [Parameters.timeout],
|
|
325
327
|
urlParameters: [Parameters.url],
|
|
@@ -336,21 +338,21 @@ const readOperationSpec = {
|
|
|
336
338
|
Parameters.encryptionKeySha256,
|
|
337
339
|
Parameters.encryptionAlgorithm,
|
|
338
340
|
Parameters.range,
|
|
339
|
-
Parameters.xMsRangeGetContentMd5
|
|
341
|
+
Parameters.xMsRangeGetContentMd5,
|
|
340
342
|
],
|
|
341
|
-
serializer
|
|
343
|
+
serializer,
|
|
342
344
|
};
|
|
343
345
|
const getPropertiesOperationSpec = {
|
|
344
346
|
path: "/{filesystem}/{path}",
|
|
345
347
|
httpMethod: "HEAD",
|
|
346
348
|
responses: {
|
|
347
349
|
200: {
|
|
348
|
-
headersMapper: Mappers.PathGetPropertiesHeaders
|
|
350
|
+
headersMapper: Mappers.PathGetPropertiesHeaders,
|
|
349
351
|
},
|
|
350
352
|
default: {
|
|
351
353
|
bodyMapper: Mappers.StorageError,
|
|
352
|
-
headersMapper: Mappers.PathGetPropertiesExceptionHeaders
|
|
353
|
-
}
|
|
354
|
+
headersMapper: Mappers.PathGetPropertiesExceptionHeaders,
|
|
355
|
+
},
|
|
354
356
|
},
|
|
355
357
|
queryParameters: [Parameters.timeout, Parameters.upn, Parameters.action1],
|
|
356
358
|
urlParameters: [Parameters.url],
|
|
@@ -362,30 +364,30 @@ const getPropertiesOperationSpec = {
|
|
|
362
364
|
Parameters.ifUnmodifiedSince,
|
|
363
365
|
Parameters.leaseId,
|
|
364
366
|
Parameters.ifMatch,
|
|
365
|
-
Parameters.ifNoneMatch
|
|
367
|
+
Parameters.ifNoneMatch,
|
|
366
368
|
],
|
|
367
|
-
serializer
|
|
369
|
+
serializer,
|
|
368
370
|
};
|
|
369
371
|
const deleteOperationSpec = {
|
|
370
372
|
path: "/{filesystem}/{path}",
|
|
371
373
|
httpMethod: "DELETE",
|
|
372
374
|
responses: {
|
|
373
375
|
200: {
|
|
374
|
-
headersMapper: Mappers.PathDeleteHeaders
|
|
376
|
+
headersMapper: Mappers.PathDeleteHeaders,
|
|
375
377
|
},
|
|
376
378
|
202: {
|
|
377
|
-
headersMapper: Mappers.PathDeleteHeaders
|
|
379
|
+
headersMapper: Mappers.PathDeleteHeaders,
|
|
378
380
|
},
|
|
379
381
|
default: {
|
|
380
382
|
bodyMapper: Mappers.StorageError,
|
|
381
|
-
headersMapper: Mappers.PathDeleteExceptionHeaders
|
|
382
|
-
}
|
|
383
|
+
headersMapper: Mappers.PathDeleteExceptionHeaders,
|
|
384
|
+
},
|
|
383
385
|
},
|
|
384
386
|
queryParameters: [
|
|
385
387
|
Parameters.continuation,
|
|
386
388
|
Parameters.timeout,
|
|
387
389
|
Parameters.recursive1,
|
|
388
|
-
Parameters.paginated
|
|
390
|
+
Parameters.paginated,
|
|
389
391
|
],
|
|
390
392
|
urlParameters: [Parameters.url],
|
|
391
393
|
headerParameters: [
|
|
@@ -396,21 +398,21 @@ const deleteOperationSpec = {
|
|
|
396
398
|
Parameters.ifUnmodifiedSince,
|
|
397
399
|
Parameters.leaseId,
|
|
398
400
|
Parameters.ifMatch,
|
|
399
|
-
Parameters.ifNoneMatch
|
|
401
|
+
Parameters.ifNoneMatch,
|
|
400
402
|
],
|
|
401
|
-
serializer
|
|
403
|
+
serializer,
|
|
402
404
|
};
|
|
403
405
|
const setAccessControlOperationSpec = {
|
|
404
406
|
path: "/{filesystem}/{path}",
|
|
405
407
|
httpMethod: "PATCH",
|
|
406
408
|
responses: {
|
|
407
409
|
200: {
|
|
408
|
-
headersMapper: Mappers.PathSetAccessControlHeaders
|
|
410
|
+
headersMapper: Mappers.PathSetAccessControlHeaders,
|
|
409
411
|
},
|
|
410
412
|
default: {
|
|
411
413
|
bodyMapper: Mappers.StorageError,
|
|
412
|
-
headersMapper: Mappers.PathSetAccessControlExceptionHeaders
|
|
413
|
-
}
|
|
414
|
+
headersMapper: Mappers.PathSetAccessControlExceptionHeaders,
|
|
415
|
+
},
|
|
414
416
|
},
|
|
415
417
|
queryParameters: [Parameters.timeout, Parameters.action2],
|
|
416
418
|
urlParameters: [Parameters.url],
|
|
@@ -426,9 +428,9 @@ const setAccessControlOperationSpec = {
|
|
|
426
428
|
Parameters.ifNoneMatch,
|
|
427
429
|
Parameters.owner,
|
|
428
430
|
Parameters.group,
|
|
429
|
-
Parameters.acl
|
|
431
|
+
Parameters.acl,
|
|
430
432
|
],
|
|
431
|
-
serializer
|
|
433
|
+
serializer,
|
|
432
434
|
};
|
|
433
435
|
const setAccessControlRecursiveOperationSpec = {
|
|
434
436
|
path: "/{filesystem}/{path}",
|
|
@@ -436,12 +438,12 @@ const setAccessControlRecursiveOperationSpec = {
|
|
|
436
438
|
responses: {
|
|
437
439
|
200: {
|
|
438
440
|
bodyMapper: Mappers.SetAccessControlRecursiveResponse,
|
|
439
|
-
headersMapper: Mappers.PathSetAccessControlRecursiveHeaders
|
|
441
|
+
headersMapper: Mappers.PathSetAccessControlRecursiveHeaders,
|
|
440
442
|
},
|
|
441
443
|
default: {
|
|
442
444
|
bodyMapper: Mappers.StorageError,
|
|
443
|
-
headersMapper: Mappers.PathSetAccessControlRecursiveExceptionHeaders
|
|
444
|
-
}
|
|
445
|
+
headersMapper: Mappers.PathSetAccessControlRecursiveExceptionHeaders,
|
|
446
|
+
},
|
|
445
447
|
},
|
|
446
448
|
queryParameters: [
|
|
447
449
|
Parameters.continuation,
|
|
@@ -449,35 +451,35 @@ const setAccessControlRecursiveOperationSpec = {
|
|
|
449
451
|
Parameters.maxRecords,
|
|
450
452
|
Parameters.mode1,
|
|
451
453
|
Parameters.forceFlag,
|
|
452
|
-
Parameters.action3
|
|
454
|
+
Parameters.action3,
|
|
453
455
|
],
|
|
454
456
|
urlParameters: [Parameters.url],
|
|
455
457
|
headerParameters: [
|
|
456
458
|
Parameters.accept,
|
|
457
459
|
Parameters.requestId,
|
|
458
460
|
Parameters.version,
|
|
459
|
-
Parameters.acl
|
|
461
|
+
Parameters.acl,
|
|
460
462
|
],
|
|
461
|
-
serializer
|
|
463
|
+
serializer,
|
|
462
464
|
};
|
|
463
465
|
const flushDataOperationSpec = {
|
|
464
466
|
path: "/{filesystem}/{path}",
|
|
465
467
|
httpMethod: "PATCH",
|
|
466
468
|
responses: {
|
|
467
469
|
200: {
|
|
468
|
-
headersMapper: Mappers.PathFlushDataHeaders
|
|
470
|
+
headersMapper: Mappers.PathFlushDataHeaders,
|
|
469
471
|
},
|
|
470
472
|
default: {
|
|
471
473
|
bodyMapper: Mappers.StorageError,
|
|
472
|
-
headersMapper: Mappers.PathFlushDataExceptionHeaders
|
|
473
|
-
}
|
|
474
|
+
headersMapper: Mappers.PathFlushDataExceptionHeaders,
|
|
475
|
+
},
|
|
474
476
|
},
|
|
475
477
|
queryParameters: [
|
|
476
478
|
Parameters.timeout,
|
|
477
479
|
Parameters.position,
|
|
478
480
|
Parameters.retainUncommittedData,
|
|
479
481
|
Parameters.close,
|
|
480
|
-
Parameters.action4
|
|
482
|
+
Parameters.action4,
|
|
481
483
|
],
|
|
482
484
|
urlParameters: [Parameters.url],
|
|
483
485
|
headerParameters: [
|
|
@@ -501,28 +503,28 @@ const flushDataOperationSpec = {
|
|
|
501
503
|
Parameters.leaseDuration,
|
|
502
504
|
Parameters.contentLength,
|
|
503
505
|
Parameters.contentMD5,
|
|
504
|
-
Parameters.leaseAction
|
|
506
|
+
Parameters.leaseAction,
|
|
505
507
|
],
|
|
506
|
-
serializer
|
|
508
|
+
serializer,
|
|
507
509
|
};
|
|
508
510
|
const appendDataOperationSpec = {
|
|
509
511
|
path: "/{filesystem}/{path}",
|
|
510
512
|
httpMethod: "PATCH",
|
|
511
513
|
responses: {
|
|
512
514
|
202: {
|
|
513
|
-
headersMapper: Mappers.PathAppendDataHeaders
|
|
515
|
+
headersMapper: Mappers.PathAppendDataHeaders,
|
|
514
516
|
},
|
|
515
517
|
default: {
|
|
516
518
|
bodyMapper: Mappers.StorageError,
|
|
517
|
-
headersMapper: Mappers.PathAppendDataExceptionHeaders
|
|
518
|
-
}
|
|
519
|
+
headersMapper: Mappers.PathAppendDataExceptionHeaders,
|
|
520
|
+
},
|
|
519
521
|
},
|
|
520
522
|
requestBody: Parameters.body,
|
|
521
523
|
queryParameters: [
|
|
522
524
|
Parameters.timeout,
|
|
523
525
|
Parameters.position,
|
|
524
526
|
Parameters.action5,
|
|
525
|
-
Parameters.flush
|
|
527
|
+
Parameters.flush,
|
|
526
528
|
],
|
|
527
529
|
urlParameters: [Parameters.url],
|
|
528
530
|
headerParameters: [
|
|
@@ -536,25 +538,27 @@ const appendDataOperationSpec = {
|
|
|
536
538
|
Parameters.leaseDuration,
|
|
537
539
|
Parameters.accept2,
|
|
538
540
|
Parameters.contentLength,
|
|
541
|
+
Parameters.structuredBodyType,
|
|
542
|
+
Parameters.structuredContentLength,
|
|
539
543
|
Parameters.leaseAction,
|
|
540
544
|
Parameters.contentType2,
|
|
541
545
|
Parameters.transactionalContentHash,
|
|
542
|
-
Parameters.transactionalContentCrc64
|
|
546
|
+
Parameters.transactionalContentCrc64,
|
|
543
547
|
],
|
|
544
548
|
mediaType: "binary",
|
|
545
|
-
serializer
|
|
549
|
+
serializer,
|
|
546
550
|
};
|
|
547
551
|
const setExpiryOperationSpec = {
|
|
548
552
|
path: "/{filesystem}/{path}",
|
|
549
553
|
httpMethod: "PUT",
|
|
550
554
|
responses: {
|
|
551
555
|
200: {
|
|
552
|
-
headersMapper: Mappers.PathSetExpiryHeaders
|
|
556
|
+
headersMapper: Mappers.PathSetExpiryHeaders,
|
|
553
557
|
},
|
|
554
558
|
default: {
|
|
555
559
|
bodyMapper: Mappers.StorageError,
|
|
556
|
-
headersMapper: Mappers.PathSetExpiryExceptionHeaders
|
|
557
|
-
}
|
|
560
|
+
headersMapper: Mappers.PathSetExpiryExceptionHeaders,
|
|
561
|
+
},
|
|
558
562
|
},
|
|
559
563
|
queryParameters: [Parameters.timeout, Parameters.comp1],
|
|
560
564
|
urlParameters: [Parameters.url],
|
|
@@ -563,21 +567,21 @@ const setExpiryOperationSpec = {
|
|
|
563
567
|
Parameters.requestId,
|
|
564
568
|
Parameters.version,
|
|
565
569
|
Parameters.expiresOn,
|
|
566
|
-
Parameters.expiryOptions1
|
|
570
|
+
Parameters.expiryOptions1,
|
|
567
571
|
],
|
|
568
|
-
serializer
|
|
572
|
+
serializer,
|
|
569
573
|
};
|
|
570
574
|
const undeleteOperationSpec = {
|
|
571
575
|
path: "/{filesystem}/{path}",
|
|
572
576
|
httpMethod: "PUT",
|
|
573
577
|
responses: {
|
|
574
578
|
200: {
|
|
575
|
-
headersMapper: Mappers.PathUndeleteHeaders
|
|
579
|
+
headersMapper: Mappers.PathUndeleteHeaders,
|
|
576
580
|
},
|
|
577
581
|
default: {
|
|
578
582
|
bodyMapper: Mappers.StorageError,
|
|
579
|
-
headersMapper: Mappers.PathUndeleteExceptionHeaders
|
|
580
|
-
}
|
|
583
|
+
headersMapper: Mappers.PathUndeleteExceptionHeaders,
|
|
584
|
+
},
|
|
581
585
|
},
|
|
582
586
|
queryParameters: [Parameters.timeout, Parameters.comp2],
|
|
583
587
|
urlParameters: [Parameters.url],
|
|
@@ -585,8 +589,8 @@ const undeleteOperationSpec = {
|
|
|
585
589
|
Parameters.accept,
|
|
586
590
|
Parameters.requestId,
|
|
587
591
|
Parameters.version,
|
|
588
|
-
Parameters.undeleteSource
|
|
592
|
+
Parameters.undeleteSource,
|
|
589
593
|
],
|
|
590
|
-
serializer
|
|
594
|
+
serializer,
|
|
591
595
|
};
|
|
592
596
|
//# 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,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiCtD,kDAAkD;AAClD,MAAM,OAAO,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,CA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ACD,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://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,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiCtD,kDAAkD;AAClD,MAAM,OAAO,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,EA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oB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;YAChC,aAAa,EAAE,OAAO,CAAC,6BAA6B;SACrD;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,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"]}
|
|
@@ -34,26 +34,26 @@ const listFileSystemsOperationSpec = {
|
|
|
34
34
|
responses: {
|
|
35
35
|
200: {
|
|
36
36
|
bodyMapper: Mappers.FileSystemList,
|
|
37
|
-
headersMapper: Mappers.ServiceListFileSystemsHeaders
|
|
37
|
+
headersMapper: Mappers.ServiceListFileSystemsHeaders,
|
|
38
38
|
},
|
|
39
39
|
default: {
|
|
40
40
|
bodyMapper: Mappers.StorageError,
|
|
41
|
-
headersMapper: Mappers.ServiceListFileSystemsExceptionHeaders
|
|
42
|
-
}
|
|
41
|
+
headersMapper: Mappers.ServiceListFileSystemsExceptionHeaders,
|
|
42
|
+
},
|
|
43
43
|
},
|
|
44
44
|
queryParameters: [
|
|
45
45
|
Parameters.resource,
|
|
46
46
|
Parameters.prefix,
|
|
47
47
|
Parameters.continuation,
|
|
48
48
|
Parameters.maxResults,
|
|
49
|
-
Parameters.timeout
|
|
49
|
+
Parameters.timeout,
|
|
50
50
|
],
|
|
51
51
|
urlParameters: [Parameters.url],
|
|
52
52
|
headerParameters: [
|
|
53
53
|
Parameters.accept,
|
|
54
54
|
Parameters.requestId,
|
|
55
|
-
Parameters.version
|
|
55
|
+
Parameters.version,
|
|
56
56
|
],
|
|
57
|
-
serializer
|
|
57
|
+
serializer,
|
|
58
58
|
};
|
|
59
59
|
//# sourceMappingURL=service.js.map
|