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

IWithLinuxRootUsernameManagedOrUnmanaged.WithRootUsername(String) 方法

定义

指定 Linux 虚拟机的 SSH 根用户名。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged WithRootUsername (string rootUserName);
abstract member WithRootUsername : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
Public Function WithRootUsername (rootUserName As String) As IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged

参数

rootUserName
String

遵循 Linux 用户名所需命名约定的用户名。

返回

适用于