Class InboundSecurityRuleType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<InboundSecurityRuleType>
com.azure.resourcemanager.network.models.InboundSecurityRuleType

public final class InboundSecurityRuleType extends com.azure.core.util.ExpandableStringEnum<InboundSecurityRuleType>
Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule.
  • Field Details

    • AUTO_EXPIRE

      public static final InboundSecurityRuleType AUTO_EXPIRE
      Static value AutoExpire for InboundSecurityRuleType.
    • PERMANENT

      public static final InboundSecurityRuleType PERMANENT
      Static value Permanent for InboundSecurityRuleType.
  • Constructor Details

    • InboundSecurityRuleType

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

    • fromString

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

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