public final class SshPublicKey extends Object
Constructor and Description |
---|
SshPublicKey() |
Modifier and Type | Method and Description |
---|---|
String |
keyData()
Get the keyData property: SSH public key certificate used to authenticate with the VM through ssh.
|
String |
path()
Get the path property: Specifies the full path on the created VM where ssh public key is stored.
|
void |
validate()
Validates the instance.
|
SshPublicKey |
withKeyData(String keyData)
Set the keyData property: SSH public key certificate used to authenticate with the VM through ssh.
|
SshPublicKey |
withPath(String path)
Set the path property: Specifies the full path on the created VM where ssh public key is stored.
|
public String path()
public SshPublicKey withPath(String path)
path
- the path value to set.public String keyData()
public SshPublicKey withKeyData(String keyData)
keyData
- the keyData value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.