Class TableInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.TableInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

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

    • TableInner

      public TableInner()
      Creates an instance of TableInner class.
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • retentionInDays

      public Integer retentionInDays()
      Get the retentionInDays property: In Analytics table: the tables analytics retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. In Basic and Auxiliary table: read only property.
      Returns:
      the retentionInDays value.
    • withRetentionInDays

      public TableInner withRetentionInDays(Integer retentionInDays)
      Set the retentionInDays property: In Analytics table: the tables analytics retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. In Basic and Auxiliary table: read only property.
      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 4383. Setting this property to -1 will default to retentionInDays.
      Returns:
      the totalRetentionInDays value.
    • withTotalRetentionInDays

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

      public Integer archiveRetentionInDays()
      Get the archiveRetentionInDays property: The tables long-term 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.
    • 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.
    • retentionInDaysAsDefault

      public Boolean retentionInDaysAsDefault()
      Get the retentionInDaysAsDefault property: True - Value originates from workspace retention in days, False - Customer specific.
      Returns:
      the retentionInDaysAsDefault value.
    • totalRetentionInDaysAsDefault

      public Boolean totalRetentionInDaysAsDefault()
      Get the totalRetentionInDaysAsDefault property: True - Value originates from retention in days, False - Customer specific.
      Returns:
      the totalRetentionInDaysAsDefault value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.ProxyResource
      Throws:
      IOException
    • fromJson

      public static TableInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of TableInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of TableInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the TableInner.