Class ProtocolType

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

public final class ProtocolType extends com.azure.core.util.ExpandableStringEnum<ProtocolType>
RNM supported protocol types.
  • Field Details

    • DO_NOT_USE

      public static final ProtocolType DO_NOT_USE
      Static value DoNotUse for ProtocolType.
    • ICMP

      public static final ProtocolType ICMP
      Static value Icmp for ProtocolType.
    • TCP

      public static final ProtocolType TCP
      Static value Tcp for ProtocolType.
    • UDP

      public static final ProtocolType UDP
      Static value Udp for ProtocolType.
    • GRE

      public static final ProtocolType GRE
      Static value Gre for ProtocolType.
    • ESP

      public static final ProtocolType ESP
      Static value Esp for ProtocolType.
    • AH

      public static final ProtocolType AH
      Static value Ah for ProtocolType.
    • VXLAN

      public static final ProtocolType VXLAN
      Static value Vxlan for ProtocolType.
    • ALL

      public static final ProtocolType ALL
      Static value All for ProtocolType.
  • Constructor Details

    • ProtocolType

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

    • fromString

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

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