1. Packages
  2. InfluxDB V3
  3. API Docs
  4. getDatabases
InfluxDB3 v1.2.3 published on Sunday, Sep 29, 2024 by komminarlabs

influxdb3.getDatabases

Explore with Pulumi AI

influxdb3 logo
InfluxDB3 v1.2.3 published on Sunday, Sep 29, 2024 by komminarlabs

    Gets all databases for a cluster.

    Using getDatabases

    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 getDatabases(opts?: InvokeOptions): Promise<GetDatabasesResult>
    function getDatabasesOutput(opts?: InvokeOptions): Output<GetDatabasesResult>
    def get_databases(opts: Optional[InvokeOptions] = None) -> GetDatabasesResult
    def get_databases_output(opts: Optional[InvokeOptions] = None) -> Output[GetDatabasesResult]
    func GetDatabases(ctx *Context, opts ...InvokeOption) (*GetDatabasesResult, error)
    func GetDatabasesOutput(ctx *Context, opts ...InvokeOption) GetDatabasesResultOutput

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

    public static class GetDatabases 
    {
        public static Task<GetDatabasesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetDatabasesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatabasesResult> getDatabases(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: influxdb3:index/getDatabases:getDatabases
      arguments:
        # arguments dictionary

    getDatabases Result

    The following output properties are available:

    Databases List<KomminarLabs.InfluxDB3.Outputs.GetDatabasesDatabase>
    Id string
    The provider-assigned unique ID for this managed resource.
    Databases []GetDatabasesDatabase
    Id string
    The provider-assigned unique ID for this managed resource.
    databases List<GetDatabasesDatabase>
    id String
    The provider-assigned unique ID for this managed resource.
    databases GetDatabasesDatabase[]
    id string
    The provider-assigned unique ID for this managed resource.
    databases Sequence[GetDatabasesDatabase]
    id str
    The provider-assigned unique ID for this managed resource.
    databases List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetDatabasesDatabase

    AccountId string
    The ID of the account that the cluster belongs to.
    ClusterId string
    The ID of the cluster that you want to manage.
    MaxColumnsPerTable int
    The maximum number of columns per table for the cluster database.
    MaxTables int
    The maximum number of tables for the cluster database.
    Name string
    The name of the cluster database.
    PartitionTemplates List<KomminarLabs.InfluxDB3.Inputs.GetDatabasesDatabasePartitionTemplate>
    The template partitioning of the cluster database.
    RetentionPeriod int
    The retention period of the cluster database in nanoseconds.
    AccountId string
    The ID of the account that the cluster belongs to.
    ClusterId string
    The ID of the cluster that you want to manage.
    MaxColumnsPerTable int
    The maximum number of columns per table for the cluster database.
    MaxTables int
    The maximum number of tables for the cluster database.
    Name string
    The name of the cluster database.
    PartitionTemplates []GetDatabasesDatabasePartitionTemplate
    The template partitioning of the cluster database.
    RetentionPeriod int
    The retention period of the cluster database in nanoseconds.
    accountId String
    The ID of the account that the cluster belongs to.
    clusterId String
    The ID of the cluster that you want to manage.
    maxColumnsPerTable Integer
    The maximum number of columns per table for the cluster database.
    maxTables Integer
    The maximum number of tables for the cluster database.
    name String
    The name of the cluster database.
    partitionTemplates List<GetDatabasesDatabasePartitionTemplate>
    The template partitioning of the cluster database.
    retentionPeriod Integer
    The retention period of the cluster database in nanoseconds.
    accountId string
    The ID of the account that the cluster belongs to.
    clusterId string
    The ID of the cluster that you want to manage.
    maxColumnsPerTable number
    The maximum number of columns per table for the cluster database.
    maxTables number
    The maximum number of tables for the cluster database.
    name string
    The name of the cluster database.
    partitionTemplates GetDatabasesDatabasePartitionTemplate[]
    The template partitioning of the cluster database.
    retentionPeriod 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.
    max_columns_per_table int
    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[GetDatabasesDatabasePartitionTemplate]
    The template partitioning of the cluster database.
    retention_period int
    The retention period of the cluster database in nanoseconds.
    accountId String
    The ID of the account that the cluster belongs to.
    clusterId String
    The ID of the cluster that you want to manage.
    maxColumnsPerTable Number
    The maximum number of columns per table for the cluster database.
    maxTables Number
    The maximum number of tables for the cluster database.
    name String
    The name of the cluster database.
    partitionTemplates List<Property Map>
    The template partitioning of the cluster database.
    retentionPeriod Number
    The retention period of the cluster database in nanoseconds.

    GetDatabasesDatabasePartitionTemplate

    Type string
    The type of template part.
    Value string
    The value of template part.
    Type string
    The type of template part.
    Value string
    The value of template part.
    type String
    The type of template part.
    value String
    The value of template part.
    type string
    The type of template part.
    value string
    The value of template part.
    type str
    The type of template part.
    value str
    The value of template part.
    type String
    The type of template part.
    value String
    The value of template part.

    Package Details

    Repository
    influxdb3 komminarlabs/pulumi-influxdb3
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the influxdb3 Terraform Provider.
    influxdb3 logo
    InfluxDB3 v1.2.3 published on Sunday, Sep 29, 2024 by komminarlabs