Class TableInner
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the archiveRetentionInDays property: The table data archive retention in days.Get the lastPlanModifiedDate property: The timestamp that table plan was last modified (UTC).plan()
Get the plan property: Instruct the system how to handle and charge the logs ingested to this table.Get the provisioningState property: Table's current provisioning state.Get the restoredLogs property: Parameters of the restore operation that initiated this table.Get the resultStatistics property: Search job execution statistics.Get the retentionInDays property: The table retention in days, between 4 and 730.schema()
Get the schema property: Table schema.Get the searchResults property: Parameters of the search job that initiated this table.Get the systemData property: Metadata pertaining to creation and last modification of the resource.Get the totalRetentionInDays property: The table total retention in days, between 4 and 2555.void
validate()
Validates the instance.withPlan
(TablePlanEnum plan) Set the plan property: Instruct the system how to handle and charge the logs ingested to this table.withRestoredLogs
(RestoredLogs restoredLogs) Set the restoredLogs property: Parameters of the restore operation that initiated this table.withResultStatistics
(ResultStatistics resultStatistics) Set the resultStatistics property: Search job execution statistics.withRetentionInDays
(Integer retentionInDays) Set the retentionInDays property: The table retention in days, between 4 and 730.withSchema
(Schema schema) Set the schema property: Table schema.withSearchResults
(SearchResults searchResults) Set the searchResults property: Parameters of the search job that initiated this table.withTotalRetentionInDays
(Integer totalRetentionInDays) Set the totalRetentionInDays property: The table total retention in days, between 4 and 2555.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
TableInner
public TableInner()
-
-
Method Details
-
systemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
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
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
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
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
Get the archiveRetentionInDays property: The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays).- Returns:
- the archiveRetentionInDays value.
-
searchResults
Get the searchResults property: Parameters of the search job that initiated this table.- Returns:
- the searchResults value.
-
withSearchResults
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
Get the restoredLogs property: Parameters of the restore operation that initiated this table.- Returns:
- the restoredLogs value.
-
withRestoredLogs
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
Get the resultStatistics property: Search job execution statistics.- Returns:
- the resultStatistics value.
-
withResultStatistics
Set the resultStatistics property: Search job execution statistics.- Parameters:
resultStatistics
- the resultStatistics value to set.- Returns:
- the TableInner object itself.
-
plan
Get the plan property: Instruct the system how to handle and charge the logs ingested to this table.- Returns:
- the plan value.
-
withPlan
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
Get the lastPlanModifiedDate property: The timestamp that table plan was last modified (UTC).- Returns:
- the lastPlanModifiedDate value.
-
schema
Get the schema property: Table schema.- Returns:
- the schema value.
-
withSchema
Set the schema property: Table schema.- Parameters:
schema
- the schema value to set.- Returns:
- the TableInner object itself.
-
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.
-