Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Using getPostgresDatabases
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 getPostgresDatabases(args: GetPostgresDatabasesArgs, opts?: InvokeOptions): Promise<GetPostgresDatabasesResult>
function getPostgresDatabasesOutput(args: GetPostgresDatabasesOutputArgs, opts?: InvokeOptions): Output<GetPostgresDatabasesResult>def get_postgres_databases(page_size: Optional[int] = None,
parent: Optional[str] = None,
provider_config: Optional[GetPostgresDatabasesProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresDatabasesResult
def get_postgres_databases_output(page_size: Optional[pulumi.Input[int]] = None,
parent: Optional[pulumi.Input[str]] = None,
provider_config: Optional[pulumi.Input[GetPostgresDatabasesProviderConfigArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresDatabasesResult]func GetPostgresDatabases(ctx *Context, args *GetPostgresDatabasesArgs, opts ...InvokeOption) (*GetPostgresDatabasesResult, error)
func GetPostgresDatabasesOutput(ctx *Context, args *GetPostgresDatabasesOutputArgs, opts ...InvokeOption) GetPostgresDatabasesResultOutput> Note: This function is named GetPostgresDatabases in the Go SDK.
public static class GetPostgresDatabases
{
public static Task<GetPostgresDatabasesResult> InvokeAsync(GetPostgresDatabasesArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresDatabasesResult> Invoke(GetPostgresDatabasesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPostgresDatabasesResult> getPostgresDatabases(GetPostgresDatabasesArgs args, InvokeOptions options)
public static Output<GetPostgresDatabasesResult> getPostgresDatabases(GetPostgresDatabasesArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getPostgresDatabases:getPostgresDatabases
arguments:
# arguments dictionaryThe following arguments are supported:
- Parent string
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- Page
Size int - Upper bound for items returned
- Provider
Config GetPostgres Databases Provider Config - Configure the provider for management through account provider.
- Parent string
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- Page
Size int - Upper bound for items returned
- Provider
Config GetPostgres Databases Provider Config - Configure the provider for management through account provider.
- parent String
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- page
Size Integer - Upper bound for items returned
- provider
Config GetPostgres Databases Provider Config - Configure the provider for management through account provider.
- parent string
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- page
Size number - Upper bound for items returned
- provider
Config GetPostgres Databases Provider Config - Configure the provider for management through account provider.
- parent str
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- page_
size int - Upper bound for items returned
- provider_
config GetPostgres Databases Provider Config - Configure the provider for management through account provider.
- parent String
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- page
Size Number - Upper bound for items returned
- provider
Config Property Map - Configure the provider for management through account provider.
getPostgresDatabases Result
The following output properties are available:
- Databases
List<Get
Postgres Databases Database> - Id string
- The provider-assigned unique ID for this managed resource.
- Parent string
- (string) - The branch containing this database. Format: projects/{project_id}/branches/{branch_id}
- Page
Size int - Provider
Config GetPostgres Databases Provider Config
- Databases
[]Get
Postgres Databases Database - Id string
- The provider-assigned unique ID for this managed resource.
- Parent string
- (string) - The branch containing this database. Format: projects/{project_id}/branches/{branch_id}
- Page
Size int - Provider
Config GetPostgres Databases Provider Config
- databases
List<Get
Postgres Databases Database> - id String
- The provider-assigned unique ID for this managed resource.
- parent String
- (string) - The branch containing this database. Format: projects/{project_id}/branches/{branch_id}
- page
Size Integer - provider
Config GetPostgres Databases Provider Config
- databases
Get
Postgres Databases Database[] - id string
- The provider-assigned unique ID for this managed resource.
- parent string
- (string) - The branch containing this database. Format: projects/{project_id}/branches/{branch_id}
- page
Size number - provider
Config GetPostgres Databases Provider Config
- databases
Sequence[Get
Postgres Databases Database] - id str
- The provider-assigned unique ID for this managed resource.
- parent str
- (string) - The branch containing this database. Format: projects/{project_id}/branches/{branch_id}
- page_
size int - provider_
config GetPostgres Databases Provider Config
- databases List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- parent String
- (string) - The branch containing this database. Format: projects/{project_id}/branches/{branch_id}
- page
Size Number - provider
Config Property Map
Supporting Types
GetPostgresDatabasesDatabase
- Create
Time string - (string) - A timestamp indicating when the database was created
- Name string
- (string) - The resource name of the database. Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}
- Parent string
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- Spec
Get
Postgres Databases Database Spec - (DatabaseDatabaseSpec) - The desired state of the Database
- Status
Get
Postgres Databases Database Status - (DatabaseDatabaseStatus) - The observed state of the Database
- Update
Time string - (string) - A timestamp indicating when the database was last updated
- Provider
Config GetPostgres Databases Database Provider Config - Configure the provider for management through account provider.
- Create
Time string - (string) - A timestamp indicating when the database was created
- Name string
- (string) - The resource name of the database. Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}
- Parent string
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- Spec
Get
Postgres Databases Database Spec - (DatabaseDatabaseSpec) - The desired state of the Database
- Status
Get
Postgres Databases Database Status - (DatabaseDatabaseStatus) - The observed state of the Database
- Update
Time string - (string) - A timestamp indicating when the database was last updated
- Provider
Config GetPostgres Databases Database Provider Config - Configure the provider for management through account provider.
- create
Time String - (string) - A timestamp indicating when the database was created
- name String
- (string) - The resource name of the database. Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}
- parent String
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Databases Database Spec - (DatabaseDatabaseSpec) - The desired state of the Database
- status
Get
Postgres Databases Database Status - (DatabaseDatabaseStatus) - The observed state of the Database
- update
Time String - (string) - A timestamp indicating when the database was last updated
- provider
Config GetPostgres Databases Database Provider Config - Configure the provider for management through account provider.
- create
Time string - (string) - A timestamp indicating when the database was created
- name string
- (string) - The resource name of the database. Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}
- parent string
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Databases Database Spec - (DatabaseDatabaseSpec) - The desired state of the Database
- status
Get
Postgres Databases Database Status - (DatabaseDatabaseStatus) - The observed state of the Database
- update
Time string - (string) - A timestamp indicating when the database was last updated
- provider
Config GetPostgres Databases Database Provider Config - Configure the provider for management through account provider.
- create_
time str - (string) - A timestamp indicating when the database was created
- name str
- (string) - The resource name of the database. Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}
- parent str
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Databases Database Spec - (DatabaseDatabaseSpec) - The desired state of the Database
- status
Get
Postgres Databases Database Status - (DatabaseDatabaseStatus) - The observed state of the Database
- update_
time str - (string) - A timestamp indicating when the database was last updated
- provider_
config GetPostgres Databases Database Provider Config - Configure the provider for management through account provider.
- create
Time String - (string) - A timestamp indicating when the database was created
- name String
- (string) - The resource name of the database. Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}
- parent String
- The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}
- spec Property Map
- (DatabaseDatabaseSpec) - The desired state of the Database
- status Property Map
- (DatabaseDatabaseStatus) - The observed state of the Database
- update
Time String - (string) - A timestamp indicating when the database was last updated
- provider
Config Property Map - Configure the provider for management through account provider.
GetPostgresDatabasesDatabaseProviderConfig
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id str - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
GetPostgresDatabasesDatabaseSpec
- Postgres
Database string - (string) - The name of the Postgres database
- Role string
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- Postgres
Database string - (string) - The name of the Postgres database
- Role string
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- postgres
Database String - (string) - The name of the Postgres database
- role String
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- postgres
Database string - (string) - The name of the Postgres database
- role string
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- postgres_
database str - (string) - The name of the Postgres database
- role str
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- postgres
Database String - (string) - The name of the Postgres database
- role String
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
GetPostgresDatabasesDatabaseStatus
- Postgres
Database string - (string) - The name of the Postgres database
- Role string
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- Postgres
Database string - (string) - The name of the Postgres database
- Role string
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- postgres
Database String - (string) - The name of the Postgres database
- role String
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- postgres
Database string - (string) - The name of the Postgres database
- role string
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- postgres_
database str - (string) - The name of the Postgres database
- role str
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- postgres
Database String - (string) - The name of the Postgres database
- role String
- (string) - The name of the role that owns the database. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
GetPostgresDatabasesProviderConfig
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id str - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
