Showing posts with label Set-​Azure​Load​Balanced​Endpoint. Show all posts
Showing posts with label Set-​Azure​Load​Balanced​Endpoint. Show all posts

Sunday, May 21, 2017

Set-​Azure​Load​Balanced​Endpoint


Set-AzureLoadBalancedEndpoint
   [-ServiceName] <String>
   [-ACL <NetworkAclObject>]
   [-DirectServerReturn <Boolean>]
   [-IdleTimeoutInMinutes <Int32>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-InternalLoadBalancerName <String>]
   -LBSetName <String>
   [-LoadBalancerDistribution <String>]
   [-LocalPort <Int32>]
   [-ProbeIntervalInSeconds <Int32>]
   -ProbePath <String>
   [-ProbePort <Int32>]
   [-ProbeProtocolHTTP]
   [-ProbeTimeoutInSeconds <Int32>]
   [-Profile <AzureSMProfile>]
   [-Protocol <String>]
   [-PublicPort <Int32>]
   [-VirtualIPName <String>]
   [<CommonParameters>]

Examples

Example 1: Modify the endpoints in a load balancer set

Set-AzureLoadBalancedEndpoint -ServiceName "JoAzureService" -LBSetName "LBSet1" -Protocol "TCP" -LocalPort 80 -ProbeProtocolTCP -ProbePort 8080

This command modifies all endpoints in the load balancer set named 'LBSet1' to use the TCP protocol and private port 80. The command sets the load balancer probe to use the TCP protocol on port 8080.

Example 2: Specify a different virtual IP

Set-AzureLoadBalancedEndpoint -ServiceName "JoAzureService" -LBSetName "LBSet2" -VirtualIPName "Vip1"

This command modifies the load balancer that has the load balancer set name to use a virtual IP named Vip1.