Class ContainerServiceSshConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration
-
public final class ContainerServiceSshConfiguration extends Object
SSH configuration for Linux-based VMs running on Azure.
-
-
Constructor Summary
Constructors Constructor Description ContainerServiceSshConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContainerServiceSshPublicKey>publicKeys()Get the publicKeys property: The list of SSH public keys used to authenticate with Linux-based VMs.voidvalidate()Validates the instance.ContainerServiceSshConfigurationwithPublicKeys(List<ContainerServiceSshPublicKey> publicKeys)Set the publicKeys property: The list of SSH public keys used to authenticate with Linux-based VMs.
-
-
-
Method Detail
-
publicKeys
public List<ContainerServiceSshPublicKey> 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.
-
-