IWithVirtualMachine<ReturnT>.ToExistingVirtualMachines Method
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.
Overloads
ToExistingVirtualMachines(IHasNetworkInterfaces[]) |
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. |
ToExistingVirtualMachines(ICollection<IHasNetworkInterfaces>) |
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. |
ToExistingVirtualMachines(IHasNetworkInterfaces[])
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.
public Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithBackendPort<ReturnT> ToExistingVirtualMachines (params Microsoft.Azure.Management.Network.Fluent.IHasNetworkInterfaces[] vms);
abstract member ToExistingVirtualMachines : Microsoft.Azure.Management.Network.Fluent.IHasNetworkInterfaces[] -> Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithBackendPort<'ReturnT>
Public Function ToExistingVirtualMachines (ParamArray vms As IHasNetworkInterfaces()) As IWithBackendPort(Of ReturnT)
Parameters
- vms
- IHasNetworkInterfaces[]
Existing virtual machines.
Returns
Applies to
ToExistingVirtualMachines(ICollection<IHasNetworkInterfaces>)
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.
public Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithBackendPort<ReturnT> ToExistingVirtualMachines (System.Collections.Generic.ICollection<Microsoft.Azure.Management.Network.Fluent.IHasNetworkInterfaces> vms);
abstract member ToExistingVirtualMachines : System.Collections.Generic.ICollection<Microsoft.Azure.Management.Network.Fluent.IHasNetworkInterfaces> -> Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithBackendPort<'ReturnT>
Public Function ToExistingVirtualMachines (vms As ICollection(Of IHasNetworkInterfaces)) As IWithBackendPort(Of ReturnT)
Parameters
Existing virtual machines.
Returns
Applies to
Azure SDK for .NET