Class SshConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.SshConfiguration
-
public final class SshConfiguration extends Object
SSH configuration for Linux based VMs running on Azure.
-
-
Constructor Summary
Constructors Constructor Description SshConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SshPublicKey>publicKeys()Get the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.voidvalidate()Validates the instance.SshConfigurationwithPublicKeys(List<SshPublicKey> publicKeys)Set the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.
-
-
-
Method Detail
-
publicKeys
public List<SshPublicKey> publicKeys()
Get the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.- Returns:
- the publicKeys value.
-
withPublicKeys
public SshConfiguration withPublicKeys(List<SshPublicKey> publicKeys)
Set the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.- Parameters:
publicKeys- the publicKeys value to set.- Returns:
- the SshConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-