InfluxDB3 v1.2.3 published on Sunday, Sep 29, 2024 by komminarlabs
influxdb3.getDatabases
Explore with Pulumi AI
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<Komminar
Labs. Influx DB3. Outputs. Get Databases Database> - Id string
- The provider-assigned unique ID for this managed resource.
- Databases
[]Get
Databases Database - Id string
- The provider-assigned unique ID for this managed resource.
- databases
List<Get
Databases Database> - id String
- The provider-assigned unique ID for this managed resource.
- databases
Get
Databases Database[] - id string
- The provider-assigned unique ID for this managed resource.
- databases
Sequence[Get
Databases Database] - 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
- 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.
- 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. Inputs. Get Databases 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.
- 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 []GetDatabases 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.
- 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<GetDatabases Database 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.
- 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 GetDatabases Database 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.
- 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[GetDatabases 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.
- 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.
GetDatabasesDatabasePartitionTemplate
Package Details
- Repository
- influxdb3 komminarlabs/pulumi-influxdb3
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
influxdb3
Terraform Provider.