CmdID / az / az connectedmachine
az connectedmachine upgrade-extension
Upgrade Machine Extensions. Azure CLI extensions reference
1 example 2 options Its page in the Azure CLI extensions reference
Examples
Sample command for upgrade-extension
az connectedmachine extension upgrade --machine-name "myMachineName" --resource-group "myResourceGroup" --subscription "mySubscription" --targets "{"Microsoft.Compute.CustomScriptExtension": "{"targetVersion": "1.10"}", "Microsoft.Azure.Monitoring": "{"targetVersion": "2.0"}"}"Identify--resource-groupName of resource group.--subscriptionName or ID of subscription.Options
--extension-targetsDescribes the Extension Target Properties.--machine-nameThe name of the hybrid machine.