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 dictionary
The following arguments are supported:
- Name
Contains string - Used to filter projects by name, Optional
- Name
Contains string - Used to filter projects by name, Optional
- name
Contains String - Used to filter projects by name, Optional
- name
Contains string - Used to filter projects by name, Optional
- name_
contains str - Used to filter projects by name, Optional
- name
Contains 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.
- Name
Contains 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.
- Name
Contains string - Used to filter projects by name, Optional
- Projects
[]Get
Projects Project - Set of projects with their details
- id String
- The provider-assigned unique ID for this managed resource.
- name
Contains String - Used to filter projects by name, Optional
- projects
List<Get
Projects Project> - Set of projects with their details
- id string
- The provider-assigned unique ID for this managed resource.
- name
Contains string - Used to filter projects by name, Optional
- projects
Get
Projects 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[Get
Projects Project] - Set of projects with their details
- id String
- The provider-assigned unique ID for this managed resource.
- name
Contains String - Used to filter projects by name, Optional
- projects List<Property Map>
- Set of projects with their details
Supporting Types
GetProjectsProject
- Connection
This property is required. Pulumi.Dbt Cloud. Inputs. Get Projects Project Connection - Details for the connection linked to the project
- Created
At This property is required. string - When the project was created
- Dbt
Project Subdirectory This property is required. string - Subdirectory for the dbt project inside the git repo
- Description
This property is required. string - Project description
- Id
This property is required. int - Project ID
- Name
This property is required. string - Project name
- Repository
This property is required. Pulumi.Dbt Cloud. Inputs. Get Projects Project Repository - Details for the repository linked to the project
- Semantic
Layer Config Id This property is required. int - Semantic layer config ID
- Updated
At This property is required. string - When the project was last updated
- Connection
This property is required. GetProjects Project Connection - Details for the connection linked to the project
- Created
At This property is required. string - When the project was created
- Dbt
Project Subdirectory This property is required. string - Subdirectory for the dbt project inside the git repo
- Description
This property is required. string - Project description
- Id
This property is required. int - Project ID
- Name
This property is required. string - Project name
- Repository
This property is required. GetProjects Project Repository - Details for the repository linked to the project
- Semantic
Layer Config Id This property is required. int - Semantic layer config ID
- Updated
At This property is required. string - When the project was last updated
- connection
This property is required. GetProjects Project Connection - Details for the connection linked to the project
- created
At This property is required. String - When the project was created
- dbt
Project Subdirectory This property is required. String - Subdirectory for the dbt project inside the git repo
- description
This property is required. String - Project description
- id
This property is required. Integer - Project ID
- name
This property is required. String - Project name
- repository
This property is required. GetProjects Project Repository - Details for the repository linked to the project
- semantic
Layer Config Id This property is required. Integer - Semantic layer config ID
- updated
At This property is required. String - When the project was last updated
- connection
This property is required. GetProjects Project Connection - Details for the connection linked to the project
- created
At This property is required. string - When the project was created
- dbt
Project Subdirectory This property is required. string - Subdirectory for the dbt project inside the git repo
- description
This property is required. string - Project description
- id
This property is required. number - Project ID
- name
This property is required. string - Project name
- repository
This property is required. GetProjects Project Repository - Details for the repository linked to the project
- semantic
Layer Config Id This property is required. number - Semantic layer config ID
- updated
At This property is required. string - When the project was last updated
- connection
This property is required. GetProjects Project Connection - Details for the connection linked to the project
- created_
at This property is required. str - When the project was created
- dbt_
project_ subdirectory This property is required. str - Subdirectory for the dbt project inside the git repo
- description
This property is required. str - Project description
- id
This property is required. int - Project ID
- name
This property is required. str - Project name
- repository
This property is required. GetProjects Project Repository - Details for the repository linked to the project
- semantic_
layer_ config_ id This property is required. int - Semantic layer config ID
- updated_
at This property is required. str - When the project was last updated
- connection
This property is required. Property Map - Details for the connection linked to the project
- created
At This property is required. String - When the project was created
- dbt
Project Subdirectory This property is required. String - Subdirectory for the dbt project inside the git repo
- description
This property is required. String - Project description
- id
This property is required. Number - Project ID
- name
This property is required. String - Project name
- repository
This property is required. Property Map - Details for the repository linked to the project
- semantic
Layer Config Id This property is required. Number - Semantic layer config ID
- updated
At This property is required. String - When the project was last updated
GetProjectsProjectConnection
- Adapter
Version This property is required. string - Version of the adapter for the connection. Will tell what connection type it is
- Id
This property is required. int - Connection ID
- Name
This property is required. string - Connection name
- Adapter
Version This property is required. string - Version of the adapter for the connection. Will tell what connection type it is
- Id
This property is required. int - Connection ID
- Name
This property is required. string - Connection name
- adapter
Version This property is required. String - Version of the adapter for the connection. Will tell what connection type it is
- id
This property is required. Integer - Connection ID
- name
This property is required. String - Connection name
- adapter
Version This property is required. string - Version of the adapter for the connection. Will tell what connection type it is
- id
This property is required. number - Connection ID
- name
This property is required. string - Connection name
- adapter_
version This property is required. str - Version of the adapter for the connection. Will tell what connection type it is
- id
This property is required. int - Connection ID
- name
This property is required. str - Connection name
- adapter
Version This property is required. String - Version of the adapter for the connection. Will tell what connection type it is
- id
This property is required. Number - Connection ID
- name
This property is required. String - Connection name
GetProjectsProjectRepository
- Id
This property is required. int - Repository ID
- Pull
Request Url Template This property is required. string - URL template for PRs
- Remote
Url This property is required. string - URL of the git repo remote
- Id
This property is required. int - Repository ID
- Pull
Request Url Template This property is required. string - URL template for PRs
- Remote
Url This property is required. string - URL of the git repo remote
- id
This property is required. Integer - Repository ID
- pull
Request Url Template This property is required. String - URL template for PRs
- remote
Url This property is required. String - URL of the git repo remote
- id
This property is required. number - Repository ID
- pull
Request Url Template This property is required. string - URL template for PRs
- remote
Url This property is required. string - URL of the git repo remote
- id
This property is required. int - Repository ID
- pull_
request_ url_ template This property is required. str - URL template for PRs
- remote_
url This property is required. str - URL of the git repo remote
- id
This property is required. Number - Repository ID
- pull
Request Url Template This property is required. String - URL template for PRs
- remote
Url This property is required. 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
dbtcloud
Terraform Provider.