你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineScaleSet.DefinitionStages.WithWindowsAdminUsernameManaged Interface

public interface WithWindowsAdminUsernameManaged

The stage of the Windows virtual machine scale set definition allowing to specify administrator user name.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSet.DefinitionStages.WithWindowsAdminPasswordManaged withAdminUsername(String adminUserName)

Specifies the administrator user name for the Windows virtual machine.

Method Details

withAdminUsername

public WithWindowsAdminPasswordManaged withAdminUsername(String adminUserName)

Specifies the administrator user name for the Windows virtual machine.

Parameters:

adminUserName - the Windows administrator user name. This must follow the required naming convention for Windows user name.

Returns:

the stage representing creatable Linux VM definition

Applies to