dbt Cloud v0.1.25 published on Friday, Nov 8, 2024 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)
// Output-based functions aren't available in Java yet
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
Pulumi.
Dbt Cloud. Inputs. Get Projects Project Connection - Details for the connection linked to the project
- Created
At string - When the project was created
- Dbt
Project 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
- Semantic
Layer intConfig Id - Semantic layer config ID
- Updated
At string - When the project was last updated
- Connection
Get
Projects Project Connection - Details for the connection linked to the project
- Created
At string - When the project was created
- Dbt
Project stringSubdirectory - Subdirectory for the dbt project inside the git repo
- Description string
- Project description
- Id int
- Project ID
- Name string
- Project name
- Repository
Get
Projects Project Repository - Details for the repository linked to the project
- Semantic
Layer intConfig Id - Semantic layer config ID
- Updated
At string - When the project was last updated
- connection
Get
Projects Project Connection - Details for the connection linked to the project
- created
At String - When the project was created
- dbt
Project StringSubdirectory - Subdirectory for the dbt project inside the git repo
- description String
- Project description
- id Integer
- Project ID
- name String
- Project name
- repository
Get
Projects Project Repository - Details for the repository linked to the project
- semantic
Layer IntegerConfig Id - Semantic layer config ID
- updated
At String - When the project was last updated
- connection
Get
Projects Project Connection - Details for the connection linked to the project
- created
At string - When the project was created
- dbt
Project stringSubdirectory - Subdirectory for the dbt project inside the git repo
- description string
- Project description
- id number
- Project ID
- name string
- Project name
- repository
Get
Projects Project Repository - Details for the repository linked to the project
- semantic
Layer numberConfig Id - Semantic layer config ID
- updated
At string - When the project was last updated
- connection
Get
Projects 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
Get
Projects 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
- created
At String - When the project was created
- dbt
Project 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
- semantic
Layer NumberConfig Id - Semantic layer config ID
- updated
At String - When the project was last updated
GetProjectsProjectConnection
- Adapter
Version string - Version of the adapter for the connection. Will tell what connection type it is
- Id int
- Connection ID
- Name string
- Connection name
- Adapter
Version string - Version of the adapter for the connection. Will tell what connection type it is
- Id int
- Connection ID
- Name string
- Connection name
- adapter
Version String - Version of the adapter for the connection. Will tell what connection type it is
- id Integer
- Connection ID
- name String
- Connection name
- adapter
Version 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
- adapter
Version 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
- Pull
Request stringUrl Template - URL template for PRs
- Remote
Url string - URL of the git repo remote
- Id int
- Repository ID
- Pull
Request stringUrl Template - URL template for PRs
- Remote
Url string - URL of the git repo remote
- id Integer
- Repository ID
- pull
Request StringUrl Template - URL template for PRs
- remote
Url String - URL of the git repo remote
- id number
- Repository ID
- pull
Request stringUrl Template - URL template for PRs
- remote
Url 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
- pull
Request StringUrl Template - URL template for PRs
- remote
Url 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.