1. Packages
  2. Dbtcloud Provider
  3. API Docs
  4. getProjects
dbt Cloud v0.1.20 published on Friday, Sep 27, 2024 by Pulumi

dbtcloud.getProjects

Explore with Pulumi AI

dbtcloud logo
dbt Cloud v0.1.20 published on Friday, Sep 27, 2024 by Pulumi

    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:

    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.DbtCloud.Outputs.GetProjectsProject>
    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 []GetProjectsProject
    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<GetProjectsProject>
    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 GetProjectsProject[]
    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[GetProjectsProject]
    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.DbtCloud.Inputs.GetProjectsProjectConnection
    Details for the connection linked to the project
    CreatedAt string
    When the project was created
    DbtProjectSubdirectory string
    Subdirectory for the dbt project inside the git repo
    Description string
    Project description
    Id int
    Project ID
    Name string
    Project name
    Repository Pulumi.DbtCloud.Inputs.GetProjectsProjectRepository
    Details for the repository linked to the project
    SemanticLayerConfigId int
    Semantic layer config ID
    UpdatedAt string
    When the project was last updated
    Connection GetProjectsProjectConnection
    Details for the connection linked to the project
    CreatedAt string
    When the project was created
    DbtProjectSubdirectory string
    Subdirectory for the dbt project inside the git repo
    Description string
    Project description
    Id int
    Project ID
    Name string
    Project name
    Repository GetProjectsProjectRepository
    Details for the repository linked to the project
    SemanticLayerConfigId int
    Semantic layer config ID
    UpdatedAt string
    When the project was last updated
    connection GetProjectsProjectConnection
    Details for the connection linked to the project
    createdAt String
    When the project was created
    dbtProjectSubdirectory String
    Subdirectory for the dbt project inside the git repo
    description String
    Project description
    id Integer
    Project ID
    name String
    Project name
    repository GetProjectsProjectRepository
    Details for the repository linked to the project
    semanticLayerConfigId Integer
    Semantic layer config ID
    updatedAt String
    When the project was last updated
    connection GetProjectsProjectConnection
    Details for the connection linked to the project
    createdAt string
    When the project was created
    dbtProjectSubdirectory string
    Subdirectory for the dbt project inside the git repo
    description string
    Project description
    id number
    Project ID
    name string
    Project name
    repository GetProjectsProjectRepository
    Details for the repository linked to the project
    semanticLayerConfigId number
    Semantic layer config ID
    updatedAt string
    When the project was last updated
    connection GetProjectsProjectConnection
    Details for the connection linked to the project
    created_at str
    When the project was created
    dbt_project_subdirectory str
    Subdirectory for the dbt project inside the git repo
    description str
    Project description
    id int
    Project ID
    name str
    Project name
    repository GetProjectsProjectRepository
    Details for the repository linked to the project
    semantic_layer_config_id int
    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
    dbtProjectSubdirectory String
    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
    semanticLayerConfigId Number
    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
    PullRequestUrlTemplate string
    URL template for PRs
    RemoteUrl string
    URL of the git repo remote
    Id int
    Repository ID
    PullRequestUrlTemplate string
    URL template for PRs
    RemoteUrl string
    URL of the git repo remote
    id Integer
    Repository ID
    pullRequestUrlTemplate String
    URL template for PRs
    remoteUrl String
    URL of the git repo remote
    id number
    Repository ID
    pullRequestUrlTemplate string
    URL template for PRs
    remoteUrl string
    URL of the git repo remote
    id int
    Repository ID
    pull_request_url_template str
    URL template for PRs
    remote_url str
    URL of the git repo remote
    id Number
    Repository ID
    pullRequestUrlTemplate String
    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 dbtcloud Terraform Provider.
    dbtcloud logo
    dbt Cloud v0.1.20 published on Friday, Sep 27, 2024 by Pulumi