Use this data source to retrieve information about an existing Datadog datastore.
Using getDatastore
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 getDatastore(args: GetDatastoreArgs, opts?: InvokeOptions): Promise<GetDatastoreResult>
function getDatastoreOutput(args: GetDatastoreOutputArgs, opts?: InvokeOptions): Output<GetDatastoreResult>def get_datastore(datastore_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatastoreResult
def get_datastore_output(datastore_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatastoreResult]func LookupDatastore(ctx *Context, args *LookupDatastoreArgs, opts ...InvokeOption) (*LookupDatastoreResult, error)
func LookupDatastoreOutput(ctx *Context, args *LookupDatastoreOutputArgs, opts ...InvokeOption) LookupDatastoreResultOutput> Note: This function is named LookupDatastore in the Go SDK.
public static class GetDatastore
{
public static Task<GetDatastoreResult> InvokeAsync(GetDatastoreArgs args, InvokeOptions? opts = null)
public static Output<GetDatastoreResult> Invoke(GetDatastoreInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatastoreResult> getDatastore(GetDatastoreArgs args, InvokeOptions options)
public static Output<GetDatastoreResult> getDatastore(GetDatastoreArgs args, InvokeOptions options)
fn::invoke:
function: datadog:index/getDatastore:getDatastore
arguments:
# arguments dictionaryThe following arguments are supported:
- Datastore
Id string - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- Datastore
Id string - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- datastore
Id String - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- datastore
Id string - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- datastore_
id str - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- datastore
Id String - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
getDatastore Result
The following output properties are available:
- Created
At string - Timestamp when the datastore was created.
- Creator
User intId - The numeric ID of the user who created the datastore.
- Creator
User stringUuid - The UUID of the user who created the datastore.
- Description string
- A human-readable description about the datastore.
- Id string
- The ID of this resource.
- Modified
At string - Timestamp when the datastore was last modified.
- Name string
- The display name of the datastore.
- Org
Id int - The ID of the organization that owns this datastore.
- Primary
Column stringName - The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters
- Primary
Key stringGeneration Strategy - Can be set to
uuidto automatically generate primary keys when new items are added. Default value isnone, which requires you to supply a primary key for each new item. - Datastore
Id string - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- Created
At string - Timestamp when the datastore was created.
- Creator
User intId - The numeric ID of the user who created the datastore.
- Creator
User stringUuid - The UUID of the user who created the datastore.
- Description string
- A human-readable description about the datastore.
- Id string
- The ID of this resource.
- Modified
At string - Timestamp when the datastore was last modified.
- Name string
- The display name of the datastore.
- Org
Id int - The ID of the organization that owns this datastore.
- Primary
Column stringName - The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters
- Primary
Key stringGeneration Strategy - Can be set to
uuidto automatically generate primary keys when new items are added. Default value isnone, which requires you to supply a primary key for each new item. - Datastore
Id string - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- created
At String - Timestamp when the datastore was created.
- creator
User IntegerId - The numeric ID of the user who created the datastore.
- creator
User StringUuid - The UUID of the user who created the datastore.
- description String
- A human-readable description about the datastore.
- id String
- The ID of this resource.
- modified
At String - Timestamp when the datastore was last modified.
- name String
- The display name of the datastore.
- org
Id Integer - The ID of the organization that owns this datastore.
- primary
Column StringName - The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters
- primary
Key StringGeneration Strategy - Can be set to
uuidto automatically generate primary keys when new items are added. Default value isnone, which requires you to supply a primary key for each new item. - datastore
Id String - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- created
At string - Timestamp when the datastore was created.
- creator
User numberId - The numeric ID of the user who created the datastore.
- creator
User stringUuid - The UUID of the user who created the datastore.
- description string
- A human-readable description about the datastore.
- id string
- The ID of this resource.
- modified
At string - Timestamp when the datastore was last modified.
- name string
- The display name of the datastore.
- org
Id number - The ID of the organization that owns this datastore.
- primary
Column stringName - The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters
- primary
Key stringGeneration Strategy - Can be set to
uuidto automatically generate primary keys when new items are added. Default value isnone, which requires you to supply a primary key for each new item. - datastore
Id string - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- created_
at str - Timestamp when the datastore was created.
- creator_
user_ intid - The numeric ID of the user who created the datastore.
- creator_
user_ struuid - The UUID of the user who created the datastore.
- description str
- A human-readable description about the datastore.
- id str
- The ID of this resource.
- modified_
at str - Timestamp when the datastore was last modified.
- name str
- The display name of the datastore.
- org_
id int - The ID of the organization that owns this datastore.
- primary_
column_ strname - The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters
- primary_
key_ strgeneration_ strategy - Can be set to
uuidto automatically generate primary keys when new items are added. Default value isnone, which requires you to supply a primary key for each new item. - datastore_
id str - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
- created
At String - Timestamp when the datastore was created.
- creator
User NumberId - The numeric ID of the user who created the datastore.
- creator
User StringUuid - The UUID of the user who created the datastore.
- description String
- A human-readable description about the datastore.
- id String
- The ID of this resource.
- modified
At String - Timestamp when the datastore was last modified.
- name String
- The display name of the datastore.
- org
Id Number - The ID of the organization that owns this datastore.
- primary
Column StringName - The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters
- primary
Key StringGeneration Strategy - Can be set to
uuidto automatically generate primary keys when new items are added. Default value isnone, which requires you to supply a primary key for each new item. - datastore
Id String - The unique identifier of the datastore to retrieve. If not specified, returns a single datastore from the list.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
