Clearer choice of CLI: Azure CLI 2.0 for Resource Manager
mercredi 29 novembre 2017
Starting in December 2017, Azure CLI 2.0 will become the primary CLI tool for managing Azure Resource Manager–based resources. Azure CLI 1.0 will continue to be the tool for managing Azure Service Management (ASM)–based ("classic") resources—that is, commands accessed via azure config mode asm. This change will provide clarity on which tool to use for which purpose.
Soon, if you try to switch Azure CLI 1.0 to Resource Manager mode, you'll receive the following info message:
In addition, help (-h) for Resource Manager commands will include this message. Starting in July 2018, this will become a warning message, and the default mode for a new installation of Azure CLI 1.0 will be ASM. Eventually, Azure CLI 1.0 will support only ASM-based resources.
If you still use Azure CLI 1.0 scripts to manage Resource Manager–based resources, you should migrate them to Azure CLI 2.0 by using the migration guide. If you need help migrating a script, or if you have concerns about the migration, you can reach out to us on our public Slack channel.
Azure CLI 1.0 and 2.0 are both open-source tools. We invite you to file issues or contribute at:
Recevez $200 en crédits Azure ainsi qu’un accès pendant12 mois aux services populaires, et ce gratuitement.Démarrez gratuitement
Les abonnés obtiennent des crédits d’un montant de $1800 par an pour l’achat de services AzureActiver maintenant
Rejoignez le programme BizSpark et bénéficiez des services Azure gratuitsEn savoir plus.