Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Share Features until STG82 #3908

Merged
merged 11 commits into from
Aug 29, 2022
6 changes: 6 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@
"numofmessages"
]
},
{
"filename": "**/sdk/storage/azure-storage-files-shares/**/*",
"words": [
"mibps"
]
},
{
"filename": "**/cmake-modules/**/*",
"words": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
* @brief Renames a file. By default, the destination is overwritten and
* if the destination already exists and has a lease the lease is broken.
* @param fileName The file that gets renamed.
* @param destinationFilePath The path of the file the source file is renaming to.
* @param destinationFilePath The path of the file the source file is renaming to. The
* destination is an absolute path under the root of the file system, without leading slash.
* @param options Optional parameters to rename a file.
* @param context Context for cancelling long running operations.
* @return Azure::Response<DataLakeFileClient> The client targets the renamed file.
Expand All @@ -140,6 +141,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
* if the destination already exists and has a lease the lease is broken.
* @param subdirectoryName The subdirectory that gets renamed.
* @param destinationDirectoryPath The destinationPath the source subdirectory is renaming to.
* The destination is an absolute path under the root of the file system, without leading slash.
* @param options Optional parameters to rename a directory.
* @param context Context for cancelling long running operations.
* @return Azure::Response<DataLakeDirectoryClient> The client targets the renamed
Expand Down
10 changes: 10 additions & 0 deletions sdk/storage/azure-storage-files-shares/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

### Features Added

- Bumped up API version to `2021-06-08`.
- Added fields `ProvisionedBandwidthMBps`, `EnabledProtocols` and `RootSquash` in `ShareItemDetails` and `ShareProperties`.
- Added support for listing files with extended information.
- Added new APIs:
- ShareDirectoryClient::RenameFile()
- ShareDirectoryClient::RenameSubdirectory()
- ShareLeaseClient::Renew()
- Added support for specifying last written time when uploading file range.
- Added support for specifying file changed time when creating/copying file or setting file properties.

### Breaking Changes

### Bugs Fixed
Expand Down
Loading