AzureTableStorageApplicationLogsConfig Class

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

Implements

public final class AzureTableStorageApplicationLogsConfig
implements JsonSerializable<AzureTableStorageApplicationLogsConfig>

Application logs to Azure table storage configuration.

Constructor Summary

Constructor Description
AzureTableStorageApplicationLogsConfig()

Creates an instance of AzureTableStorageApplicationLogsConfig class.

Method Summary

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

Reads an instance of AzureTableStorageApplicationLogsConfig from the JsonReader.

LogLevel level()

Get the level property: Log level.

String sasUrl()

Get the sasUrl property: SAS URL to an Azure table with add/query/delete permissions.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureTableStorageApplicationLogsConfig withLevel(LogLevel level)

Set the level property: Log level.

AzureTableStorageApplicationLogsConfig withSasUrl(String sasUrl)

Set the sasUrl property: SAS URL to an Azure table with add/query/delete permissions.

Methods inherited from java.lang.Object

Constructor Details

AzureTableStorageApplicationLogsConfig

public AzureTableStorageApplicationLogsConfig()

Creates an instance of AzureTableStorageApplicationLogsConfig class.

Method Details

fromJson

public static AzureTableStorageApplicationLogsConfig fromJson(JsonReader jsonReader)

Reads an instance of AzureTableStorageApplicationLogsConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

level

public LogLevel level()

Get the level property: Log level.

Returns:

the level value.

sasUrl

public String sasUrl()

Get the sasUrl property: SAS URL to an Azure table with add/query/delete permissions.

Returns:

the sasUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLevel

public AzureTableStorageApplicationLogsConfig withLevel(LogLevel level)

Set the level property: Log level.

Parameters:

level - the level value to set.

Returns:

the AzureTableStorageApplicationLogsConfig object itself.

withSasUrl

public AzureTableStorageApplicationLogsConfig withSasUrl(String sasUrl)

Set the sasUrl property: SAS URL to an Azure table with add/query/delete permissions.

Parameters:

sasUrl - the sasUrl value to set.

Returns:

the AzureTableStorageApplicationLogsConfig object itself.

Applies to