azure - Azure Powershell Get-AzWebAppSlot AppSettings 始终为空
问题描述
我正在尝试 Get-AzWebAppSlot 工作正常。它返回数据,但 AppSettings 始终为空。我已经检查了门户 azure 上的插槽,它具有应用程序设置。
解决方案
确保您正在使用该-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
推荐阅读
- google-bigquery - 如何在 BigQuery 中将 DATE 和 TIMESTAMP 字符串类型转换为 DATE 类型
- python - 声明 `class A` 和 `class A()` 有什么区别?
- regex - 列表理解中的 Python 3.5.2 正则表达式返回所有条目 - 与其他示例不一致
- c - C中后置和前置增量运算符的奇怪行为
- html - 在给定字体的情况下确定文本的高度和长度(以像素为单位)
- c# - 来自上下文的 Hangfire ServerName
- javascript - 如何在同一字段中同时验证电子邮件和电话?
- r - 如何在R中将日期格式从yyyy-m-dd(1990-1-01)转换为yyyy-mm-dd(1990-01-01)?
- postman - 如何在 Postman 脚本中获取当前年份
- c - 从文件中找出哪一行的元音最多