SecurityRuleAccess Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. SecurityRuleAccess
- com.
- com.
public final class SecurityRuleAccess
extends ExpandableStringEnum<SecurityRuleAccess>
Whether network traffic is allowed or denied.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Security |
ALLOW
Static value Allow for Security |
static final
Security |
DENY
Static value Deny for Security |
Constructor Summary
Constructor | Description |
---|---|
SecurityRuleAccess() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Security |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Security |
fromString(String name)
Creates or finds a Security |
static
Collection<Security |
values()
Gets known Security |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOW
public static final SecurityRuleAccess ALLOW
Static value Allow for SecurityRuleAccess.
DENY
public static final SecurityRuleAccess DENY
Static value Deny for SecurityRuleAccess.
Constructor Details
SecurityRuleAccess
@Deprecated
public SecurityRuleAccess()
Deprecated
Creates a new instance of SecurityRuleAccess value.
Method Details
fromString
public static SecurityRuleAccess fromString(String name)
Creates or finds a SecurityRuleAccess from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SecurityRuleAccess values.
Returns:
Applies to
Azure SDK for Java