public class SshPublicKeyResourceInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
SshPublicKeyResourceInner() |
Modifier and Type | Method and Description |
---|---|
String |
publicKey()
Get the publicKey property: SSH public key used to authenticate to a virtual machine through ssh.
|
void |
validate()
Validates the instance.
|
SshPublicKeyResourceInner |
withPublicKey(String publicKey)
Set the publicKey property: SSH public key used to authenticate to a virtual machine through ssh.
|
public String publicKey()
public SshPublicKeyResourceInner withPublicKey(String publicKey)
publicKey
- the publicKey value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.