Interface LoadBalancerBackend.UpdateDefinitionStages.WithVirtualMachine<ReturnT>
- Type Parameters:
ReturnT- the next stage of the definition
- All Known Subinterfaces:
LoadBalancerBackend.UpdateDefinition<ParentT>,LoadBalancerBackend.UpdateDefinitionStages.Blank<ParentT>,LoadBalancerBackend.UpdateDefinitionStages.WithAttach<ParentT>
- Enclosing interface:
LoadBalancerBackend.UpdateDefinitionStages
-
Method Summary
Modifier and TypeMethodDescriptionAdds the specified set of virtual machines, assuming they are from the same availability set, to this back end address pool.Adds the specified set of virtual machines, assuming they are from the same availability set, to this backend address pool.
-
Method Details
-
withExistingVirtualMachines
LoadBalancerBackend.UpdateDefinitionStages.WithAttach<ReturnT> withExistingVirtualMachines(HasNetworkInterfaces... vms) Adds the specified set of virtual machines, assuming they are from the same availability set, to this back end 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:
vms- existing virtual machines- Returns:
- the next stage of the definition
-
withExistingVirtualMachines
LoadBalancerBackend.UpdateDefinitionStages.WithAttach<ReturnT> withExistingVirtualMachines(Collection<HasNetworkInterfaces> vms) 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:
vms- existing virtual machines- Returns:
- the next stage of the definition
-