IWithAttach<ParentT> Interface

Definition

The final stage of a load balancer backend definition. At this stage, any remaining optional settings can be specified, or the definition can be attached to the parent load balancer definition.

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.Network.Fluent.LoadBalancerBackend.Definition.IWithVirtualMachine<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IWithAttach<'ParentT> = interface
    interface IInDefinition<'ParentT>
    interface IWithVirtualMachine<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IInDefinition(Of ParentT), IWithVirtualMachine(Of ParentT)

Type Parameters

ParentT

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

Derived
Implements

Methods

Attach() (Inherited from IInDefinition<ParentT>)
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.

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

(Inherited from IWithVirtualMachine<ReturnT>)

Applies to