IWithLinuxRootUsernameManagedOrUnmanaged.WithRootUsername(String) Method

Definition

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

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

Parameters

rootUserName
System.String

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

Returns

IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged

Applies to