Partager via


WebAppBase.DefinitionStages.WithDiagnosticLogging<FluentT> Interface

Type Parameters

FluentT

the type of the resource

public static interface WebAppBase.DefinitionStages.WithDiagnosticLogging

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> 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 withContainerLoggingDisabled()

Disable the container logging for Linux web apps.

Returns:

the next stage of the web app definition

withContainerLoggingEnabled

public abstract WebAppBase.DefinitionStages.WithCreate 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 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