Compartir vía


SshPublicKey Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.SshPublicKey

public class SshPublicKey

Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.

Method Summary

Modifier and Type Method and Description
String keyData()

Get the keyData value.

String path()

Get the path value.

SshPublicKey withKeyData(String keyData)

Set the keyData value.

SshPublicKey withPath(String path)

Set the path value.

Method Details

keyData

public String keyData()

Get the keyData value.

Returns:

the keyData value

path

public String path()

Get the path value.

Returns:

the path value

withKeyData

public SshPublicKey withKeyData(String keyData)

Set the keyData value.

Parameters:

keyData - the keyData value to set

Returns:

the SshPublicKey object itself.

withPath

public SshPublicKey withPath(String path)

Set the path value.

Parameters:

path - the path value to set

Returns:

the SshPublicKey object itself.

Applies to