Share via


New-AzureLoadBalancer

New-AzureLoadBalancer

Creates a load balancer.

Syntax

Parameter Set: Default
New-AzureLoadBalancer -Location <String> -Name <String> -ResourceGroupName <String> [-BackendAddressPool <0, Culture=neutral, PublicKeyToken=31bf3856ad364e35> ] [-Force] [-FrontendIpConfiguration <0, Culture=neutral, PublicKeyToken=31bf3856ad364e35> ] [-InboundNatRule <0, Culture=neutral, PublicKeyToken=31bf3856ad364e35> ] [-LoadBalancingRule <0, Culture=neutral, PublicKeyToken=31bf3856ad364e35> ] [-Probe <0, Culture=neutral, PublicKeyToken=31bf3856ad364e35> ] [-Profile <AzureProfile> ] [-Tag <Hashtable[]> ] [ <CommonParameters>]

Detailed Description

The New-AzureLoadBalancer cmdlet creates an Azure load balancer.

Parameters

-BackendAddressPool<0, Culture=neutral, PublicKeyToken=31bf3856ad364e35>

Specifies a backend address pool to associate with a load balancer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Force

Indicates that this cmdlet creates a load balancer even if a load balancer with the same name already exists.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-FrontendIpConfiguration<0, Culture=neutral, PublicKeyToken=31bf3856ad364e35>

Specifies a list of front-end IP addresses to associate with a load balancer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-InboundNatRule<0, Culture=neutral, PublicKeyToken=31bf3856ad364e35>

Specifies a list of inbound network address translation (NAT) rules to associate with a load balancer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-LoadBalancingRule<0, Culture=neutral, PublicKeyToken=31bf3856ad364e35>

Specifies a list of load balancing rules to associate with a load balancer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Location<String>

Specifies the region in which to create a load balancer.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of the load balancer to create.

Aliases

ResourceName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Probe<0, Culture=neutral, PublicKeyToken=31bf3856ad364e35>

Specifies a list of probes to associate with a load balancer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Profile<AzureProfile>

Specifies an Azure profile.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ResourceGroupName<String>

Specifies the name of the resource group in which to create a load balancer.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Tag<Hashtable[]>

Specifies an array of tags to associate with a load balancer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Get-AzureLoadBalancer

Remove-AzureLoadBalancer

Set-AzureLoadBalancer