Add-​Azure​Rm​Load​Balancer​Backend​Address​Pool​Config

Adds a backend address pool configuration to a load balancer.

Syntax

Add-AzureRmLoadBalancerBackendAddressPoolConfig
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   -LoadBalancer <PSLoadBalancer>
   -Name <String>
   [<CommonParameters>]

Description

The Add-AzureRmLoadBalancerBackend cmdlet adds a backend address pool to an Azure load balancer.

Examples

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.

Required Parameters

-LoadBalancer

Specifies a LoadBalancer object.

Type:PSLoadBalancer
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies the name of the backend address pool configuration to add.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False