【问题标题】:Azure Powershell Get-AzWebAppSlot AppSettings is empty alwaysAzure Powershell Get-AzWebAppSlot AppSettings 始终为空
【发布时间】:2021-09-28 20:39:14
【问题描述】:

我正在尝试 Get-AzWebAppSlot 工作正常。它返回数据,但 AppSettings 始终为空。我已经检查了门户 azure 上的插槽,它具有应用设置。

代码如下:

这是结果

这是门户 azure 上的应用设置

【问题讨论】:

    标签: azure powershell


    【解决方案1】:

    确保您使用的是-Slot 参数。

    Get-AzWebAppSlot -ResourceGroupName "test" -Name "mywebapp" -Slot "Staging"

    https://docs.microsoft.com/en-us/powershell/module/az.websites/get-azwebappslot?view=azps-6.4.0

    【讨论】:

      猜你喜欢
      • 2018-12-27
      • 1970-01-01
      • 2019-11-04
      • 2017-05-12
      • 2014-08-06
      • 2017-08-29
      • 2019-04-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多