Interface VirtualMachineScaleSet.DefinitionStages.WithNetworkSubnet

All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged, VirtualMachineScaleSet.DefinitionManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionShared, VirtualMachineScaleSet.DefinitionStages.WithAdditionalCapabilities, VirtualMachineScaleSet.DefinitionStages.WithDoNotRunExtensionsOnOverprovisionedVms, VirtualMachineScaleSet.DefinitionStages.WithProximityPlacementGroup, VirtualMachineScaleSet.DefinitionUnmanaged
Enclosing interface:
VirtualMachineScaleSet.DefinitionStages

public static interface VirtualMachineScaleSet.DefinitionStages.WithNetworkSubnet
The stage of a virtual machine scale set definition allowing to specify the virtual network subnet for the primary network configuration.
  • Method Details

    • withExistingPrimaryNetworkSubnet

      VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternetFacingLoadBalancer withExistingPrimaryNetworkSubnet(com.azure.resourcemanager.network.models.Network network, String subnetName)
      Associate an existing virtual network subnet with the primary network interface of the virtual machines in the scale set.
      Parameters:
      network - an existing virtual network
      subnetName - the subnet name
      Returns:
      the next stage of the definition