Class SshConfiguration
java.lang.Object
com.azure.resourcemanager.workloads.models.SshConfiguration
SSH configuration for Linux based VMs running on Azure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.void
validate()
Validates the instance.withPublicKeys
(List<SshPublicKey> publicKeys) Set the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.
-
Constructor Details
-
SshConfiguration
public SshConfiguration()
-
-
Method Details
-
publicKeys
Get the publicKeys property: The list of SSH public keys used to authenticate with linux based VMs.- Returns:
- the publicKeys value.
-
withPublicKeys
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.
-