// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.security.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** An alert that machines within a group can have. */
public final class AdaptiveApplicationControlIssue extends ExpandableStringEnum<AdaptiveApplicationControlIssue> {
    /** Static value ViolationsAudited for AdaptiveApplicationControlIssue. */
    public static final AdaptiveApplicationControlIssue VIOLATIONS_AUDITED = fromString("ViolationsAudited");

    /** Static value ViolationsBlocked for AdaptiveApplicationControlIssue. */
    public static final AdaptiveApplicationControlIssue VIOLATIONS_BLOCKED = fromString("ViolationsBlocked");

    /** Static value MsiAndScriptViolationsAudited for AdaptiveApplicationControlIssue. */
    public static final AdaptiveApplicationControlIssue MSI_AND_SCRIPT_VIOLATIONS_AUDITED =
        fromString("MsiAndScriptViolationsAudited");

    /** Static value MsiAndScriptViolationsBlocked for AdaptiveApplicationControlIssue. */
    public static final AdaptiveApplicationControlIssue MSI_AND_SCRIPT_VIOLATIONS_BLOCKED =
        fromString("MsiAndScriptViolationsBlocked");

    /** Static value ExecutableViolationsAudited for AdaptiveApplicationControlIssue. */
    public static final AdaptiveApplicationControlIssue EXECUTABLE_VIOLATIONS_AUDITED =
        fromString("ExecutableViolationsAudited");

    /** Static value RulesViolatedManually for AdaptiveApplicationControlIssue. */
    public static final AdaptiveApplicationControlIssue RULES_VIOLATED_MANUALLY = fromString("RulesViolatedManually");

    /**
     * Creates a new instance of AdaptiveApplicationControlIssue value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AdaptiveApplicationControlIssue() {
    }

    /**
     * Creates or finds a AdaptiveApplicationControlIssue from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding AdaptiveApplicationControlIssue.
     */
    @JsonCreator
    public static AdaptiveApplicationControlIssue fromString(String name) {
        return fromString(name, AdaptiveApplicationControlIssue.class);
    }

    /**
     * Gets known AdaptiveApplicationControlIssue values.
     *
     * @return known AdaptiveApplicationControlIssue values.
     */
    public static Collection<AdaptiveApplicationControlIssue> values() {
        return values(AdaptiveApplicationControlIssue.class);
    }
}
