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
 

Set-AzureLoadBalancedEndpoint

Set-AzureLoadBalancedEndpoint

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Updates all of the endpoints in a given load balancer set within a Microsoft Azure Service.

Syntax

Set-AzureLoadBalancedEndpoint [-LBSetName] [-Protocol] [-LocalPort] [-PublicPort] [-DirectServerReturn] [-ACL] [-InternalLoadBalancerName] [-IdleTimeoutInMinutes] [-ServiceName] [<CommonParameters>]

Set-AzureLoadBalancedEndpoint [-LBSetName] [-Protocol] [-LocalPort] [-PublicPort] [-DirectServerReturn] [-ACL] [-ProbeProtocolTCP] [-ProbePort] [-ProbeIntervalInSeconds] [-ProbeTimeoutInSeconds] [-InternalLoadBalancerName] [-IdleTimeoutInMinutes] [-ServiceName] [<CommonParameters>]

Set-AzureLoadBalancedEndpoint [-LBSetName] [-Protocol] [-LocalPort] [-PublicPort] [-DirectServerReturn] [-ACL] [-ProbeProtocolHTTP] [-ProbePath] [-ProbePort] [-ProbeIntervalInSeconds] [-ProbeTimeoutInSeconds] [-InternalLoadBalancerName] [-IdleTimeoutInMinutes] [-ServiceName] [<CommonParameters>]

Detailed Description

The Set-AzureLoadBalancedEndpoint cmdlet updates all of the endpoints in a given load balancer set within a Microsoft Azure Service.

Parameters

-LBSetName <String>

Specifies the name of the load balancer set to update.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Protocol <String>

Specifies the protocol of the endpoint. Acceptable values are “TCP” or “UDP”.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-LocalPort <Int32>

Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PublicPort <Int32>

Specifies the public port that the endpoint will use. If not specified, Microsoft Azure will assign an available free port.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-DirectServerReturn <Boolean>

Enable/Disable Direct Server Return.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ACL <NetworkAclObject>

An ACL to apply to the endpoint on update.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-InternalLoadBalancerName <String>

The Internal Load Balancer Name.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-IdleTimeoutInMinutes <Int32>

TCP Idle timeout in minutes

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ServiceName <String>

Specifies the name of the Microsoft Azure service containing the endpoint that will be modified.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ProbeProtocolTCP <SwitchParameter>

Specifies that a TCP Probe should be used.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ProbePort <Int32>

Specifies the port that the load balancer probe will use. If not specified, Microsoft Azure will assign the endpoints local port.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ProbeIntervalInSeconds <Int32>

Specifies the probe polling interval in seconds.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ProbeTimeoutInSeconds <Int32>

Specifies the probe polling timeout in seconds.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ProbeProtocolHTTP <SwitchParameter>

Specifies that a HTTP Probe should be used.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ProbePath <String>

Specifies relative path to the HTTP Probe.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

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

This command will update all endpoints in the load balancer set "LBSet1" to use the TCP protocol and private port 80, and will set the load balancer probe to use the TCP protocol on port 8080.

PS C:\> Set-AzureLoadBalancedEndpoint -ServiceName "MyService" -LBSetName "LBSet1" -Protocol tcp -LocalPort 80 -ProbeProtocolTCP -ProbePort 8080

Set-AzureEndpoint