All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.securityinsights.models.AlertSeverity Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for SecurityInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider. Package tag package-preview-2022-09.

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

package com.azure.resourcemanager.securityinsights.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * The severity of the alert.
 */
public final class AlertSeverity extends ExpandableStringEnum {
    /**
     * Static value High for AlertSeverity.
     */
    public static final AlertSeverity HIGH = fromString("High");

    /**
     * Static value Medium for AlertSeverity.
     */
    public static final AlertSeverity MEDIUM = fromString("Medium");

    /**
     * Static value Low for AlertSeverity.
     */
    public static final AlertSeverity LOW = fromString("Low");

    /**
     * Static value Informational for AlertSeverity.
     */
    public static final AlertSeverity INFORMATIONAL = fromString("Informational");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy