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

package com.azure.resourcemanager.apimanagement.models;

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

/** Defines values for LoggerType. */
public final class LoggerType extends ExpandableStringEnum<LoggerType> {
    /** Static value azureEventHub for LoggerType. */
    public static final LoggerType AZURE_EVENT_HUB = fromString("azureEventHub");

    /** Static value applicationInsights for LoggerType. */
    public static final LoggerType APPLICATION_INSIGHTS = fromString("applicationInsights");

    /** Static value azureMonitor for LoggerType. */
    public static final LoggerType AZURE_MONITOR = fromString("azureMonitor");

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

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