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 dictionaryThe following arguments are supported:
- Row
Ids 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.
- Table
Id string - The UUID of the reference table to query rows from.
- Rows
List<Get
Reference Table Rows Row> - List of retrieved rows. Each row contains its ID and field values.
- Row
Ids []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.
- Table
Id string - The UUID of the reference table to query rows from.
- Rows
[]Get
Reference Table Rows Row - List of retrieved rows. Each row contains its ID and field values.
- row
Ids 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.
- table
Id String - The UUID of the reference table to query rows from.
- rows
List<Get
Reference Table Rows Row> - List of retrieved rows. Each row contains its ID and field values.
- row
Ids 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.
- table
Id string - The UUID of the reference table to query rows from.
- rows
Get
Reference Table Rows Row[] - 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[Get
Reference Table Rows Row] - List of retrieved rows. Each row contains its ID and field values.
- row
Ids 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.
- table
Id 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.
- Row
Ids 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.
- Table
Id string - The UUID of the reference table to query rows from.
- Rows
List<Get
Reference Table Rows Row> - List of retrieved rows. Each row contains its ID and field values.
- Id string
- The provider-assigned unique ID for this managed resource.
- Row
Ids []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.
- Table
Id string - The UUID of the reference table to query rows from.
- Rows
[]Get
Reference Table Rows Row - List of retrieved rows. Each row contains its ID and field values.
- id String
- The provider-assigned unique ID for this managed resource.
- row
Ids 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.
- table
Id String - The UUID of the reference table to query rows from.
- rows
List<Get
Reference Table Rows Row> - List of retrieved rows. Each row contains its ID and field values.
- id string
- The provider-assigned unique ID for this managed resource.
- row
Ids 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.
- table
Id string - The UUID of the reference table to query rows from.
- rows
Get
Reference Table Rows Row[] - 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[Get
Reference Table Rows Row] - List of retrieved rows. Each row contains its ID and field values.
- id String
- The provider-assigned unique ID for this managed resource.
- row
Ids 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.
- table
Id 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
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
