共用方式為


IWithLinuxRootUsernameManagedOrUnmanaged.WithRootUsername(String) Method

Definition

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

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

Parameters

rootUserName
String

A user name following the required naming convention for Linux user names.

Returns

Applies to