Skip to content

Commit 2c9e9de

Browse files
authored
[storage-file-share]Add support for file/directory renaming. (Azure#19548)
* Add support for file renaming. * Resolve comments. * Resolve comments * Resolve comments * Resolve comments * Resolve comments * Prettier
1 parent a77e6eb commit 2c9e9de

File tree

81 files changed

+12829
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+12829
-98
lines changed

sdk/storage/storage-file-share/CHANGELOG.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Added support for service version 2021-04-10.
8+
- Added support for renaming a file or a directory.
129

1310
## 12.9.0-beta.2 (2021-12-03)
1411

@@ -206,14 +203,14 @@
206203
Before this change the option is specified as
207204
```js
208205
fileServiceClient.listShares({
209-
include: ["metadata", "snapshots"]
206+
include: ["metadata", "snapshots"],
210207
});
211208
```
212209
After this change:
213210
```js
214211
fileServiceClient.listShares({
215212
includeMetadata: true,
216-
includeSnapshots: true
213+
includeSnapshots: true,
217214
});
218215
```
219216

@@ -244,7 +241,7 @@
244241
- Added `DirectoryClient.listHandlesSegment()` and `FileClient.listHandlesSegment()` to returns a list of open handles on a directory or a file.
245242
- Added `DirectoryClient.forceCloseHandlesSegment()`, `FileClient.forceCloseHandlesSegment()`, `DirectoryClient.forceCloseHandle()` and `FileClient.forceCloseHandle()` to close handles.
246243
- Pass through `options.abortSignal` to the optional `abortSignal` attribute in option bags instead of using `AbortSignal.none` as the default value when `options.abortSignal` is not specified.
247-
- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/src/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-file-share/samples/v12/typescript/src/proxyAuth.ts)
244+
- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-file-share/samples-dev/proxyAuth.ts)
248245
- Connection strings for explicit storage endpoints are supported. - [Configure Azure Storage connection strings](https://docs.microsoft.com/azure/storage/common/storage-configure-connection-string#create-a-connection-string-for-an-explicit-storage-endpoint)
249246

250247
## 12.0.0-preview.2 (2019-08-01)

sdk/storage/storage-file-share/recordings/browsers/directoryclient/recording_rename.json

Lines changed: 139 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/storage/storage-file-share/recordings/browsers/directoryclient/recording_rename__destination_leased.json

Lines changed: 180 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)