IWithLinuxRootUsernameManaged.WithRootUsername(String) Method

Definition

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

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

Parameters

rootUserName
System.String

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

Returns

IWithLinuxRootPasswordOrPublicKeyManaged

Applies to