public class SshPublicKeyUpdateResource extends UpdateResource
Constructor and Description |
---|
SshPublicKeyUpdateResource() |
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.
|
SshPublicKeyUpdateResource |
withPublicKey(String publicKey)
Set the publicKey property: SSH public key used to authenticate to a virtual machine through ssh.
|
tags, withTags
public String publicKey()
public SshPublicKeyUpdateResource withPublicKey(String publicKey)
publicKey
- the publicKey value to set.public void validate()
validate
in class UpdateResource
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.