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
System.String

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

Returns

IWithLinuxCreateManaged

Applies to