Compartir vía


VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer Interface

public interface 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 Summary

Modifier and Type Method and Description
VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerBackendOrNatPool withExistingPrimaryInternetFacingLoadBalancer(LoadBalancer loadBalancer)

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

Inherited Members

Appliable<T>.apply() Appliable<T>.applyAsync() Appliable<T>.applyAsync(final ServiceCallback<T> callback) VirtualMachineScaleSet.UpdateStages.WithExtension.defineNewExtension(String name) Indexable.key() VirtualMachineScaleSet.UpdateStages.WithExtension.updateExtension(String name) VirtualMachineScaleSet.UpdateStages.WithAvailabilityZone.withAvailabilityZone(AvailabilityZoneId zoneId) VirtualMachineScaleSet.UpdateStages.WithCapacity.withCapacity(int capacity) VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer.withExistingPrimaryInternalLoadBalancer(LoadBalancer loadBalancer) VirtualMachineScaleSet.UpdateStages.WithManagedServiceIdentity.withManagedServiceIdentity() VirtualMachineScaleSet.UpdateStages.WithManagedServiceIdentity.withManagedServiceIdentity(int tokenPort) VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB) VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType) VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType) VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk.withoutDataDisk(int lun) VirtualMachineScaleSet.UpdateStages.WithExtension.withoutExtension(String name) VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancer.withoutPrimaryInternalLoadBalancer() VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerBackend.withoutPrimaryInternalLoadBalancerBackends(String...backendNames) VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerNatPool.withoutPrimaryInternalLoadBalancerNatPools(String...natPoolNames) VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancer.withoutPrimaryInternetFacingLoadBalancer() VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerBackend.withoutPrimaryInternetFacingLoadBalancerBackends(String...backendNames) VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerNatPool.withoutPrimaryInternetFacingLoadBalancerNatPools(String...natPoolNames) Resource.UpdateWithTags<T>.withoutTag(String key) VirtualMachineScaleSet.UpdateStages.WithSku.withSku(VirtualMachineScaleSetSkuTypes skuType) VirtualMachineScaleSet.UpdateStages.WithSku.withSku(VirtualMachineScaleSetSku sku) Resource.UpdateWithTags<T>.withTag(String key, String value) Resource.UpdateWithTags<T>.withTags(Map<String, String> tags)

Method Details

withExistingPrimaryInternetFacingLoadBalancer

public WithPrimaryInternetFacingLoadBalancerBackendOrNatPool withExistingPrimaryInternetFacingLoadBalancer(LoadBalancer loadBalancer)

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

Applies to