Share via


IWithWindowsAdminPasswordManaged.WithAdminPassword(String) Method

Definition

Specifies the administrator password for the Windows virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithWindowsCreateManaged WithAdminPassword (string adminPassword);
abstract member WithAdminPassword : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithWindowsCreateManaged
Public Function WithAdminPassword (adminPassword As String) As IWithWindowsCreateManaged

Parameters

adminPassword
String

A password following the complexity criteria for Azure Windows VM passwords.

Returns

Applies to