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 dictionaryThe following arguments are supported:
- Datastore
Id string - The unique identifier of the datastore containing the item.
- Item
Key string - The primary key value that identifies the item to retrieve.
- Datastore
Id string - The unique identifier of the datastore containing the item.
- Item
Key string - The primary key value that identifies the item to retrieve.
- datastore
Id String - The unique identifier of the datastore containing the item.
- item
Key String - The primary key value that identifies the item to retrieve.
- datastore
Id string - The unique identifier of the datastore containing the item.
- item
Key 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.
- datastore
Id String - The unique identifier of the datastore containing the item.
- item
Key String - The primary key value that identifies the item to retrieve.
getDatastoreItem Result
The following output properties are available:
- Created
At string - Timestamp when the item was first created.
- Datastore
Id string - The unique identifier of the datastore containing the item.
- Id string
- The ID of this resource.
- Item
Key string - The primary key value that identifies the item to retrieve.
- Modified
At string - Timestamp when the item was last modified.
- Org
Id int - The ID of the organization that owns this item.
- Signature string
- A unique signature identifying this item version.
- Store
Id 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.
- Created
At string - Timestamp when the item was first created.
- Datastore
Id string - The unique identifier of the datastore containing the item.
- Id string
- The ID of this resource.
- Item
Key string - The primary key value that identifies the item to retrieve.
- Modified
At string - Timestamp when the item was last modified.
- Org
Id int - The ID of the organization that owns this item.
- Signature string
- A unique signature identifying this item version.
- Store
Id 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.
- created
At String - Timestamp when the item was first created.
- datastore
Id String - The unique identifier of the datastore containing the item.
- id String
- The ID of this resource.
- item
Key String - The primary key value that identifies the item to retrieve.
- modified
At String - Timestamp when the item was last modified.
- org
Id Integer - The ID of the organization that owns this item.
- signature String
- A unique signature identifying this item version.
- store
Id 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.
- created
At string - Timestamp when the item was first created.
- datastore
Id string - The unique identifier of the datastore containing the item.
- id string
- The ID of this resource.
- item
Key string - The primary key value that identifies the item to retrieve.
- modified
At string - Timestamp when the item was last modified.
- org
Id number - The ID of the organization that owns this item.
- signature string
- A unique signature identifying this item version.
- store
Id 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.
- created
At String - Timestamp when the item was first created.
- datastore
Id String - The unique identifier of the datastore containing the item.
- id String
- The ID of this resource.
- item
Key String - The primary key value that identifies the item to retrieve.
- modified
At String - Timestamp when the item was last modified.
- org
Id Number - The ID of the organization that owns this item.
- signature String
- A unique signature identifying this item version.
- store
Id 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
datadogTerraform Provider.
