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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java