ApplicationLogsConfig Class

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

Implements

public final class ApplicationLogsConfig
implements JsonSerializable<ApplicationLogsConfig>

Application logs configuration.

Constructor Summary

Constructor Description
ApplicationLogsConfig()

Creates an instance of ApplicationLogsConfig class.

Method Summary

Modifier and Type Method and Description
AzureBlobStorageApplicationLogsConfig azureBlobStorage()

Get the azureBlobStorage property: Application logs to blob storage configuration.

AzureTableStorageApplicationLogsConfig azureTableStorage()

Get the azureTableStorage property: Application logs to azure table storage configuration.

FileSystemApplicationLogsConfig fileSystem()

Get the fileSystem property: Application logs to file system configuration.

static ApplicationLogsConfig fromJson(JsonReader jsonReader)

Reads an instance of ApplicationLogsConfig from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationLogsConfig withAzureBlobStorage(AzureBlobStorageApplicationLogsConfig azureBlobStorage)

Set the azureBlobStorage property: Application logs to blob storage configuration.

ApplicationLogsConfig withAzureTableStorage(AzureTableStorageApplicationLogsConfig azureTableStorage)

Set the azureTableStorage property: Application logs to azure table storage configuration.

ApplicationLogsConfig withFileSystem(FileSystemApplicationLogsConfig fileSystem)

Set the fileSystem property: Application logs to file system configuration.

Methods inherited from java.lang.Object

Constructor Details

ApplicationLogsConfig

public ApplicationLogsConfig()

Creates an instance of ApplicationLogsConfig class.

Method Details

azureBlobStorage

public AzureBlobStorageApplicationLogsConfig azureBlobStorage()

Get the azureBlobStorage property: Application logs to blob storage configuration.

Returns:

the azureBlobStorage value.

azureTableStorage

public AzureTableStorageApplicationLogsConfig azureTableStorage()

Get the azureTableStorage property: Application logs to azure table storage configuration.

Returns:

the azureTableStorage value.

fileSystem

public FileSystemApplicationLogsConfig fileSystem()

Get the fileSystem property: Application logs to file system configuration.

Returns:

the fileSystem value.

fromJson

public static ApplicationLogsConfig fromJson(JsonReader jsonReader)

Reads an instance of ApplicationLogsConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationLogsConfig 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 ApplicationLogsConfig.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAzureBlobStorage

public ApplicationLogsConfig withAzureBlobStorage(AzureBlobStorageApplicationLogsConfig azureBlobStorage)

Set the azureBlobStorage property: Application logs to blob storage configuration.

Parameters:

azureBlobStorage - the azureBlobStorage value to set.

Returns:

the ApplicationLogsConfig object itself.

withAzureTableStorage

public ApplicationLogsConfig withAzureTableStorage(AzureTableStorageApplicationLogsConfig azureTableStorage)

Set the azureTableStorage property: Application logs to azure table storage configuration.

Parameters:

azureTableStorage - the azureTableStorage value to set.

Returns:

the ApplicationLogsConfig object itself.

withFileSystem

public ApplicationLogsConfig withFileSystem(FileSystemApplicationLogsConfig fileSystem)

Set the fileSystem property: Application logs to file system configuration.

Parameters:

fileSystem - the fileSystem value to set.

Returns:

the ApplicationLogsConfig object itself.

Applies to