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

com.azure.resourcemanager.appcontainers.models.LogLevel Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2024-03.

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.appcontainers.models;

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

/**
 * Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
 */
public final class LogLevel extends ExpandableStringEnum {
    /**
     * Static value info for LogLevel.
     */
    public static final LogLevel INFO = fromString("info");

    /**
     * Static value debug for LogLevel.
     */
    public static final LogLevel DEBUG = fromString("debug");

    /**
     * Static value warn for LogLevel.
     */
    public static final LogLevel WARN = fromString("warn");

    /**
     * Static value error for LogLevel.
     */
    public static final LogLevel ERROR = fromString("error");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy