@azure/storage-file-share 12.28.0-alpha.20250530.1 → 12.28.0-alpha.20250611.3
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/AccountSASPermissions.d.ts +1 -1
- package/dist/browser/AccountSASPermissions.js +2 -2
- package/dist/browser/AccountSASPermissions.js.map +1 -1
- package/dist/browser/AccountSASResourceTypes.d.ts +1 -1
- package/dist/browser/AccountSASResourceTypes.js +1 -1
- package/dist/browser/AccountSASResourceTypes.js.map +1 -1
- package/dist/browser/AccountSASSignatureValues.d.ts +3 -3
- package/dist/browser/AccountSASSignatureValues.js +1 -1
- package/dist/browser/AccountSASSignatureValues.js.map +1 -1
- package/dist/browser/Clients.d.ts +53 -53
- package/dist/browser/Clients.js +48 -48
- package/dist/browser/Clients.js.map +1 -1
- package/dist/browser/FileSASSignatureValues.d.ts +1 -1
- package/dist/browser/FileSASSignatureValues.js.map +1 -1
- package/dist/browser/FileSystemAttributes.d.ts +1 -1
- package/dist/browser/FileSystemAttributes.js +1 -1
- package/dist/browser/FileSystemAttributes.js.map +1 -1
- package/dist/browser/Range.d.ts +1 -1
- package/dist/browser/Range.js.map +1 -1
- package/dist/browser/SASQueryParameters.d.ts +1 -1
- package/dist/browser/SASQueryParameters.js.map +1 -1
- package/dist/browser/ShareSASPermissions.d.ts +1 -1
- package/dist/browser/ShareSASPermissions.js +1 -1
- package/dist/browser/ShareSASPermissions.js.map +1 -1
- package/dist/browser/ShareServiceClient.d.ts +4 -4
- package/dist/browser/ShareServiceClient.js +4 -4
- package/dist/browser/ShareServiceClient.js.map +1 -1
- package/dist/browser/StorageRetryPolicyFactory.d.ts +1 -1
- package/dist/browser/StorageRetryPolicyFactory.js.map +1 -1
- package/dist/browser/utils/utils.common.d.ts +2 -2
- package/dist/browser/utils/utils.common.js +2 -2
- package/dist/browser/utils/utils.common.js.map +1 -1
- package/dist/commonjs/AccountSASPermissions.d.ts +1 -1
- package/dist/commonjs/AccountSASPermissions.js +2 -2
- package/dist/commonjs/AccountSASPermissions.js.map +1 -1
- package/dist/commonjs/AccountSASResourceTypes.d.ts +1 -1
- package/dist/commonjs/AccountSASResourceTypes.js +1 -1
- package/dist/commonjs/AccountSASResourceTypes.js.map +1 -1
- package/dist/commonjs/AccountSASSignatureValues.d.ts +3 -3
- package/dist/commonjs/AccountSASSignatureValues.js +1 -1
- package/dist/commonjs/AccountSASSignatureValues.js.map +1 -1
- package/dist/commonjs/Clients.d.ts +53 -53
- package/dist/commonjs/Clients.js +48 -48
- package/dist/commonjs/Clients.js.map +1 -1
- package/dist/commonjs/FileSASSignatureValues.d.ts +1 -1
- package/dist/commonjs/FileSASSignatureValues.js.map +1 -1
- package/dist/commonjs/FileSystemAttributes.d.ts +1 -1
- package/dist/commonjs/FileSystemAttributes.js +1 -1
- package/dist/commonjs/FileSystemAttributes.js.map +1 -1
- package/dist/commonjs/Range.d.ts +1 -1
- package/dist/commonjs/Range.js.map +1 -1
- package/dist/commonjs/SASQueryParameters.d.ts +1 -1
- package/dist/commonjs/SASQueryParameters.js.map +1 -1
- package/dist/commonjs/ShareSASPermissions.d.ts +1 -1
- package/dist/commonjs/ShareSASPermissions.js +1 -1
- package/dist/commonjs/ShareSASPermissions.js.map +1 -1
- package/dist/commonjs/ShareServiceClient.d.ts +4 -4
- package/dist/commonjs/ShareServiceClient.js +4 -4
- package/dist/commonjs/ShareServiceClient.js.map +1 -1
- package/dist/commonjs/StorageRetryPolicyFactory.d.ts +1 -1
- package/dist/commonjs/StorageRetryPolicyFactory.js.map +1 -1
- package/dist/commonjs/utils/utils.common.d.ts +2 -2
- package/dist/commonjs/utils/utils.common.js +2 -2
- package/dist/commonjs/utils/utils.common.js.map +1 -1
- package/dist/esm/AccountSASPermissions.d.ts +1 -1
- package/dist/esm/AccountSASPermissions.js +2 -2
- package/dist/esm/AccountSASPermissions.js.map +1 -1
- package/dist/esm/AccountSASResourceTypes.d.ts +1 -1
- package/dist/esm/AccountSASResourceTypes.js +1 -1
- package/dist/esm/AccountSASResourceTypes.js.map +1 -1
- package/dist/esm/AccountSASSignatureValues.d.ts +3 -3
- package/dist/esm/AccountSASSignatureValues.js +1 -1
- package/dist/esm/AccountSASSignatureValues.js.map +1 -1
- package/dist/esm/Clients.d.ts +53 -53
- package/dist/esm/Clients.js +48 -48
- package/dist/esm/Clients.js.map +1 -1
- package/dist/esm/FileSASSignatureValues.d.ts +1 -1
- package/dist/esm/FileSASSignatureValues.js.map +1 -1
- package/dist/esm/FileSystemAttributes.d.ts +1 -1
- package/dist/esm/FileSystemAttributes.js +1 -1
- package/dist/esm/FileSystemAttributes.js.map +1 -1
- package/dist/esm/Range.d.ts +1 -1
- package/dist/esm/Range.js.map +1 -1
- package/dist/esm/SASQueryParameters.d.ts +1 -1
- package/dist/esm/SASQueryParameters.js.map +1 -1
- package/dist/esm/ShareSASPermissions.d.ts +1 -1
- package/dist/esm/ShareSASPermissions.js +1 -1
- package/dist/esm/ShareSASPermissions.js.map +1 -1
- package/dist/esm/ShareServiceClient.d.ts +4 -4
- package/dist/esm/ShareServiceClient.js +4 -4
- package/dist/esm/ShareServiceClient.js.map +1 -1
- package/dist/esm/StorageRetryPolicyFactory.d.ts +1 -1
- package/dist/esm/StorageRetryPolicyFactory.js.map +1 -1
- package/dist/esm/utils/utils.common.d.ts +2 -2
- package/dist/esm/utils/utils.common.js +2 -2
- package/dist/esm/utils/utils.common.js.map +1 -1
- package/dist/react-native/AccountSASPermissions.d.ts +1 -1
- package/dist/react-native/AccountSASPermissions.js +2 -2
- package/dist/react-native/AccountSASPermissions.js.map +1 -1
- package/dist/react-native/AccountSASResourceTypes.d.ts +1 -1
- package/dist/react-native/AccountSASResourceTypes.js +1 -1
- package/dist/react-native/AccountSASResourceTypes.js.map +1 -1
- package/dist/react-native/AccountSASSignatureValues.d.ts +3 -3
- package/dist/react-native/AccountSASSignatureValues.js +1 -1
- package/dist/react-native/AccountSASSignatureValues.js.map +1 -1
- package/dist/react-native/Clients.d.ts +53 -53
- package/dist/react-native/Clients.js +48 -48
- package/dist/react-native/Clients.js.map +1 -1
- package/dist/react-native/FileSASSignatureValues.d.ts +1 -1
- package/dist/react-native/FileSASSignatureValues.js.map +1 -1
- package/dist/react-native/FileSystemAttributes.d.ts +1 -1
- package/dist/react-native/FileSystemAttributes.js +1 -1
- package/dist/react-native/FileSystemAttributes.js.map +1 -1
- package/dist/react-native/Range.d.ts +1 -1
- package/dist/react-native/Range.js.map +1 -1
- package/dist/react-native/SASQueryParameters.d.ts +1 -1
- package/dist/react-native/SASQueryParameters.js.map +1 -1
- package/dist/react-native/ShareSASPermissions.d.ts +1 -1
- package/dist/react-native/ShareSASPermissions.js +1 -1
- package/dist/react-native/ShareSASPermissions.js.map +1 -1
- package/dist/react-native/ShareServiceClient.d.ts +4 -4
- package/dist/react-native/ShareServiceClient.js +4 -4
- package/dist/react-native/ShareServiceClient.js.map +1 -1
- package/dist/react-native/StorageRetryPolicyFactory.d.ts +1 -1
- package/dist/react-native/StorageRetryPolicyFactory.js.map +1 -1
- package/dist/react-native/utils/utils.common.d.ts +2 -2
- package/dist/react-native/utils/utils.common.js +2 -2
- package/dist/react-native/utils/utils.common.js.map +1 -1
- package/package.json +1 -1
package/dist/browser/Clients.js
CHANGED
@@ -96,7 +96,7 @@ export class ShareClient extends StorageClient {
|
|
96
96
|
/**
|
97
97
|
* Creates a new share under the specified account. If the share with
|
98
98
|
* the same name already exists, the operation fails.
|
99
|
-
* @see https://learn.microsoft.com/
|
99
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-share
|
100
100
|
*
|
101
101
|
* @param options - Options to Share Create operation.
|
102
102
|
* @returns Response data for the Share Create operation.
|
@@ -109,7 +109,7 @@ export class ShareClient extends StorageClient {
|
|
109
109
|
/**
|
110
110
|
* Creates a new share under the specified account. If the share with
|
111
111
|
* the same name already exists, it is not changed.
|
112
|
-
* @see https://learn.microsoft.com/
|
112
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-share
|
113
113
|
*
|
114
114
|
* @param options -
|
115
115
|
*/
|
@@ -152,7 +152,7 @@ export class ShareClient extends StorageClient {
|
|
152
152
|
}
|
153
153
|
/**
|
154
154
|
* Creates a new subdirectory under this share.
|
155
|
-
* @see https://learn.microsoft.com/
|
155
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-directory
|
156
156
|
*
|
157
157
|
* @param directoryName -
|
158
158
|
* @param options - Options to Directory Create operation.
|
@@ -171,7 +171,7 @@ export class ShareClient extends StorageClient {
|
|
171
171
|
/**
|
172
172
|
* Removes the specified empty sub directory under this share.
|
173
173
|
* Note that the directory must be empty before it can be deleted.
|
174
|
-
* @see https://learn.microsoft.com/
|
174
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-directory
|
175
175
|
*
|
176
176
|
* @param directoryName -
|
177
177
|
* @param options - Options to Directory Delete operation.
|
@@ -186,7 +186,7 @@ export class ShareClient extends StorageClient {
|
|
186
186
|
/**
|
187
187
|
* Creates a new file or replaces a file under the root directory of this share.
|
188
188
|
* Note it only initializes the file with no content.
|
189
|
-
* @see https://learn.microsoft.com/
|
189
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-file
|
190
190
|
*
|
191
191
|
* @param fileName -
|
192
192
|
* @param size - Specifies the maximum size in bytes for the file, up to 4 TB.
|
@@ -217,7 +217,7 @@ export class ShareClient extends StorageClient {
|
|
217
217
|
* a share. An attempt to perform this operation on a share snapshot will fail with 400
|
218
218
|
* (`InvalidQueryParameterValue`)
|
219
219
|
*
|
220
|
-
* @see https://learn.microsoft.com/
|
220
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-file2
|
221
221
|
*
|
222
222
|
* @param directoryName -
|
223
223
|
* @param fileName -
|
@@ -257,7 +257,7 @@ export class ShareClient extends StorageClient {
|
|
257
257
|
/**
|
258
258
|
* Returns all user-defined metadata and system properties for the specified
|
259
259
|
* share.
|
260
|
-
* @see https://learn.microsoft.com/
|
260
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-share-properties
|
261
261
|
*
|
262
262
|
* WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if
|
263
263
|
* they originally contained uppercase characters. This differs from the metadata keys returned by
|
@@ -275,7 +275,7 @@ export class ShareClient extends StorageClient {
|
|
275
275
|
/**
|
276
276
|
* Marks the specified share for deletion. The share and any directories or files
|
277
277
|
* contained within it are later deleted during garbage collection.
|
278
|
-
* @see https://learn.microsoft.com/
|
278
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-share
|
279
279
|
*
|
280
280
|
* @param options - Options to Share Delete operation.
|
281
281
|
* @returns Response data for the Share Delete operation.
|
@@ -288,7 +288,7 @@ export class ShareClient extends StorageClient {
|
|
288
288
|
/**
|
289
289
|
* Marks the specified share for deletion if it exists. The share and any directories or files
|
290
290
|
* contained within it are later deleted during garbage collection.
|
291
|
-
* @see https://learn.microsoft.com/
|
291
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-share
|
292
292
|
*
|
293
293
|
* @param options -
|
294
294
|
*/
|
@@ -312,7 +312,7 @@ export class ShareClient extends StorageClient {
|
|
312
312
|
*
|
313
313
|
* If no option provided, or no metadata defined in the option parameter, the share
|
314
314
|
* metadata will be removed.
|
315
|
-
* @see https://learn.microsoft.com/
|
315
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-share-metadata
|
316
316
|
*
|
317
317
|
* @param metadata - If no metadata provided, all existing directory metadata will be removed.
|
318
318
|
* @param option - Options to Share Set Metadata operation.
|
@@ -330,7 +330,7 @@ export class ShareClient extends StorageClient {
|
|
330
330
|
* WARNING: JavaScript Date will potential lost precision when parsing start and expiry string.
|
331
331
|
* For example, new Date("2018-12-31T03:44:23.8827891Z").toISOString() will get "2018-12-31T03:44:23.882Z".
|
332
332
|
*
|
333
|
-
* @see https://learn.microsoft.com/
|
333
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-share-acl
|
334
334
|
*
|
335
335
|
* @param option - Options to Share Get Access Policy operation.
|
336
336
|
* @returns Response data for the Share Get Access Policy operation.
|
@@ -379,7 +379,7 @@ export class ShareClient extends StorageClient {
|
|
379
379
|
* When you establish a stored access policy on a share, it may take up to 30 seconds to take effect.
|
380
380
|
* During this interval, a shared access signature that is associated with the stored access policy will
|
381
381
|
* fail with status code 403 (Forbidden), until the access policy becomes active.
|
382
|
-
* @see https://learn.microsoft.com/
|
382
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-share-acl
|
383
383
|
*
|
384
384
|
* @param shareAcl - Array of signed identifiers, each having a unique Id and details of access policy.
|
385
385
|
* @param option - Options to Share Set Access Policy operation.
|
@@ -458,7 +458,7 @@ export class ShareClient extends StorageClient {
|
|
458
458
|
/**
|
459
459
|
* Creates a file permission (a security descriptor) at the share level.
|
460
460
|
* The created security descriptor can be used for the files/directories in the share.
|
461
|
-
* @see https://learn.microsoft.com/
|
461
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-permission
|
462
462
|
*
|
463
463
|
* @param options - Options to Share Create Permission operation.
|
464
464
|
* @param filePermission - File permission described in the SDDL
|
@@ -471,7 +471,7 @@ export class ShareClient extends StorageClient {
|
|
471
471
|
/**
|
472
472
|
* Gets the Security Descriptor Definition Language (SDDL) for a given file permission key
|
473
473
|
* which indicates a security descriptor.
|
474
|
-
* @see https://learn.microsoft.com/
|
474
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-permission
|
475
475
|
*
|
476
476
|
* @param options - Options to Share Create Permission operation.
|
477
477
|
* @param filePermissionKey - File permission key which indicates the security descriptor of the permission.
|
@@ -496,7 +496,7 @@ export class ShareClient extends StorageClient {
|
|
496
496
|
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
497
497
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
498
498
|
*
|
499
|
-
* @see https://learn.microsoft.com/
|
499
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
|
500
500
|
*
|
501
501
|
* @param options - Optional parameters.
|
502
502
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
@@ -514,7 +514,7 @@ export class ShareClient extends StorageClient {
|
|
514
514
|
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
515
515
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
516
516
|
*
|
517
|
-
* @see https://learn.microsoft.com/
|
517
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
|
518
518
|
*
|
519
519
|
* @param options - Optional parameters.
|
520
520
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
@@ -576,7 +576,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
576
576
|
}
|
577
577
|
/**
|
578
578
|
* Creates a new directory under the specified share or parent directory.
|
579
|
-
* @see https://learn.microsoft.com/
|
579
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-directory
|
580
580
|
*
|
581
581
|
* @param options - Options to Directory Create operation.
|
582
582
|
* @returns Response data for the Directory operation.
|
@@ -602,7 +602,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
602
602
|
/**
|
603
603
|
* Creates a new directory under the specified share or parent directory if it does not already exists.
|
604
604
|
* If the directory already exists, it is not modified.
|
605
|
-
* @see https://learn.microsoft.com/
|
605
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-directory
|
606
606
|
*
|
607
607
|
* @param options -
|
608
608
|
*/
|
@@ -623,7 +623,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
623
623
|
}
|
624
624
|
/**
|
625
625
|
* Sets properties on the directory.
|
626
|
-
* @see https://learn.microsoft.com/
|
626
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-directory-properties
|
627
627
|
*
|
628
628
|
* @param DirectoryProperties - Directory properties. If no values are provided,
|
629
629
|
* existing values will be preserved.
|
@@ -674,7 +674,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
674
674
|
}
|
675
675
|
/**
|
676
676
|
* Creates a new subdirectory under this directory.
|
677
|
-
* @see https://learn.microsoft.com/
|
677
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-directory
|
678
678
|
*
|
679
679
|
* @param directoryName -
|
680
680
|
* @param options - Options to Directory Create operation.
|
@@ -693,7 +693,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
693
693
|
/**
|
694
694
|
* Removes the specified empty sub directory under this directory.
|
695
695
|
* Note that the directory must be empty before it can be deleted.
|
696
|
-
* @see https://learn.microsoft.com/
|
696
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-directory
|
697
697
|
*
|
698
698
|
* @param directoryName -
|
699
699
|
* @param options - Options to Directory Delete operation.
|
@@ -707,7 +707,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
707
707
|
}
|
708
708
|
/**
|
709
709
|
* Creates a new file or replaces a file under this directory. Note it only initializes the file with no content.
|
710
|
-
* @see https://learn.microsoft.com/
|
710
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-file
|
711
711
|
*
|
712
712
|
* @param fileName -
|
713
713
|
* @param size - Specifies the maximum size in bytes for the file, up to 4 TB.
|
@@ -736,7 +736,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
736
736
|
* Delete File is not supported on a share snapshot, which is a read-only copy of
|
737
737
|
* a share. An attempt to perform this operation on a share snapshot will fail with 400 (InvalidQueryParameterValue)
|
738
738
|
*
|
739
|
-
* @see https://learn.microsoft.com/
|
739
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-file2
|
740
740
|
*
|
741
741
|
* @param fileName - Name of the file to delete
|
742
742
|
* @param options - Options to File Delete operation.
|
@@ -815,7 +815,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
815
815
|
* Returns all system properties for the specified directory, and can also be used to check the
|
816
816
|
* existence of a directory. The data returned does not include the files in the directory or any
|
817
817
|
* subdirectories.
|
818
|
-
* @see https://learn.microsoft.com/
|
818
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-directory-properties
|
819
819
|
*
|
820
820
|
* @param options - Options to Directory Get Properties operation.
|
821
821
|
* @returns Response data for the Directory Get Properties operation.
|
@@ -834,7 +834,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
834
834
|
/**
|
835
835
|
* Removes the specified empty directory. Note that the directory must be empty before it can be
|
836
836
|
* deleted.
|
837
|
-
* @see https://learn.microsoft.com/
|
837
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-directory
|
838
838
|
*
|
839
839
|
* @param options - Options to Directory Delete operation.
|
840
840
|
* @returns Response data for the Directory Delete operation.
|
@@ -847,7 +847,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
847
847
|
/**
|
848
848
|
* Removes the specified empty directory if it exists. Note that the directory must be empty before it can be
|
849
849
|
* deleted.
|
850
|
-
* @see https://learn.microsoft.com/
|
850
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-directory
|
851
851
|
*
|
852
852
|
* @param options -
|
853
853
|
*/
|
@@ -869,7 +869,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
869
869
|
}
|
870
870
|
/**
|
871
871
|
* Updates user defined metadata for the specified directory.
|
872
|
-
* @see https://learn.microsoft.com/
|
872
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-directory-metadata
|
873
873
|
*
|
874
874
|
* @param metadata - If no metadata provided, all existing directory metadata will be removed
|
875
875
|
* @param options - Options to Directory Set Metadata operation.
|
@@ -1132,7 +1132,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
1132
1132
|
/**
|
1133
1133
|
* Returns a list of files or directories under the specified share or directory. It lists the
|
1134
1134
|
* contents only for a single level of the directory hierarchy.
|
1135
|
-
* @see https://learn.microsoft.com/
|
1135
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/list-directories-and-files
|
1136
1136
|
*
|
1137
1137
|
* @param marker - A string value that identifies the portion of the list to be returned with the next list operation.
|
1138
1138
|
* @param options - Options to Directory List Files and Directories Segment operation.
|
@@ -1349,7 +1349,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
1349
1349
|
}
|
1350
1350
|
/**
|
1351
1351
|
* Lists handles for a directory.
|
1352
|
-
* @see https://learn.microsoft.com/
|
1352
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/list-handles
|
1353
1353
|
*
|
1354
1354
|
* @param marker - Optional. A string value that identifies the portion of the list to be
|
1355
1355
|
* returned with the next list handles operation. The operation returns a
|
@@ -1373,7 +1373,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
1373
1373
|
}
|
1374
1374
|
/**
|
1375
1375
|
* Force close all handles for a directory.
|
1376
|
-
* @see https://learn.microsoft.com/
|
1376
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
|
1377
1377
|
*
|
1378
1378
|
* @param marker - Optional. A string value that identifies the position of handles that will
|
1379
1379
|
* be closed with the next force close handles operation.
|
@@ -1394,7 +1394,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
1394
1394
|
}
|
1395
1395
|
/**
|
1396
1396
|
* Force close all handles for a directory.
|
1397
|
-
* @see https://learn.microsoft.com/
|
1397
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
|
1398
1398
|
*
|
1399
1399
|
* @param options -
|
1400
1400
|
*/
|
@@ -1421,7 +1421,7 @@ export class ShareDirectoryClient extends StorageClient {
|
|
1421
1421
|
}
|
1422
1422
|
/**
|
1423
1423
|
* Force close a specific handle for a directory.
|
1424
|
-
* @see https://learn.microsoft.com/
|
1424
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
|
1425
1425
|
*
|
1426
1426
|
* @param aborter - Create a new Aborter instance with Aborter.none or Aborter.timeout(),
|
1427
1427
|
* goto documents of Aborter for more examples about request cancellation
|
@@ -1565,7 +1565,7 @@ export class ShareFileClient extends StorageClient {
|
|
1565
1565
|
}
|
1566
1566
|
/**
|
1567
1567
|
* Creates a new file or replaces a file. Note it only initializes the file with no content.
|
1568
|
-
* @see https://learn.microsoft.com/
|
1568
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/create-file
|
1569
1569
|
*
|
1570
1570
|
* @param size - Specifies the maximum size in bytes for the file, up to 4 TB.
|
1571
1571
|
* @param options - Options to File Create operation.
|
@@ -1626,7 +1626,7 @@ export class ShareFileClient extends StorageClient {
|
|
1626
1626
|
* * In Node.js, data returns in a Readable stream `readableStreamBody`
|
1627
1627
|
* * In browsers, data returns in a promise `contentAsBlob`
|
1628
1628
|
*
|
1629
|
-
* @see https://learn.microsoft.com/
|
1629
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-file
|
1630
1630
|
*
|
1631
1631
|
* @param offset - From which position of the file to download, greater than or equal to 0
|
1632
1632
|
* @param count - How much data to be downloaded, greater than 0. Will download to the end when undefined
|
@@ -1781,7 +1781,7 @@ export class ShareFileClient extends StorageClient {
|
|
1781
1781
|
/**
|
1782
1782
|
* Returns all user-defined metadata, standard HTTP properties, and system properties
|
1783
1783
|
* for the file. It does not return the content of the file.
|
1784
|
-
* @see https://learn.microsoft.com/
|
1784
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-file-properties
|
1785
1785
|
*
|
1786
1786
|
* @param options - Options to File Get Properties operation.
|
1787
1787
|
* @returns Response data for the File Get Properties operation.
|
@@ -1800,7 +1800,7 @@ export class ShareFileClient extends StorageClient {
|
|
1800
1800
|
}
|
1801
1801
|
/**
|
1802
1802
|
* Sets properties on the file.
|
1803
|
-
* @see https://learn.microsoft.com/
|
1803
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-file-properties
|
1804
1804
|
*
|
1805
1805
|
* @param properties - File properties. For file HTTP headers(e.g. Content-Type),
|
1806
1806
|
* if no values are provided, existing HTTP headers will be removed.
|
@@ -1835,7 +1835,7 @@ export class ShareFileClient extends StorageClient {
|
|
1835
1835
|
* Delete File is not supported on a share snapshot, which is a read-only copy of
|
1836
1836
|
* a share. An attempt to perform this operation on a share snapshot will fail with 400 (InvalidQueryParameterValue)
|
1837
1837
|
*
|
1838
|
-
* @see https://learn.microsoft.com/
|
1838
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-file2
|
1839
1839
|
*
|
1840
1840
|
* @param options - Options to File Delete operation.
|
1841
1841
|
* @returns Response data for the File Delete operation.
|
@@ -1857,7 +1857,7 @@ export class ShareFileClient extends StorageClient {
|
|
1857
1857
|
* Delete File is not supported on a share snapshot, which is a read-only copy of
|
1858
1858
|
* a share. An attempt to perform this operation on a share snapshot will fail with 400 (InvalidQueryParameterValue)
|
1859
1859
|
*
|
1860
|
-
* @see https://learn.microsoft.com/
|
1860
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/delete-file2
|
1861
1861
|
*
|
1862
1862
|
* @param options -
|
1863
1863
|
*/
|
@@ -1882,7 +1882,7 @@ export class ShareFileClient extends StorageClient {
|
|
1882
1882
|
*
|
1883
1883
|
* If no option provided, or no value provided for the file HTTP headers in the options,
|
1884
1884
|
* these file HTTP headers without a value will be cleared.
|
1885
|
-
* @see https://learn.microsoft.com/
|
1885
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-file-properties
|
1886
1886
|
*
|
1887
1887
|
* @param FileHttpHeaders - File HTTP headers like Content-Type.
|
1888
1888
|
* Provide undefined will remove existing HTTP headers.
|
@@ -1908,7 +1908,7 @@ export class ShareFileClient extends StorageClient {
|
|
1908
1908
|
/**
|
1909
1909
|
* Resize file.
|
1910
1910
|
*
|
1911
|
-
* @see https://learn.microsoft.com/
|
1911
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-file-properties
|
1912
1912
|
*
|
1913
1913
|
* @param length - Resizes a file to the specified size in bytes.
|
1914
1914
|
* If the specified byte value is less than the current size of the file,
|
@@ -1938,7 +1938,7 @@ export class ShareFileClient extends StorageClient {
|
|
1938
1938
|
*
|
1939
1939
|
* If no metadata defined in the option parameter, the file
|
1940
1940
|
* metadata will be removed.
|
1941
|
-
* @see https://learn.microsoft.com/
|
1941
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-file-metadata
|
1942
1942
|
*
|
1943
1943
|
* @param metadata - If no metadata provided, all existing directory metadata will be removed
|
1944
1944
|
* @param options - Options to File Set Metadata operation.
|
@@ -2091,7 +2091,7 @@ export class ShareFileClient extends StorageClient {
|
|
2091
2091
|
/**
|
2092
2092
|
* Aborts a pending Copy File operation, and leaves a destination file with zero length and full
|
2093
2093
|
* metadata.
|
2094
|
-
* @see https://learn.microsoft.com/
|
2094
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/abort-copy-file
|
2095
2095
|
*
|
2096
2096
|
* @param copyId - Id of the Copy File operation to abort.
|
2097
2097
|
* @param options - Options to File Abort Copy From URL operation.
|
@@ -2424,7 +2424,7 @@ export class ShareFileClient extends StorageClient {
|
|
2424
2424
|
}
|
2425
2425
|
/**
|
2426
2426
|
* Lists handles for a file.
|
2427
|
-
* @see https://learn.microsoft.com/
|
2427
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/list-handles
|
2428
2428
|
*
|
2429
2429
|
* @param marker - Optional. A string value that identifies the portion of the list to be
|
2430
2430
|
* returned with the next list handles operation. The operation returns a
|
@@ -2534,7 +2534,7 @@ export class ShareFileClient extends StorageClient {
|
|
2534
2534
|
}
|
2535
2535
|
/**
|
2536
2536
|
* Force close all handles for a file.
|
2537
|
-
* @see https://learn.microsoft.com/
|
2537
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
|
2538
2538
|
*
|
2539
2539
|
* @param marker - Optional. A string value that identifies the position of handles that will
|
2540
2540
|
* be closed with the next force close handles operation.
|
@@ -2555,7 +2555,7 @@ export class ShareFileClient extends StorageClient {
|
|
2555
2555
|
}
|
2556
2556
|
/**
|
2557
2557
|
* Force close all handles for a file.
|
2558
|
-
* @see https://learn.microsoft.com/
|
2558
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
|
2559
2559
|
*
|
2560
2560
|
* @param options - Options to force close handles operation.
|
2561
2561
|
*/
|
@@ -2582,7 +2582,7 @@ export class ShareFileClient extends StorageClient {
|
|
2582
2582
|
}
|
2583
2583
|
/**
|
2584
2584
|
* Force close a specific handle for a file.
|
2585
|
-
* @see https://learn.microsoft.com/
|
2585
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
|
2586
2586
|
*
|
2587
2587
|
* @param handleId - Specific handle ID, cannot be asterisk "*".
|
2588
2588
|
* Use forceCloseAllHandles() to close all handles.
|
@@ -2660,7 +2660,7 @@ export class ShareFileClient extends StorageClient {
|
|
2660
2660
|
* Generates a Service Shared Access Signature (SAS) URI based on the client properties
|
2661
2661
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
2662
2662
|
*
|
2663
|
-
* @see https://learn.microsoft.com/
|
2663
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
|
2664
2664
|
*
|
2665
2665
|
* @param options - Optional parameters.
|
2666
2666
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
@@ -2678,7 +2678,7 @@ export class ShareFileClient extends StorageClient {
|
|
2678
2678
|
* Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
|
2679
2679
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
2680
2680
|
*
|
2681
|
-
* @see https://learn.microsoft.com/
|
2681
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
|
2682
2682
|
*
|
2683
2683
|
* @param options - Optional parameters.
|
2684
2684
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|