Package com.azure.compute.batch.models
Class NetworkSecurityGroupRuleAccess
java.lang.Object
com.azure.core.util.ExpandableStringEnum<NetworkSecurityGroupRuleAccess>
com.azure.compute.batch.models.NetworkSecurityGroupRuleAccess
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class NetworkSecurityGroupRuleAccess
extends com.azure.core.util.ExpandableStringEnum<NetworkSecurityGroupRuleAccess>
NetworkSecurityGroupRuleAccess enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NetworkSecurityGroupRuleAccess
Allow access.static final NetworkSecurityGroupRuleAccess
Deny access. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String name) Creates or finds a NetworkSecurityGroupRuleAccess from its string representation.values()
Gets known NetworkSecurityGroupRuleAccess values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ALLOW
Allow access. -
DENY
Deny access.
-
-
Constructor Details
-
NetworkSecurityGroupRuleAccess
Deprecated.Use thefromString(String)
factory method.Creates a new instance of NetworkSecurityGroupRuleAccess value.
-
-
Method Details
-
fromString
Creates or finds a NetworkSecurityGroupRuleAccess from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding NetworkSecurityGroupRuleAccess.
-
values
Gets known NetworkSecurityGroupRuleAccess values.- Returns:
- known NetworkSecurityGroupRuleAccess values.
-
fromString(String)
factory method.