共用方式為


IWithLinuxRootUsernameUnmanaged.WithRootUsername(String) Method

Definition

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

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

Parameters

rootUserName
String

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

Returns

Applies to