1. Packages
  2. Airbyte Provider
  3. API Docs
  4. getSourcePostgres
airbyte 0.10.0 published on Monday, Apr 14, 2025 by airbytehq

airbyte.getSourcePostgres

Explore with Pulumi AI

SourcePostgres DataSource

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as airbyte from "@pulumi/airbyte";

const mySourcePostgres = airbyte.getSourcePostgres({
    sourceId: "...my_source_id...",
});
Copy
import pulumi
import pulumi_airbyte as airbyte

my_source_postgres = airbyte.get_source_postgres(source_id="...my_source_id...")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/airbyte/airbyte"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := airbyte.LookupSourcePostgres(ctx, &airbyte.LookupSourcePostgresArgs{
			SourceId: "...my_source_id...",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Airbyte = Pulumi.Airbyte;

return await Deployment.RunAsync(() => 
{
    var mySourcePostgres = Airbyte.GetSourcePostgres.Invoke(new()
    {
        SourceId = "...my_source_id...",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.AirbyteFunctions;
import com.pulumi.airbyte.inputs.GetSourcePostgresArgs;
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 mySourcePostgres = AirbyteFunctions.getSourcePostgres(GetSourcePostgresArgs.builder()
            .sourceId("...my_source_id...")
            .build());

    }
}
Copy
variables:
  mySourcePostgres:
    fn::invoke:
      function: airbyte:getSourcePostgres
      arguments:
        sourceId: '...my_source_id...'
Copy

Using getSourcePostgres

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 getSourcePostgres(args: GetSourcePostgresArgs, opts?: InvokeOptions): Promise<GetSourcePostgresResult>
function getSourcePostgresOutput(args: GetSourcePostgresOutputArgs, opts?: InvokeOptions): Output<GetSourcePostgresResult>
Copy
def get_source_postgres(source_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetSourcePostgresResult
def get_source_postgres_output(source_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetSourcePostgresResult]
Copy
func LookupSourcePostgres(ctx *Context, args *LookupSourcePostgresArgs, opts ...InvokeOption) (*LookupSourcePostgresResult, error)
func LookupSourcePostgresOutput(ctx *Context, args *LookupSourcePostgresOutputArgs, opts ...InvokeOption) LookupSourcePostgresResultOutput
Copy

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

public static class GetSourcePostgres 
{
    public static Task<GetSourcePostgresResult> InvokeAsync(GetSourcePostgresArgs args, InvokeOptions? opts = null)
    public static Output<GetSourcePostgresResult> Invoke(GetSourcePostgresInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSourcePostgresResult> getSourcePostgres(GetSourcePostgresArgs args, InvokeOptions options)
public static Output<GetSourcePostgresResult> getSourcePostgres(GetSourcePostgresArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: airbyte:index/getSourcePostgres:getSourcePostgres
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SourceId This property is required. string
SourceId This property is required. string
sourceId This property is required. String
sourceId This property is required. string
source_id This property is required. str
sourceId This property is required. String

getSourcePostgres Result

The following output properties are available:

Configuration string
The values required to configure the source. Parsed as JSON.
CreatedAt double
DefinitionId string
Id string
The provider-assigned unique ID for this managed resource.
Name string
ResourceAllocation GetSourcePostgresResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
SourceId string
SourceType string
WorkspaceId string
Configuration string
The values required to configure the source. Parsed as JSON.
CreatedAt float64
DefinitionId string
Id string
The provider-assigned unique ID for this managed resource.
Name string
ResourceAllocation GetSourcePostgresResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
SourceId string
SourceType string
WorkspaceId string
configuration String
The values required to configure the source. Parsed as JSON.
createdAt Double
definitionId String
id String
The provider-assigned unique ID for this managed resource.
name String
resourceAllocation GetSourcePostgresResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
sourceId String
sourceType String
workspaceId String
configuration string
The values required to configure the source. Parsed as JSON.
createdAt number
definitionId string
id string
The provider-assigned unique ID for this managed resource.
name string
resourceAllocation GetSourcePostgresResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
sourceId string
sourceType string
workspaceId string
configuration str
The values required to configure the source. Parsed as JSON.
created_at float
definition_id str
id str
The provider-assigned unique ID for this managed resource.
name str
resource_allocation GetSourcePostgresResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
source_id str
source_type str
workspace_id str
configuration String
The values required to configure the source. Parsed as JSON.
createdAt Number
definitionId String
id String
The provider-assigned unique ID for this managed resource.
name String
resourceAllocation Property Map
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
sourceId String
sourceType String
workspaceId String

Supporting Types

GetSourcePostgresResourceAllocation

Default This property is required. GetSourcePostgresResourceAllocationDefault
optional resource requirements to run workers (blank for unbounded allocations)
JobSpecifics This property is required. List<GetSourcePostgresResourceAllocationJobSpecific>
Default This property is required. GetSourcePostgresResourceAllocationDefault
optional resource requirements to run workers (blank for unbounded allocations)
JobSpecifics This property is required. []GetSourcePostgresResourceAllocationJobSpecific
default_ This property is required. GetSourcePostgresResourceAllocationDefault
optional resource requirements to run workers (blank for unbounded allocations)
jobSpecifics This property is required. List<GetSourcePostgresResourceAllocationJobSpecific>
default This property is required. GetSourcePostgresResourceAllocationDefault
optional resource requirements to run workers (blank for unbounded allocations)
jobSpecifics This property is required. GetSourcePostgresResourceAllocationJobSpecific[]
default This property is required. GetSourcePostgresResourceAllocationDefault
optional resource requirements to run workers (blank for unbounded allocations)
job_specifics This property is required. Sequence[GetSourcePostgresResourceAllocationJobSpecific]
default This property is required. Property Map
optional resource requirements to run workers (blank for unbounded allocations)
jobSpecifics This property is required. List<Property Map>

GetSourcePostgresResourceAllocationDefault

CpuLimit This property is required. string
CpuRequest This property is required. string
EphemeralStorageLimit This property is required. string
EphemeralStorageRequest This property is required. string
MemoryLimit This property is required. string
MemoryRequest This property is required. string
CpuLimit This property is required. string
CpuRequest This property is required. string
EphemeralStorageLimit This property is required. string
EphemeralStorageRequest This property is required. string
MemoryLimit This property is required. string
MemoryRequest This property is required. string
cpuLimit This property is required. String
cpuRequest This property is required. String
ephemeralStorageLimit This property is required. String
ephemeralStorageRequest This property is required. String
memoryLimit This property is required. String
memoryRequest This property is required. String
cpuLimit This property is required. string
cpuRequest This property is required. string
ephemeralStorageLimit This property is required. string
ephemeralStorageRequest This property is required. string
memoryLimit This property is required. string
memoryRequest This property is required. string
cpu_limit This property is required. str
cpu_request This property is required. str
ephemeral_storage_limit This property is required. str
ephemeral_storage_request This property is required. str
memory_limit This property is required. str
memory_request This property is required. str
cpuLimit This property is required. String
cpuRequest This property is required. String
ephemeralStorageLimit This property is required. String
ephemeralStorageRequest This property is required. String
memoryLimit This property is required. String
memoryRequest This property is required. String

GetSourcePostgresResourceAllocationJobSpecific

JobType This property is required. string
enum that describes the different types of jobs that the platform runs.
ResourceRequirements This property is required. GetSourcePostgresResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
JobType This property is required. string
enum that describes the different types of jobs that the platform runs.
ResourceRequirements This property is required. GetSourcePostgresResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
jobType This property is required. String
enum that describes the different types of jobs that the platform runs.
resourceRequirements This property is required. GetSourcePostgresResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
jobType This property is required. string
enum that describes the different types of jobs that the platform runs.
resourceRequirements This property is required. GetSourcePostgresResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
job_type This property is required. str
enum that describes the different types of jobs that the platform runs.
resource_requirements This property is required. GetSourcePostgresResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
jobType This property is required. String
enum that describes the different types of jobs that the platform runs.
resourceRequirements This property is required. Property Map
optional resource requirements to run workers (blank for unbounded allocations)

GetSourcePostgresResourceAllocationJobSpecificResourceRequirements

CpuLimit This property is required. string
CpuRequest This property is required. string
EphemeralStorageLimit This property is required. string
EphemeralStorageRequest This property is required. string
MemoryLimit This property is required. string
MemoryRequest This property is required. string
CpuLimit This property is required. string
CpuRequest This property is required. string
EphemeralStorageLimit This property is required. string
EphemeralStorageRequest This property is required. string
MemoryLimit This property is required. string
MemoryRequest This property is required. string
cpuLimit This property is required. String
cpuRequest This property is required. String
ephemeralStorageLimit This property is required. String
ephemeralStorageRequest This property is required. String
memoryLimit This property is required. String
memoryRequest This property is required. String
cpuLimit This property is required. string
cpuRequest This property is required. string
ephemeralStorageLimit This property is required. string
ephemeralStorageRequest This property is required. string
memoryLimit This property is required. string
memoryRequest This property is required. string
cpu_limit This property is required. str
cpu_request This property is required. str
ephemeral_storage_limit This property is required. str
ephemeral_storage_request This property is required. str
memory_limit This property is required. str
memory_request This property is required. str
cpuLimit This property is required. String
cpuRequest This property is required. String
ephemeralStorageLimit This property is required. String
ephemeralStorageRequest This property is required. String
memoryLimit This property is required. String
memoryRequest This property is required. String

Package Details

Repository
airbyte airbytehq/terraform-provider-airbyte
License
Notes
This Pulumi package is based on the airbyte Terraform Provider.