dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi
dbtcloud.getRedshiftCredential
Explore with Pulumi AI
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:
- Credential
Id int - Credential ID
- Default
Schema string - Default schema name
- Project
Id int - Project ID
- Credential
Id int - Credential ID
- Default
Schema string - Default schema name
- Project
Id int - Project ID
- credential
Id Integer - Credential ID
- default
Schema String - Default schema name
- project
Id Integer - Project ID
- credential
Id number - Credential ID
- default
Schema string - Default schema name
- project
Id number - Project ID
- credential_
id int - Credential ID
- default_
schema str - Default schema name
- project_
id int - Project ID
- credential
Id Number - Credential ID
- default
Schema String - Default schema name
- project
Id Number - Project ID
getRedshiftCredential Result
The following output properties are available:
- Credential
Id int - Credential ID
- Default
Schema string - Default schema name
- Id string
- 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
- Credential
Id int - Credential ID
- Default
Schema string - Default schema name
- Id string
- 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
- credential
Id Integer - Credential ID
- default
Schema String - Default schema name
- id String
- The ID of this data source. Contains the project ID and the credential ID.
- is
Active Boolean - Whether the Redshift credential is active
- num
Threads Integer - Number of threads to use
- project
Id Integer - Project ID
- credential
Id number - Credential ID
- default
Schema string - Default schema name
- id string
- The ID of this data source. Contains the project ID and the credential ID.
- is
Active boolean - Whether the Redshift credential is active
- num
Threads number - Number of threads to use
- project
Id 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
- credential
Id Number - Credential ID
- default
Schema String - Default schema name
- id String
- The ID of this data source. Contains the project ID and the credential ID.
- is
Active Boolean - Whether the Redshift credential is active
- num
Threads Number - Number of threads to use
- project
Id 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.