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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebAppDiagnosticLogs.DefinitionStages.WithAttach<ParentT>withLogRetentionDays(int retentionDays)Specifies the maximum days of logs to keep.WebAppDiagnosticLogs.DefinitionStages.WithAttach<ParentT>withUnlimitedLogRetentionDays()Specifies the logs will not be deleted beyond a certain time.
-
-
-
Method Detail
-
withLogRetentionDays
WebAppDiagnosticLogs.DefinitionStages.WithAttach<ParentT> withLogRetentionDays(int retentionDays)
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
-
-