zoneRedundant 属性可以与使用 bicep 的应用服务计划一起使用吗?

问题描述 投票:0回答:1

我正在尝试使用 Bicep 通过应用程序服务计划定义指定区域冗余的属性。我正在使用 Visual Studio 代码。 Intellisense 表示不支持此属性。有人遇到过这个问题吗?如果有,你是如何解决的?

azure azure-resource-manager azure-bicep azure-app-service-plans
1个回答
2
投票

文档中,我可以看到它从版本

2021-02-01
开始可用。因此,使用最新版本之一应该可以:

resource appServicePlan 'Microsoft.Web/serverfarms@2021-03-01' = {
  ...
  properties: {
    ...
    zoneRedundant: true
  }
}
© www.soinside.com 2019 - 2024. All rights reserved.