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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java