FileSystemApplicationLogsConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.FileSystemApplicationLogsConfig

Implements

public final class FileSystemApplicationLogsConfig
implements JsonSerializable<FileSystemApplicationLogsConfig>

Application logs to file system configuration.

Constructor Summary

Constructor Description
FileSystemApplicationLogsConfig()

Creates an instance of FileSystemApplicationLogsConfig class.

Method Summary

Modifier and Type Method and Description
static FileSystemApplicationLogsConfig fromJson(JsonReader jsonReader)

Reads an instance of FileSystemApplicationLogsConfig from the JsonReader.

LogLevel level()

Get the level property: Log level.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FileSystemApplicationLogsConfig withLevel(LogLevel level)

Set the level property: Log level.

Methods inherited from java.lang.Object

Constructor Details

FileSystemApplicationLogsConfig

public FileSystemApplicationLogsConfig()

Creates an instance of FileSystemApplicationLogsConfig class.

Method Details

fromJson

public static FileSystemApplicationLogsConfig fromJson(JsonReader jsonReader)

Reads an instance of FileSystemApplicationLogsConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FileSystemApplicationLogsConfig if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the FileSystemApplicationLogsConfig.

level

public LogLevel level()

Get the level property: Log level.

Returns:

the level value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLevel

public FileSystemApplicationLogsConfig withLevel(LogLevel level)

Set the level property: Log level.

Parameters:

level - the level value to set.

Returns:

the FileSystemApplicationLogsConfig object itself.

Applies to