Databricks v1.83.0 published on Friday, Jan 23, 2026 by Pulumi
Databricks v1.83.0 published on Friday, Jan 23, 2026 by Pulumi
This data source can be used to get a single Database Instance.
Example Usage
Referring to a Database Instance by name:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getDatabaseInstance({
name: "my-database-instance",
});
import pulumi
import pulumi_databricks as databricks
this = databricks.get_database_instance(name="my-database-instance")
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.LookupDatabaseInstance(ctx, &databricks.LookupDatabaseInstanceArgs{
Name: "my-database-instance",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var @this = Databricks.GetDatabaseInstance.Invoke(new()
{
Name = "my-database-instance",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.DatabricksFunctions;
import com.pulumi.databricks.inputs.GetDatabaseInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = DatabricksFunctions.getDatabaseInstance(GetDatabaseInstanceArgs.builder()
.name("my-database-instance")
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getDatabaseInstance
arguments:
name: my-database-instance
Using getDatabaseInstance
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 getDatabaseInstance(args: GetDatabaseInstanceArgs, opts?: InvokeOptions): Promise<GetDatabaseInstanceResult>
function getDatabaseInstanceOutput(args: GetDatabaseInstanceOutputArgs, opts?: InvokeOptions): Output<GetDatabaseInstanceResult>def get_database_instance(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseInstanceResult
def get_database_instance_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseInstanceResult]func LookupDatabaseInstance(ctx *Context, args *LookupDatabaseInstanceArgs, opts ...InvokeOption) (*LookupDatabaseInstanceResult, error)
func LookupDatabaseInstanceOutput(ctx *Context, args *LookupDatabaseInstanceOutputArgs, opts ...InvokeOption) LookupDatabaseInstanceResultOutput> Note: This function is named LookupDatabaseInstance in the Go SDK.
public static class GetDatabaseInstance
{
public static Task<GetDatabaseInstanceResult> InvokeAsync(GetDatabaseInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseInstanceResult> Invoke(GetDatabaseInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseInstanceResult> getDatabaseInstance(GetDatabaseInstanceArgs args, InvokeOptions options)
public static Output<GetDatabaseInstanceResult> getDatabaseInstance(GetDatabaseInstanceArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getDatabaseInstance:getDatabaseInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the instance. This is the unique identifier for the instance
- Name string
- The name of the instance. This is the unique identifier for the instance
- name String
- The name of the instance. This is the unique identifier for the instance
- name string
- The name of the instance. This is the unique identifier for the instance
- name str
- The name of the instance. This is the unique identifier for the instance
- name String
- The name of the instance. This is the unique identifier for the instance
getDatabaseInstance Result
The following output properties are available:
- Capacity string
- (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
- Child
Instance List<GetRefs Database Instance Child Instance Ref> - (list of DatabaseInstanceRef) - The refs of the child instances. This is only available if the instance is parent instance
- Creation
Time string - (string) - The timestamp when the instance was created
- Creator string
- (string) - The email of the creator of the instance
-
List<Get
Database Instance Custom Tag> - (list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
- Effective
Capacity string - (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
-
List<Get
Database Instance Effective Custom Tag> - (list of CustomTag) - The recorded custom tags associated with the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Enable boolPg Native Login - (boolean) - Whether the instance has PG native password login enabled. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Enable boolReadable Secondaries - (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Node intCount - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Retention intWindow In Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Stopped bool - (boolean) - Whether the instance is stopped. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Usage stringPolicy Id - (string) - The policy that is applied to the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Enable
Pg boolNative Login - (boolean) - Whether to enable PG native password login on the instance. Defaults to false
- Enable
Readable boolSecondaries - (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (string) - Name of the ref database instance
- Node
Count int - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
- Parent
Instance GetRef Database Instance Parent Instance Ref - (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is child instance. Input: For specifying the parent instance to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- Pg
Version string - (string) - The version of Postgres running on the instance
- Read
Only stringDns - (string) - The DNS endpoint to connect to the instance for read only access. This is only available if enable_readable_secondaries is true
- Read
Write stringDns - (string) - The DNS endpoint to connect to the instance for read+write access
- Retention
Window intIn Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. The default value is 7 days. Valid values are 2 to 35 days
- State string
- (string) - The current state of the instance. Possible values are:
AVAILABLE,DELETING,FAILING_OVER,STARTING,STOPPED,UPDATING - Stopped bool
- (boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
- Uid string
- (string) - Id of the ref database instance
- Usage
Policy stringId - (string) - The desired usage policy to associate with the instance
- Capacity string
- (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
- Child
Instance []GetRefs Database Instance Child Instance Ref - (list of DatabaseInstanceRef) - The refs of the child instances. This is only available if the instance is parent instance
- Creation
Time string - (string) - The timestamp when the instance was created
- Creator string
- (string) - The email of the creator of the instance
-
[]Get
Database Instance Custom Tag - (list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
- Effective
Capacity string - (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
-
[]Get
Database Instance Effective Custom Tag - (list of CustomTag) - The recorded custom tags associated with the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Enable boolPg Native Login - (boolean) - Whether the instance has PG native password login enabled. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Enable boolReadable Secondaries - (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Node intCount - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Retention intWindow In Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Stopped bool - (boolean) - Whether the instance is stopped. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Effective
Usage stringPolicy Id - (string) - The policy that is applied to the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Enable
Pg boolNative Login - (boolean) - Whether to enable PG native password login on the instance. Defaults to false
- Enable
Readable boolSecondaries - (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (string) - Name of the ref database instance
- Node
Count int - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
- Parent
Instance GetRef Database Instance Parent Instance Ref - (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is child instance. Input: For specifying the parent instance to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- Pg
Version string - (string) - The version of Postgres running on the instance
- Read
Only stringDns - (string) - The DNS endpoint to connect to the instance for read only access. This is only available if enable_readable_secondaries is true
- Read
Write stringDns - (string) - The DNS endpoint to connect to the instance for read+write access
- Retention
Window intIn Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. The default value is 7 days. Valid values are 2 to 35 days
- State string
- (string) - The current state of the instance. Possible values are:
AVAILABLE,DELETING,FAILING_OVER,STARTING,STOPPED,UPDATING - Stopped bool
- (boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
- Uid string
- (string) - Id of the ref database instance
- Usage
Policy stringId - (string) - The desired usage policy to associate with the instance
- capacity String
- (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
- child
Instance List<GetRefs Database Instance Child Instance Ref> - (list of DatabaseInstanceRef) - The refs of the child instances. This is only available if the instance is parent instance
- creation
Time String - (string) - The timestamp when the instance was created
- creator String
- (string) - The email of the creator of the instance
-
List<Get
Database Instance Custom Tag> - (list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
- effective
Capacity String - (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
-
List<Get
Database Instance Effective Custom Tag> - (list of CustomTag) - The recorded custom tags associated with the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Enable BooleanPg Native Login - (boolean) - Whether the instance has PG native password login enabled. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Enable BooleanReadable Secondaries - (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Node IntegerCount - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Retention IntegerWindow In Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Stopped Boolean - (boolean) - Whether the instance is stopped. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Usage StringPolicy Id - (string) - The policy that is applied to the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- enable
Pg BooleanNative Login - (boolean) - Whether to enable PG native password login on the instance. Defaults to false
- enable
Readable BooleanSecondaries - (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (string) - Name of the ref database instance
- node
Count Integer - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
- parent
Instance GetRef Database Instance Parent Instance Ref - (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is child instance. Input: For specifying the parent instance to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- pg
Version String - (string) - The version of Postgres running on the instance
- read
Only StringDns - (string) - The DNS endpoint to connect to the instance for read only access. This is only available if enable_readable_secondaries is true
- read
Write StringDns - (string) - The DNS endpoint to connect to the instance for read+write access
- retention
Window IntegerIn Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. The default value is 7 days. Valid values are 2 to 35 days
- state String
- (string) - The current state of the instance. Possible values are:
AVAILABLE,DELETING,FAILING_OVER,STARTING,STOPPED,UPDATING - stopped Boolean
- (boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
- uid String
- (string) - Id of the ref database instance
- usage
Policy StringId - (string) - The desired usage policy to associate with the instance
- capacity string
- (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
- child
Instance GetRefs Database Instance Child Instance Ref[] - (list of DatabaseInstanceRef) - The refs of the child instances. This is only available if the instance is parent instance
- creation
Time string - (string) - The timestamp when the instance was created
- creator string
- (string) - The email of the creator of the instance
-
Get
Database Instance Custom Tag[] - (list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
- effective
Capacity string - (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
-
Get
Database Instance Effective Custom Tag[] - (list of CustomTag) - The recorded custom tags associated with the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Enable booleanPg Native Login - (boolean) - Whether the instance has PG native password login enabled. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Enable booleanReadable Secondaries - (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Node numberCount - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Retention numberWindow In Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Stopped boolean - (boolean) - Whether the instance is stopped. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Usage stringPolicy Id - (string) - The policy that is applied to the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- enable
Pg booleanNative Login - (boolean) - Whether to enable PG native password login on the instance. Defaults to false
- enable
Readable booleanSecondaries - (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- (string) - Name of the ref database instance
- node
Count number - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
- parent
Instance GetRef Database Instance Parent Instance Ref - (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is child instance. Input: For specifying the parent instance to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- pg
Version string - (string) - The version of Postgres running on the instance
- read
Only stringDns - (string) - The DNS endpoint to connect to the instance for read only access. This is only available if enable_readable_secondaries is true
- read
Write stringDns - (string) - The DNS endpoint to connect to the instance for read+write access
- retention
Window numberIn Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. The default value is 7 days. Valid values are 2 to 35 days
- state string
- (string) - The current state of the instance. Possible values are:
AVAILABLE,DELETING,FAILING_OVER,STARTING,STOPPED,UPDATING - stopped boolean
- (boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
- uid string
- (string) - Id of the ref database instance
- usage
Policy stringId - (string) - The desired usage policy to associate with the instance
- capacity str
- (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
- child_
instance_ Sequence[Getrefs Database Instance Child Instance Ref] - (list of DatabaseInstanceRef) - The refs of the child instances. This is only available if the instance is parent instance
- creation_
time str - (string) - The timestamp when the instance was created
- creator str
- (string) - The email of the creator of the instance
-
Sequence[Get
Database Instance Custom Tag] - (list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
- effective_
capacity str - (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
-
Sequence[Get
Database Instance Effective Custom Tag] - (list of CustomTag) - The recorded custom tags associated with the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective_
enable_ boolpg_ native_ login - (boolean) - Whether the instance has PG native password login enabled. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective_
enable_ boolreadable_ secondaries - (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective_
node_ intcount - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective_
retention_ intwindow_ in_ days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective_
stopped bool - (boolean) - Whether the instance is stopped. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective_
usage_ strpolicy_ id - (string) - The policy that is applied to the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- enable_
pg_ boolnative_ login - (boolean) - Whether to enable PG native password login on the instance. Defaults to false
- enable_
readable_ boolsecondaries - (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- (string) - Name of the ref database instance
- node_
count int - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
- parent_
instance_ Getref Database Instance Parent Instance Ref - (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is child instance. Input: For specifying the parent instance to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- pg_
version str - (string) - The version of Postgres running on the instance
- read_
only_ strdns - (string) - The DNS endpoint to connect to the instance for read only access. This is only available if enable_readable_secondaries is true
- read_
write_ strdns - (string) - The DNS endpoint to connect to the instance for read+write access
- retention_
window_ intin_ days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. The default value is 7 days. Valid values are 2 to 35 days
- state str
- (string) - The current state of the instance. Possible values are:
AVAILABLE,DELETING,FAILING_OVER,STARTING,STOPPED,UPDATING - stopped bool
- (boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
- uid str
- (string) - Id of the ref database instance
- usage_
policy_ strid - (string) - The desired usage policy to associate with the instance
- capacity String
- (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
- child
Instance List<Property Map>Refs - (list of DatabaseInstanceRef) - The refs of the child instances. This is only available if the instance is parent instance
- creation
Time String - (string) - The timestamp when the instance was created
- creator String
- (string) - The email of the creator of the instance
- List<Property Map>
- (list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
- effective
Capacity String - (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- List<Property Map>
- (list of CustomTag) - The recorded custom tags associated with the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Enable BooleanPg Native Login - (boolean) - Whether the instance has PG native password login enabled. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Enable BooleanReadable Secondaries - (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Node NumberCount - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Retention NumberWindow In Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Stopped Boolean - (boolean) - Whether the instance is stopped. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- effective
Usage StringPolicy Id - (string) - The policy that is applied to the instance. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- enable
Pg BooleanNative Login - (boolean) - Whether to enable PG native password login on the instance. Defaults to false
- enable
Readable BooleanSecondaries - (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (string) - Name of the ref database instance
- node
Count Number - (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to 1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
- parent
Instance Property MapRef - (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is child instance. Input: For specifying the parent instance to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- pg
Version String - (string) - The version of Postgres running on the instance
- read
Only StringDns - (string) - The DNS endpoint to connect to the instance for read only access. This is only available if enable_readable_secondaries is true
- read
Write StringDns - (string) - The DNS endpoint to connect to the instance for read+write access
- retention
Window NumberIn Days - (integer) - The retention window for the instance. This is the time window in days for which the historical data is retained. The default value is 7 days. Valid values are 2 to 35 days
- state String
- (string) - The current state of the instance. Possible values are:
AVAILABLE,DELETING,FAILING_OVER,STARTING,STOPPED,UPDATING - stopped Boolean
- (boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
- uid String
- (string) - Id of the ref database instance
- usage
Policy StringId - (string) - The desired usage policy to associate with the instance
Supporting Types
GetDatabaseInstanceChildInstanceRef
- Effective
Lsn string - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Lsn string
- (string) - User-specified WAL LSN of the ref database instance.
- Uid string
- (string) - Id of the ref database instance
- Branch
Time string - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- Name string
- The name of the instance. This is the unique identifier for the instance
- Effective
Lsn string - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Lsn string
- (string) - User-specified WAL LSN of the ref database instance.
- Uid string
- (string) - Id of the ref database instance
- Branch
Time string - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- Name string
- The name of the instance. This is the unique identifier for the instance
- effective
Lsn String - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- lsn String
- (string) - User-specified WAL LSN of the ref database instance.
- uid String
- (string) - Id of the ref database instance
- branch
Time String - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- name String
- The name of the instance. This is the unique identifier for the instance
- effective
Lsn string - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- lsn string
- (string) - User-specified WAL LSN of the ref database instance.
- uid string
- (string) - Id of the ref database instance
- branch
Time string - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- name string
- The name of the instance. This is the unique identifier for the instance
- effective_
lsn str - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- lsn str
- (string) - User-specified WAL LSN of the ref database instance.
- uid str
- (string) - Id of the ref database instance
- branch_
time str - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- name str
- The name of the instance. This is the unique identifier for the instance
- effective
Lsn String - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- lsn String
- (string) - User-specified WAL LSN of the ref database instance.
- uid String
- (string) - Id of the ref database instance
- branch
Time String - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- name String
- The name of the instance. This is the unique identifier for the instance
GetDatabaseInstanceCustomTag
GetDatabaseInstanceEffectiveCustomTag
GetDatabaseInstanceParentInstanceRef
- Effective
Lsn string - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Lsn string
- (string) - User-specified WAL LSN of the ref database instance.
- Uid string
- (string) - Id of the ref database instance
- Branch
Time string - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- Name string
- The name of the instance. This is the unique identifier for the instance
- Effective
Lsn string - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- Lsn string
- (string) - User-specified WAL LSN of the ref database instance.
- Uid string
- (string) - Id of the ref database instance
- Branch
Time string - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- Name string
- The name of the instance. This is the unique identifier for the instance
- effective
Lsn String - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- lsn String
- (string) - User-specified WAL LSN of the ref database instance.
- uid String
- (string) - Id of the ref database instance
- branch
Time String - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- name String
- The name of the instance. This is the unique identifier for the instance
- effective
Lsn string - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- lsn string
- (string) - User-specified WAL LSN of the ref database instance.
- uid string
- (string) - Id of the ref database instance
- branch
Time string - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- name string
- The name of the instance. This is the unique identifier for the instance
- effective_
lsn str - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- lsn str
- (string) - User-specified WAL LSN of the ref database instance.
- uid str
- (string) - Id of the ref database instance
- branch_
time str - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- name str
- The name of the instance. This is the unique identifier for the instance
- effective
Lsn String - (string) - For a parent ref instance, this is the LSN on the parent instance from which the instance was created. For a child ref instance, this is the LSN on the instance from which the child instance was created. This is an output only field that contains the value computed from the input field combined with server side defaults. Use the field without the effective_ prefix to set the value
- lsn String
- (string) - User-specified WAL LSN of the ref database instance.
- uid String
- (string) - Id of the ref database instance
- branch
Time String - (string) - Branch time of the ref database instance. For a parent ref instance, this is the point in time on the parent instance from which the instance was created. For a child ref instance, this is the point in time on the instance from which the child instance was created. Input: For specifying the point in time to create a child instance. Optional. Output: Only populated if provided as input to create a child instance
- name String
- The name of the instance. This is the unique identifier for the instance
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
Databricks v1.83.0 published on Friday, Jan 23, 2026 by Pulumi
