Skip to content

Conversation

@nasc17
Copy link
Member

@nasc17 nasc17 commented Dec 19, 2025

Related command
az postgres flexible-server backup az postgres flexible-server db az postgres flexible-server firewall-rule az postgres flexible-server long-term-retention az postgres flexible-server migration az postgres flexible-server replica create

Description
Wish to change in future:
--name should refer to the object to which the command refers
--server-name should be used whenever the command doesn't refer directly to the server object, but requires the name of the server to be provided as an input.

Commands which are correctly using this pattern:
az postgres flexible-server ad-admin commands.
az postgres flexible-server advanced-threat-protection-setting.
az postgres flexible-server identity.
az postgres flexible-server parameter.
az postgres flexible-server private-endpoint-connection.
az postgres flexible-server private-link-resource.
az postgres flexible-server server-logs.
az postgres flexible-server virtual-endpoint.

Commands which aren't using that pattern and should be changed, following corresponding deprecation path:
az postgres flexible-server backup: --backup-name should be replaced with --name, and --name should be replaced with --server-name.
az postgres flexible-server db: --database-name should be replaced with --name.
az postgres flexible-server firewall-rule: --name should be replaced with --server-name, and --rule-name should be replaced with --name.
az postgres flexible-server long-term-retention: --name should be replaced with --server-name.
az postgres flexible-server migration: --migration-name should be replaced with --name, and --name should be replaced with --server-name.

Testing Guide

History Notes
[RDBMS] az postgres flexible-server replica create: Add --name argument to specify read replica name

Copilot AI review requested due to automatic review settings December 19, 2025 04:17
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Dec 19, 2025

️✔️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
️✔️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

@nasc17 nasc17 review requested due to automatic review settings December 19, 2025 04:17
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Dec 19, 2025

⚠️AzureCLI-BreakingChangeTest
⚠️rdbms
rule cmd_name rule_message suggest_message
⚠️ 1013 - SubgroupPropAdd postgres flexible-server backup sub group postgres flexible-server backup added property deprecate_info_target
⚠️ 1013 - SubgroupPropAdd postgres flexible-server db sub group postgres flexible-server db added property deprecate_info_target
⚠️ 1013 - SubgroupPropAdd postgres flexible-server firewall-rule sub group postgres flexible-server firewall-rule added property deprecate_info_target
⚠️ 1013 - SubgroupPropAdd postgres flexible-server long-term-retention sub group postgres flexible-server long-term-retention added property deprecate_info_target
⚠️ 1013 - SubgroupPropAdd postgres flexible-server migration sub group postgres flexible-server migration added property deprecate_info_target
⚠️ 1006 - ParaAdd postgres flexible-server replica create cmd postgres flexible-server replica create added parameter name
⚠️ 1009 - ParaPropRemove postgres flexible-server replica create cmd postgres flexible-server replica create update parameter replica_name: removed property required=True

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 19, 2025

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

@nasc17 nasc17 requested a review from mattboentoro December 19, 2025 04:17
@github-actions
Copy link

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>

@nasc17
Copy link
Member Author

nasc17 commented Dec 19, 2025

@evelyn-ys please trigger checks

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 19, 2025

/azp run

@azure-pipelines
Copy link

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.

6 participants