共用方式為


IWithWindowsAdminUsernameManaged.WithAdminUsername(String) Method

Definition

Specifies the administrator user name for the Windows virtual machine.

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

Parameters

adminUserName
String

The Windows administrator user name. This must follow the required naming convention for Windows user name.

Returns

Applies to