[Compute] az vm/vmss create/ update: Update help message for --security-type#33394
[Compute] az vm/vmss create/ update: Update help message for --security-type#33394william051200 wants to merge 1 commit into
az vm/vmss create/ update: Update help message for --security-type#33394Conversation
️✔️AzureCLI-FullTest
|
|
Hi @william051200, |
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| postgres flexible-server create | cmd postgres flexible-server create added parameter subnet_address_prefix |
||
| postgres flexible-server create | cmd postgres flexible-server create added parameter vnet_address_prefix |
||
| postgres flexible-server create | cmd postgres flexible-server create added property deprecate_info_target |
||
| postgres flexible-server geo-restore | cmd postgres flexible-server geo-restore added parameter subnet_address_prefix |
||
| postgres flexible-server geo-restore | cmd postgres flexible-server geo-restore added parameter vnet_address_prefix |
||
| postgres flexible-server geo-restore | cmd postgres flexible-server geo-restore added property deprecate_info_target |
||
| postgres flexible-server replica create | cmd postgres flexible-server replica create added parameter subnet_address_prefix |
||
| postgres flexible-server replica create | cmd postgres flexible-server replica create added parameter vnet_address_prefix |
||
| postgres flexible-server replica create | cmd postgres flexible-server replica create added property deprecate_info_target |
||
| postgres flexible-server restore | cmd postgres flexible-server restore added parameter subnet_address_prefix |
||
| postgres flexible-server restore | cmd postgres flexible-server restore added parameter vnet_address_prefix |
||
| postgres flexible-server restore | cmd postgres flexible-server restore added property deprecate_info_target |
||
| postgres flexible-server revive-dropped | cmd postgres flexible-server revive-dropped added parameter subnet_address_prefix |
||
| postgres flexible-server revive-dropped | cmd postgres flexible-server revive-dropped added parameter vnet_address_prefix |
||
| postgres flexible-server revive-dropped | cmd postgres flexible-server revive-dropped added property deprecate_info_target |
|
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>
|
There was a problem hiding this comment.
Pull request overview
Removes outdated guidance from the --security-type help text for az vm/az vmss create/update, since CRP no longer requires the Microsoft.Compute/UseStandardSecurityType AFEC feature flag to use Standard.
Changes:
- Simplifies
--security-typehelp on VM commands. - Simplifies
--security-typehelp on VMSS commands.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
--security-typeaz vm/vmss create/ update: Update help message for --security-type
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
az vm createaz vm updateaz vmss createaz vmss updateDescription
Resolve #33280
As per request ASK:

After investigation:
CLI does not enforce
Microsoft.Compute/UseStandardSecurityTypeAFEC registration when using--security-type Standard.The only change required is removing the help message:
"The value Standard can be used if subscription has feature flag UseStandardSecurityType registered under Microsoft.Compute namespace."
Testing Guide
History Notes
This 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.