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>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]func GetDatabaseInstances(ctx *Context, args *GetDatabaseInstancesArgs, opts ...InvokeOption) (*GetDatabaseInstancesResult, error)
func GetDatabaseInstancesOutput(ctx *Context, args *GetDatabaseInstancesOutputArgs, opts ...InvokeOption) GetDatabaseInstancesResultOutput> 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)
}public static CompletableFuture<GetDatabaseInstancesResult> getDatabaseInstances(GetDatabaseInstancesArgs args, InvokeOptions options)
public static Output<GetDatabaseInstancesResult> getDatabaseInstances(GetDatabaseInstancesArgs args, InvokeOptions options)
fn::invoke:
  function: turso:index/getDatabaseInstances:getDatabaseInstances
  arguments:
    # arguments dictionaryThe 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 str
- The name of the database.
- id String
- The name of the database.
getDatabaseInstances Result
The following output properties are available:
- Id string
- The name of the database.
- Instances
List<GetDatabase Instances Instance> 
- Id string
- The name of the database.
- Instances
[]GetDatabase Instances Instance 
- id String
- The name of the database.
- instances
List<GetDatabase Instances Instance> 
- id string
- The name of the database.
- instances
GetDatabase Instances Instance[] 
- id str
- The name of the database.
- instances
Sequence[GetDatabase Instances Instance] 
- id String
- The name of the database.
- instances List<Property Map>
Supporting Types
GetDatabaseInstancesInstance   
- Hostname string
- The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
- Name string
- The name of the instance (location code).
- Region string
- The location code for the region this instance is located.
- Type string
- The type of database instance this, will be primaryorreplica.
- Uuid string
- The instance universal unique identifier (UUID).
- Hostname string
- The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
- Name string
- The name of the instance (location code).
- Region string
- The location code for the region this instance is located.
- Type string
- The type of database instance this, will be primaryorreplica.
- Uuid string
- The instance universal unique identifier (UUID).
- hostname String
- The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
- name String
- The name of the instance (location code).
- region String
- The location code for the region this instance is located.
- type String
- The type of database instance this, will be primaryorreplica.
- uuid String
- The instance universal unique identifier (UUID).
- hostname string
- The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
- name string
- The name of the instance (location code).
- region string
- The location code for the region this instance is located.
- type string
- The type of database instance this, will be primaryorreplica.
- uuid string
- The instance universal unique identifier (UUID).
- hostname str
- The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
- name str
- The name of the instance (location code).
- region str
- The location code for the region this instance is located.
- type str
- The type of database instance this, will be primaryorreplica.
- uuid str
- The instance universal unique identifier (UUID).
- hostname String
- The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).
- name String
- The name of the instance (location code).
- region String
- The location code for the region this instance is located.
- type String
- The type of database instance this, will be primaryorreplica.
- uuid 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 tursoTerraform Provider.