Interface WebAppBase.UpdateStages.WithDiagnosticLogging<FluentT>
- Type Parameters:
FluentT
- the type of the resource
- All Known Subinterfaces:
DeploymentSlot.Update
,DeploymentSlotBase.Update<FluentT>
,FunctionApp.Update
,WebApp.Update
,WebApp.UpdateStages.WithStartUpCommand
,WebAppBase.Update<FluentT>
- Enclosing interface:
- WebAppBase.UpdateStages
@Beta(V1_5_0)
public static interface WebAppBase.UpdateStages.WithDiagnosticLogging<FluentT>
A web app definition stage allowing diagnostic logging to be set.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the update of an existing diagnostic logs configuration.Disable the container logging for Linux web apps.Specifies the configuration for container logging for Linux web apps.withContainerLoggingEnabled
(int quotaInMB, int retentionDays) Specifies the configuration for container logging for Linux web apps.
-
Method Details
-
updateDiagnosticLogsConfiguration
@Beta(V1_18_0) WebAppDiagnosticLogs.UpdateStages.Blank<WebAppBase.Update<FluentT>> updateDiagnosticLogsConfiguration()Specifies the update of an existing diagnostic logs configuration.- Returns:
- the first stage of an diagnostic logs update
-
withContainerLoggingEnabled
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 update
-
withContainerLoggingEnabled
WebAppBase.Update<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 update
-
withContainerLoggingDisabled
WebAppBase.Update<FluentT> withContainerLoggingDisabled()Disable the container logging for Linux web apps.- Returns:
- the next stage of the web app update
-