Share via


IWithWindowsAdminPasswordManagedOrUnmanaged.WithAdminPassword(String) Method

Definition

Specifies the administrator password for the Windows virtual machine.

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

Parameters

adminPassword
String

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

Returns

Applies to