Class ContainerServiceSshConfiguration


  • public final class ContainerServiceSshConfiguration
    extends Object
    SSH configuration for Linux-based VMs running on Azure.
    • Constructor Detail

      • ContainerServiceSshConfiguration

        public ContainerServiceSshConfiguration()
    • 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.