For certain reasons I cannot use
az webapp config appsettings list -n appxxx-dfpg-dev4-web-eastus2-gateway-apsvc -g appxxx-dfpg-dev4-web-eastus2
Instead I want to achieve the same result by using Az PowerShell module, is there a way to do so?
You can use this powershell cmdlet Get-AzWebApp .
The sample code:
$myapp = Get-AzWebApp -ResourceGroupName "resource_group_name" -Name "azure_webapp_name"
$myapp.SiteConfig.AppSettings
The test result:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.