Remove-AzLoadBalancerBackendAddressPool
從負載平衡器移除後端集區
語法
Remove-AzLoadBalancerBackendAddressPool
-ResourceGroupName <String>
-Name <String>
[-LoadBalancerName <String>]
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzLoadBalancerBackendAddressPool
-Name <String>
[-LoadBalancerName <String>]
-LoadBalancer <PSLoadBalancer>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzLoadBalancerBackendAddressPool
[-LoadBalancerName <String>]
-InputObject <PSBackendAddressPool>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzLoadBalancerBackendAddressPool
[-LoadBalancerName <String>]
-ResourceId <String>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
從負載平衡器移除後端集區
範例
範例 1
##removing by passing lb object via pipeline
$lb | Remove-AzLoadBalancerBackendAddressPool -Name $backendPool1
範例 2
##removing by passing input object
Remove-AzLoadBalancerBackendAddressPool -InputObject $backendPoolObject
範例 3
##removing by passing input object
Remove-AzLoadBalancerBackendAddressPool -ResourceId $backendPoolObject.Id
參數
-Confirm
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
要移除的後端位址池
類型: | PSBackendAddressPool |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-LoadBalancer
負載平衡器資源。
類型: | PSLoadBalancer |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-LoadBalancerName
負載平衡器的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
負載平衡器的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-PassThru
{{ Fill PassThru Description }}
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
負載平衡器的資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |