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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the archiveRetentionInDays property: The tables long-term retention in days.static TableInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TableInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the lastPlanModifiedDate property: The timestamp that table plan was last modified (UTC).name()Get the name property: The name of the resource.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: In Analytics table: the tables analytics retention in days, between 4 and 730.Get the retentionInDaysAsDefault property: True - Value originates from workspace retention in days, False - Customer specific.schema()Get the schema property: Table schema.Get the searchResults property: Parameters of the search job that initiated this table.com.azure.core.management.SystemDataGet the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the totalRetentionInDays property: The table total retention in days, between 4 and 4383.Get the totalRetentionInDaysAsDefault property: True - Value originates from retention in days, False - Customer specific.type()Get the type property: The type of the resource.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.withRetentionInDays(Integer retentionInDays) Set the retentionInDays property: In Analytics table: the tables analytics 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 4383.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
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
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
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
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
Get the archiveRetentionInDays property: The tables long-term 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.
-
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
-
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.
-
retentionInDaysAsDefault
Get the retentionInDaysAsDefault property: True - Value originates from workspace retention in days, False - Customer specific.- Returns:
- the retentionInDaysAsDefault value.
-
totalRetentionInDaysAsDefault
Get the totalRetentionInDaysAsDefault property: True - Value originates from retention in days, False - Customer specific.- Returns:
- the totalRetentionInDaysAsDefault value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
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.
-