IWithRetentionDays<ParentT>.WithLogRetentionDays(Int32) Method

Definition

Specifies the maximum days of logs to keep. Logs older than this will be deleted.

public Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithAttach<ParentT> WithLogRetentionDays (int retentionDays);
abstract member WithLogRetentionDays : int -> Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithAttach<'ParentT>
Public Function WithLogRetentionDays (retentionDays As Integer) As IWithAttach(Of ParentT)

Parameters

retentionDays
Int32

The maximum days of logs to keep.

Returns

Applies to