Class SshPublicAccess

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SshPublicAccess>
com.azure.resourcemanager.machinelearning.models.SshPublicAccess

public final class SshPublicAccess extends com.azure.core.util.ExpandableStringEnum<SshPublicAccess>
Access policy for SSH State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.
  • Field Details

    • ENABLED

      public static final SshPublicAccess ENABLED
      Static value Enabled for SshPublicAccess.
    • DISABLED

      public static final SshPublicAccess DISABLED
      Static value Disabled for SshPublicAccess.
  • Constructor Details

    • SshPublicAccess

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

    • fromString

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

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