Class PcProtocol

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

public final class PcProtocol extends com.azure.core.util.ExpandableStringEnum<PcProtocol>
Protocol to be filtered on.
  • Field Details

    • TCP

      public static final PcProtocol TCP
      Static value TCP for PcProtocol.
    • UDP

      public static final PcProtocol UDP
      Static value UDP for PcProtocol.
    • ANY

      public static final PcProtocol ANY
      Static value Any for PcProtocol.
  • Constructor Details

  • Method Details

    • fromString

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

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