Class InboundSecurityRuleType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<InboundSecurityRuleType>
com.azure.resourcemanager.network.models.InboundSecurityRuleType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final InboundSecurityRuleTypeStatic value AutoExpire for InboundSecurityRuleType.static final InboundSecurityRuleTypeStatic value Permanent for InboundSecurityRuleType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InboundSecurityRuleTypefromString(String name) Creates or finds a InboundSecurityRuleType from its string representation.static Collection<InboundSecurityRuleType> values()Gets known InboundSecurityRuleType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AUTO_EXPIRE
Static value AutoExpire for InboundSecurityRuleType. -
PERMANENT
Static value Permanent for InboundSecurityRuleType.
-
-
Constructor Details
-
InboundSecurityRuleType
Deprecated.Use thefromString(String)factory method.Creates a new instance of InboundSecurityRuleType value.
-
-
Method Details
-
fromString
Creates or finds a InboundSecurityRuleType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding InboundSecurityRuleType.
-
values
Gets known InboundSecurityRuleType values.- Returns:
- known InboundSecurityRuleType values.
-
fromString(String)factory method.