Partilhar via


WebAppBase.DefinitionStages.WithDiagnosticLogging<FluentT> Interface

Type Parameters

FluentT

the type of the resource

public static interface WebAppBase.DefinitionStages.WithDiagnosticLogging<FluentT>

A web app definition stage allowing diagnostic logging to be set.

Method Summary

Modifier and Type Method and Description
abstract Blank<WithCreate<FluentT>> defineDiagnosticLogsConfiguration()

Specifies the definition of a new diagnostic logs configuration.

abstract WithCreate<FluentT> withContainerLoggingDisabled()

Disable the container logging for Linux web apps.

abstract WithCreate<FluentT> withContainerLoggingEnabled()

Specifies the configuration for container logging for Linux web apps.

abstract WithCreate<FluentT> withContainerLoggingEnabled(int quotaInMB, int retentionDays)

Specifies the configuration for container logging for Linux web apps.

Method Details

defineDiagnosticLogsConfiguration

public abstract WebAppDiagnosticLogs.DefinitionStages.Blank<WebAppBase.DefinitionStages.WithCreate<FluentT>> defineDiagnosticLogsConfiguration()

Specifies the definition of a new diagnostic logs configuration.

Returns:

the first stage of an diagnostic logs definition

withContainerLoggingDisabled

public abstract WebAppBase.DefinitionStages.WithCreate<FluentT> withContainerLoggingDisabled()

Disable the container logging for Linux web apps.

Returns:

the next stage of the web app definition

withContainerLoggingEnabled

public abstract WebAppBase.DefinitionStages.WithCreate<FluentT> withContainerLoggingEnabled()

Specifies the configuration for container logging for Linux web apps. Logs will be stored on the file system for up to 35 MB.

Returns:

the next stage of the web app definition

withContainerLoggingEnabled

public abstract WebAppBase.DefinitionStages.WithCreate<FluentT> withContainerLoggingEnabled(int quotaInMB, int retentionDays)

Specifies the configuration for container logging for Linux web apps.

Parameters:

quotaInMB - the limit that restricts file system usage by app diagnostics logs. Value can range from 25 MB and 100 MB.
retentionDays - maximum days of logs that will be available

Returns:

the next stage of the web app definition

Applies to