[POSTGRESQL] az postgres flexible-server create, replica create, restore, geo-restore, and revive-dropped: Add breaking change announcement for command behavioral change related to network resources#33077
Conversation
…om flexible server commands
|
Validation for Azure CLI Full Test Starting...
Thanks for your contribution! |
|
Hi @nachoalonsoportillo, |
|
Validation for Breaking Change Starting...
Thanks for your contribution! |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull request overview
Adds breaking-change announcements in the PostgreSQL command module to inform users that certain az postgres flexible-server workflows will no longer create/modify customer-owned network resources, and that required networking must be provisioned via az network.
Changes:
- Updates/clarifies existing breaking-change comments for Index Tuning → Autonomous Tuning and long-term retention deprecation.
- Adds
register_other_breaking_changeannouncements for flexible-servercreate,replica create,restore, andgeo-restoreregarding network resource behavior changes. - Also adds the same announcement for
postgres flexible-server revive-dropped.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/azure-cli/azure/cli/command_modules/postgresql/_breaking_change.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/postgresql/_breaking_change.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/postgresql/_breaking_change.py
Outdated
Show resolved
Hide resolved
…ble server commands
Related command
az postgres flexible-server createaz postgres flexible-server replica createaz postgres flexible-server restoreaz postgres flexible-server geo-restoreaz postgres flexible-server revive-droppedDescription
Creation or modification of customer owned network resources currently implemented in this module will be removed.
Required network resources for the server to function should be provisioned or altered using the commands provided by the
az networkmodule.Testing Guide
History Notes
[POSTGRESQL] BREAKING CHANGE:
az postgres flexible-server create: Non-existing customer-owned network resources which are required for this command to function won't be provisioned or configured by this command.[POSTGRESQL] BREAKING CHANGE:
az postgres flexible-server replica create: Non-existing customer-owned network resources which are required for this command to function won't be provisioned or configured by this command.[POSTGRESQL] BREAKING CHANGE:
az postgres flexible-server restore: Non-existing customer-owned network resources which are required for this command to function won't be provisioned or configured by this command.[POSTGRESQL] BREAKING CHANGE:
az postgres flexible-server geo-restore: Non-existing customer-owned network resources which are required for this command to function won't be provisioned or configured by this command.[POSTGRESQL] BREAKING CHANGE:
az postgres flexible-server revive-dropped: Non-existing customer-owned network resources which are required for this command to function won't be provisioned or configured by this command.This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.