Interface WebAppDiagnosticLogs.UpdateStages.WithRetentionDays<ParentT>

Type Parameters:
ParentT - the stage of the parent update to return to after attaching this update
All Known Subinterfaces:
WebAppDiagnosticLogs.UpdateDefinition<ParentT>, WebAppDiagnosticLogs.UpdateStages.WithAttachForApplicationStorage<ParentT>, WebAppDiagnosticLogs.UpdateStages.WithAttachForWebServerFileSystem<ParentT>, WebAppDiagnosticLogs.UpdateStages.WithAttachForWebServerStorage<ParentT>
Enclosing interface:
WebAppDiagnosticLogs.UpdateStages

public static interface WebAppDiagnosticLogs.UpdateStages.WithRetentionDays<ParentT>
A web app diagnostic log update allowing retention days to be specified.
  • Method Details

    • withLogRetentionDays

      WebAppDiagnosticLogs.UpdateStages.Update<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 update
    • withUnlimitedLogRetentionDays

      WebAppDiagnosticLogs.UpdateStages.Update<ParentT> withUnlimitedLogRetentionDays()
      Specifies the logs will not be deleted beyond a certain time.
      Returns:
      the next stage of the update