1. Packages
  2. Datadog Provider
  3. API Docs
  4. getDatastoreItem
Datadog v4.64.0 published on Thursday, Jan 29, 2026 by Pulumi
datadog logo
Datadog v4.64.0 published on Thursday, Jan 29, 2026 by Pulumi

    Use this data source to retrieve information about an existing Datadog datastore item.

    Using getDatastoreItem

    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 getDatastoreItem(args: GetDatastoreItemArgs, opts?: InvokeOptions): Promise<GetDatastoreItemResult>
    function getDatastoreItemOutput(args: GetDatastoreItemOutputArgs, opts?: InvokeOptions): Output<GetDatastoreItemResult>
    def get_datastore_item(datastore_id: Optional[str] = None,
                           item_key: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDatastoreItemResult
    def get_datastore_item_output(datastore_id: Optional[pulumi.Input[str]] = None,
                           item_key: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDatastoreItemResult]
    func LookupDatastoreItem(ctx *Context, args *LookupDatastoreItemArgs, opts ...InvokeOption) (*LookupDatastoreItemResult, error)
    func LookupDatastoreItemOutput(ctx *Context, args *LookupDatastoreItemOutputArgs, opts ...InvokeOption) LookupDatastoreItemResultOutput

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

    public static class GetDatastoreItem 
    {
        public static Task<GetDatastoreItemResult> InvokeAsync(GetDatastoreItemArgs args, InvokeOptions? opts = null)
        public static Output<GetDatastoreItemResult> Invoke(GetDatastoreItemInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatastoreItemResult> getDatastoreItem(GetDatastoreItemArgs args, InvokeOptions options)
    public static Output<GetDatastoreItemResult> getDatastoreItem(GetDatastoreItemArgs args, InvokeOptions options)
    
    fn::invoke:
      function: datadog:index/getDatastoreItem:getDatastoreItem
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DatastoreId string
    The unique identifier of the datastore containing the item.
    ItemKey string
    The primary key value that identifies the item to retrieve.
    DatastoreId string
    The unique identifier of the datastore containing the item.
    ItemKey string
    The primary key value that identifies the item to retrieve.
    datastoreId String
    The unique identifier of the datastore containing the item.
    itemKey String
    The primary key value that identifies the item to retrieve.
    datastoreId string
    The unique identifier of the datastore containing the item.
    itemKey string
    The primary key value that identifies the item to retrieve.
    datastore_id str
    The unique identifier of the datastore containing the item.
    item_key str
    The primary key value that identifies the item to retrieve.
    datastoreId String
    The unique identifier of the datastore containing the item.
    itemKey String
    The primary key value that identifies the item to retrieve.

    getDatastoreItem Result

    The following output properties are available:

    CreatedAt string
    Timestamp when the item was first created.
    DatastoreId string
    The unique identifier of the datastore containing the item.
    Id string
    The ID of this resource.
    ItemKey string
    The primary key value that identifies the item to retrieve.
    ModifiedAt string
    Timestamp when the item was last modified.
    OrgId int
    The ID of the organization that owns this item.
    Signature string
    A unique signature identifying this item version.
    StoreId string
    The unique identifier of the datastore containing this item.
    Value Dictionary<string, string>
    The data content (as key-value pairs) of the datastore item.
    CreatedAt string
    Timestamp when the item was first created.
    DatastoreId string
    The unique identifier of the datastore containing the item.
    Id string
    The ID of this resource.
    ItemKey string
    The primary key value that identifies the item to retrieve.
    ModifiedAt string
    Timestamp when the item was last modified.
    OrgId int
    The ID of the organization that owns this item.
    Signature string
    A unique signature identifying this item version.
    StoreId string
    The unique identifier of the datastore containing this item.
    Value map[string]string
    The data content (as key-value pairs) of the datastore item.
    createdAt String
    Timestamp when the item was first created.
    datastoreId String
    The unique identifier of the datastore containing the item.
    id String
    The ID of this resource.
    itemKey String
    The primary key value that identifies the item to retrieve.
    modifiedAt String
    Timestamp when the item was last modified.
    orgId Integer
    The ID of the organization that owns this item.
    signature String
    A unique signature identifying this item version.
    storeId String
    The unique identifier of the datastore containing this item.
    value Map<String,String>
    The data content (as key-value pairs) of the datastore item.
    createdAt string
    Timestamp when the item was first created.
    datastoreId string
    The unique identifier of the datastore containing the item.
    id string
    The ID of this resource.
    itemKey string
    The primary key value that identifies the item to retrieve.
    modifiedAt string
    Timestamp when the item was last modified.
    orgId number
    The ID of the organization that owns this item.
    signature string
    A unique signature identifying this item version.
    storeId string
    The unique identifier of the datastore containing this item.
    value {[key: string]: string}
    The data content (as key-value pairs) of the datastore item.
    created_at str
    Timestamp when the item was first created.
    datastore_id str
    The unique identifier of the datastore containing the item.
    id str
    The ID of this resource.
    item_key str
    The primary key value that identifies the item to retrieve.
    modified_at str
    Timestamp when the item was last modified.
    org_id int
    The ID of the organization that owns this item.
    signature str
    A unique signature identifying this item version.
    store_id str
    The unique identifier of the datastore containing this item.
    value Mapping[str, str]
    The data content (as key-value pairs) of the datastore item.
    createdAt String
    Timestamp when the item was first created.
    datastoreId String
    The unique identifier of the datastore containing the item.
    id String
    The ID of this resource.
    itemKey String
    The primary key value that identifies the item to retrieve.
    modifiedAt String
    Timestamp when the item was last modified.
    orgId Number
    The ID of the organization that owns this item.
    signature String
    A unique signature identifying this item version.
    storeId String
    The unique identifier of the datastore containing this item.
    value Map<String>
    The data content (as key-value pairs) of the datastore item.

    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.64.0 published on Thursday, Jan 29, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate