LoadBalancingRule.DefinitionStages.WithVirtualMachine<ReturnT> Interface
Type Parameters
- ReturnT
the next stage of the definition
public static interface LoadBalancingRule.DefinitionStages.WithVirtualMachine
The stage of a load balancing rule definition allowing to select a set of virtual machines to load balance the network traffic among.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
toExistingVirtualMachines(HasNetworkInterfaces[] vms)
Adds the specified set of virtual machines, assuming they are from the same availability set, to a new back end address pool to be associated with this load balancing rule. |
abstract
With |
toExistingVirtualMachines(Collection<HasNetworkInterfaces> vms)
Adds the specified set of virtual machines, assuming they are from the same availability set, to a new back end address pool to be associated with this load balancing rule. |
Method Details
toExistingVirtualMachines
public abstract LoadBalancingRule.DefinitionStages.WithBackendPort
Adds the specified set of virtual machines, assuming they are from the same availability set, to a new back end address pool to be associated with this load balancing rule.
This will add references to the primary IP configurations of the primary network interfaces of the provided set of virtual machines.
If the virtual machines are not in the same availability set, they will not be associated with the backend.
Only those virtual machines will be associated with the load balancer that already have an existing network interface. Virtual machines without a network interface will be skipped.
Parameters:
Returns:
toExistingVirtualMachines
public abstract LoadBalancingRule.DefinitionStages.WithBackendPort
Adds the specified set of virtual machines, assuming they are from the same availability set, to a new back end address pool to be associated with this load balancing rule.
This will add references to the primary IP configurations of the primary network interfaces of the provided set of virtual machines.
If the virtual machines are not in the same availability set, they will not be associated with the backend.
Only those virtual machines will be associated with the load balancer that already have an existing network interface. Virtual machines without a network interface will be skipped.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for