1. Packages
  2. dbt Cloud Provider
  3. API Docs
  4. getRedshiftCredential
dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi

dbtcloud.getRedshiftCredential

Explore with Pulumi AI

dbtcloud logo
dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi

    Redshift credential data source

    Using getRedshiftCredential

    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 getRedshiftCredential(args: GetRedshiftCredentialArgs, opts?: InvokeOptions): Promise<GetRedshiftCredentialResult>
    function getRedshiftCredentialOutput(args: GetRedshiftCredentialOutputArgs, opts?: InvokeOptions): Output<GetRedshiftCredentialResult>
    def get_redshift_credential(credential_id: Optional[int] = None,
                                default_schema: Optional[str] = None,
                                project_id: Optional[int] = None,
                                opts: Optional[InvokeOptions] = None) -> GetRedshiftCredentialResult
    def get_redshift_credential_output(credential_id: Optional[pulumi.Input[int]] = None,
                                default_schema: Optional[pulumi.Input[str]] = None,
                                project_id: Optional[pulumi.Input[int]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetRedshiftCredentialResult]
    func LookupRedshiftCredential(ctx *Context, args *LookupRedshiftCredentialArgs, opts ...InvokeOption) (*LookupRedshiftCredentialResult, error)
    func LookupRedshiftCredentialOutput(ctx *Context, args *LookupRedshiftCredentialOutputArgs, opts ...InvokeOption) LookupRedshiftCredentialResultOutput

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

    public static class GetRedshiftCredential 
    {
        public static Task<GetRedshiftCredentialResult> InvokeAsync(GetRedshiftCredentialArgs args, InvokeOptions? opts = null)
        public static Output<GetRedshiftCredentialResult> Invoke(GetRedshiftCredentialInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRedshiftCredentialResult> getRedshiftCredential(GetRedshiftCredentialArgs args, InvokeOptions options)
    public static Output<GetRedshiftCredentialResult> getRedshiftCredential(GetRedshiftCredentialArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dbtcloud:index/getRedshiftCredential:getRedshiftCredential
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CredentialId int
    Credential ID
    DefaultSchema string
    Default schema name
    ProjectId int
    Project ID
    CredentialId int
    Credential ID
    DefaultSchema string
    Default schema name
    ProjectId int
    Project ID
    credentialId Integer
    Credential ID
    defaultSchema String
    Default schema name
    projectId Integer
    Project ID
    credentialId number
    Credential ID
    defaultSchema string
    Default schema name
    projectId number
    Project ID
    credential_id int
    Credential ID
    default_schema str
    Default schema name
    project_id int
    Project ID
    credentialId Number
    Credential ID
    defaultSchema String
    Default schema name
    projectId Number
    Project ID

    getRedshiftCredential Result

    The following output properties are available:

    CredentialId int
    Credential ID
    DefaultSchema string
    Default schema name
    Id string
    The ID of this data source. Contains the project ID and the credential ID.
    IsActive bool
    Whether the Redshift credential is active
    NumThreads int
    Number of threads to use
    ProjectId int
    Project ID
    CredentialId int
    Credential ID
    DefaultSchema string
    Default schema name
    Id string
    The ID of this data source. Contains the project ID and the credential ID.
    IsActive bool
    Whether the Redshift credential is active
    NumThreads int
    Number of threads to use
    ProjectId int
    Project ID
    credentialId Integer
    Credential ID
    defaultSchema String
    Default schema name
    id String
    The ID of this data source. Contains the project ID and the credential ID.
    isActive Boolean
    Whether the Redshift credential is active
    numThreads Integer
    Number of threads to use
    projectId Integer
    Project ID
    credentialId number
    Credential ID
    defaultSchema string
    Default schema name
    id string
    The ID of this data source. Contains the project ID and the credential ID.
    isActive boolean
    Whether the Redshift credential is active
    numThreads number
    Number of threads to use
    projectId number
    Project ID
    credential_id int
    Credential ID
    default_schema str
    Default schema name
    id str
    The ID of this data source. Contains the project ID and the credential ID.
    is_active bool
    Whether the Redshift credential is active
    num_threads int
    Number of threads to use
    project_id int
    Project ID
    credentialId Number
    Credential ID
    defaultSchema String
    Default schema name
    id String
    The ID of this data source. Contains the project ID and the credential ID.
    isActive Boolean
    Whether the Redshift credential is active
    numThreads Number
    Number of threads to use
    projectId Number
    Project ID

    Package Details

    Repository
    dbtcloud pulumi/pulumi-dbtcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dbtcloud Terraform Provider.
    dbtcloud logo
    dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi