-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
{RDBMS} az postgres flexible-server firewall-rule
: Update validations and message for fire wall rule commands
#30780
Conversation
️✔️AzureCLI-FullTest
|
❌AzureCLI-BreakingChangeTest
|
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>
|
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
lgtm |
@evelyn-ys can this be merged in |
@calvinhzy can this please be merged? |
Related command
az postgres flexible-server firewall-rule
Description
az postgres flexible-server firewall-rule create needs to validate that either --start-ip-address or --end-ip-address are passed. Otherwise, it constructs a request with an empty body that returns an InternalServerError.''
Change the text of this error, to the following:
Firewall rule operations cannot be requested for a server that doesn't have public access enabled.
Testing Guide

Manual
Validate stat or end has to be passed
Update error text

History Notes
[Component Name 1] BREAKING CHANGE:
az command a
: Make some customer-facing breaking change[Component Name 2]
az command b
: Add some customer-facing featureThis 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.