IWithLinuxRootPasswordOrPublicKeyManaged.WithSsh(String) Method

Definition

Specifies an SSH public key.

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

Parameters

publicKey
System.String

An SSH public key in the PEM format.

Returns

IWithLinuxCreateManaged

Applies to