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

dbtcloud.getDatabricksCredential

Explore with Pulumi AI

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

    Databricks credential data source

    Using getDatabricksCredential

    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 getDatabricksCredential(args: GetDatabricksCredentialArgs, opts?: InvokeOptions): Promise<GetDatabricksCredentialResult>
    function getDatabricksCredentialOutput(args: GetDatabricksCredentialOutputArgs, opts?: InvokeOptions): Output<GetDatabricksCredentialResult>
    def get_databricks_credential(credential_id: Optional[int] = None,
                                  project_id: Optional[int] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetDatabricksCredentialResult
    def get_databricks_credential_output(credential_id: Optional[pulumi.Input[int]] = None,
                                  project_id: Optional[pulumi.Input[int]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetDatabricksCredentialResult]
    func LookupDatabricksCredential(ctx *Context, args *LookupDatabricksCredentialArgs, opts ...InvokeOption) (*LookupDatabricksCredentialResult, error)
    func LookupDatabricksCredentialOutput(ctx *Context, args *LookupDatabricksCredentialOutputArgs, opts ...InvokeOption) LookupDatabricksCredentialResultOutput

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

    public static class GetDatabricksCredential 
    {
        public static Task<GetDatabricksCredentialResult> InvokeAsync(GetDatabricksCredentialArgs args, InvokeOptions? opts = null)
        public static Output<GetDatabricksCredentialResult> Invoke(GetDatabricksCredentialInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatabricksCredentialResult> getDatabricksCredential(GetDatabricksCredentialArgs args, InvokeOptions options)
    public static Output<GetDatabricksCredentialResult> getDatabricksCredential(GetDatabricksCredentialArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dbtcloud:index/getDatabricksCredential:getDatabricksCredential
      arguments:
        # arguments dictionary

    The 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

    getDatabricksCredential Result

    The following output properties are available:

    AdapterType string
    The type of the adapter (databricks or spark)
    Catalog string
    The catalog where to create models
    CredentialId int
    Credential ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    NumThreads int
    The number of threads to use
    ProjectId int
    Project ID
    Schema string
    The schema where to create models
    TargetName string
    Target name
    AdapterType string
    The type of the adapter (databricks or spark)
    Catalog string
    The catalog where to create models
    CredentialId int
    Credential ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    NumThreads int
    The number of threads to use
    ProjectId int
    Project ID
    Schema string
    The schema where to create models
    TargetName string
    Target name
    adapterType String
    The type of the adapter (databricks or spark)
    catalog String
    The catalog where to create models
    credentialId Integer
    Credential ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    numThreads Integer
    The number of threads to use
    projectId Integer
    Project ID
    schema String
    The schema where to create models
    targetName String
    Target name
    adapterType string
    The type of the adapter (databricks or spark)
    catalog string
    The catalog where to create models
    credentialId number
    Credential ID
    id string
    The ID of this resource. Contains the project ID and the credential ID.
    numThreads number
    The number of threads to use
    projectId number
    Project ID
    schema string
    The schema where to create models
    targetName string
    Target name
    adapter_type str
    The type of the adapter (databricks or spark)
    catalog str
    The catalog where to create models
    credential_id int
    Credential ID
    id str
    The ID of this resource. Contains the project ID and the credential ID.
    num_threads int
    The number of threads to use
    project_id int
    Project ID
    schema str
    The schema where to create models
    target_name str
    Target name
    adapterType String
    The type of the adapter (databricks or spark)
    catalog String
    The catalog where to create models
    credentialId Number
    Credential ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    numThreads Number
    The number of threads to use
    projectId Number
    Project ID
    schema String
    The schema where to create models
    targetName String
    Target name

    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