Class ContainerServiceSshConfiguration
java.lang.Object
com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration
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.voidvalidate()Validates the instance.withPublicKeys(List<ContainerServiceSshPublicKey> publicKeys) Set the publicKeys property: The list of SSH public keys used to authenticate with Linux-based VMs.
-
Constructor Details
-
ContainerServiceSshConfiguration
public ContainerServiceSshConfiguration()
-
-
Method Details
-
publicKeys
Get the publicKeys property: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.- Returns:
- the publicKeys value.
-
withPublicKeys
public ContainerServiceSshConfiguration withPublicKeys(List<ContainerServiceSshPublicKey> publicKeys) Set the publicKeys property: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.- Parameters:
publicKeys- the publicKeys value to set.- Returns:
- the ContainerServiceSshConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-