public static interface LoadBalancer.UpdateStages.WithLoadBalancingRule
| Modifier and Type | Method and Description |
|---|---|
LoadBalancingRule.UpdateDefinitionStages.Blank<LoadBalancer.Update> |
defineLoadBalancingRule(String name)
Begins the definition of a new load balancing rule to add to the load balancer.
|
LoadBalancingRule.Update |
updateLoadBalancingRule(String name)
Begins the description of an update to an existing load balancing rule on this load balancer.
|
LoadBalancer.Update |
withLoadBalancingRule(int port,
TransportProtocol protocol)
Adds a load balancing rule for the specified port and protocol.
|
LoadBalancer.Update |
withLoadBalancingRule(int frontendPort,
TransportProtocol protocol,
int backendPort)
Adds a load balancing rule between the specified front end and back end ports and protocol.
|
LoadBalancer.Update |
withoutLoadBalancingRule(String name)
Removes the specified load balancing rule from the load balancer, if present.
|
LoadBalancer.Update withLoadBalancingRule(int frontendPort, TransportProtocol protocol, int backendPort)
The new rule will be created under the name "default".
frontendPort - the port number on the front end to accept incoming traffic onprotocol - the protocol to load balancebackendPort - the port number on the back end to send load balanced traffic toLoadBalancer.Update withLoadBalancingRule(int port, TransportProtocol protocol)
The new rule will be created under the name "default".
port - the port number on the front and back end for the network traffic to be load balanced onprotocol - the protocol to load balanceLoadBalancingRule.UpdateDefinitionStages.Blank<LoadBalancer.Update> defineLoadBalancingRule(String name)
The definition must be completed with a call to Attachable.InDefinition.attach()
name - the name of the load balancing ruleLoadBalancer.Update withoutLoadBalancingRule(String name)
name - the name of the load balancing rule to removeLoadBalancingRule.Update updateLoadBalancingRule(String name)
name - the name of the load balancing rule to update/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/