IWithVirtualMachines Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The stage of a load balancer backend definition allowing to select a set of virtual machines to load balance the network traffic among.
public interface IWithVirtualMachines
type IWithVirtualMachines = interface
Public Interface IWithVirtualMachines
- Derived
Methods
WithExistingVirtualMachines(ICollection<IHasNetworkInterfaces>) |
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. |
WithExistingVirtualMachines(IHasNetworkInterfaces[]) |
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. |
WithoutExistingVirtualMachines(IEnumerable<IHasNetworkInterfaces>) |
Removes the specified set of virtual machines from this backend address pool. |
WithoutExistingVirtualMachines(IHasNetworkInterfaces[]) |
Removes the specified set of virtual machines from this backend address pool. |
Applies to
Azure SDK for .NET