Dela via


IWithLinuxRootPasswordOrPublicKeyUnmanaged.WithRootPassword(String) Method

Definition

Specifies an SSH root password for the Linux virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithLinuxCreateUnmanaged WithRootPassword (string rootPassword);
abstract member WithRootPassword : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithLinuxCreateUnmanaged
Public Function WithRootPassword (rootPassword As String) As IWithLinuxCreateUnmanaged

Parameters

rootPassword
String

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

Returns

Applies to