Class LinuxProfilePropertiesSsh
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.LinuxProfilePropertiesSsh
SSH - SSH configuration for Linux-based VMs running on Azure.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LinuxProfilePropertiesSsh class. -
Method Summary
Modifier and TypeMethodDescriptionGet the publicKeys property: PublicKeys - The list of SSH public keys used to authenticate with Linux-based VMs.void
validate()
Validates the instance.withPublicKeys
(List<LinuxProfilePropertiesSshPublicKeysItem> publicKeys) Set the publicKeys property: PublicKeys - The list of SSH public keys used to authenticate with Linux-based VMs.
-
Constructor Details
-
LinuxProfilePropertiesSsh
public LinuxProfilePropertiesSsh()Creates an instance of LinuxProfilePropertiesSsh class.
-
-
Method Details
-
publicKeys
Get the publicKeys property: PublicKeys - The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified.- Returns:
- the publicKeys value.
-
withPublicKeys
public LinuxProfilePropertiesSsh withPublicKeys(List<LinuxProfilePropertiesSshPublicKeysItem> publicKeys) Set the publicKeys property: PublicKeys - The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified.- Parameters:
publicKeys
- the publicKeys value to set.- Returns:
- the LinuxProfilePropertiesSsh object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-