-
Notifications
You must be signed in to change notification settings - Fork 5k
[Storage] [DataMovement] NFS over REST Azure SDK Feedback #50369
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
[Storage] [DataMovement] NFS over REST Azure SDK Feedback #50369
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the RawProperties
setter in StorageResourceContainerProperties
and replaces it with a constructor-based injection, updating all call sites and generated API signatures accordingly.
- Introduce a new constructor on
StorageResourceContainerProperties
to acceptRawProperties
and remove its setter - Update extension methods and generated API files to use the new constructor overload
- Adjust doc comments, default initializations, and the CHANGELOG to reflect the changes
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
sdk/storage/Azure.Storage.DataMovement/src/StorageResourceContainerProperties.cs | Removed setter from RawProperties , added constructor injection |
sdk/storage/Azure.Storage.DataMovement/src/Shared/DataMovementExtensions.cs | Deleted obsolete ToStorageResourceContainerProperties helper |
sdk/storage/Azure.Storage.DataMovement/api/Azure.Storage.DataMovement.netstandard2.0.cs | Updated API surface: removed setter and added constructor overload |
sdk/storage/Azure.Storage.DataMovement/api/Azure.Storage.DataMovement.net8.0.cs | Updated API surface similarly |
sdk/storage/Azure.Storage.DataMovement/api/Azure.Storage.DataMovement.net6.0.cs | Updated API surface similarly |
sdk/storage/Azure.Storage.DataMovement.Files.Shares/src/SharesPathScanner.cs | Changed destinationPermissionKey initialization to default |
sdk/storage/Azure.Storage.DataMovement.Files.Shares/src/ShareFileStorageResourceOptions.cs | Refined protocol validation doc comment |
sdk/storage/Azure.Storage.DataMovement.Files.Shares/src/DataMovementSharesExtensions.cs | Updated call sites to use new StorageResourceContainerProperties constructor |
sdk/storage/Azure.Storage.DataMovement.Files.Shares/CHANGELOG.md | Added notes for NFS/SMB support and protocol validation |
sdk/storage/Azure.Storage.DataMovement.Files.Shares/src/SharesPathScanner.cs
Show resolved
Hide resolved
sdk/storage/Azure.Storage.DataMovement/src/StorageResourceContainerProperties.cs
Show resolved
Hide resolved
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
sdk/storage/Azure.Storage.DataMovement/api/Azure.Storage.DataMovement.net6.0.cs
Outdated
Show resolved
Hide resolved
…ovement.net6.0.cs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - had some comments about the changelog
The one feedback left by Krzysztof is to remove the setter from StorageResourceContainerProperties.RawProperties
https://spa.apiview.dev/review/fffb907bd4224ac4b0f95dfb164a72e3?activeApiRevisionId=97d6fe72071647778dc8ebf8ec528145&diffApiRevisionId=178e9f025cc64925894a5f5326c1922e&diffStyle=trees