IWithWindowsAdminUsernameManaged.WithAdminUsername(String) Method

Definition

Specifies the administrator user name for the Windows virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithWindowsAdminPasswordManaged WithAdminUsername (string adminUserName);
abstract member WithAdminUsername : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithWindowsAdminPasswordManaged
Public Function WithAdminUsername (adminUserName As String) As IWithWindowsAdminPasswordManaged

Parameters

adminUserName
System.String

A user name followinmg the required naming convention for Windows user names.

Returns

IWithWindowsAdminPasswordManaged

Applies to