Delen via


IWithLinuxRootPasswordOrPublicKeyManaged.WithSsh(String) Method

Definition

Specifies the SSH public key. Each call to this method adds the given public key to the list of VM's public keys.

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

Parameters

publicKey
String

The SSH public key in PEM format.

Returns

Applies to