Class BastionConnectProtocol

java.lang.Object
com.azure.core.util.ExpandableStringEnum<BastionConnectProtocol>
com.azure.resourcemanager.network.models.BastionConnectProtocol
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class BastionConnectProtocol extends com.azure.core.util.ExpandableStringEnum<BastionConnectProtocol>
The protocol used to connect to the target.
  • Field Details

  • Constructor Details

    • BastionConnectProtocol

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

    • fromString

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

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