-
Notifications
You must be signed in to change notification settings - Fork 952
[Migration-check] sdk/resourcemanager/postgresql/armpostgresql #25724
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
base: main
Are you sure you want to change the base?
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 performs a major migration of the sdk/resourcemanager/postgresql/armpostgresql module from v1 to v2. The migration involves updating the module path, API versions, code generation tooling, and service API endpoints to support the newer PostgreSQL Flexible Server APIs.
Key changes include:
- Module path updated from
armpostgresqltoarmpostgresql/v2 - Migration from AutoRest to Go Code Generator for code generation
- API version updated from 2017-12-01 to 2025-08-01
- Service endpoints changed from
/servers/to/flexibleServers/
Reviewed changes
Copilot reviewed 71 out of 122 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updated module path to v2 |
| migrations_client.go | Added new migrations client for database migration operations |
| migrations_client_example_test.go | Added comprehensive example tests for migrations client |
| firewallrules_client.go | Updated API version and endpoints to flexible servers |
| firewallrules_client_example_test.go | Updated examples with new API patterns |
| servers_client.go | Updated server operations for flexible servers API |
| fake/servers_server.go | Updated fake server implementation with new methods (Start/Stop) |
| fake/server_factory.go | Expanded fake server factory with new client types |
| Multiple removed files | Removed deprecated clients (LogFiles, ServerKeys, ServerAdministrators, etc.) |
| Multiple new fake files | Added fake servers for new clients (VirtualEndpoints, TuningOptions, etc.) |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
|
breaking change check