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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for