Skip to content

[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

Open
nachoalonsoportillo wants to merge 11 commits intoAzure:devfrom
nachoalonsoportillo:announce-deprecation-of-network-resource-provisioning-from-any-flexible-server-commands

Conversation

@nachoalonsoportillo
Copy link
Copy Markdown
Member

@nachoalonsoportillo nachoalonsoportillo commented Mar 26, 2026

Related command
az postgres flexible-server create
az postgres flexible-server replica create
az postgres flexible-server restore
az postgres flexible-server geo-restore
az postgres flexible-server revive-dropped

Description
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 network module.

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.

Copilot AI review requested due to automatic review settings March 26, 2026 22:52
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Mar 26, 2026

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @nachoalonsoportillo,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Mar 26, 2026

❌AzureCLI-BreakingChangeTest
❌apim
rule cmd_name rule_message suggest_message
1012 - SubgroupRemove apim backend sub group apim backend removed please confirm sub group apim backend removed
⚠️postgresql
rule cmd_name rule_message suggest_message
⚠️ 1003 - CmdPropAdd postgres flexible-server create cmd postgres flexible-server create added property deprecate_info_target
⚠️ 1003 - CmdPropAdd postgres flexible-server geo-restore cmd postgres flexible-server geo-restore added property deprecate_info_target
⚠️ 1003 - CmdPropAdd postgres flexible-server replica create cmd postgres flexible-server replica create added property deprecate_info_target
⚠️ 1003 - CmdPropAdd postgres flexible-server restore cmd postgres flexible-server restore added property deprecate_info_target
⚠️ 1003 - CmdPropAdd postgres flexible-server revive-dropped cmd postgres flexible-server revive-dropped added property deprecate_info_target

Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:

  • Breaking changes can only be merged during the designated breaking change window
  • A pre-announcement must be released at least one month in advance

For more details on how to introduce breaking changes, refer to the documentation: azure-cli/doc/how_to_introduce_breaking_changes.md

@nachoalonsoportillo nachoalonsoportillo requested review from nasc17 and removed request for Copilot March 26, 2026 22:52
@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 26, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown

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).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copilot AI review requested due to automatic review settings March 27, 2026 08:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_change announcements for flexible-server create, replica create, restore, and geo-restore regarding 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.

@nachoalonsoportillo nachoalonsoportillo changed the title [POSTGRESQL] az postgres flexible-server create, replica create, restore, and geo-restore: Add breaking change announcement for command behavioral change related to network resources [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 Mar 27, 2026
@nasc17
Copy link
Copy Markdown
Member

nasc17 commented Mar 30, 2026

@calvinhzy @yonzhan please run checks and merge, we wish to have announcement in for breaking changes

@nachoalonsoportillo nachoalonsoportillo changed the title [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 [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 Mar 30, 2026
@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 31, 2026

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@nachoalonsoportillo nachoalonsoportillo changed the title [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 [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 Mar 31, 2026
@nachoalonsoportillo
Copy link
Copy Markdown
Member Author

@yonzhan Can you run checks again, please

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 31, 2026

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants