Dela via


IWithBackend<ReturnT> Interface

Definition

The stage of a load balancing rule definition allowing to specify the backend to associate the rule with.

public interface IWithBackend<ReturnT> : Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.UpdateDefinition.IWithVirtualMachine<ReturnT>
type IWithBackend<'ReturnT> = interface
    interface IWithVirtualMachine<'ReturnT>
Public Interface IWithBackend(Of ReturnT)
Implements IWithVirtualMachine(Of ReturnT)

Type Parameters

ReturnT

The stage of the parent definition to return to after attaching this definition.

Derived
Implements

Methods

ToBackend(String)

Specifies a backend on this load balancer to send network traffic to. If a backend with the specified name does not yet exist, it will be created automatically.

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.

(Inherited from IWithVirtualMachine<ReturnT>)
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.

(Inherited from IWithVirtualMachine<ReturnT>)

Applies to