IWithDiagnosticLogging<FluentT>.WithContainerLoggingEnabled Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithContainerLoggingEnabled() |
Specifies the configuration for container logging for Linux web apps. Logs will be stored on the file system for up to 35 MB. |
WithContainerLoggingEnabled(Int32, Int32) |
Specifies the configuration for container logging for Linux web apps. |
WithContainerLoggingEnabled()
Specifies the configuration for container logging for Linux web apps. Logs will be stored on the file system for up to 35 MB.
public Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<FluentT> WithContainerLoggingEnabled ();
abstract member WithContainerLoggingEnabled : unit -> Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<'FluentT>
Public Function WithContainerLoggingEnabled () As IWithCreate(Of FluentT)
Returns
Applies to
WithContainerLoggingEnabled(Int32, Int32)
Specifies the configuration for container logging for Linux web apps.
public Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<FluentT> WithContainerLoggingEnabled (int quotaInMB, int retentionDays);
abstract member WithContainerLoggingEnabled : int * int -> Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<'FluentT>
Public Function WithContainerLoggingEnabled (quotaInMB As Integer, retentionDays As Integer) As IWithCreate(Of FluentT)
Parameters
- quotaInMB
- Int32
The limit that restricts file system usage by app diagnostics logs. Value can range from 25 MB and 100 MB.
- retentionDays
- Int32
Maximum days of logs that will be available.
Returns
Applies to
Azure SDK for .NET