Viewing docs for Databricks v1.101.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi
Viewing docs for Databricks v1.101.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi
This data source lists the replication statuses of all Postgres tables replicated under a CDF (Change Data Feed) configuration.
Example Usage
List All Replicated Table Statuses in a CDF Configuration
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const all = databricks.getPostgresCdfStatuses({
parent: "projects/my-project/branches/main/databases/app_db/cdf-configs/public",
});
export const cdfTableStates = all.then(all => .reduce((__obj, status) => ({ ...__obj, [status.postgresTable]: status.state }), {}));
import pulumi
import pulumi_databricks as databricks
all = databricks.get_postgres_cdf_statuses(parent="projects/my-project/branches/main/databases/app_db/cdf-configs/public")
pulumi.export("cdfTableStates", {status.postgres_table: status.state for status in all.cdf_statuses})
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var all = Databricks.GetPostgresCdfStatuses.Invoke(new()
{
Parent = "projects/my-project/branches/main/databases/app_db/cdf-configs/public",
});
return new Dictionary<string, object?>
{
["cdfTableStates"] = .ToDictionary(item => {
var status = item.Value;
return status.PostgresTable;
}, item => {
var status = item.Value;
return status.State;
}),
};
});
Example coming soon!
Example coming soon!
pulumi {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_getpostgrescdfstatuses" "all" {
parent = "projects/my-project/branches/main/databases/app_db/cdf-configs/public"
}
output "cdfTableStates" {
value = {for status in data.databricks_getpostgrescdfstatuses.all.cdf_statuses : status.postgresTable => status.state}
}
Using getPostgresCdfStatuses
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 getPostgresCdfStatuses(args: GetPostgresCdfStatusesArgs, opts?: InvokeOptions): Promise<GetPostgresCdfStatusesResult>
function getPostgresCdfStatusesOutput(args: GetPostgresCdfStatusesOutputArgs, opts?: InvokeOptions): Output<GetPostgresCdfStatusesResult>def get_postgres_cdf_statuses(page_size: Optional[int] = None,
parent: Optional[str] = None,
provider_config: Optional[GetPostgresCdfStatusesProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresCdfStatusesResult
def get_postgres_cdf_statuses_output(page_size: pulumi.Input[Optional[int]] = None,
parent: pulumi.Input[Optional[str]] = None,
provider_config: pulumi.Input[Optional[GetPostgresCdfStatusesProviderConfigArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresCdfStatusesResult]func GetPostgresCdfStatuses(ctx *Context, args *GetPostgresCdfStatusesArgs, opts ...InvokeOption) (*GetPostgresCdfStatusesResult, error)
func GetPostgresCdfStatusesOutput(ctx *Context, args *GetPostgresCdfStatusesOutputArgs, opts ...InvokeOption) GetPostgresCdfStatusesResultOutput> Note: This function is named GetPostgresCdfStatuses in the Go SDK.
public static class GetPostgresCdfStatuses
{
public static Task<GetPostgresCdfStatusesResult> InvokeAsync(GetPostgresCdfStatusesArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresCdfStatusesResult> Invoke(GetPostgresCdfStatusesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPostgresCdfStatusesResult> getPostgresCdfStatuses(GetPostgresCdfStatusesArgs args, InvokeOptions options)
public static Output<GetPostgresCdfStatusesResult> getPostgresCdfStatuses(GetPostgresCdfStatusesArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getPostgresCdfStatuses:getPostgresCdfStatuses
arguments:
# arguments dictionarydata "databricks_get_postgres_cdf_statuses" "name" {
# arguments
}The following arguments are supported:
- Parent string
- The parent CdfConfig to list CdfStatuses for. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
- Page
Size int - Maximum number of CdfStatuses to return
- Provider
Config GetPostgres Cdf Statuses Provider Config - Configure the provider for management through account provider.
- Parent string
- The parent CdfConfig to list CdfStatuses for. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
- Page
Size int - Maximum number of CdfStatuses to return
- Provider
Config GetPostgres Cdf Statuses Provider Config - Configure the provider for management through account provider.
- parent string
- The parent CdfConfig to list CdfStatuses for. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
- page_
size number - Maximum number of CdfStatuses to return
- provider_
config object - Configure the provider for management through account provider.
- parent String
- The parent CdfConfig to list CdfStatuses for. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
- page
Size Integer - Maximum number of CdfStatuses to return
- provider
Config GetPostgres Cdf Statuses Provider Config - Configure the provider for management through account provider.
- parent string
- The parent CdfConfig to list CdfStatuses for. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
- page
Size number - Maximum number of CdfStatuses to return
- provider
Config GetPostgres Cdf Statuses Provider Config - Configure the provider for management through account provider.
- parent str
- The parent CdfConfig to list CdfStatuses for. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
- page_
size int - Maximum number of CdfStatuses to return
- provider_
config GetPostgres Cdf Statuses Provider Config - Configure the provider for management through account provider.
- parent String
- The parent CdfConfig to list CdfStatuses for. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
- page
Size Number - Maximum number of CdfStatuses to return
- provider
Config Property Map - Configure the provider for management through account provider.
getPostgresCdfStatuses Result
The following output properties are available:
- cdf_
statuses list(object) - parent string
- page_
size number - provider_
config object
Supporting Types
GetPostgresCdfStatusesCdfStatus
- Committed
Lsn string - (string) - The high-watermark Log Sequence Number (LSN) committed to Delta Lake
- Create
Time string - (string) - When replication for this table was first established
- Last
Sync stringTime - (string) - The last time changes for this table were written to Delta Lake
- Name string
- (string) - Output only. The full resource name of the CdfStatus. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status} The {cdf_status} segment is the Postgres table name
- Postgres
Table string - (string) - The Postgres table being replicated
- State string
- (string) - The current replication state of this table. Possible values are:
CDF_STATE_SKIPPED,CDF_STATE_SNAPSHOTTING,CDF_STATE_STREAMING,CDF_STATE_TERMINATED - Status
Detail string - (string) - Human-readable detail for the current state (e.g. the skip/error reason). Empty for healthy states
- Uc
Table string - (string) - The Unity Catalog table receiving replicated data
- Provider
Config GetPostgres Cdf Statuses Cdf Status Provider Config - Configure the provider for management through account provider.
- Committed
Lsn string - (string) - The high-watermark Log Sequence Number (LSN) committed to Delta Lake
- Create
Time string - (string) - When replication for this table was first established
- Last
Sync stringTime - (string) - The last time changes for this table were written to Delta Lake
- Name string
- (string) - Output only. The full resource name of the CdfStatus. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status} The {cdf_status} segment is the Postgres table name
- Postgres
Table string - (string) - The Postgres table being replicated
- State string
- (string) - The current replication state of this table. Possible values are:
CDF_STATE_SKIPPED,CDF_STATE_SNAPSHOTTING,CDF_STATE_STREAMING,CDF_STATE_TERMINATED - Status
Detail string - (string) - Human-readable detail for the current state (e.g. the skip/error reason). Empty for healthy states
- Uc
Table string - (string) - The Unity Catalog table receiving replicated data
- Provider
Config GetPostgres Cdf Statuses Cdf Status Provider Config - Configure the provider for management through account provider.
- committed_
lsn string - (string) - The high-watermark Log Sequence Number (LSN) committed to Delta Lake
- create_
time string - (string) - When replication for this table was first established
- last_
sync_ stringtime - (string) - The last time changes for this table were written to Delta Lake
- name string
- (string) - Output only. The full resource name of the CdfStatus. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status} The {cdf_status} segment is the Postgres table name
- postgres_
table string - (string) - The Postgres table being replicated
- state string
- (string) - The current replication state of this table. Possible values are:
CDF_STATE_SKIPPED,CDF_STATE_SNAPSHOTTING,CDF_STATE_STREAMING,CDF_STATE_TERMINATED - status_
detail string - (string) - Human-readable detail for the current state (e.g. the skip/error reason). Empty for healthy states
- uc_
table string - (string) - The Unity Catalog table receiving replicated data
- provider_
config object - Configure the provider for management through account provider.
- committed
Lsn String - (string) - The high-watermark Log Sequence Number (LSN) committed to Delta Lake
- create
Time String - (string) - When replication for this table was first established
- last
Sync StringTime - (string) - The last time changes for this table were written to Delta Lake
- name String
- (string) - Output only. The full resource name of the CdfStatus. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status} The {cdf_status} segment is the Postgres table name
- postgres
Table String - (string) - The Postgres table being replicated
- state String
- (string) - The current replication state of this table. Possible values are:
CDF_STATE_SKIPPED,CDF_STATE_SNAPSHOTTING,CDF_STATE_STREAMING,CDF_STATE_TERMINATED - status
Detail String - (string) - Human-readable detail for the current state (e.g. the skip/error reason). Empty for healthy states
- uc
Table String - (string) - The Unity Catalog table receiving replicated data
- provider
Config GetPostgres Cdf Statuses Cdf Status Provider Config - Configure the provider for management through account provider.
- committed
Lsn string - (string) - The high-watermark Log Sequence Number (LSN) committed to Delta Lake
- create
Time string - (string) - When replication for this table was first established
- last
Sync stringTime - (string) - The last time changes for this table were written to Delta Lake
- name string
- (string) - Output only. The full resource name of the CdfStatus. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status} The {cdf_status} segment is the Postgres table name
- postgres
Table string - (string) - The Postgres table being replicated
- state string
- (string) - The current replication state of this table. Possible values are:
CDF_STATE_SKIPPED,CDF_STATE_SNAPSHOTTING,CDF_STATE_STREAMING,CDF_STATE_TERMINATED - status
Detail string - (string) - Human-readable detail for the current state (e.g. the skip/error reason). Empty for healthy states
- uc
Table string - (string) - The Unity Catalog table receiving replicated data
- provider
Config GetPostgres Cdf Statuses Cdf Status Provider Config - Configure the provider for management through account provider.
- committed_
lsn str - (string) - The high-watermark Log Sequence Number (LSN) committed to Delta Lake
- create_
time str - (string) - When replication for this table was first established
- last_
sync_ strtime - (string) - The last time changes for this table were written to Delta Lake
- name str
- (string) - Output only. The full resource name of the CdfStatus. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status} The {cdf_status} segment is the Postgres table name
- postgres_
table str - (string) - The Postgres table being replicated
- state str
- (string) - The current replication state of this table. Possible values are:
CDF_STATE_SKIPPED,CDF_STATE_SNAPSHOTTING,CDF_STATE_STREAMING,CDF_STATE_TERMINATED - status_
detail str - (string) - Human-readable detail for the current state (e.g. the skip/error reason). Empty for healthy states
- uc_
table str - (string) - The Unity Catalog table receiving replicated data
- provider_
config GetPostgres Cdf Statuses Cdf Status Provider Config - Configure the provider for management through account provider.
- committed
Lsn String - (string) - The high-watermark Log Sequence Number (LSN) committed to Delta Lake
- create
Time String - (string) - When replication for this table was first established
- last
Sync StringTime - (string) - The last time changes for this table were written to Delta Lake
- name String
- (string) - Output only. The full resource name of the CdfStatus. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status} The {cdf_status} segment is the Postgres table name
- postgres
Table String - (string) - The Postgres table being replicated
- state String
- (string) - The current replication state of this table. Possible values are:
CDF_STATE_SKIPPED,CDF_STATE_SNAPSHOTTING,CDF_STATE_STREAMING,CDF_STATE_TERMINATED - status
Detail String - (string) - Human-readable detail for the current state (e.g. the skip/error reason). Empty for healthy states
- uc
Table String - (string) - The Unity Catalog table receiving replicated data
- provider
Config Property Map - Configure the provider for management through account provider.
GetPostgresCdfStatusesCdfStatusProviderConfig
- 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 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.
GetPostgresCdfStatusesProviderConfig
- 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 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.101.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi