Interface WebAppDiagnosticLogs.DefinitionStages.WithRetentionDays<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
WebAppDiagnosticLogs.Definition<ParentT>
,WebAppDiagnosticLogs.DefinitionStages.WithAttachForApplicationStorage<ParentT>
,WebAppDiagnosticLogs.DefinitionStages.WithAttachForWebServerFileSystem<ParentT>
,WebAppDiagnosticLogs.DefinitionStages.WithAttachForWebServerStorage<ParentT>
- Enclosing interface:
- WebAppDiagnosticLogs.DefinitionStages
public static interface WebAppDiagnosticLogs.DefinitionStages.WithRetentionDays<ParentT>
A web app diagnostic log definition allowing retention days to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionwithLogRetentionDays
(int retentionDays) Specifies the maximum days of logs to keep.Specifies the logs will not be deleted beyond a certain time.
-
Method Details
-
withLogRetentionDays
Specifies the maximum days of logs to keep. Logs older than this will be deleted.- Parameters:
retentionDays
- the maximum days of logs to keep- Returns:
- the next stage of the definition
-
withUnlimitedLogRetentionDays
WebAppDiagnosticLogs.DefinitionStages.WithAttach<ParentT> withUnlimitedLogRetentionDays()Specifies the logs will not be deleted beyond a certain time.- Returns:
- the next stage of the definition
-