1. Packages
  2. Databricks Provider
  3. API Docs
  4. getPostgresEndpoints
Databricks v1.82.0 published on Friday, Jan 16, 2026 by Pulumi
databricks logo
Databricks v1.82.0 published on Friday, Jan 16, 2026 by Pulumi

    Private Preview

    Using getPostgresEndpoints

    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 getPostgresEndpoints(args: GetPostgresEndpointsArgs, opts?: InvokeOptions): Promise<GetPostgresEndpointsResult>
    function getPostgresEndpointsOutput(args: GetPostgresEndpointsOutputArgs, opts?: InvokeOptions): Output<GetPostgresEndpointsResult>
    def get_postgres_endpoints(page_size: Optional[int] = None,
                               parent: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetPostgresEndpointsResult
    def get_postgres_endpoints_output(page_size: Optional[pulumi.Input[int]] = None,
                               parent: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetPostgresEndpointsResult]
    func GetPostgresEndpoints(ctx *Context, args *GetPostgresEndpointsArgs, opts ...InvokeOption) (*GetPostgresEndpointsResult, error)
    func GetPostgresEndpointsOutput(ctx *Context, args *GetPostgresEndpointsOutputArgs, opts ...InvokeOption) GetPostgresEndpointsResultOutput

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

    public static class GetPostgresEndpoints 
    {
        public static Task<GetPostgresEndpointsResult> InvokeAsync(GetPostgresEndpointsArgs args, InvokeOptions? opts = null)
        public static Output<GetPostgresEndpointsResult> Invoke(GetPostgresEndpointsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPostgresEndpointsResult> getPostgresEndpoints(GetPostgresEndpointsArgs args, InvokeOptions options)
    public static Output<GetPostgresEndpointsResult> getPostgresEndpoints(GetPostgresEndpointsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: databricks:index/getPostgresEndpoints:getPostgresEndpoints
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Parent string
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    PageSize int
    Upper bound for items returned
    Parent string
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    PageSize int
    Upper bound for items returned
    parent String
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    pageSize Integer
    Upper bound for items returned
    parent string
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    pageSize number
    Upper bound for items returned
    parent str
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    page_size int
    Upper bound for items returned
    parent String
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    pageSize Number
    Upper bound for items returned

    getPostgresEndpoints Result

    The following output properties are available:

    Endpoints List<GetPostgresEndpointsEndpoint>
    Id string
    The provider-assigned unique ID for this managed resource.
    Parent string
    (string) - The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
    PageSize int
    Endpoints []GetPostgresEndpointsEndpoint
    Id string
    The provider-assigned unique ID for this managed resource.
    Parent string
    (string) - The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
    PageSize int
    endpoints List<GetPostgresEndpointsEndpoint>
    id String
    The provider-assigned unique ID for this managed resource.
    parent String
    (string) - The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
    pageSize Integer
    endpoints GetPostgresEndpointsEndpoint[]
    id string
    The provider-assigned unique ID for this managed resource.
    parent string
    (string) - The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
    pageSize number
    endpoints Sequence[GetPostgresEndpointsEndpoint]
    id str
    The provider-assigned unique ID for this managed resource.
    parent str
    (string) - The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
    page_size int
    endpoints List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    parent String
    (string) - The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
    pageSize Number

    Supporting Types

    GetPostgresEndpointsEndpoint

    CreateTime string
    (string) - A timestamp indicating when the compute endpoint was created
    Name string
    (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
    Parent string
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    Spec GetPostgresEndpointsEndpointSpec
    (EndpointSpec) - The desired state of an Endpoint
    Status GetPostgresEndpointsEndpointStatus
    (EndpointStatus) - The current status of an Endpoint
    Uid string
    (string) - System generated unique ID for the endpoint
    UpdateTime string
    (string) - A timestamp indicating when the compute endpoint was last updated
    CreateTime string
    (string) - A timestamp indicating when the compute endpoint was created
    Name string
    (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
    Parent string
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    Spec GetPostgresEndpointsEndpointSpec
    (EndpointSpec) - The desired state of an Endpoint
    Status GetPostgresEndpointsEndpointStatus
    (EndpointStatus) - The current status of an Endpoint
    Uid string
    (string) - System generated unique ID for the endpoint
    UpdateTime string
    (string) - A timestamp indicating when the compute endpoint was last updated
    createTime String
    (string) - A timestamp indicating when the compute endpoint was created
    name String
    (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
    parent String
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    spec GetPostgresEndpointsEndpointSpec
    (EndpointSpec) - The desired state of an Endpoint
    status GetPostgresEndpointsEndpointStatus
    (EndpointStatus) - The current status of an Endpoint
    uid String
    (string) - System generated unique ID for the endpoint
    updateTime String
    (string) - A timestamp indicating when the compute endpoint was last updated
    createTime string
    (string) - A timestamp indicating when the compute endpoint was created
    name string
    (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
    parent string
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    spec GetPostgresEndpointsEndpointSpec
    (EndpointSpec) - The desired state of an Endpoint
    status GetPostgresEndpointsEndpointStatus
    (EndpointStatus) - The current status of an Endpoint
    uid string
    (string) - System generated unique ID for the endpoint
    updateTime string
    (string) - A timestamp indicating when the compute endpoint was last updated
    create_time str
    (string) - A timestamp indicating when the compute endpoint was created
    name str
    (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
    parent str
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    spec GetPostgresEndpointsEndpointSpec
    (EndpointSpec) - The desired state of an Endpoint
    status GetPostgresEndpointsEndpointStatus
    (EndpointStatus) - The current status of an Endpoint
    uid str
    (string) - System generated unique ID for the endpoint
    update_time str
    (string) - A timestamp indicating when the compute endpoint was last updated
    createTime String
    (string) - A timestamp indicating when the compute endpoint was created
    name String
    (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
    parent String
    The Branch that owns this collection of endpoints. Format: projects/{project_id}/branches/{branch_id}
    spec Property Map
    (EndpointSpec) - The desired state of an Endpoint
    status Property Map
    (EndpointStatus) - The current status of an Endpoint
    uid String
    (string) - System generated unique ID for the endpoint
    updateTime String
    (string) - A timestamp indicating when the compute endpoint was last updated

    GetPostgresEndpointsEndpointSpec

    EndpointType string
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    AutoscalingLimitMaxCu double
    (number) - The maximum number of Compute Units
    AutoscalingLimitMinCu double
    (number) - The minimum number of Compute Units
    Disabled bool
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    Settings GetPostgresEndpointsEndpointSpecSettings
    (EndpointSettings)
    SuspendTimeoutDuration string
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    EndpointType string
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    AutoscalingLimitMaxCu float64
    (number) - The maximum number of Compute Units
    AutoscalingLimitMinCu float64
    (number) - The minimum number of Compute Units
    Disabled bool
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    Settings GetPostgresEndpointsEndpointSpecSettings
    (EndpointSettings)
    SuspendTimeoutDuration string
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    endpointType String
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    autoscalingLimitMaxCu Double
    (number) - The maximum number of Compute Units
    autoscalingLimitMinCu Double
    (number) - The minimum number of Compute Units
    disabled Boolean
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    settings GetPostgresEndpointsEndpointSpecSettings
    (EndpointSettings)
    suspendTimeoutDuration String
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    endpointType string
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    autoscalingLimitMaxCu number
    (number) - The maximum number of Compute Units
    autoscalingLimitMinCu number
    (number) - The minimum number of Compute Units
    disabled boolean
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    settings GetPostgresEndpointsEndpointSpecSettings
    (EndpointSettings)
    suspendTimeoutDuration string
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    endpoint_type str
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    autoscaling_limit_max_cu float
    (number) - The maximum number of Compute Units
    autoscaling_limit_min_cu float
    (number) - The minimum number of Compute Units
    disabled bool
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    settings GetPostgresEndpointsEndpointSpecSettings
    (EndpointSettings)
    suspend_timeout_duration str
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    endpointType String
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    autoscalingLimitMaxCu Number
    (number) - The maximum number of Compute Units
    autoscalingLimitMinCu Number
    (number) - The minimum number of Compute Units
    disabled Boolean
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    settings Property Map
    (EndpointSettings)
    suspendTimeoutDuration String
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended

    GetPostgresEndpointsEndpointSpecSettings

    PgSettings Dictionary<string, string>
    (object) - A raw representation of Postgres settings
    PgSettings map[string]string
    (object) - A raw representation of Postgres settings
    pgSettings Map<String,String>
    (object) - A raw representation of Postgres settings
    pgSettings {[key: string]: string}
    (object) - A raw representation of Postgres settings
    pg_settings Mapping[str, str]
    (object) - A raw representation of Postgres settings
    pgSettings Map<String>
    (object) - A raw representation of Postgres settings

    GetPostgresEndpointsEndpointStatus

    AutoscalingLimitMaxCu double
    (number) - The maximum number of Compute Units
    AutoscalingLimitMinCu double
    (number) - The minimum number of Compute Units
    CurrentState string
    (string) - Possible values are: ACTIVE, IDLE, INIT
    Disabled bool
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    EndpointType string
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    Host string
    (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
    LastActiveTime string
    (string) - A timestamp indicating when the compute endpoint was last active
    PendingState string
    (string) - Possible values are: ACTIVE, IDLE, INIT
    Settings GetPostgresEndpointsEndpointStatusSettings
    (EndpointSettings)
    StartTime string
    (string) - A timestamp indicating when the compute endpoint was last started
    SuspendTime string
    (string) - A timestamp indicating when the compute endpoint was last suspended
    SuspendTimeoutDuration string
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    AutoscalingLimitMaxCu float64
    (number) - The maximum number of Compute Units
    AutoscalingLimitMinCu float64
    (number) - The minimum number of Compute Units
    CurrentState string
    (string) - Possible values are: ACTIVE, IDLE, INIT
    Disabled bool
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    EndpointType string
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    Host string
    (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
    LastActiveTime string
    (string) - A timestamp indicating when the compute endpoint was last active
    PendingState string
    (string) - Possible values are: ACTIVE, IDLE, INIT
    Settings GetPostgresEndpointsEndpointStatusSettings
    (EndpointSettings)
    StartTime string
    (string) - A timestamp indicating when the compute endpoint was last started
    SuspendTime string
    (string) - A timestamp indicating when the compute endpoint was last suspended
    SuspendTimeoutDuration string
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    autoscalingLimitMaxCu Double
    (number) - The maximum number of Compute Units
    autoscalingLimitMinCu Double
    (number) - The minimum number of Compute Units
    currentState String
    (string) - Possible values are: ACTIVE, IDLE, INIT
    disabled Boolean
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    endpointType String
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    host String
    (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
    lastActiveTime String
    (string) - A timestamp indicating when the compute endpoint was last active
    pendingState String
    (string) - Possible values are: ACTIVE, IDLE, INIT
    settings GetPostgresEndpointsEndpointStatusSettings
    (EndpointSettings)
    startTime String
    (string) - A timestamp indicating when the compute endpoint was last started
    suspendTime String
    (string) - A timestamp indicating when the compute endpoint was last suspended
    suspendTimeoutDuration String
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    autoscalingLimitMaxCu number
    (number) - The maximum number of Compute Units
    autoscalingLimitMinCu number
    (number) - The minimum number of Compute Units
    currentState string
    (string) - Possible values are: ACTIVE, IDLE, INIT
    disabled boolean
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    endpointType string
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    host string
    (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
    lastActiveTime string
    (string) - A timestamp indicating when the compute endpoint was last active
    pendingState string
    (string) - Possible values are: ACTIVE, IDLE, INIT
    settings GetPostgresEndpointsEndpointStatusSettings
    (EndpointSettings)
    startTime string
    (string) - A timestamp indicating when the compute endpoint was last started
    suspendTime string
    (string) - A timestamp indicating when the compute endpoint was last suspended
    suspendTimeoutDuration string
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    autoscaling_limit_max_cu float
    (number) - The maximum number of Compute Units
    autoscaling_limit_min_cu float
    (number) - The minimum number of Compute Units
    current_state str
    (string) - Possible values are: ACTIVE, IDLE, INIT
    disabled bool
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    endpoint_type str
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    host str
    (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
    last_active_time str
    (string) - A timestamp indicating when the compute endpoint was last active
    pending_state str
    (string) - Possible values are: ACTIVE, IDLE, INIT
    settings GetPostgresEndpointsEndpointStatusSettings
    (EndpointSettings)
    start_time str
    (string) - A timestamp indicating when the compute endpoint was last started
    suspend_time str
    (string) - A timestamp indicating when the compute endpoint was last suspended
    suspend_timeout_duration str
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended
    autoscalingLimitMaxCu Number
    (number) - The maximum number of Compute Units
    autoscalingLimitMinCu Number
    (number) - The minimum number of Compute Units
    currentState String
    (string) - Possible values are: ACTIVE, IDLE, INIT
    disabled Boolean
    (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
    endpointType String
    (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are: READ_ONLY, READ_WRITE
    host String
    (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
    lastActiveTime String
    (string) - A timestamp indicating when the compute endpoint was last active
    pendingState String
    (string) - Possible values are: ACTIVE, IDLE, INIT
    settings Property Map
    (EndpointSettings)
    startTime String
    (string) - A timestamp indicating when the compute endpoint was last started
    suspendTime String
    (string) - A timestamp indicating when the compute endpoint was last suspended
    suspendTimeoutDuration String
    (string) - Duration of inactivity after which the compute endpoint is automatically suspended

    GetPostgresEndpointsEndpointStatusSettings

    PgSettings Dictionary<string, string>
    (object) - A raw representation of Postgres settings
    PgSettings map[string]string
    (object) - A raw representation of Postgres settings
    pgSettings Map<String,String>
    (object) - A raw representation of Postgres settings
    pgSettings {[key: string]: string}
    (object) - A raw representation of Postgres settings
    pg_settings Mapping[str, str]
    (object) - A raw representation of Postgres settings
    pgSettings Map<String>
    (object) - A raw representation of Postgres settings

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Databricks v1.82.0 published on Friday, Jan 16, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate