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 Details

    • ContainerServiceSshConfiguration

      public ContainerServiceSshConfiguration()
      Creates an instance of ContainerServiceSshConfiguration class.
  • Method Details

    • 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

      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.