[AutoPR azure-resourcemanager-fileshares]-generated-from-SDK Generation - Python-6239783#46602
Closed
ankushbindlish2 wants to merge 9 commits intoAzure:mainfrom
Closed
[AutoPR azure-resourcemanager-fileshares]-generated-from-SDK Generation - Python-6239783#46602ankushbindlish2 wants to merge 9 commits intoAzure:mainfrom
ankushbindlish2 wants to merge 9 commits intoAzure:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new management-plane Python SDK package, azure-mgmt-fileshares (1.0.0b1), under the new sdk/fileshares/ service directory, along with CI wiring and the generated client implementation, docs stubs, samples, and test scaffolding.
Changes:
- Add a new service directory pipeline definition at
sdk/fileshares/ci.yml. - Add the new
sdk/fileshares/azure-mgmt-filesharespackage (generated sources, packaging files, metadata). - Add generated samples/tests scaffolding for the new client API surface.
Reviewed changes
Copilot reviewed 78 out of 80 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/fileshares/ci.yml | New service directory CI pipeline configuration for fileshares. |
| sdk/fileshares/azure-mgmt-fileshares/tsp-location.yaml | TypeSpec/spec location pin for generation source. |
| sdk/fileshares/azure-mgmt-fileshares/toc_tree.rst | Sphinx doc TOC stub for the package. |
| sdk/fileshares/azure-mgmt-fileshares/pyproject.toml | Package build metadata and dependencies. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_private_link_resources_operations_async.py | Generated async test scaffolding for private link resources operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_private_link_resources_operations.py | Generated sync test scaffolding for private link resources operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_private_endpoint_connections_operations_async.py | Generated async test scaffolding for private endpoint connections operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_private_endpoint_connections_operations.py | Generated sync test scaffolding for private endpoint connections operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_operations_async.py | Generated async test scaffolding for operations list. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_operations.py | Generated sync test scaffolding for operations list. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_informational_operations_operations_async.py | Generated async test scaffolding for informational operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_informational_operations_operations.py | Generated sync test scaffolding for informational operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_file_shares_operations_async.py | Generated async test scaffolding for file shares operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_file_shares_operations.py | Generated sync test scaffolding for file shares operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_file_share_snapshots_operations_async.py | Generated async test scaffolding for snapshot operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_file_share_snapshots_operations.py | Generated sync test scaffolding for snapshot operations. |
| sdk/fileshares/azure-mgmt-fileshares/generated_tests/conftest.py | Test-proxy sanitizers and environment loading for recordings. |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_link_resources_list_by_file_share.py | Generated sample for listing private link resources. |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_link_resources_get.py | Generated sample for getting a private link resource. |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_endpoint_connections_list_by_file_share.py | Generated sample for listing private endpoint connections. |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_endpoint_connections_get.py | Generated sample for getting a private endpoint connection. |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_endpoint_connections_delete.py | Generated sample for deleting a private endpoint connection (LRO). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_endpoint_connections_create.py | Generated sample for creating a private endpoint connection (LRO). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/operations_list_minimum_set_gen.py | Generated sample for operations list (minimum set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/operations_list_maximum_set_gen.py | Generated sample for operations list (maximum set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_update_maximum_set_gen.py | Generated sample for updating a file share (maximum set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_list_by_subscription_minimum_set_gen.py | Generated sample for listing file shares by subscription (min set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_list_by_subscription_maximum_set_gen.py | Generated sample for listing file shares by subscription (max set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_list_by_parent_minimum_set_gen.py | Generated sample for listing file shares by parent (min set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_list_by_parent_maximum_set_gen.py | Generated sample for listing file shares by parent (max set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_get_maximum_set_gen.py | Generated sample for getting a file share (maximum set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_delete_maximum_set_gen.py | Generated sample for deleting a file share (LRO). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_create_or_update_maximum_set_gen.py | Generated sample for create/update a file share (maximum set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_check_name_availability_minimum_set_gen.py | Generated sample for name availability check (min set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_check_name_availability_maximum_set_gen.py | Generated sample for name availability check (max set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_update_maximum_set_gen.py | Generated sample for updating a snapshot (LRO). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_list_minimum_set_gen.py | Generated sample for listing snapshots (min set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_list_maximum_set_gen.py | Generated sample for listing snapshots (max set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_get_maximum_set_gen.py | Generated sample for getting a snapshot (maximum set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_delete_maximum_set_gen.py | Generated sample for deleting a snapshot (LRO). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_create_or_update_maximum_set_gen.py | Generated sample for create/update a snapshot (maximum set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_usage_data_minimum_set_gen.py | Generated sample for usage data (min set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_usage_data_maximum_set_gen.py | Generated sample for usage data (max set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_provisioning_recommendation_minimum_set_gen.py | Generated sample for provisioning recommendation (min set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_provisioning_recommendation_maximum_set_gen.py | Generated sample for provisioning recommendation (max set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_limits_minimum_set_gen.py | Generated sample for limits (min set). |
| sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_limits_maximum_set_gen.py | Generated sample for limits (max set). |
| sdk/fileshares/azure-mgmt-fileshares/dev_requirements.txt | Dev/test dependency pinning for the package directory. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/py.typed | PEP 561 typing marker for the package. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/operations/_patch.py | Customization hook stub for operations namespace. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/operations/init.py | Operations namespace exports and patch hook invocation. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/models/_patch.py | Customization hook stub for models namespace. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/models/_enums.py | Generated enum types for the service. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/models/init.py | Models namespace exports and patch hook invocation. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/operations/_patch.py | Async operations customization hook stub. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/operations/init.py | Async operations exports and patch hook invocation. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/_patch.py | Async package-level customization hook stub. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/_configuration.py | Async client configuration (policies, auth). |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/_client.py | Async management client implementation. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/init.py | Async package exports/version patch hook. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_version.py | Package version constant (dynamic version source). |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_validation.py | API version validation helper decorator. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_utils/model_base.py | Generated model base/serialization infrastructure. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_utils/init.py | Utils package marker. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_patch.py | Sync package-level customization hook stub. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_configuration.py | Sync client configuration (policies, auth). |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_client.py | Sync management client implementation. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/init.py | Sync package exports/version patch hook. |
| sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/init.py | Namespace package marker for azure.mgmt. |
| sdk/fileshares/azure-mgmt-fileshares/azure/init.py | Namespace package marker for azure. |
| sdk/fileshares/azure-mgmt-fileshares/apiview-properties.json | APIView cross-language mapping metadata. |
| sdk/fileshares/azure-mgmt-fileshares/_metadata.json | Generated API version metadata. |
| sdk/fileshares/azure-mgmt-fileshares/README.md | Package README (currently template-based). |
| sdk/fileshares/azure-mgmt-fileshares/MANIFEST.in | Source distribution include rules. |
| sdk/fileshares/azure-mgmt-fileshares/LICENSE | MIT license text. |
| sdk/fileshares/azure-mgmt-fileshares/CHANGELOG.md | Initial release changelog entry for 1.0.0b1. |
- Add hand-written tests/ suite (CRUD, listing, snapshots, edge cases, negatives, private endpoint, complex scenarios, informational) using AzureMgmtRecordedTestCase. - Rewrite generated_tests/ to use realistic FileShare payloads via shared _helpers.py and proxy 'variables' for name persistence across record/playback. - Add assets.json pointing at azure-sdk-assets tag python/fileshares/azure-mgmt-fileshares_d5b0dfcc03 (67 recordings: 31 hand-written + 36 generated). - Live + playback both pass against canary ARM (eastus2euap) using GA api-version 2026-06-01.
test_file_share_crud and test_operations_list have no proxy recording committed to the assets repo, so they fail in CI playback. Mark them live_test_only until recordings are captured and pushed.
Member
|
move this PR to #46749. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines
Release Plan Details
Spec pull request: Add FileShares 2026-06-01 examples and stable azure-rest-api-specs#40449
Spec API version: 2026-06-01