LoadBalancingRule.UpdateDefinitionStages.WithBackend<ReturnT> Interface

Type Parameters

ReturnT

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

Implements

public static interface LoadBalancingRule.UpdateDefinitionStages.WithBackend
extends WithVirtualMachine<ReturnT>

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
abstract WithBackendPort<ReturnT> toBackend(String backendName)

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

Method Details

toBackend

public abstract LoadBalancingRule.UpdateDefinitionStages.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