dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi
dbtcloud.getPostgresCredential
Explore with Pulumi AI
Using getPostgresCredential
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 getPostgresCredential(args: GetPostgresCredentialArgs, opts?: InvokeOptions): Promise<GetPostgresCredentialResult>
function getPostgresCredentialOutput(args: GetPostgresCredentialOutputArgs, opts?: InvokeOptions): Output<GetPostgresCredentialResult>def get_postgres_credential(credential_id: Optional[int] = None,
                            project_id: Optional[int] = None,
                            opts: Optional[InvokeOptions] = None) -> GetPostgresCredentialResult
def get_postgres_credential_output(credential_id: Optional[pulumi.Input[int]] = None,
                            project_id: Optional[pulumi.Input[int]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetPostgresCredentialResult]func LookupPostgresCredential(ctx *Context, args *LookupPostgresCredentialArgs, opts ...InvokeOption) (*LookupPostgresCredentialResult, error)
func LookupPostgresCredentialOutput(ctx *Context, args *LookupPostgresCredentialOutputArgs, opts ...InvokeOption) LookupPostgresCredentialResultOutput> Note: This function is named LookupPostgresCredential in the Go SDK.
public static class GetPostgresCredential 
{
    public static Task<GetPostgresCredentialResult> InvokeAsync(GetPostgresCredentialArgs args, InvokeOptions? opts = null)
    public static Output<GetPostgresCredentialResult> Invoke(GetPostgresCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPostgresCredentialResult> getPostgresCredential(GetPostgresCredentialArgs args, InvokeOptions options)
public static Output<GetPostgresCredentialResult> getPostgresCredential(GetPostgresCredentialArgs args, InvokeOptions options)
fn::invoke:
  function: dbtcloud:index/getPostgresCredential:getPostgresCredential
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CredentialId int
- Credential ID
- ProjectId int
- Project ID
- CredentialId int
- Credential ID
- ProjectId int
- Project ID
- credentialId Integer
- Credential ID
- projectId Integer
- Project ID
- credentialId number
- Credential ID
- projectId number
- Project ID
- credential_id int
- Credential ID
- project_id int
- Project ID
- credentialId Number
- Credential ID
- projectId Number
- Project ID
getPostgresCredential Result
The following output properties are available:
- CredentialId int
- Credential ID
- DefaultSchema string
- Default schema name
- Id string
- The provider-assigned unique ID for this managed resource.
- IsActive bool
- Whether the Postgres credential is active
- NumThreads int
- Number of threads to use
- ProjectId int
- Project ID
- Username string
- Username for Postgres
- CredentialId int
- Credential ID
- DefaultSchema string
- Default schema name
- Id string
- The provider-assigned unique ID for this managed resource.
- IsActive bool
- Whether the Postgres credential is active
- NumThreads int
- Number of threads to use
- ProjectId int
- Project ID
- Username string
- Username for Postgres
- credentialId Integer
- Credential ID
- defaultSchema String
- Default schema name
- id String
- The provider-assigned unique ID for this managed resource.
- isActive Boolean
- Whether the Postgres credential is active
- numThreads Integer
- Number of threads to use
- projectId Integer
- Project ID
- username String
- Username for Postgres
- credentialId number
- Credential ID
- defaultSchema string
- Default schema name
- id string
- The provider-assigned unique ID for this managed resource.
- isActive boolean
- Whether the Postgres credential is active
- numThreads number
- Number of threads to use
- projectId number
- Project ID
- username string
- Username for Postgres
- credential_id int
- Credential ID
- default_schema str
- Default schema name
- id str
- The provider-assigned unique ID for this managed resource.
- is_active bool
- Whether the Postgres credential is active
- num_threads int
- Number of threads to use
- project_id int
- Project ID
- username str
- Username for Postgres
- credentialId Number
- Credential ID
- defaultSchema String
- Default schema name
- id String
- The provider-assigned unique ID for this managed resource.
- isActive Boolean
- Whether the Postgres credential is active
- numThreads Number
- Number of threads to use
- projectId Number
- Project ID
- username String
- Username for Postgres
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the dbtcloudTerraform Provider.
