published on Thursday, May 7, 2026 by Pulumi
published on Thursday, May 7, 2026 by Pulumi
Represents a single row in a data table.
To get more information about DataTableRow, see:
- API documentation
- How-to Guides
Example Usage
Chronicle Data Table Row Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const exampleDt = new gcp.chronicle.DataTable("example_dt", {
location: "us",
instance: "00000000-0000-0000-0000-000000000000",
dataTableId: "terraform_test",
description: "Sample DataTable for DataTableRow test",
columnInfos: [
{
columnIndex: 0,
originalColumn: "username",
columnType: "STRING",
},
{
columnIndex: 1,
originalColumn: "ip_address",
columnType: "CIDR",
},
],
});
const exampleRow = new gcp.chronicle.DataTableRow("example_row", {
location: "us",
instance: "00000000-0000-0000-0000-000000000000",
dataTableId: exampleDt.dataTableId,
values: [
"testuser",
"192.168.1.1/32",
],
rowTimeToLive: "48h",
});
export const dataTableRowName = exampleRow.name;
export const dataTableRowIdPart = exampleRow.dataTableRow;
export const dataTableRowValues = exampleRow.values;
export const dataTableRowTtl = exampleRow.rowTimeToLive;
export const dataTableRowCreateTime = exampleRow.createTime;
import pulumi
import pulumi_gcp as gcp
example_dt = gcp.chronicle.DataTable("example_dt",
location="us",
instance="00000000-0000-0000-0000-000000000000",
data_table_id="terraform_test",
description="Sample DataTable for DataTableRow test",
column_infos=[
{
"column_index": 0,
"original_column": "username",
"column_type": "STRING",
},
{
"column_index": 1,
"original_column": "ip_address",
"column_type": "CIDR",
},
])
example_row = gcp.chronicle.DataTableRow("example_row",
location="us",
instance="00000000-0000-0000-0000-000000000000",
data_table_id=example_dt.data_table_id,
values=[
"testuser",
"192.168.1.1/32",
],
row_time_to_live="48h")
pulumi.export("dataTableRowName", example_row.name)
pulumi.export("dataTableRowIdPart", example_row.data_table_row)
pulumi.export("dataTableRowValues", example_row.values)
pulumi.export("dataTableRowTtl", example_row.row_time_to_live)
pulumi.export("dataTableRowCreateTime", example_row.create_time)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/chronicle"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleDt, err := chronicle.NewDataTable(ctx, "example_dt", &chronicle.DataTableArgs{
Location: pulumi.String("us"),
Instance: pulumi.String("00000000-0000-0000-0000-000000000000"),
DataTableId: pulumi.String("terraform_test"),
Description: pulumi.String("Sample DataTable for DataTableRow test"),
ColumnInfos: chronicle.DataTableColumnInfoArray{
&chronicle.DataTableColumnInfoArgs{
ColumnIndex: pulumi.Int(0),
OriginalColumn: pulumi.String("username"),
ColumnType: pulumi.String("STRING"),
},
&chronicle.DataTableColumnInfoArgs{
ColumnIndex: pulumi.Int(1),
OriginalColumn: pulumi.String("ip_address"),
ColumnType: pulumi.String("CIDR"),
},
},
})
if err != nil {
return err
}
exampleRow, err := chronicle.NewDataTableRow(ctx, "example_row", &chronicle.DataTableRowArgs{
Location: pulumi.String("us"),
Instance: pulumi.String("00000000-0000-0000-0000-000000000000"),
DataTableId: exampleDt.DataTableId,
Values: pulumi.StringArray{
pulumi.String("testuser"),
pulumi.String("192.168.1.1/32"),
},
RowTimeToLive: pulumi.String("48h"),
})
if err != nil {
return err
}
ctx.Export("dataTableRowName", exampleRow.Name)
ctx.Export("dataTableRowIdPart", exampleRow.DataTableRow)
ctx.Export("dataTableRowValues", exampleRow.Values)
ctx.Export("dataTableRowTtl", exampleRow.RowTimeToLive)
ctx.Export("dataTableRowCreateTime", exampleRow.CreateTime)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var exampleDt = new Gcp.Chronicle.DataTable("example_dt", new()
{
Location = "us",
Instance = "00000000-0000-0000-0000-000000000000",
DataTableId = "terraform_test",
Description = "Sample DataTable for DataTableRow test",
ColumnInfos = new[]
{
new Gcp.Chronicle.Inputs.DataTableColumnInfoArgs
{
ColumnIndex = 0,
OriginalColumn = "username",
ColumnType = "STRING",
},
new Gcp.Chronicle.Inputs.DataTableColumnInfoArgs
{
ColumnIndex = 1,
OriginalColumn = "ip_address",
ColumnType = "CIDR",
},
},
});
var exampleRow = new Gcp.Chronicle.DataTableRow("example_row", new()
{
Location = "us",
Instance = "00000000-0000-0000-0000-000000000000",
DataTableId = exampleDt.DataTableId,
Values = new[]
{
"testuser",
"192.168.1.1/32",
},
RowTimeToLive = "48h",
});
return new Dictionary<string, object?>
{
["dataTableRowName"] = exampleRow.Name,
["dataTableRowIdPart"] = exampleRow.DataTableRow,
["dataTableRowValues"] = exampleRow.Values,
["dataTableRowTtl"] = exampleRow.RowTimeToLive,
["dataTableRowCreateTime"] = exampleRow.CreateTime,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.chronicle.DataTable;
import com.pulumi.gcp.chronicle.DataTableArgs;
import com.pulumi.gcp.chronicle.inputs.DataTableColumnInfoArgs;
import com.pulumi.gcp.chronicle.DataTableRow;
import com.pulumi.gcp.chronicle.DataTableRowArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleDt = new DataTable("exampleDt", DataTableArgs.builder()
.location("us")
.instance("00000000-0000-0000-0000-000000000000")
.dataTableId("terraform_test")
.description("Sample DataTable for DataTableRow test")
.columnInfos(
DataTableColumnInfoArgs.builder()
.columnIndex(0)
.originalColumn("username")
.columnType("STRING")
.build(),
DataTableColumnInfoArgs.builder()
.columnIndex(1)
.originalColumn("ip_address")
.columnType("CIDR")
.build())
.build());
var exampleRow = new DataTableRow("exampleRow", DataTableRowArgs.builder()
.location("us")
.instance("00000000-0000-0000-0000-000000000000")
.dataTableId(exampleDt.dataTableId())
.values(
"testuser",
"192.168.1.1/32")
.rowTimeToLive("48h")
.build());
ctx.export("dataTableRowName", exampleRow.name());
ctx.export("dataTableRowIdPart", exampleRow.dataTableRow());
ctx.export("dataTableRowValues", exampleRow.values());
ctx.export("dataTableRowTtl", exampleRow.rowTimeToLive());
ctx.export("dataTableRowCreateTime", exampleRow.createTime());
}
}
resources:
exampleDt:
type: gcp:chronicle:DataTable
name: example_dt
properties:
location: us
instance: 00000000-0000-0000-0000-000000000000
dataTableId: terraform_test
description: Sample DataTable for DataTableRow test
columnInfos:
- columnIndex: 0
originalColumn: username
columnType: STRING
- columnIndex: 1
originalColumn: ip_address
columnType: CIDR
exampleRow:
type: gcp:chronicle:DataTableRow
name: example_row
properties:
location: us
instance: 00000000-0000-0000-0000-000000000000
dataTableId: ${exampleDt.dataTableId}
values:
- testuser
- 192.168.1.1/32
rowTimeToLive: 48h
outputs:
dataTableRowName: ${exampleRow.name}
dataTableRowIdPart: ${exampleRow.dataTableRow}
dataTableRowValues: ${exampleRow.values}
dataTableRowTtl: ${exampleRow.rowTimeToLive}
dataTableRowCreateTime: ${exampleRow.createTime}
Create DataTableRow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataTableRow(name: string, args: DataTableRowArgs, opts?: CustomResourceOptions);@overload
def DataTableRow(resource_name: str,
args: DataTableRowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataTableRow(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_table_id: Optional[str] = None,
instance: Optional[str] = None,
location: Optional[str] = None,
values: Optional[Sequence[str]] = None,
project: Optional[str] = None,
row_time_to_live: Optional[str] = None)func NewDataTableRow(ctx *Context, name string, args DataTableRowArgs, opts ...ResourceOption) (*DataTableRow, error)public DataTableRow(string name, DataTableRowArgs args, CustomResourceOptions? opts = null)
public DataTableRow(String name, DataTableRowArgs args)
public DataTableRow(String name, DataTableRowArgs args, CustomResourceOptions options)
type: gcp:chronicle:DataTableRow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DataTableRowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DataTableRowArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DataTableRowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataTableRowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataTableRowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataTableRowResource = new Gcp.Chronicle.DataTableRow("dataTableRowResource", new()
{
DataTableId = "string",
Instance = "string",
Location = "string",
Values = new[]
{
"string",
},
Project = "string",
RowTimeToLive = "string",
});
example, err := chronicle.NewDataTableRow(ctx, "dataTableRowResource", &chronicle.DataTableRowArgs{
DataTableId: pulumi.String("string"),
Instance: pulumi.String("string"),
Location: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Project: pulumi.String("string"),
RowTimeToLive: pulumi.String("string"),
})
var dataTableRowResource = new DataTableRow("dataTableRowResource", DataTableRowArgs.builder()
.dataTableId("string")
.instance("string")
.location("string")
.values("string")
.project("string")
.rowTimeToLive("string")
.build());
data_table_row_resource = gcp.chronicle.DataTableRow("dataTableRowResource",
data_table_id="string",
instance="string",
location="string",
values=["string"],
project="string",
row_time_to_live="string")
const dataTableRowResource = new gcp.chronicle.DataTableRow("dataTableRowResource", {
dataTableId: "string",
instance: "string",
location: "string",
values: ["string"],
project: "string",
rowTimeToLive: "string",
});
type: gcp:chronicle:DataTableRow
properties:
dataTableId: string
instance: string
location: string
project: string
rowTimeToLive: string
values:
- string
DataTableRow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataTableRow resource accepts the following input properties:
- Data
Table stringId - The ID of the parent DataTable.
- Instance string
- The Chronicle instance ID.
- Location string
- The GCP location of the Chronicle instance.
- Values List<string>
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Row
Time stringTo Live - User-provided TTL of the data table row.
- Data
Table stringId - The ID of the parent DataTable.
- Instance string
- The Chronicle instance ID.
- Location string
- The GCP location of the Chronicle instance.
- Values []string
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Row
Time stringTo Live - User-provided TTL of the data table row.
- data
Table StringId - The ID of the parent DataTable.
- instance String
- The Chronicle instance ID.
- location String
- The GCP location of the Chronicle instance.
- values List<String>
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- row
Time StringTo Live - User-provided TTL of the data table row.
- data
Table stringId - The ID of the parent DataTable.
- instance string
- The Chronicle instance ID.
- location string
- The GCP location of the Chronicle instance.
- values string[]
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- row
Time stringTo Live - User-provided TTL of the data table row.
- data_
table_ strid - The ID of the parent DataTable.
- instance str
- The Chronicle instance ID.
- location str
- The GCP location of the Chronicle instance.
- values Sequence[str]
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- row_
time_ strto_ live - User-provided TTL of the data table row.
- data
Table StringId - The ID of the parent DataTable.
- instance String
- The Chronicle instance ID.
- location String
- The GCP location of the Chronicle instance.
- values List<String>
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- row
Time StringTo Live - User-provided TTL of the data table row.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataTableRow resource produces the following output properties:
- Create
Time string - DataTableRow create time
- Data
Table stringRow Id - The ID of the DataTable Row.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- Update
Time string - DataTableRow update time
- Create
Time string - DataTableRow create time
- Data
Table stringRow - The ID of the DataTable Row.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- Update
Time string - DataTableRow update time
- create
Time String - DataTableRow create time
- data
Table StringRow - The ID of the DataTable Row.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- update
Time String - DataTableRow update time
- create
Time string - DataTableRow create time
- data
Table stringRow - The ID of the DataTable Row.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- update
Time string - DataTableRow update time
- create_
time str - DataTableRow create time
- data_
table_ strrow - The ID of the DataTable Row.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- update_
time str - DataTableRow update time
- create
Time String - DataTableRow create time
- data
Table StringRow - The ID of the DataTable Row.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- update
Time String - DataTableRow update time
Look up Existing DataTableRow Resource
Get an existing DataTableRow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DataTableRowState, opts?: CustomResourceOptions): DataTableRow@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
data_table_id: Optional[str] = None,
data_table_row: Optional[str] = None,
instance: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
row_time_to_live: Optional[str] = None,
update_time: Optional[str] = None,
values: Optional[Sequence[str]] = None) -> DataTableRowfunc GetDataTableRow(ctx *Context, name string, id IDInput, state *DataTableRowState, opts ...ResourceOption) (*DataTableRow, error)public static DataTableRow Get(string name, Input<string> id, DataTableRowState? state, CustomResourceOptions? opts = null)public static DataTableRow get(String name, Output<String> id, DataTableRowState state, CustomResourceOptions options)resources: _: type: gcp:chronicle:DataTableRow get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - DataTableRow create time
- Data
Table stringId - The ID of the parent DataTable.
- Data
Table stringRow Id - The ID of the DataTable Row.
- Instance string
- The Chronicle instance ID.
- Location string
- The GCP location of the Chronicle instance.
- Name string
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Row
Time stringTo Live - User-provided TTL of the data table row.
- Update
Time string - DataTableRow update time
- Values List<string>
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- Create
Time string - DataTableRow create time
- Data
Table stringId - The ID of the parent DataTable.
- Data
Table stringRow - The ID of the DataTable Row.
- Instance string
- The Chronicle instance ID.
- Location string
- The GCP location of the Chronicle instance.
- Name string
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Row
Time stringTo Live - User-provided TTL of the data table row.
- Update
Time string - DataTableRow update time
- Values []string
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- create
Time String - DataTableRow create time
- data
Table StringId - The ID of the parent DataTable.
- data
Table StringRow - The ID of the DataTable Row.
- instance String
- The Chronicle instance ID.
- location String
- The GCP location of the Chronicle instance.
- name String
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- row
Time StringTo Live - User-provided TTL of the data table row.
- update
Time String - DataTableRow update time
- values List<String>
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- create
Time string - DataTableRow create time
- data
Table stringId - The ID of the parent DataTable.
- data
Table stringRow - The ID of the DataTable Row.
- instance string
- The Chronicle instance ID.
- location string
- The GCP location of the Chronicle instance.
- name string
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- row
Time stringTo Live - User-provided TTL of the data table row.
- update
Time string - DataTableRow update time
- values string[]
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- create_
time str - DataTableRow create time
- data_
table_ strid - The ID of the parent DataTable.
- data_
table_ strrow - The ID of the DataTable Row.
- instance str
- The Chronicle instance ID.
- location str
- The GCP location of the Chronicle instance.
- name str
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- row_
time_ strto_ live - User-provided TTL of the data table row.
- update_
time str - DataTableRow update time
- values Sequence[str]
- All column values for a single row. The values should be in the same order as the columns of the data tables.
- create
Time String - DataTableRow create time
- data
Table StringId - The ID of the parent DataTable.
- data
Table StringRow - The ID of the DataTable Row.
- instance String
- The Chronicle instance ID.
- location String
- The GCP location of the Chronicle instance.
- name String
- Identifier. The resource name of the data table row. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table_id}/dataTableRows/{data_table_row}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- row
Time StringTo Live - User-provided TTL of the data table row.
- update
Time String - DataTableRow update time
- values List<String>
- All column values for a single row. The values should be in the same order as the columns of the data tables.
Import
DataTableRow can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataTables/{{data_table_id}}/dataTableRows/{{data_table_row}}{{project}}/{{location}}/{{instance}}/{{data_table_id}}/{{data_table_row}}{{location}}/{{instance}}/{{data_table_id}}/{{data_table_row}}
When using the pulumi import command, DataTableRow can be imported using one of the formats above. For example:
$ pulumi import gcp:chronicle/dataTableRow:DataTableRow default projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataTables/{{data_table_id}}/dataTableRows/{{data_table_row}}
$ pulumi import gcp:chronicle/dataTableRow:DataTableRow default {{project}}/{{location}}/{{instance}}/{{data_table_id}}/{{data_table_row}}
$ pulumi import gcp:chronicle/dataTableRow:DataTableRow default {{location}}/{{instance}}/{{data_table_id}}/{{data_table_row}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Thursday, May 7, 2026 by Pulumi
