Class SecurityRuleProtocol

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

public final class SecurityRuleProtocol extends com.azure.core.util.ExpandableStringEnum<SecurityRuleProtocol>
Network protocol this rule applies to.
  • Field Details

  • Constructor Details

    • SecurityRuleProtocol

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

    • fromString

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

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