LoadBalancingRule.UpdateDefinitionStages.WithBackend<ReturnT> Interface

Type Parameters

ReturnT

the stage of the parent definition to return to after attaching this definition

public interface WithBackend extends LoadBalancingRule.UpdateDefinitionStages.WithVirtualMachine

The stage of a load balancing rule definition allowing to specify the backend to associate the rule with.

Method Summary

Modifier and Type Method and Description
LoadBalancingRule.UpdateDefinitionStages.WithBackendPort<ReturnT> toBackend(String backendName)

Specifies a backend on this load balancer to send network traffic to.

If a backend with the specified name does not yet exist, it will be created automatically.

Inherited Members

Method Details

toBackend

public WithBackendPort toBackend(String backendName)

Specifies a backend on this load balancer to send network traffic to.

If a backend with the specified name does not yet exist, it will be created automatically.

Parameters:

backendName - the name of an existing backend

Returns:

the next stage of the definition

Applies to