다음을 통해 공유


IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged.WithRootPassword Method

Definition

Specifies the SSH root password for the Linux virtual machine.

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

Parameters

rootPassword
String

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

Returns

Applies to