CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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

2 in the Azure CLI extensions reference
--extension-targetsDescribes the Extension Target Properties.
--machine-nameThe name of the hybrid machine.