1. Packages
  2. Turso Provider
  3. API Docs
  4. getDatabaseInstances
turso 0.2.3 published on Friday, Mar 7, 2025 by celest-dev

turso.getDatabaseInstances

Explore with Pulumi AI

Using getDatabaseInstances

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 getDatabaseInstances(args: GetDatabaseInstancesArgs, opts?: InvokeOptions): Promise<GetDatabaseInstancesResult>
function getDatabaseInstancesOutput(args: GetDatabaseInstancesOutputArgs, opts?: InvokeOptions): Output<GetDatabaseInstancesResult>
Copy
def get_database_instances(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDatabaseInstancesResult
def get_database_instances_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseInstancesResult]
Copy
func GetDatabaseInstances(ctx *Context, args *GetDatabaseInstancesArgs, opts ...InvokeOption) (*GetDatabaseInstancesResult, error)
func GetDatabaseInstancesOutput(ctx *Context, args *GetDatabaseInstancesOutputArgs, opts ...InvokeOption) GetDatabaseInstancesResultOutput
Copy

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

public static class GetDatabaseInstances 
{
    public static Task<GetDatabaseInstancesResult> InvokeAsync(GetDatabaseInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseInstancesResult> Invoke(GetDatabaseInstancesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDatabaseInstancesResult> getDatabaseInstances(GetDatabaseInstancesArgs args, InvokeOptions options)
public static Output<GetDatabaseInstancesResult> getDatabaseInstances(GetDatabaseInstancesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: turso:index/getDatabaseInstances:getDatabaseInstances
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The name of the database.
Id This property is required. string
The name of the database.
id This property is required. String
The name of the database.
id This property is required. string
The name of the database.
id This property is required. str
The name of the database.
id This property is required. String
The name of the database.

getDatabaseInstances Result

The following output properties are available:

Id string
The name of the database.
Instances List<GetDatabaseInstancesInstance>
Id string
The name of the database.
Instances []GetDatabaseInstancesInstance
id String
The name of the database.
instances List<GetDatabaseInstancesInstance>
id string
The name of the database.
instances GetDatabaseInstancesInstance[]
id String
The name of the database.
instances List<Property Map>

Supporting Types

GetDatabaseInstancesInstance

Hostname This property is required. string
The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
Name This property is required. string
The name of the instance (location code).
Region This property is required. string
The location code for the region this instance is located.
Type This property is required. string
The type of database instance this, will be primary or replica.
Uuid This property is required. string
The instance universal unique identifier (UUID).
Hostname This property is required. string
The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
Name This property is required. string
The name of the instance (location code).
Region This property is required. string
The location code for the region this instance is located.
Type This property is required. string
The type of database instance this, will be primary or replica.
Uuid This property is required. string
The instance universal unique identifier (UUID).
hostname This property is required. String
The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
name This property is required. String
The name of the instance (location code).
region This property is required. String
The location code for the region this instance is located.
type This property is required. String
The type of database instance this, will be primary or replica.
uuid This property is required. String
The instance universal unique identifier (UUID).
hostname This property is required. string
The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
name This property is required. string
The name of the instance (location code).
region This property is required. string
The location code for the region this instance is located.
type This property is required. string
The type of database instance this, will be primary or replica.
uuid This property is required. string
The instance universal unique identifier (UUID).
hostname This property is required. str
The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
name This property is required. str
The name of the instance (location code).
region This property is required. str
The location code for the region this instance is located.
type This property is required. str
The type of database instance this, will be primary or replica.
uuid This property is required. str
The instance universal unique identifier (UUID).
hostname This property is required. String
The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
name This property is required. String
The name of the instance (location code).
region This property is required. String
The location code for the region this instance is located.
type This property is required. String
The type of database instance this, will be primary or replica.
uuid This property is required. String
The instance universal unique identifier (UUID).

Package Details

Repository
turso celest-dev/terraform-provider-turso
License
Notes
This Pulumi package is based on the turso Terraform Provider.