Hi everyone! as Microsoft Ignite wraps up, we’re sharing some of the latest features we released in the Azure CLI supporting various announcements for Microsoft Ignite. We also released several important updates to Azure CLI commands and even a new extension. Here are some of the exciting announcements and updates.
(NOTE: The Azure CLI commands in the format az command --parameter that are shown below are not intended to be run as is, they only show the key parameters that need to be used for the feature described. Please refer to the documentation links provided to learn how to use the command with all the required parameters.)
Azure VMSS flexible orchestration mode support. With the GA release ofAzure VMSS flexible orchestration mode, Azure CLI has released several updates to support the release including updated default values for an easier VMSS Flex creation experience and user friendly error messaging to help identify limitations when creating scale sets with flexible orchestration.
New commands to enhance support for VM/VMSSrun-command. Customers now have more control over theirrun-commandsusing CLI. They cancreate,delete, andupdaterun-commandsfor a VM, place the VM into a waiting state until a condition is met withwait, or get more information about yourrun-commandsusinglistandshow!az vm run-command create
Support for cross-region incremental snapshot copies.Customers can now useaz snapshot --copy-startto create snapshots even when source and target regions are different. For example, if you need to copy a snapshot to and edge location from your main region.
Support for choosing Ephemeral OS disk provisioning location in CLI.Usingaz vm/vmss create --ephemeral-os-disk, you can choose the provisioning location with the new--ephemeral-os-disk-placementpreview parameter. Available options areCacheDisk(Cache disk) andResourceDisk(Temp disk).
Automatic in-guest patching support for VMSS.Customers can now use the new--patch-modeparameter inaz vmss createto onboard scaled set virtual machines toautomatic in-guest patching. Multiple options are possible for Windows and Linux VMs based on your needs. For more information, check out theaz vmss documentation.
Protected append support for immutable storage.Customers can now create immutable storage containers with the ability to append blocks to a blob. This applies to time-based retention and legal hold policies. When creating the immutability policy for a storage container, you can use the new--allow-protected-append-writesand--allow-protected-append-writes-allflags to enable the ability. This doesn't enable modification to the existing content of storage containers and can only append to the end of the container. for more information check out theaz storage container doc.
Support for no squash and all squash for NFS 3.0.. Customers can now create or update an NFS 3.0 container to enable or disable root squash withaz storage container-rm create/update --root-squash. Acceptable values for--root-squashareRootSquash,AllSquash, andNoSquash. For more information, see theNFS protocol how-toand theaz storage container-rmdocs.
Define policy rules under which a key can be exported.The--policyparameter has been released foraz keyvault key createin public preview and customers can define policy rules using JSON or a JSON file. For more information, check out theaz keyvault keydoc.
Support for key rotation and key rotation policy. Customers can now create and update key rotation policy as well as rotate keys based on key rotation policy usingaz keyvault key rotation-policyandaz keyvault key rotate. For more information, see theaz keyvault keydoc.
Logzis a SaaS to centralize log, metric, and tracing analytics in one place. Customers can now manage MIcrosoft Logz with thelogzextension. To install the extension, runaz extension add -n logz. For more information about all the capabilities of the extension, checkout thelogz extensiondocumentation. NOTE: The extension is currently experimental.
There has been a ton of amazing work involved in releasing the latest version of Azure CLI. Along with anew authentication library, there are more updates in the latest release and we would love to hear yourfeedback! Thank you for the continued support and we look forward to hearing from you.