ReturnT - the stage of the parent definition to return to after attaching this definitionpublic static interface LoadBalancingRule.DefinitionStages.WithBackend<ReturnT> extends LoadBalancingRule.DefinitionStages.WithVirtualMachine<ReturnT>
| Modifier and Type | Method and Description |
|---|---|
LoadBalancingRule.DefinitionStages.WithBackendPort<ReturnT> |
toBackend(String backendName)
Specifies a backend on this load balancer to send network traffic to.
|
toExistingVirtualMachines, toExistingVirtualMachinesLoadBalancingRule.DefinitionStages.WithBackendPort<ReturnT> toBackend(String backendName)
If a backend with the specified name does not yet exist on this load balancer, it will be created automatically.
backendName - the name of a backend/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/