Azure / azure-cli

Azure Command-Line Interface
MIT License
4.01k stars 2.98k forks source link

Parameter --zone is different from the parameter used on other resources to accomplish the same objective #18650

Open ricmmartins opened 3 years ago

ricmmartins commented 3 years ago

The parameter (--zone) to specify the list of availability zones into which provision the resource for a public ip (az network public-ip create) is different from the parameter with the same purpose for other resources such as application-gateway and vmss, where for both the parameter is --zones.

To keep a standard, should better if we can have this parameter exactly like it's used in other resources (--zones instead of --zone)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

yonzhan commented 3 years ago

network

kairu-ms commented 3 years ago

Because these commands were only support one zone before. Recently it support multi zones. In order to avoid breaking change we keep the old names. We can add an alias --zones if needed.