Class WorkspacePurgeBody

java.lang.Object
com.azure.resourcemanager.loganalytics.models.WorkspacePurgeBody

public final class WorkspacePurgeBody extends Object
Describes the body of a purge request for an App Insights Workspace.
  • Constructor Details

    • WorkspacePurgeBody

      public WorkspacePurgeBody()
  • Method Details

    • table

      public String table()
      Get the table property: Table from which to purge data.
      Returns:
      the table value.
    • withTable

      public WorkspacePurgeBody withTable(String table)
      Set the table property: Table from which to purge data.
      Parameters:
      table - the table value to set.
      Returns:
      the WorkspacePurgeBody object itself.
    • filters

      public List<WorkspacePurgeBodyFilters> filters()
      Get the filters property: The set of columns and filters (queries) to run over them to purge the resulting data.
      Returns:
      the filters value.
    • withFilters

      public WorkspacePurgeBody withFilters(List<WorkspacePurgeBodyFilters> filters)
      Set the filters property: The set of columns and filters (queries) to run over them to purge the resulting data.
      Parameters:
      filters - the filters value to set.
      Returns:
      the WorkspacePurgeBody object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.