【问题标题】:How to add new backend pool to existing azure Front door using powershell script如何使用 powershell 脚本将新的后端池添加到现有的 azure Front Door
【发布时间】:2020-04-10 07:43:52
【问题描述】:

我尝试了下面的代码,但它没有将新的后端池添加到现有的前门。

$backend1 = New-AzFrontDoorBackendObject -Address xx.xxx.xxx.xxx -httpPort 80 -httpsPort 443 -Priority 1 -Weight 50 -BackendHostHeader xx.xxx.xxx.xxx -EnabledState Enabled

$AzSubscription = Set-AzContext

New-AzFrontDoorBackendPoolObject -ResourceGroupName -Name "rndbackendpool" -FrontDoorName "rnd-test" -Backend $backend1 -LoadBalancingSettingsName "rndLB" -HealthProbeSettingsName "rndHP" -DefaultProfile $AzSubscription

【问题讨论】:

    标签: azure powershell azure-powershell azure-front-door


    【解决方案1】:

    您可以查看我上传到图库的 PS 脚本:https://gallery.technet.microsoft.com/Update-existing-Azure-23a36fce

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-01
      • 2019-09-01
      • 1970-01-01
      • 2020-05-20
      • 2023-04-09
      • 2019-11-11
      • 2022-11-02
      • 2021-08-20
      相关资源
      最近更新 更多