Viewing docs for turso 0.2.3
published on Friday, Mar 7, 2025 by DEPRECATED
published on Friday, Mar 7, 2025 by DEPRECATED
Viewing docs for turso 0.2.3
published on Friday, Mar 7, 2025 by DEPRECATED
published on Friday, Mar 7, 2025 by DEPRECATED
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(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseResult
def get_database_output(id: pulumi.Input[Optional[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)
public static Output<GetDatabaseResult> getDatabase(GetDatabaseArgs args, InvokeOptions options)
fn::invoke:
function: turso:index/getDatabase:getDatabase
arguments:
# arguments dictionarydata "turso_getdatabase" "name" {
# arguments
}The following arguments are supported:
- Id string
- The name of the database.
- Id string
- The name of the database.
- id string
- The name of the database.
- id String
- The name of the database.
- id string
- The name of the database.
- id str
- The name of the database.
- id String
- The name of the database.
getDatabase Result
The following output properties are available:
- Database
Get
Database Database - Id string
- The name of the database.
- Database
Get
Database Database - Id string
- The name of the database.
- database
Get
Database Database - id String
- The name of the database.
- database
Get
Database Database - id string
- The name of the database.
- database
Get
Database Database - id str
- The name of the database.
- database Property Map
- id String
- The name of the database.
Supporting Types
GetDatabaseDatabase
- 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 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.
- Is
Schema 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.
- Primary
Region 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.
- 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 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.
- Is
Schema 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.
- Primary
Region 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 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.
- is_
schema 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.
- primary_
region 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.
- allow
Attach 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. - block
Reads Boolean - The current status for blocked reads.
- block
Writes Boolean - The current status for blocked writes.
- db
Id 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.
- is
Schema 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.
- primary
Region 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.
- allow
Attach 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. - block
Reads boolean - The current status for blocked reads.
- block
Writes boolean - The current status for blocked writes.
- db
Id 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.
- is
Schema 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.
- primary
Region 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.
- allow
Attach 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. - block
Reads Boolean - The current status for blocked reads.
- block
Writes Boolean - The current status for blocked writes.
- db
Id 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.
- is
Schema 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.
- primary
Region 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.
Viewing docs for turso 0.2.3
published on Friday, Mar 7, 2025 by DEPRECATED
published on Friday, Mar 7, 2025 by DEPRECATED