Viewing docs for dbt Cloud v1.7.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
Viewing docs for dbt Cloud v1.7.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
Retrieve data for multiple profiles
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dbtcloud from "@pulumi/dbtcloud";
const all = dbtcloud.getProfiles({
projectId: 6789,
});
import pulumi
import pulumi_dbtcloud as dbtcloud
all = dbtcloud.get_profiles(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.GetProfiles(ctx, &dbtcloud.GetProfilesArgs{
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 all = DbtCloud.GetProfiles.Invoke(new()
{
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.GetProfilesArgs;
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 all = DbtcloudFunctions.getProfiles(GetProfilesArgs.builder()
.projectId(6789)
.build());
}
}
variables:
all:
fn::invoke:
function: dbtcloud:getProfiles
arguments:
projectId: 6789
Using getProfiles
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 getProfiles(args: GetProfilesArgs, opts?: InvokeOptions): Promise<GetProfilesResult>
function getProfilesOutput(args: GetProfilesOutputArgs, opts?: InvokeOptions): Output<GetProfilesResult>def get_profiles(project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetProfilesResult
def get_profiles_output(project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProfilesResult]func GetProfiles(ctx *Context, args *GetProfilesArgs, opts ...InvokeOption) (*GetProfilesResult, error)
func GetProfilesOutput(ctx *Context, args *GetProfilesOutputArgs, opts ...InvokeOption) GetProfilesResultOutput> Note: This function is named GetProfiles in the Go SDK.
public static class GetProfiles
{
public static Task<GetProfilesResult> InvokeAsync(GetProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetProfilesResult> Invoke(GetProfilesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProfilesResult> getProfiles(GetProfilesArgs args, InvokeOptions options)
public static Output<GetProfilesResult> getProfiles(GetProfilesArgs args, InvokeOptions options)
fn::invoke:
function: dbtcloud:index/getProfiles:getProfiles
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Id int - The project ID to filter profiles for
- Project
Id int - The project ID to filter profiles for
- project
Id Integer - The project ID to filter profiles for
- project
Id number - The project ID to filter profiles for
- project_
id int - The project ID to filter profiles for
- project
Id Number - The project ID to filter profiles for
getProfiles Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Profiles
List<Pulumi.
Dbt Cloud. Outputs. Get Profiles Profile> - The list of profiles
- Project
Id int - The project ID to filter profiles for
- Id string
- The provider-assigned unique ID for this managed resource.
- Profiles
[]Get
Profiles Profile - The list of profiles
- Project
Id int - The project ID to filter profiles for
- id String
- The provider-assigned unique ID for this managed resource.
- profiles
List<Get
Profiles Profile> - The list of profiles
- project
Id Integer - The project ID to filter profiles for
- id string
- The provider-assigned unique ID for this managed resource.
- profiles
Get
Profiles Profile[] - The list of profiles
- project
Id number - The project ID to filter profiles for
- id str
- The provider-assigned unique ID for this managed resource.
- profiles
Sequence[Get
Profiles Profile] - The list of profiles
- project_
id int - The project ID to filter profiles for
- id String
- The provider-assigned unique ID for this managed resource.
- profiles List<Property Map>
- The list of profiles
- project
Id Number - The project ID to filter profiles for
Supporting Types
GetProfilesProfile
- 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.7.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
