truncate
Creates, updates, deletes, gets or lists a truncate
resource.
Overview
Name | truncate |
Type | Resource |
Id | sumologic.lookup_tables.truncate |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
truncateTable | exec | id , region | Delete all data from a lookup table. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
id | string | Identifier of the table to clear. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
Lifecycle Methods
- truncateTable
Delete all data from a lookup table.
EXEC sumologic.lookup_tables.truncate.truncateTable
@id='{{ id }}' --required,
@region='{{ region }}' --required
;