java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.TableInner

public final class TableInner extends com.azure.core.management.ProxyResource
Workspace data table definition.
  • Constructor Details

    • TableInner

      public TableInner()
  • Method Details

    • systemData

      public SystemDataAutoGenerated systemData()
      Get the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • retentionInDays

      public Integer retentionInDays()
      Get the retentionInDays property: The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention.
      Returns:
      the retentionInDays value.
    • withRetentionInDays

      public TableInner withRetentionInDays(Integer retentionInDays)
      Set the retentionInDays property: The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention.
      Parameters:
      retentionInDays - the retentionInDays value to set.
      Returns:
      the TableInner object itself.
    • totalRetentionInDays

      public Integer totalRetentionInDays()
      Get the totalRetentionInDays property: The table total retention in days, between 4 and 2555. Setting this property to -1 will default to table retention.
      Returns:
      the totalRetentionInDays value.
    • withTotalRetentionInDays

      public TableInner withTotalRetentionInDays(Integer totalRetentionInDays)
      Set the totalRetentionInDays property: The table total retention in days, between 4 and 2555. Setting this property to -1 will default to table retention.
      Parameters:
      totalRetentionInDays - the totalRetentionInDays value to set.
      Returns:
      the TableInner object itself.
    • archiveRetentionInDays

      public Integer archiveRetentionInDays()
      Get the archiveRetentionInDays property: The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays).
      Returns:
      the archiveRetentionInDays value.
    • searchResults

      public SearchResults searchResults()
      Get the searchResults property: Parameters of the search job that initiated this table.
      Returns:
      the searchResults value.
    • withSearchResults

      public TableInner withSearchResults(SearchResults searchResults)
      Set the searchResults property: Parameters of the search job that initiated this table.
      Parameters:
      searchResults - the searchResults value to set.
      Returns:
      the TableInner object itself.
    • restoredLogs

      public RestoredLogs restoredLogs()
      Get the restoredLogs property: Parameters of the restore operation that initiated this table.
      Returns:
      the restoredLogs value.
    • withRestoredLogs

      public TableInner withRestoredLogs(RestoredLogs restoredLogs)
      Set the restoredLogs property: Parameters of the restore operation that initiated this table.
      Parameters:
      restoredLogs - the restoredLogs value to set.
      Returns:
      the TableInner object itself.
    • resultStatistics

      public ResultStatistics resultStatistics()
      Get the resultStatistics property: Search job execution statistics.
      Returns:
      the resultStatistics value.
    • withResultStatistics

      public TableInner withResultStatistics(ResultStatistics resultStatistics)
      Set the resultStatistics property: Search job execution statistics.
      Parameters:
      resultStatistics - the resultStatistics value to set.
      Returns:
      the TableInner object itself.
    • plan

      public TablePlanEnum plan()
      Get the plan property: Instruct the system how to handle and charge the logs ingested to this table.
      Returns:
      the plan value.
    • withPlan

      public TableInner withPlan(TablePlanEnum plan)
      Set the plan property: Instruct the system how to handle and charge the logs ingested to this table.
      Parameters:
      plan - the plan value to set.
      Returns:
      the TableInner object itself.
    • lastPlanModifiedDate

      public String lastPlanModifiedDate()
      Get the lastPlanModifiedDate property: The timestamp that table plan was last modified (UTC).
      Returns:
      the lastPlanModifiedDate value.
    • schema

      public Schema schema()
      Get the schema property: Table schema.
      Returns:
      the schema value.
    • withSchema

      public TableInner withSchema(Schema schema)
      Set the schema property: Table schema.
      Parameters:
      schema - the schema value to set.
      Returns:
      the TableInner object itself.
    • provisioningState

      public ProvisioningStateEnum provisioningState()
      Get the provisioningState property: Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded.
      Returns:
      the provisioningState value.
    • validate

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