CmdID / az / az webapp / az webapp deployment / az webapp deployment slot
az webapp deployment slot swap
Swap deployment slots for a web app. Azure CLI reference
1 example 1 option Its page in the Azure CLI reference
Examples
Swap a staging slot into production for the MyUniqueApp web app.
az webapp deployment slot swap -g MyResourceGroup -n MyUniqueApp --slot staging --target-slot productionIdentify-gName of resource group.-nName of the webapp--slotthe name of the slot--target-slottarget slot to swap, default to 'production'Options
--actionswap types.