RuleStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. RuleStatus
- com.
- com.
public final class RuleStatus
extends ExpandableStringEnum<RuleStatus>
The rule result status.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rule |
FINDING
A vulnerability was found for this rule. |
|
static final
Rule |
INTERNAL_ERROR
An internal error occurred while evaluating this rule. |
|
static final
Rule |
NON_FINDING
No vulnerability was found for this rule. |
|
static final
Rule |
NOT_APPLICABLE
The rule is not applicable to the assessed resource. |
Constructor Summary
| Constructor | Description |
|---|---|
| RuleStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rule |
fromString(String name)
Creates or finds a Rule |
|
static
Collection<Rule |
values()
Gets known Rule |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FINDING
public static final RuleStatus FINDING
A vulnerability was found for this rule.
INTERNAL_ERROR
public static final RuleStatus INTERNAL_ERROR
An internal error occurred while evaluating this rule.
NON_FINDING
public static final RuleStatus NON_FINDING
No vulnerability was found for this rule.
NOT_APPLICABLE
public static final RuleStatus NOT_APPLICABLE
The rule is not applicable to the assessed resource.
Constructor Details
RuleStatus
@Deprecated
public RuleStatus()
Deprecated
Creates a new instance of RuleStatus value.
Method Details
fromString
public static RuleStatus fromString(String name)
Creates or finds a RuleStatus from its string representation.
Parameters:
Returns:
values
public static Collection<RuleStatus> values()
Gets known RuleStatus values.
Returns: