[MySQL] az mysql flexible-server create/update: Support Accelerated Logs for GeneralPurpose#32175
[MySQL] az mysql flexible-server create/update: Support Accelerated Logs for GeneralPurpose#32175
az mysql flexible-server create/update: Support Accelerated Logs for GeneralPurpose#32175Conversation
️✔️AzureCLI-FullTest
|
|
Hi @honghr, |
️✔️AzureCLI-BreakingChangeTest
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates the MySQL flexible server functionality to support Accelerated Logs for GeneralPurpose tier servers. Previously, Accelerated Logs were only available for MemoryOptimized tier servers.
- Modified validation logic to only restrict Accelerated Logs for Burstable tier instead of all non-MemoryOptimized tiers
- Updated warning message to reflect the new restriction applies only to Burstable tier
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/azure-cli/azure/cli/command_modules/mysql/custom.py | Updated logic to disable accelerated logs only for Burstable tier |
| src/azure-cli/azure/cli/command_modules/mysql/_validators.py | Modified validator to warn only when Burstable tier attempts to enable accelerated logs |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
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>
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
Related command
az mysql flexible-server create --accelerated-logs
az mysql flexible-server udapte --accelerated-logs
Description
Support enable accelerated logs for GeneralPurpose mysql server.
Testing Guide
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.