Interface LoadBalancingRule.DefinitionStages.WithBackend<ReturnT>
-
- Type Parameters:
ReturnT
- the stage of the parent definition to return to after attaching this definition
- All Superinterfaces:
LoadBalancingRule.DefinitionStages.WithVirtualMachine<ReturnT>
- All Known Subinterfaces:
LoadBalancingRule.Definition<ReturnT>
- Enclosing interface:
- LoadBalancingRule.DefinitionStages
public static interface LoadBalancingRule.DefinitionStages.WithBackend<ReturnT> extends LoadBalancingRule.DefinitionStages.WithVirtualMachine<ReturnT>
The stage of a load balancing rule definition allowing to specify the backend to associate the rule with.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoadBalancingRule.DefinitionStages.WithBackendPort<ReturnT>
toBackend(String backendName)
Specifies a backend on this load balancer to send network traffic to.-
Methods inherited from interface com.microsoft.azure.management.network.LoadBalancingRule.DefinitionStages.WithVirtualMachine
toExistingVirtualMachines, toExistingVirtualMachines
-
-
-
-
Method Detail
-
toBackend
LoadBalancingRule.DefinitionStages.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 on this load balancer, it will be created automatically.
- Parameters:
backendName
- the name of a backend- Returns:
- the next stage of the definition
-
-