CmdID

CmdID / az / az containerapp / az containerapp revision / az containerapp revision label

az containerapp revision label add

Set a revision label to a revision with an associated traffic weight. Azure CLI reference

2 examples Its page in the Azure CLI 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

Add a label to the latest revision.

az containerapp revision label add -n my-containerapp -g MyResourceGroup --label myLabel --revision latestIdentify
-nThe name of the Containerapp.
-gName of resource group.
--labelName of the label.
--revisionName of the revision.

Add a label to a previous revision.

az containerapp revision label add -g MyResourceGroup --label myLabel --revision revisionNameIdentify
-gName of resource group.
--labelName of the label.
--revisionName of the revision.