LoadBalancerBackend.DefinitionStages.WithVirtualMachine<ReturnT> Interface
Type Parameters
- ReturnT
the next stage of the definition
public static interface LoadBalancerBackend.DefinitionStages.WithVirtualMachine
The stage of a load balancer backend 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 |
withExistingVirtualMachines(HasNetworkInterfaces[] vms)
Adds the specified set of virtual machines, assuming they are from the same availability set, to this backend address pool. |
abstract
With |
withExistingVirtualMachines(Collection<HasNetworkInterfaces> vms)
Adds the specified set of virtual machines, assuming they are from the same availability set, to this backend address pool. |
Method Details
withExistingVirtualMachines
public abstract LoadBalancerBackend.DefinitionStages.WithAttach
Adds the specified set of virtual machines, assuming they are from the same availability set, to this backend address pool.
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 this back end.
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:
withExistingVirtualMachines
public abstract LoadBalancerBackend.DefinitionStages.WithAttach
Adds the specified set of virtual machines, assuming they are from the same availability set, to this backend address pool.
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 this back end.
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin