DnsSecurityRuleState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. dnsresolver. models. DnsSecurityRuleState
- com.
- com.
public final class DnsSecurityRuleState
extends ExpandableStringEnum<DnsSecurityRuleState>
The state of DNS security rule.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Dns |
DISABLED
Static value Disabled for Dns |
|
static final
Dns |
ENABLED
Static value Enabled for Dns |
Constructor Summary
| Constructor | Description |
|---|---|
| DnsSecurityRuleState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Dns |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dns |
fromString(String name)
Creates or finds a Dns |
|
static
Collection<Dns |
values()
Gets known Dns |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final DnsSecurityRuleState DISABLED
Static value Disabled for DnsSecurityRuleState.
ENABLED
public static final DnsSecurityRuleState ENABLED
Static value Enabled for DnsSecurityRuleState.
Constructor Details
DnsSecurityRuleState
@Deprecated
public DnsSecurityRuleState()
Deprecated
Creates a new instance of DnsSecurityRuleState value.
Method Details
fromString
public static DnsSecurityRuleState fromString(String name)
Creates or finds a DnsSecurityRuleState from its string representation.
Parameters:
Returns:
values
public static Collection<DnsSecurityRuleState> values()
Gets known DnsSecurityRuleState values.
Returns: