Delen via


IWithLinuxRootPasswordOrPublicKeyManaged.WithRootPassword(String) Method

Definition

Specifies the SSH root password for the Linux virtual machine.

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

Parameters

rootPassword
String

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

Returns

Applies to