public interface Table
An immutable client-side representation of Table.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Table definition.
    static interface 
    The Table definition stages.
    static interface 
    The template for Table update.
    static interface 
    The Table update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the archiveRetentionInDays property: The table data archive retention in days.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.TableInner object.
    Gets the lastPlanModifiedDate property: The timestamp that table plan was last modified (UTC).
    void
    Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.
    com.azure.core.http.rest.Response<Void>
    migrateWithResponse(com.azure.core.util.Context context)
    Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.
    Gets the name property: The name of the resource.
    Gets the plan property: Instruct the system how to handle and charge the logs ingested to this table.
    Gets the provisioningState property: Table's current provisioning state.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    Gets the name of the resource group.
    Gets the restoredLogs property: Parameters of the restore operation that initiated this table.
    Gets the resultStatistics property: Search job execution statistics.
    Gets the retentionInDays property: The table retention in days, between 4 and 730.
    Gets the schema property: Table schema.
    Gets the searchResults property: Parameters of the search job that initiated this table.
    Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
    Gets the totalRetentionInDays property: The table total retention in days, between 4 and 2555.
    Gets the type property: The type of the resource.
    Begins update for the Table resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • systemData

      Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • retentionInDays

      Integer retentionInDays()
      Gets 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.
    • totalRetentionInDays

      Integer totalRetentionInDays()
      Gets 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.
    • archiveRetentionInDays

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

      SearchResults searchResults()
      Gets the searchResults property: Parameters of the search job that initiated this table.
      Returns:
      the searchResults value.
    • restoredLogs

      RestoredLogs restoredLogs()
      Gets the restoredLogs property: Parameters of the restore operation that initiated this table.
      Returns:
      the restoredLogs value.
    • resultStatistics

      ResultStatistics resultStatistics()
      Gets the resultStatistics property: Search job execution statistics.
      Returns:
      the resultStatistics value.
    • plan

      Gets the plan property: Instruct the system how to handle and charge the logs ingested to this table.
      Returns:
      the plan value.
    • lastPlanModifiedDate

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

      Schema schema()
      Gets the schema property: Table schema.
      Returns:
      the schema value.
    • provisioningState

      ProvisioningStateEnum provisioningState()
      Gets 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.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      TableInner innerModel()
      Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.TableInner object.
      Returns:
      the inner object.
    • update

      Table.Update update()
      Begins update for the Table resource.
      Returns:
      the stage of resource update.
    • refresh

      Table refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Table refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • migrate

      void migrate()
      Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • migrateWithResponse

      com.azure.core.http.rest.Response<Void> migrateWithResponse(com.azure.core.util.Context context)
      Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.