IWithPrimaryInternalLoadBalancer.WithExistingPrimaryInternalLoadBalancer 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.
Specifies the internal load balancer whose backends and/or NAT pools can be assigned to the primary network interface of the virtual machines in the scale set. By default all the backends and inbound NAT pools of the load balancer will be associated with the primary network interface of the virtual machines in the scale set, unless subset of them is selected in the next stages.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithInternalLoadBalancerBackendOrNatPool WithExistingPrimaryInternalLoadBalancer (Microsoft.Azure.Management.Network.Fluent.ILoadBalancer loadBalancer);
abstract member WithExistingPrimaryInternalLoadBalancer : Microsoft.Azure.Management.Network.Fluent.ILoadBalancer -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithInternalLoadBalancerBackendOrNatPool
Public Function WithExistingPrimaryInternalLoadBalancer (loadBalancer As ILoadBalancer) As IWithInternalLoadBalancerBackendOrNatPool
Parameters
- loadBalancer
- ILoadBalancer
An existing internal load balancer.