Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Add-AzureLoadBalancerProbeConfig

Add-AzureLoadBalancerProbeConfig

microsoft.azure.commands.network.dll

Synopsis

Add a new Probe configuration to an Azure Load Balancer

Syntax

Add-AzureLoadBalancerProbeConfig [-Name] [-LoadBalancer] [-RequestPath] [-Protocol] [-Port] [-IntervalInSeconds] [-ProbeCount] [-Profile] [<CommonParameters>]

Detailed Description

Add a new Probe configuration to an Azure Load Balancer

Parameters

-Name <String>

The name of the probe configuration.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-LoadBalancer <PSLoadBalancer>

The Load Balancer in which this probe configuration will be created.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-RequestPath <String>

The path within the load balanced service to probe to determine health.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Protocol <String>

The protocol to use for the probing.

Options: Tcp or Http

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Port <Int32>

The port on which probes should connect to the load balanced service.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-IntervalInSeconds <Int32>

The interval between probes to each instance of the load balanced service.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ProbeCount <Int32>

The number of per-instance consecutive failures for an instance to be considered unhealthy.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Profile <AzureProfile>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Example 1 --------------------------

PS C:\> Get-AzureLoadBalancer -Name "myLb" -ResourceGroupName "myRg" | Add-AzureLoadBalancerProbeConfig -Name "probeName" -RequestPath healthcheck2.aspx -Protocol http -Port 81 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureLoadBalancer