turso 0.2.3 published on Friday, Mar 7, 2025 by celest-dev
turso.getDatabases
Explore with Pulumi AI
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(args: GetDatabasesArgs, opts?: InvokeOptions): Promise<GetDatabasesResult>
function getDatabasesOutput(args: GetDatabasesOutputArgs, opts?: InvokeOptions): Output<GetDatabasesResult>def get_databases(group: Optional[str] = None,
                  schema: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetDatabasesResult
def get_databases_output(group: Optional[pulumi.Input[str]] = None,
                  schema: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetDatabasesResult]func GetDatabases(ctx *Context, args *GetDatabasesArgs, opts ...InvokeOption) (*GetDatabasesResult, error)
func GetDatabasesOutput(ctx *Context, args *GetDatabasesOutputArgs, opts ...InvokeOption) GetDatabasesResultOutput> Note: This function is named GetDatabases in the Go SDK.
public static class GetDatabases 
{
    public static Task<GetDatabasesResult> InvokeAsync(GetDatabasesArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabasesResult> Invoke(GetDatabasesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabasesResult> getDatabases(GetDatabasesArgs args, InvokeOptions options)
public static Output<GetDatabasesResult> getDatabases(GetDatabasesArgs args, InvokeOptions options)
fn::invoke:
  function: turso:index/getDatabases:getDatabases
  arguments:
    # arguments dictionaryThe following arguments are supported:
getDatabases Result
The following output properties are available:
- Databases
List<GetDatabases Database> 
- Group string
- Filter databases by group name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Schema string
- The schema database name that can be used to get databases that belong to that parent schema.
- Databases
[]GetDatabases Database 
- Group string
- Filter databases by group name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Schema string
- The schema database name that can be used to get databases that belong to that parent schema.
- databases
List<GetDatabases Database> 
- group String
- Filter databases by group name.
- id String
- The provider-assigned unique ID for this managed resource.
- schema String
- The schema database name that can be used to get databases that belong to that parent schema.
- databases
GetDatabases Database[] 
- group string
- Filter databases by group name.
- id string
- The provider-assigned unique ID for this managed resource.
- schema string
- The schema database name that can be used to get databases that belong to that parent schema.
- databases
Sequence[GetDatabases Database] 
- group str
- Filter databases by group name.
- id str
- The provider-assigned unique ID for this managed resource.
- schema str
- The schema database name that can be used to get databases that belong to that parent schema.
- databases List<Property Map>
- group String
- Filter databases by group name.
- id String
- The provider-assigned unique ID for this managed resource.
- schema String
- The schema database name that can be used to get databases that belong to that parent schema.
Supporting Types
GetDatabasesDatabase  
- AllowAttach bool
- The current status for allowing the database to be attached to another.
- Archived bool
- The current status of the database. If true, the database is archived and requires a manual unarchive step.
- BlockReads bool
- The current status for blocked reads.
- BlockWrites bool
- The current status for blocked writes.
- DbId string
- The database universal unique identifier (UUID).
- Group string
- The name of the group the database belongs to.
- Hostname string
- The DNS hostname used for client libSQL and HTTP connections.
- IsSchema bool
- If this database controls other child databases then this will be true. See Multi-DB Schemas.
- Name string
- The database name, unique across your organization.
- PrimaryRegion string
- The primary region location code the group the database belongs to.
- Regions List<string>
- A list of regions for the group the database belongs to.
- Schema string
- The name of the parent database that owns the schema for this database. See Multi-DB Schemas.
- Type string
- The string representing the object type.
- Version string
- The current libSQL version the database is running.
- AllowAttach bool
- The current status for allowing the database to be attached to another.
- Archived bool
- The current status of the database. If true, the database is archived and requires a manual unarchive step.
- BlockReads bool
- The current status for blocked reads.
- BlockWrites bool
- The current status for blocked writes.
- DbId string
- The database universal unique identifier (UUID).
- Group string
- The name of the group the database belongs to.
- Hostname string
- The DNS hostname used for client libSQL and HTTP connections.
- IsSchema bool
- If this database controls other child databases then this will be true. See Multi-DB Schemas.
- Name string
- The database name, unique across your organization.
- PrimaryRegion string
- The primary region location code the group the database belongs to.
- Regions []string
- A list of regions for the group the database belongs to.
- Schema string
- The name of the parent database that owns the schema for this database. See Multi-DB Schemas.
- Type string
- The string representing the object type.
- Version string
- The current libSQL version the database is running.
- allowAttach Boolean
- The current status for allowing the database to be attached to another.
- archived Boolean
- The current status of the database. If true, the database is archived and requires a manual unarchive step.
- blockReads Boolean
- The current status for blocked reads.
- blockWrites Boolean
- The current status for blocked writes.
- dbId String
- The database universal unique identifier (UUID).
- group String
- The name of the group the database belongs to.
- hostname String
- The DNS hostname used for client libSQL and HTTP connections.
- isSchema Boolean
- If this database controls other child databases then this will be true. See Multi-DB Schemas.
- name String
- The database name, unique across your organization.
- primaryRegion String
- The primary region location code the group the database belongs to.
- regions List<String>
- A list of regions for the group the database belongs to.
- schema String
- The name of the parent database that owns the schema for this database. See Multi-DB Schemas.
- type String
- The string representing the object type.
- version String
- The current libSQL version the database is running.
- allowAttach boolean
- The current status for allowing the database to be attached to another.
- archived boolean
- The current status of the database. If true, the database is archived and requires a manual unarchive step.
- blockReads boolean
- The current status for blocked reads.
- blockWrites boolean
- The current status for blocked writes.
- dbId string
- The database universal unique identifier (UUID).
- group string
- The name of the group the database belongs to.
- hostname string
- The DNS hostname used for client libSQL and HTTP connections.
- isSchema boolean
- If this database controls other child databases then this will be true. See Multi-DB Schemas.
- name string
- The database name, unique across your organization.
- primaryRegion string
- The primary region location code the group the database belongs to.
- regions string[]
- A list of regions for the group the database belongs to.
- schema string
- The name of the parent database that owns the schema for this database. See Multi-DB Schemas.
- type string
- The string representing the object type.
- version string
- The current libSQL version the database is running.
- allow_attach bool
- The current status for allowing the database to be attached to another.
- archived bool
- The current status of the database. If true, the database is archived and requires a manual unarchive step.
- block_reads bool
- The current status for blocked reads.
- block_writes bool
- The current status for blocked writes.
- db_id str
- The database universal unique identifier (UUID).
- group str
- The name of the group the database belongs to.
- hostname str
- The DNS hostname used for client libSQL and HTTP connections.
- is_schema bool
- If this database controls other child databases then this will be true. See Multi-DB Schemas.
- name str
- The database name, unique across your organization.
- primary_region str
- The primary region location code the group the database belongs to.
- regions Sequence[str]
- A list of regions for the group the database belongs to.
- schema str
- The name of the parent database that owns the schema for this database. See Multi-DB Schemas.
- type str
- The string representing the object type.
- version str
- The current libSQL version the database is running.
- allowAttach Boolean
- The current status for allowing the database to be attached to another.
- archived Boolean
- The current status of the database. If true, the database is archived and requires a manual unarchive step.
- blockReads Boolean
- The current status for blocked reads.
- blockWrites Boolean
- The current status for blocked writes.
- dbId String
- The database universal unique identifier (UUID).
- group String
- The name of the group the database belongs to.
- hostname String
- The DNS hostname used for client libSQL and HTTP connections.
- isSchema Boolean
- If this database controls other child databases then this will be true. See Multi-DB Schemas.
- name String
- The database name, unique across your organization.
- primaryRegion String
- The primary region location code the group the database belongs to.
- regions List<String>
- A list of regions for the group the database belongs to.
- schema String
- The name of the parent database that owns the schema for this database. See Multi-DB Schemas.
- type String
- The string representing the object type.
- version String
- The current libSQL version the database is running.
Package Details
- Repository
- turso celest-dev/terraform-provider-turso
- License
- Notes
- This Pulumi package is based on the tursoTerraform Provider.