Interface WebAppBase.DefinitionStages.WithDiagnosticLogging<FluentT>
-
- Type Parameters:
FluentT- the type of the resource
- All Known Subinterfaces:
DeploymentSlot.Definition,DeploymentSlot.DefinitionStages.WithCreate,FunctionApp.Definition,FunctionApp.DefinitionStages.WithCreate,FunctionDeploymentSlot.Definition,FunctionDeploymentSlot.DefinitionStages.WithCreate,WebApp.Definition,WebApp.DefinitionStages.WithCreate,WebApp.DefinitionStages.WithStartUpCommand,WebApp.DefinitionStages.WithWindowsAppFramework,WebAppBase.Definition<FluentT>,WebAppBase.DefinitionStages.WithCreate<FluentT>,WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT>,WebAppBase.DefinitionStages.WithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>
- Enclosing interface:
- WebAppBase.DefinitionStages
public static interface WebAppBase.DefinitionStages.WithDiagnosticLogging<FluentT>A web app definition stage allowing diagnostic logging to be set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebAppDiagnosticLogs.DefinitionStages.Blank<WebAppBase.DefinitionStages.WithCreate<FluentT>>defineDiagnosticLogsConfiguration()Specifies the definition of a new diagnostic logs configuration.WebAppBase.DefinitionStages.WithCreate<FluentT>withContainerLoggingDisabled()Disable the container logging for Linux web apps.WebAppBase.DefinitionStages.WithCreate<FluentT>withContainerLoggingEnabled()Specifies the configuration for container logging for Linux web apps.WebAppBase.DefinitionStages.WithCreate<FluentT>withContainerLoggingEnabled(int quotaInMB, int retentionDays)Specifies the configuration for container logging for Linux web apps.
-
-
-
Method Detail
-
defineDiagnosticLogsConfiguration
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
-
withContainerLoggingEnabled
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
-
withContainerLoggingEnabled
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
-
withContainerLoggingDisabled
WebAppBase.DefinitionStages.WithCreate<FluentT> withContainerLoggingDisabled()
Disable the container logging for Linux web apps.- Returns:
- the next stage of the web app definition
-
-