SshPublicKey Class
- java.
lang. Object - com.
microsoft. azure. management. compute. SshPublicKey
- com.
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. |
Ssh |
withKeyData(String keyData)
Set the keyData value. |
Ssh |
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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java