< Back

Add-AzureRmLoadBalancerBackendAddressPoolConfig

Tue Jan 29, 2019 9:53 pm

NAME Add-AzureRmLoadBalancerBackendAddressPoolConfig



SYNOPSIS

Adds a backend address pool configuration to a load balancer.





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

The Add-AzureRmLoadBalancerBackend cmdlet adds a backend address pool to an Azure 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 a LoadBalancer object.



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 configuration to add.



Required? true

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 Add a backend address pool configuration to a load balancer



PS C:\\>Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "myrg" | Add-AzureRmLoadBalancerBackendAddressPoolConfig -Name

"BackendAddressPool02" | Set-AzureRmLoadBalancer



This command gets the load balancer named MyLoadBalancer, adds the backend address pool named BackendAddressPool02 to MyLoadBalancer, and then

uses the Set-AzureRmLoadBalancer cmdlet to update MyLoadBalancer.







RELATED LINKS

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

Get-AzureRmLoadBalancer

Get-AzureRmNetworkInterface

Get-AzureRmLoadBalancerBackendAddressPoolConfig

New-AzureRmLoadBalancerBackendAddressPoolConfig

Remove-AzureRmLoadBalancerBackendAddressPoolConfig