共用方式為


IWithWindowsAdminUsernameManagedOrUnmanaged.WithAdminUsername(String) Method

Definition

Specifies the administrator user name for the Windows virtual machine.

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

Parameters

adminUserName
String

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

Returns

Applies to