InfluxDB3 v1.2.3 published on Sunday, Sep 29, 2024 by komminarlabs
influxdb3.getDatabase
Explore with Pulumi AI
Retrieves a database. Use this data source to retrieve information for a specific database.
Using getDatabase
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 getDatabase(args: GetDatabaseArgs, opts?: InvokeOptions): Promise<GetDatabaseResult>
function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: InvokeOptions): Output<GetDatabaseResult>
def get_database(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseResult
def get_database_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseResult]
func LookupDatabase(ctx *Context, args *LookupDatabaseArgs, opts ...InvokeOption) (*LookupDatabaseResult, error)
func LookupDatabaseOutput(ctx *Context, args *LookupDatabaseOutputArgs, opts ...InvokeOption) LookupDatabaseResultOutput
> Note: This function is named LookupDatabase
in the Go SDK.
public static class GetDatabase
{
public static Task<GetDatabaseResult> InvokeAsync(GetDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseResult> Invoke(GetDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseResult> getDatabase(GetDatabaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: influxdb3:index/getDatabase:getDatabase
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the cluster database.
- Name string
- The name of the cluster database.
- name String
- The name of the cluster database.
- name string
- The name of the cluster database.
- name str
- The name of the cluster database.
- name String
- The name of the cluster database.
getDatabase Result
The following output properties are available:
- Account
Id string - The ID of the account that the cluster belongs to.
- Cluster
Id string - The ID of the cluster that you want to manage.
- Id string
- The provider-assigned unique ID for this managed resource.
- Max
Columns intPer Table - The maximum number of columns per table for the cluster database.
- Max
Tables int - The maximum number of tables for the cluster database.
- Name string
- The name of the cluster database.
- Partition
Templates List<KomminarLabs. Influx DB3. Outputs. Get Database Partition Template> - The template partitioning of the cluster database.
- Retention
Period int - The retention period of the cluster database in nanoseconds.
- Account
Id string - The ID of the account that the cluster belongs to.
- Cluster
Id string - The ID of the cluster that you want to manage.
- Id string
- The provider-assigned unique ID for this managed resource.
- Max
Columns intPer Table - The maximum number of columns per table for the cluster database.
- Max
Tables int - The maximum number of tables for the cluster database.
- Name string
- The name of the cluster database.
- Partition
Templates []GetDatabase Partition Template - The template partitioning of the cluster database.
- Retention
Period int - The retention period of the cluster database in nanoseconds.
- account
Id String - The ID of the account that the cluster belongs to.
- cluster
Id String - The ID of the cluster that you want to manage.
- id String
- The provider-assigned unique ID for this managed resource.
- max
Columns IntegerPer Table - The maximum number of columns per table for the cluster database.
- max
Tables Integer - The maximum number of tables for the cluster database.
- name String
- The name of the cluster database.
- partition
Templates List<GetDatabase Partition Template> - The template partitioning of the cluster database.
- retention
Period Integer - The retention period of the cluster database in nanoseconds.
- account
Id string - The ID of the account that the cluster belongs to.
- cluster
Id string - The ID of the cluster that you want to manage.
- id string
- The provider-assigned unique ID for this managed resource.
- max
Columns numberPer Table - The maximum number of columns per table for the cluster database.
- max
Tables number - The maximum number of tables for the cluster database.
- name string
- The name of the cluster database.
- partition
Templates GetDatabase Partition Template[] - The template partitioning of the cluster database.
- retention
Period number - The retention period of the cluster database in nanoseconds.
- account_
id str - The ID of the account that the cluster belongs to.
- cluster_
id str - The ID of the cluster that you want to manage.
- id str
- The provider-assigned unique ID for this managed resource.
- max_
columns_ intper_ table - The maximum number of columns per table for the cluster database.
- max_
tables int - The maximum number of tables for the cluster database.
- name str
- The name of the cluster database.
- partition_
templates Sequence[GetDatabase Partition Template] - The template partitioning of the cluster database.
- retention_
period int - The retention period of the cluster database in nanoseconds.
- account
Id String - The ID of the account that the cluster belongs to.
- cluster
Id String - The ID of the cluster that you want to manage.
- id String
- The provider-assigned unique ID for this managed resource.
- max
Columns NumberPer Table - The maximum number of columns per table for the cluster database.
- max
Tables Number - The maximum number of tables for the cluster database.
- name String
- The name of the cluster database.
- partition
Templates List<Property Map> - The template partitioning of the cluster database.
- retention
Period Number - The retention period of the cluster database in nanoseconds.
Supporting Types
GetDatabasePartitionTemplate
Package Details
- Repository
- influxdb3 komminarlabs/pulumi-influxdb3
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
influxdb3
Terraform Provider.