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

VirtualMachine.DefinitionStages.WithLinuxRootUsernameManaged Interface

public interface WithLinuxRootUsernameManaged

The stage of a Linux virtual machine definition allowing to specify an SSH root user name.

Method Summary

Modifier and Type Method and Description
VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManaged withRootUsername(String rootUserName)

Specifies an SSH root user name for the Linux virtual machine.

Method Details

withRootUsername

public WithLinuxRootPasswordOrPublicKeyManaged withRootUsername(String rootUserName)

Specifies an SSH root user name for the Linux virtual machine.

Parameters:

rootUserName - a user name following the required naming convention for Linux user names

Returns:

the next stage of the definition

Applies to