Skip to content

{MySQL} Set default value of auto_scale_iops to 'Enabled' - #34014

Open
ShawnX (ShawnXxy) wants to merge 1 commit into
Azure:devfrom
ShawnXxy:fix/mysql-import-auto-scale-iops-default
Open

{MySQL} Set default value of auto_scale_iops to 'Enabled'#34014
ShawnX (ShawnXxy) wants to merge 1 commit into
Azure:devfrom
ShawnXxy:fix/mysql-import-auto-scale-iops-default

Conversation

@ShawnXxy

@ShawnXxy ShawnX (ShawnXxy) commented Sep 1, 2026

Copy link
Copy Markdown

🤖 PR Validation — ❌ Action needed

Breaking Changes Tests
❌ 1 ️✔️ 130/130
❌AzureCLI-BreakingChangeTest
❌mysql
rule cmd_name rule_message suggest_message
1010 - ParaPropUpdate mysql flexible-server import create cmd mysql flexible-server import create update parameter auto_scale_iops: updated property default from Disabled to Enabled please change property default from Enabled to Disabled for parameter auto_scale_iops of cmd mysql flexible-server import create

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

Related command

az mysql flexible-server import --help

Description

Addressing #32568.
The issue was introduced in #30852 where the CLIArgumentType was left unchanged when the breaking default value changes happened

Testing Guide

python -m azure.cli mysql flexible-server import create --help 2>&1 |    Select-String -Pattern '--auto-scale-iops' -Context 0,3

>     --auto-scale-iops              : Enable or disable the auto scale iops. Default value is
                                       Enabled.  Allowed values: Disabled, Enabled.  Default: Enabled.

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 feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@ShawnXxy
ShawnX (ShawnXxy) requested a review from a team as a code owner September 1, 2026 13:28
Copilot AI lite review requested due to automatic review settings September 1, 2026 13:28
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the az mysql flexible-server import create argument definition so the displayed default for --auto-scale-iops matches the help text and intended breaking-change default (“Enabled”), addressing the inconsistency reported in #32568.

Changes:

  • Update mysql flexible-server import create to set auto_scale_iops default to Enabled (aligning with the argument help text and mysql flexible-server create behavior).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@yonzhan

Copy link
Copy Markdown
Collaborator

MySQL

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