Class LinuxProfilePropertiesSsh

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.LinuxProfilePropertiesSsh

public final class LinuxProfilePropertiesSsh extends Object
SSH - SSH configuration for Linux-based VMs running on Azure.
  • 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

      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.