Interface VirtualMachineScaleSet.DefinitionStages.WithNetworkSecurityGroup

    • Method Detail

      • withExistingNetworkSecurityGroup

        VirtualMachineScaleSet.DefinitionStages.WithCreate withExistingNetworkSecurityGroup​(NetworkSecurityGroup networkSecurityGroup)
        Specifies the network security group for the virtual machine scale set.
        Parameters:
        networkSecurityGroup - the network security group to associate
        Returns:
        the next stage of the definition
      • withExistingNetworkSecurityGroupId

        VirtualMachineScaleSet.DefinitionStages.WithCreate withExistingNetworkSecurityGroupId​(String networkSecurityGroupId)
        Specifies the network security group for the virtual machine scale set.
        Parameters:
        networkSecurityGroupId - the network security group to associate
        Returns:
        the next stage of the definition