Class SshEncryptionTypes

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SshEncryptionTypes>
com.azure.resourcemanager.compute.models.SshEncryptionTypes

public final class SshEncryptionTypes extends com.azure.core.util.ExpandableStringEnum<SshEncryptionTypes>
The encryption type of the SSH keys to be generated. See SshEncryptionTypes for possible set of values. If not provided, will default to RSA.
  • Field Details

    • RSA

      public static final SshEncryptionTypes RSA
      Static value RSA for SshEncryptionTypes.
    • ED25519

      public static final SshEncryptionTypes ED25519
      Static value Ed25519 for SshEncryptionTypes.
  • Constructor Details

    • SshEncryptionTypes

      @Deprecated public SshEncryptionTypes()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SshEncryptionTypes value.
  • Method Details

    • fromString

      public static SshEncryptionTypes fromString(String name)
      Creates or finds a SshEncryptionTypes from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SshEncryptionTypes.
    • values

      public static Collection<SshEncryptionTypes> values()
      Gets known SshEncryptionTypes values.
      Returns:
      known SshEncryptionTypes values.