Sdílet prostřednictvím


IWithVirtualMachine<ReturnT>.WithExistingVirtualMachines Method

Definition

Overloads

WithExistingVirtualMachines(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(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 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.

public Microsoft.Azure.Management.Network.Fluent.LoadBalancerBackend.Definition.IWithAttach<ReturnT> WithExistingVirtualMachines (params Microsoft.Azure.Management.Network.Fluent.IHasNetworkInterfaces[] vms);
abstract member WithExistingVirtualMachines : Microsoft.Azure.Management.Network.Fluent.IHasNetworkInterfaces[] -> Microsoft.Azure.Management.Network.Fluent.LoadBalancerBackend.Definition.IWithAttach<'ReturnT>
Public Function WithExistingVirtualMachines (ParamArray vms As IHasNetworkInterfaces()) As IWithAttach(Of ReturnT)

Parameters

vms
IHasNetworkInterfaces[]

Existing virtual machines.

Returns

IWithAttach<ReturnT>

Applies to

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.

public Microsoft.Azure.Management.Network.Fluent.LoadBalancerBackend.Definition.IWithAttach<ReturnT> WithExistingVirtualMachines (System.Collections.Generic.ICollection<Microsoft.Azure.Management.Network.Fluent.IHasNetworkInterfaces> vms);
abstract member WithExistingVirtualMachines : System.Collections.Generic.ICollection<Microsoft.Azure.Management.Network.Fluent.IHasNetworkInterfaces> -> Microsoft.Azure.Management.Network.Fluent.LoadBalancerBackend.Definition.IWithAttach<'ReturnT>
Public Function WithExistingVirtualMachines (vms As ICollection(Of IHasNetworkInterfaces)) As IWithAttach(Of ReturnT)

Parameters

vms
ICollection<IHasNetworkInterfaces>

Existing virtual machines.

Returns

IWithAttach<ReturnT>

Applies to