Interface VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer

All Superinterfaces:
Appliable<VirtualMachineScaleSet>, Indexable, Resource.UpdateWithTags<VirtualMachineScaleSet.UpdateStages.WithApply>, VirtualMachineScaleSet.UpdateStages.WithAcceleratedNetworking, VirtualMachineScaleSet.UpdateStages.WithAdditionalCapabilities, VirtualMachineScaleSet.UpdateStages.WithApplicationGateway, VirtualMachineScaleSet.UpdateStages.WithApplicationSecurityGroup, VirtualMachineScaleSet.UpdateStages.WithApply, VirtualMachineScaleSet.UpdateStages.WithAvailabilityZone, VirtualMachineScaleSet.UpdateStages.WithBillingProfile, VirtualMachineScaleSet.UpdateStages.WithBootDiagnostics, VirtualMachineScaleSet.UpdateStages.WithCapacity, VirtualMachineScaleSet.UpdateStages.WithCustomData, VirtualMachineScaleSet.UpdateStages.WithExtension, VirtualMachineScaleSet.UpdateStages.WithIpForwarding, VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk, VirtualMachineScaleSet.UpdateStages.WithNetworkSecurityGroup, VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancer, VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerBackend, VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer, VirtualMachineScaleSet.UpdateStages.WithSecrets, VirtualMachineScaleSet.UpdateStages.WithSinglePlacementGroup, VirtualMachineScaleSet.UpdateStages.WithSku, VirtualMachineScaleSet.UpdateStages.WithSystemAssignedManagedServiceIdentity, VirtualMachineScaleSet.UpdateStages.WithUnmanagedDataDisk, VirtualMachineScaleSet.UpdateStages.WithUserAssignedManagedServiceIdentity, VirtualMachineScaleSet.UpdateStages.WithVirtualMachinePublicIp
All Known Subinterfaces:
VirtualMachineScaleSet.Update
Enclosing interface:
VirtualMachineScaleSet.UpdateStages

public static interface VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer extends VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer
The stage of a virtual machine scale set update allowing to specify load balancers for the primary network interface of the scale set virtual machines.
  • Method Details

    • withExistingPrimaryInternetFacingLoadBalancer

      Specifies the load balancer to be used as the Internet-facing load balancer for the virtual machines in the scale set.

      This will replace the current Internet-facing load balancer associated with the virtual machines in the scale set (if any). By default all the backend and inbound NAT pool of the load balancer will be associated with the primary network interface of the virtual machines unless a subset of them is selected in the next stages

      Parameters:
      loadBalancer - the primary Internet-facing load balancer
      Returns:
      the next stage of the update