CmdID

CmdID / az / az fleet / az fleet autoupgradeprofile

az fleet autoupgradeprofile create

Creates or updates an auto upgrade profile. Azure CLI extensions reference

2 examples 6 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

Create an auto upgrade profile with channel 'Rapid' and disabled by default.

az fleet autoupgradeprofile create -g MyFleetResourceGroup -f MyFleetName -n MyAutoUpgradeProfileName -c Rapid --disabledIdentify
-gName of resource group.
-fSpecify the fleet name.
-nSpecify name for the auto upgrade profile.
-cThe auto upgrade channel type.
--disabledThe disabled flag ensures auto upgrade profile does not run by default.

Create an auto upgrade profile with channel 'NodeImage'.

az fleet autoupgradeprofile create -g MyFleetResourceGroup -f MyFleetName -n MyAutoUpgradeProfileName -c NodeImageIdentify
-gName of resource group.
-fSpecify the fleet name.
-nSpecify name for the auto upgrade profile.
-cThe auto upgrade channel type.

Options

6 in the Azure CLI extensions reference
--channel, -cThe auto upgrade channel type.
--disabledThe disabled flag ensures auto upgrade profile does not run by default.
--long-term-support, --ltsIf upgrade channel is not TargetKubernetesVersion, this field must be False.
--node-image-selectionNode Image Selection is an option that lets you choose how your clusters' nodes are upgraded.
--target-kubernetes-version, --tkvThis is the target Kubernetes version for auto-upgrade.
--update-strategy-idThe resource ID of the update strategy that the auto upgrade profile should follow.