【发布时间】: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