1. Packages
  2. Datadog Provider
  3. API Docs
  4. getReferenceTableRows
Datadog v4.61.0 published on Monday, Dec 22, 2025 by Pulumi
datadog logo
Datadog v4.61.0 published on Monday, Dec 22, 2025 by Pulumi

    Use this data source to retrieve specific rows from a Datadog reference table by their primary key values. Works with all reference table source types.

    Using getReferenceTableRows

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getReferenceTableRows(args: GetReferenceTableRowsArgs, opts?: InvokeOptions): Promise<GetReferenceTableRowsResult>
    function getReferenceTableRowsOutput(args: GetReferenceTableRowsOutputArgs, opts?: InvokeOptions): Output<GetReferenceTableRowsResult>
    def get_reference_table_rows(row_ids: Optional[Sequence[str]] = None,
                                 rows: Optional[Sequence[GetReferenceTableRowsRow]] = None,
                                 table_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetReferenceTableRowsResult
    def get_reference_table_rows_output(row_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                 rows: Optional[pulumi.Input[Sequence[pulumi.Input[GetReferenceTableRowsRowArgs]]]] = None,
                                 table_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetReferenceTableRowsResult]
    func GetReferenceTableRows(ctx *Context, args *GetReferenceTableRowsArgs, opts ...InvokeOption) (*GetReferenceTableRowsResult, error)
    func GetReferenceTableRowsOutput(ctx *Context, args *GetReferenceTableRowsOutputArgs, opts ...InvokeOption) GetReferenceTableRowsResultOutput

    > Note: This function is named GetReferenceTableRows in the Go SDK.

    public static class GetReferenceTableRows 
    {
        public static Task<GetReferenceTableRowsResult> InvokeAsync(GetReferenceTableRowsArgs args, InvokeOptions? opts = null)
        public static Output<GetReferenceTableRowsResult> Invoke(GetReferenceTableRowsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetReferenceTableRowsResult> getReferenceTableRows(GetReferenceTableRowsArgs args, InvokeOptions options)
    public static Output<GetReferenceTableRowsResult> getReferenceTableRows(GetReferenceTableRowsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: datadog:index/getReferenceTableRows:getReferenceTableRows
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RowIds List<string>
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    TableId string
    The UUID of the reference table to query rows from.
    Rows List<GetReferenceTableRowsRow>
    List of retrieved rows. Each row contains its ID and field values.
    RowIds []string
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    TableId string
    The UUID of the reference table to query rows from.
    Rows []GetReferenceTableRowsRow
    List of retrieved rows. Each row contains its ID and field values.
    rowIds List<String>
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    tableId String
    The UUID of the reference table to query rows from.
    rows List<GetReferenceTableRowsRow>
    List of retrieved rows. Each row contains its ID and field values.
    rowIds string[]
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    tableId string
    The UUID of the reference table to query rows from.
    rows GetReferenceTableRowsRow[]
    List of retrieved rows. Each row contains its ID and field values.
    row_ids Sequence[str]
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    table_id str
    The UUID of the reference table to query rows from.
    rows Sequence[GetReferenceTableRowsRow]
    List of retrieved rows. Each row contains its ID and field values.
    rowIds List<String>
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    tableId String
    The UUID of the reference table to query rows from.
    rows List<Property Map>
    List of retrieved rows. Each row contains its ID and field values.

    getReferenceTableRows Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    RowIds List<string>
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    TableId string
    The UUID of the reference table to query rows from.
    Rows List<GetReferenceTableRowsRow>
    List of retrieved rows. Each row contains its ID and field values.
    Id string
    The provider-assigned unique ID for this managed resource.
    RowIds []string
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    TableId string
    The UUID of the reference table to query rows from.
    Rows []GetReferenceTableRowsRow
    List of retrieved rows. Each row contains its ID and field values.
    id String
    The provider-assigned unique ID for this managed resource.
    rowIds List<String>
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    tableId String
    The UUID of the reference table to query rows from.
    rows List<GetReferenceTableRowsRow>
    List of retrieved rows. Each row contains its ID and field values.
    id string
    The provider-assigned unique ID for this managed resource.
    rowIds string[]
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    tableId string
    The UUID of the reference table to query rows from.
    rows GetReferenceTableRowsRow[]
    List of retrieved rows. Each row contains its ID and field values.
    id str
    The provider-assigned unique ID for this managed resource.
    row_ids Sequence[str]
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    table_id str
    The UUID of the reference table to query rows from.
    rows Sequence[GetReferenceTableRowsRow]
    List of retrieved rows. Each row contains its ID and field values.
    id String
    The provider-assigned unique ID for this managed resource.
    rowIds List<String>
    List of primary key values (row IDs) to retrieve. These are the values of the table's primary key field(s). Maximum 250 IDs per request.
    tableId String
    The UUID of the reference table to query rows from.
    rows List<Property Map>
    List of retrieved rows. Each row contains its ID and field values.

    Supporting Types

    GetReferenceTableRowsRow

    Id string
    The primary key value of the row.
    Values Dictionary<string, string>
    Map of field names to values for this row. All values are returned as strings.
    Id string
    The primary key value of the row.
    Values map[string]string
    Map of field names to values for this row. All values are returned as strings.
    id String
    The primary key value of the row.
    values Map<String,String>
    Map of field names to values for this row. All values are returned as strings.
    id string
    The primary key value of the row.
    values {[key: string]: string}
    Map of field names to values for this row. All values are returned as strings.
    id str
    The primary key value of the row.
    values Mapping[str, str]
    Map of field names to values for this row. All values are returned as strings.
    id String
    The primary key value of the row.
    values Map<String>
    Map of field names to values for this row. All values are returned as strings.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.61.0 published on Monday, Dec 22, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate