你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachine.DefinitionStages.WithWindowsAdminUsernameManaged Interface
public interface WithWindowsAdminUsernameManaged
The stage of a Windows virtual machine definition allowing to specify an administrator user name.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
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
- a user name followinmg the required naming convention for Windows user names
Returns:
the next stage of the definition