< Back

Remove-AzureRmLoadBalancerBackendAddressPoolConfig

Tue Jan 29, 2019 9:57 pm

NAME Remove-AzureRmLoadBalancerBackendAddressPoolConfig



SYNOPSIS

Removes a backend address pool configuration from a load balancer.





SYNTAX

Remove-AzureRmLoadBalancerBackendAddressPoolConfig [-DefaultProfile <IAzureContextContainer>] -LoadBalancer <PSLoadBalancer> [-Name <String>]

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmLoadBalancerBackendAddressPoolConfig cmdlet removes a backend address pool from a load balancer.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-LoadBalancer <PSLoadBalancer>

Specifies the load balancer that contains the backend address pool to remove.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

Specifies the name of the backend address pool that this cmdlet removes.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

PSLoadBalancer

Parameter 'LoadBalancer' accepts value of type 'PSLoadBalancer' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSLoadBalancer







NOTES









Example 1: Remove a backend address pool configuration from a load balancer



PS C:\\>Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" | Remove-AzureRmLoadBalancerBackendAddressPoolConfig

-Name "BackendAddressPool02" | Set-AzureRmLoadBalancer



This command gets the load balancer named MyLoadBalancer and passes it to Remove-AzureRmLoadBalancerBackendAddressPoolConfig , which removes the

BackendAddressPool02 configuration from MyLoadBalancer. Finally, the Set-AzureRmLoadBalancer cmdlet updates MyLoadBalancer. Note that a backend

address pool configuration must exist before you can delete it.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... poolconfig

Add-AzureRmLoadBalancerBackendAddressPoolConfig

Get-AzureRmLoadBalancer

Get-AzureRmLoadBalancerBackendAddressPoolConfig

New-AzureRmLoadBalancerBackendAddressPoolConfig