Dela via


IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged.WithSsh(String) Method

Definition

Specifies the SSH public key.

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

Parameters

publicKey
String

An SSH public key in the PEM format.

Returns

Applies to