Tuesday, 16 July 2019

Retrieve or set function app version on Azure



$funcName = "function-name-func"
$resourceGroup = "resource-groupname-rg"
$funcVersion = "~1"


az functionapp config appsettings list --name $funcName --resource-group $resourceGroup --query "[?name=='FUNCTIONS_EXTENSION_VERSION'].value"

or

az functionapp config appsettings set --name $funcName --resource-group $resourceGroup --settings FUNCTIONS_EXTENSION_VERSION=$funcVersion

No comments:

Post a Comment