dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi
dbtcloud.getProjects
Explore with Pulumi AI
Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
Using getProjects
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 getProjects(args: GetProjectsArgs, opts?: InvokeOptions): Promise<GetProjectsResult>
function getProjectsOutput(args: GetProjectsOutputArgs, opts?: InvokeOptions): Output<GetProjectsResult>def get_projects(name_contains: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetProjectsResult
def get_projects_output(name_contains: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetProjectsResult]func GetProjects(ctx *Context, args *GetProjectsArgs, opts ...InvokeOption) (*GetProjectsResult, error)
func GetProjectsOutput(ctx *Context, args *GetProjectsOutputArgs, opts ...InvokeOption) GetProjectsResultOutput> Note: This function is named GetProjects in the Go SDK.
public static class GetProjects 
{
    public static Task<GetProjectsResult> InvokeAsync(GetProjectsArgs args, InvokeOptions? opts = null)
    public static Output<GetProjectsResult> Invoke(GetProjectsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
public static Output<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
fn::invoke:
  function: dbtcloud:index/getProjects:getProjects
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NameContains string
- Used to filter projects by name, Optional
- NameContains string
- Used to filter projects by name, Optional
- nameContains String
- Used to filter projects by name, Optional
- nameContains string
- Used to filter projects by name, Optional
- name_contains str
- Used to filter projects by name, Optional
- nameContains String
- Used to filter projects by name, Optional
getProjects Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- NameContains string
- Used to filter projects by name, Optional
- Projects
List<Pulumi.Dbt Cloud. Outputs. Get Projects Project> 
- Set of projects with their details
- Id string
- The provider-assigned unique ID for this managed resource.
- NameContains string
- Used to filter projects by name, Optional
- Projects
[]GetProjects Project 
- Set of projects with their details
- id String
- The provider-assigned unique ID for this managed resource.
- nameContains String
- Used to filter projects by name, Optional
- projects
List<GetProjects Project> 
- Set of projects with their details
- id string
- The provider-assigned unique ID for this managed resource.
- nameContains string
- Used to filter projects by name, Optional
- projects
GetProjects Project[] 
- Set of projects with their details
- id str
- The provider-assigned unique ID for this managed resource.
- name_contains str
- Used to filter projects by name, Optional
- projects
Sequence[GetProjects Project] 
- Set of projects with their details
- id String
- The provider-assigned unique ID for this managed resource.
- nameContains String
- Used to filter projects by name, Optional
- projects List<Property Map>
- Set of projects with their details
Supporting Types
GetProjectsProject  
- Connection
Pulumi.Dbt Cloud. Inputs. Get Projects Project Connection 
- Details for the connection linked to the project
- CreatedAt string
- When the project was created
- DbtProject stringSubdirectory 
- Subdirectory for the dbt project inside the git repo
- Description string
- Project description
- Id int
- Project ID
- Name string
- Project name
- Repository
Pulumi.Dbt Cloud. Inputs. Get Projects Project Repository 
- Details for the repository linked to the project
- SemanticLayer intConfig Id 
- Semantic layer config ID
- UpdatedAt string
- When the project was last updated
- Connection
GetProjects Project Connection 
- Details for the connection linked to the project
- CreatedAt string
- When the project was created
- DbtProject stringSubdirectory 
- Subdirectory for the dbt project inside the git repo
- Description string
- Project description
- Id int
- Project ID
- Name string
- Project name
- Repository
GetProjects Project Repository 
- Details for the repository linked to the project
- SemanticLayer intConfig Id 
- Semantic layer config ID
- UpdatedAt string
- When the project was last updated
- connection
GetProjects Project Connection 
- Details for the connection linked to the project
- createdAt String
- When the project was created
- dbtProject StringSubdirectory 
- Subdirectory for the dbt project inside the git repo
- description String
- Project description
- id Integer
- Project ID
- name String
- Project name
- repository
GetProjects Project Repository 
- Details for the repository linked to the project
- semanticLayer IntegerConfig Id 
- Semantic layer config ID
- updatedAt String
- When the project was last updated
- connection
GetProjects Project Connection 
- Details for the connection linked to the project
- createdAt string
- When the project was created
- dbtProject stringSubdirectory 
- Subdirectory for the dbt project inside the git repo
- description string
- Project description
- id number
- Project ID
- name string
- Project name
- repository
GetProjects Project Repository 
- Details for the repository linked to the project
- semanticLayer numberConfig Id 
- Semantic layer config ID
- updatedAt string
- When the project was last updated
- connection
GetProjects Project Connection 
- Details for the connection linked to the project
- created_at str
- When the project was created
- dbt_project_ strsubdirectory 
- Subdirectory for the dbt project inside the git repo
- description str
- Project description
- id int
- Project ID
- name str
- Project name
- repository
GetProjects Project Repository 
- Details for the repository linked to the project
- semantic_layer_ intconfig_ id 
- Semantic layer config ID
- updated_at str
- When the project was last updated
- connection Property Map
- Details for the connection linked to the project
- createdAt String
- When the project was created
- dbtProject StringSubdirectory 
- Subdirectory for the dbt project inside the git repo
- description String
- Project description
- id Number
- Project ID
- name String
- Project name
- repository Property Map
- Details for the repository linked to the project
- semanticLayer NumberConfig Id 
- Semantic layer config ID
- updatedAt String
- When the project was last updated
GetProjectsProjectConnection   
- AdapterVersion string
- Version of the adapter for the connection. Will tell what connection type it is
- Id int
- Connection ID
- Name string
- Connection name
- AdapterVersion string
- Version of the adapter for the connection. Will tell what connection type it is
- Id int
- Connection ID
- Name string
- Connection name
- adapterVersion String
- Version of the adapter for the connection. Will tell what connection type it is
- id Integer
- Connection ID
- name String
- Connection name
- adapterVersion string
- Version of the adapter for the connection. Will tell what connection type it is
- id number
- Connection ID
- name string
- Connection name
- adapter_version str
- Version of the adapter for the connection. Will tell what connection type it is
- id int
- Connection ID
- name str
- Connection name
- adapterVersion String
- Version of the adapter for the connection. Will tell what connection type it is
- id Number
- Connection ID
- name String
- Connection name
GetProjectsProjectRepository   
- Id int
- Repository ID
- PullRequest stringUrl Template 
- URL template for PRs
- RemoteUrl string
- URL of the git repo remote
- Id int
- Repository ID
- PullRequest stringUrl Template 
- URL template for PRs
- RemoteUrl string
- URL of the git repo remote
- id Integer
- Repository ID
- pullRequest StringUrl Template 
- URL template for PRs
- remoteUrl String
- URL of the git repo remote
- id number
- Repository ID
- pullRequest stringUrl Template 
- URL template for PRs
- remoteUrl string
- URL of the git repo remote
- id int
- Repository ID
- pull_request_ strurl_ template 
- URL template for PRs
- remote_url str
- URL of the git repo remote
- id Number
- Repository ID
- pullRequest StringUrl Template 
- URL template for PRs
- remoteUrl String
- URL of the git repo remote
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the dbtcloudTerraform Provider.
