Viewing docs for dbt Cloud v1.6.1
published on Thursday, Feb 26, 2026 by Pulumi
published on Thursday, Feb 26, 2026 by Pulumi
Viewing docs for dbt Cloud v1.6.1
published on Thursday, Feb 26, 2026 by Pulumi
published on Thursday, Feb 26, 2026 by Pulumi
Retrieve data for a single profile
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dbtcloud from "@pulumi/dbtcloud";
const myProfile = dbtcloud.getProfile({
profileId: 12345,
projectId: 6789,
});
import pulumi
import pulumi_dbtcloud as dbtcloud
my_profile = dbtcloud.get_profile(profile_id=12345,
project_id=6789)
package main
import (
"github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbtcloud.LookupProfile(ctx, &dbtcloud.LookupProfileArgs{
ProfileId: 12345,
ProjectId: 6789,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DbtCloud = Pulumi.DbtCloud;
return await Deployment.RunAsync(() =>
{
var myProfile = DbtCloud.GetProfile.Invoke(new()
{
ProfileId = 12345,
ProjectId = 6789,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dbtcloud.DbtcloudFunctions;
import com.pulumi.dbtcloud.inputs.GetProfileArgs;
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 myProfile = DbtcloudFunctions.getProfile(GetProfileArgs.builder()
.profileId(12345)
.projectId(6789)
.build());
}
}
variables:
myProfile:
fn::invoke:
function: dbtcloud:getProfile
arguments:
profileId: 12345
projectId: 6789
Using getProfile
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 getProfile(args: GetProfileArgs, opts?: InvokeOptions): Promise<GetProfileResult>
function getProfileOutput(args: GetProfileOutputArgs, opts?: InvokeOptions): Output<GetProfileResult>def get_profile(profile_id: Optional[int] = None,
project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetProfileResult
def get_profile_output(profile_id: Optional[pulumi.Input[int]] = None,
project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProfileResult]func LookupProfile(ctx *Context, args *LookupProfileArgs, opts ...InvokeOption) (*LookupProfileResult, error)
func LookupProfileOutput(ctx *Context, args *LookupProfileOutputArgs, opts ...InvokeOption) LookupProfileResultOutput> Note: This function is named LookupProfile in the Go SDK.
public static class GetProfile
{
public static Task<GetProfileResult> InvokeAsync(GetProfileArgs args, InvokeOptions? opts = null)
public static Output<GetProfileResult> Invoke(GetProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
public static Output<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
fn::invoke:
function: dbtcloud:index/getProfile:getProfile
arguments:
# arguments dictionaryThe following arguments are supported:
- profile_
id int - The ID of the profile
- project_
id int - The project ID to which the profile belongs
getProfile Result
The following output properties are available:
- Connection
Id int - The ID of the connection used by this profile
- Credentials
Id int - The ID of the credentials used by this profile
- Extended
Attributes intId - The ID of the extended attributes for this profile
- Id string
- The ID of this resource. Contains the project ID and the profile ID.
- Key string
- Unique identifier for the profile
- Profile
Id int - The ID of the profile
- Project
Id int - The project ID to which the profile belongs
- Connection
Id int - The ID of the connection used by this profile
- Credentials
Id int - The ID of the credentials used by this profile
- Extended
Attributes intId - The ID of the extended attributes for this profile
- Id string
- The ID of this resource. Contains the project ID and the profile ID.
- Key string
- Unique identifier for the profile
- Profile
Id int - The ID of the profile
- Project
Id int - The project ID to which the profile belongs
- connection
Id Integer - The ID of the connection used by this profile
- credentials
Id Integer - The ID of the credentials used by this profile
- extended
Attributes IntegerId - The ID of the extended attributes for this profile
- id String
- The ID of this resource. Contains the project ID and the profile ID.
- key String
- Unique identifier for the profile
- profile
Id Integer - The ID of the profile
- project
Id Integer - The project ID to which the profile belongs
- connection
Id number - The ID of the connection used by this profile
- credentials
Id number - The ID of the credentials used by this profile
- extended
Attributes numberId - The ID of the extended attributes for this profile
- id string
- The ID of this resource. Contains the project ID and the profile ID.
- key string
- Unique identifier for the profile
- profile
Id number - The ID of the profile
- project
Id number - The project ID to which the profile belongs
- connection_
id int - The ID of the connection used by this profile
- credentials_
id int - The ID of the credentials used by this profile
- extended_
attributes_ intid - The ID of the extended attributes for this profile
- id str
- The ID of this resource. Contains the project ID and the profile ID.
- key str
- Unique identifier for the profile
- profile_
id int - The ID of the profile
- project_
id int - The project ID to which the profile belongs
- connection
Id Number - The ID of the connection used by this profile
- credentials
Id Number - The ID of the credentials used by this profile
- extended
Attributes NumberId - The ID of the extended attributes for this profile
- id String
- The ID of this resource. Contains the project ID and the profile ID.
- key String
- Unique identifier for the profile
- profile
Id Number - The ID of the profile
- project
Id Number - The project ID to which the profile belongs
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloudTerraform Provider.
Viewing docs for dbt Cloud v1.6.1
published on Thursday, Feb 26, 2026 by Pulumi
published on Thursday, Feb 26, 2026 by Pulumi
