1. Packages
  2. GitLab
  3. API Docs
  4. getProjects
GitLab v6.10.0 published on Monday, Mar 25, 2024 by Pulumi

gitlab.getProjects

Explore with Pulumi AI

gitlab logo
GitLab v6.10.0 published on Monday, Mar 25, 2024 by Pulumi

    The gitlab.getProjects data source allows details of multiple projects to be retrieved. Optionally filtered by the set attributes.

    This data source supports all available filters exposed by the xanzy/go-gitlab package, which might not expose all available filters exposed by the Gitlab APIs.

    The owner sub-attributes are only populated if the Gitlab token used has an administrator scope.

    Upstream API: GitLab REST API docs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gitlab from "@pulumi/gitlab";
    
    const mygroup = gitlab.getGroup({
        fullPath: "mygroup",
    });
    const groupProjects = mygroup.then(mygroup => gitlab.getProjects({
        groupId: mygroup.id,
        orderBy: "name",
        includeSubgroups: true,
        withShared: false,
    }));
    const projects = gitlab.getProjects({
        search: "postgresql",
        visibility: "private",
    });
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    mygroup = gitlab.get_group(full_path="mygroup")
    group_projects = gitlab.get_projects(group_id=mygroup.id,
        order_by="name",
        include_subgroups=True,
        with_shared=False)
    projects = gitlab.get_projects(search="postgresql",
        visibility="private")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gitlab/sdk/v6/go/gitlab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		mygroup, err := gitlab.LookupGroup(ctx, &gitlab.LookupGroupArgs{
    			FullPath: pulumi.StringRef("mygroup"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = gitlab.GetProjects(ctx, &gitlab.GetProjectsArgs{
    			GroupId:          pulumi.IntRef(mygroup.Id),
    			OrderBy:          pulumi.StringRef("name"),
    			IncludeSubgroups: pulumi.BoolRef(true),
    			WithShared:       pulumi.BoolRef(false),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = gitlab.GetProjects(ctx, &gitlab.GetProjectsArgs{
    			Search:     pulumi.StringRef("postgresql"),
    			Visibility: pulumi.StringRef("private"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using GitLab = Pulumi.GitLab;
    
    return await Deployment.RunAsync(() => 
    {
        var mygroup = GitLab.GetGroup.Invoke(new()
        {
            FullPath = "mygroup",
        });
    
        var groupProjects = GitLab.GetProjects.Invoke(new()
        {
            GroupId = mygroup.Apply(getGroupResult => getGroupResult.Id),
            OrderBy = "name",
            IncludeSubgroups = true,
            WithShared = false,
        });
    
        var projects = GitLab.GetProjects.Invoke(new()
        {
            Search = "postgresql",
            Visibility = "private",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gitlab.GitlabFunctions;
    import com.pulumi.gitlab.inputs.GetGroupArgs;
    import com.pulumi.gitlab.inputs.GetProjectsArgs;
    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 mygroup = GitlabFunctions.getGroup(GetGroupArgs.builder()
                .fullPath("mygroup")
                .build());
    
            final var groupProjects = GitlabFunctions.getProjects(GetProjectsArgs.builder()
                .groupId(mygroup.applyValue(getGroupResult -> getGroupResult.id()))
                .orderBy("name")
                .includeSubgroups(true)
                .withShared(false)
                .build());
    
            final var projects = GitlabFunctions.getProjects(GetProjectsArgs.builder()
                .search("postgresql")
                .visibility("private")
                .build());
    
        }
    }
    
    variables:
      mygroup:
        fn::invoke:
          Function: gitlab:getGroup
          Arguments:
            fullPath: mygroup
      groupProjects:
        fn::invoke:
          Function: gitlab:getProjects
          Arguments:
            groupId: ${mygroup.id}
            orderBy: name
            includeSubgroups: true
            withShared: false
      projects:
        fn::invoke:
          Function: gitlab:getProjects
          Arguments:
            search: postgresql
            visibility: private
    

    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(archived: Optional[bool] = None,
                     group_id: Optional[int] = None,
                     include_subgroups: Optional[bool] = None,
                     max_queryable_pages: Optional[int] = None,
                     membership: Optional[bool] = None,
                     min_access_level: Optional[int] = None,
                     order_by: Optional[str] = None,
                     owned: Optional[bool] = None,
                     page: Optional[int] = None,
                     per_page: Optional[int] = None,
                     search: Optional[str] = None,
                     simple: Optional[bool] = None,
                     sort: Optional[str] = None,
                     starred: Optional[bool] = None,
                     statistics: Optional[bool] = None,
                     topics: Optional[Sequence[str]] = None,
                     visibility: Optional[str] = None,
                     with_custom_attributes: Optional[bool] = None,
                     with_issues_enabled: Optional[bool] = None,
                     with_merge_requests_enabled: Optional[bool] = None,
                     with_programming_language: Optional[str] = None,
                     with_shared: Optional[bool] = None,
                     opts: Optional[InvokeOptions] = None) -> GetProjectsResult
    def get_projects_output(archived: Optional[pulumi.Input[bool]] = None,
                     group_id: Optional[pulumi.Input[int]] = None,
                     include_subgroups: Optional[pulumi.Input[bool]] = None,
                     max_queryable_pages: Optional[pulumi.Input[int]] = None,
                     membership: Optional[pulumi.Input[bool]] = None,
                     min_access_level: Optional[pulumi.Input[int]] = None,
                     order_by: Optional[pulumi.Input[str]] = None,
                     owned: Optional[pulumi.Input[bool]] = None,
                     page: Optional[pulumi.Input[int]] = None,
                     per_page: Optional[pulumi.Input[int]] = None,
                     search: Optional[pulumi.Input[str]] = None,
                     simple: Optional[pulumi.Input[bool]] = None,
                     sort: Optional[pulumi.Input[str]] = None,
                     starred: Optional[pulumi.Input[bool]] = None,
                     statistics: Optional[pulumi.Input[bool]] = None,
                     topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     visibility: Optional[pulumi.Input[str]] = None,
                     with_custom_attributes: Optional[pulumi.Input[bool]] = None,
                     with_issues_enabled: Optional[pulumi.Input[bool]] = None,
                     with_merge_requests_enabled: Optional[pulumi.Input[bool]] = None,
                     with_programming_language: Optional[pulumi.Input[str]] = None,
                     with_shared: Optional[pulumi.Input[bool]] = 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: gitlab:index/getProjects:getProjects
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Archived bool
    GroupId int
    IncludeSubgroups bool
    Include projects in subgroups of this group. Default is false. Needs group_id.
    MaxQueryablePages int
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    Membership bool
    Limit by projects that the current user is a member of.
    MinAccessLevel int
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    OrderBy string
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    Owned bool
    Limit by projects owned by the current user.
    Page int
    The first page to begin the query on.
    PerPage int
    The number of results to return per page.
    Search string
    Return list of authorized projects matching the search criteria.
    Simple bool
    Return only the ID, URL, name, and path of each project.
    Sort string
    Return projects sorted in asc or desc order. Default is desc.
    Starred bool
    Limit by projects starred by the current user.
    Statistics bool
    Topics List<string>
    Limit by projects that have all of the given topics.
    Visibility string
    WithCustomAttributes bool
    Include custom attributes in response (admins only).
    WithIssuesEnabled bool
    Limit by projects with issues feature enabled. Default is false.
    WithMergeRequestsEnabled bool
    Limit by projects with merge requests feature enabled. Default is false.
    WithProgrammingLanguage string
    Limit by projects which use the given programming language. Cannot be used with group_id.
    WithShared bool
    Include projects shared to this group. Default is true. Needs group_id.
    Archived bool
    GroupId int
    IncludeSubgroups bool
    Include projects in subgroups of this group. Default is false. Needs group_id.
    MaxQueryablePages int
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    Membership bool
    Limit by projects that the current user is a member of.
    MinAccessLevel int
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    OrderBy string
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    Owned bool
    Limit by projects owned by the current user.
    Page int
    The first page to begin the query on.
    PerPage int
    The number of results to return per page.
    Search string
    Return list of authorized projects matching the search criteria.
    Simple bool
    Return only the ID, URL, name, and path of each project.
    Sort string
    Return projects sorted in asc or desc order. Default is desc.
    Starred bool
    Limit by projects starred by the current user.
    Statistics bool
    Topics []string
    Limit by projects that have all of the given topics.
    Visibility string
    WithCustomAttributes bool
    Include custom attributes in response (admins only).
    WithIssuesEnabled bool
    Limit by projects with issues feature enabled. Default is false.
    WithMergeRequestsEnabled bool
    Limit by projects with merge requests feature enabled. Default is false.
    WithProgrammingLanguage string
    Limit by projects which use the given programming language. Cannot be used with group_id.
    WithShared bool
    Include projects shared to this group. Default is true. Needs group_id.
    archived Boolean
    groupId Integer
    includeSubgroups Boolean
    Include projects in subgroups of this group. Default is false. Needs group_id.
    maxQueryablePages Integer
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    membership Boolean
    Limit by projects that the current user is a member of.
    minAccessLevel Integer
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    orderBy String
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    owned Boolean
    Limit by projects owned by the current user.
    page Integer
    The first page to begin the query on.
    perPage Integer
    The number of results to return per page.
    search String
    Return list of authorized projects matching the search criteria.
    simple Boolean
    Return only the ID, URL, name, and path of each project.
    sort String
    Return projects sorted in asc or desc order. Default is desc.
    starred Boolean
    Limit by projects starred by the current user.
    statistics Boolean
    topics List<String>
    Limit by projects that have all of the given topics.
    visibility String
    withCustomAttributes Boolean
    Include custom attributes in response (admins only).
    withIssuesEnabled Boolean
    Limit by projects with issues feature enabled. Default is false.
    withMergeRequestsEnabled Boolean
    Limit by projects with merge requests feature enabled. Default is false.
    withProgrammingLanguage String
    Limit by projects which use the given programming language. Cannot be used with group_id.
    withShared Boolean
    Include projects shared to this group. Default is true. Needs group_id.
    archived boolean
    groupId number
    includeSubgroups boolean
    Include projects in subgroups of this group. Default is false. Needs group_id.
    maxQueryablePages number
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    membership boolean
    Limit by projects that the current user is a member of.
    minAccessLevel number
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    orderBy string
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    owned boolean
    Limit by projects owned by the current user.
    page number
    The first page to begin the query on.
    perPage number
    The number of results to return per page.
    search string
    Return list of authorized projects matching the search criteria.
    simple boolean
    Return only the ID, URL, name, and path of each project.
    sort string
    Return projects sorted in asc or desc order. Default is desc.
    starred boolean
    Limit by projects starred by the current user.
    statistics boolean
    topics string[]
    Limit by projects that have all of the given topics.
    visibility string
    withCustomAttributes boolean
    Include custom attributes in response (admins only).
    withIssuesEnabled boolean
    Limit by projects with issues feature enabled. Default is false.
    withMergeRequestsEnabled boolean
    Limit by projects with merge requests feature enabled. Default is false.
    withProgrammingLanguage string
    Limit by projects which use the given programming language. Cannot be used with group_id.
    withShared boolean
    Include projects shared to this group. Default is true. Needs group_id.
    archived bool
    group_id int
    include_subgroups bool
    Include projects in subgroups of this group. Default is false. Needs group_id.
    max_queryable_pages int
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    membership bool
    Limit by projects that the current user is a member of.
    min_access_level int
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    order_by str
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    owned bool
    Limit by projects owned by the current user.
    page int
    The first page to begin the query on.
    per_page int
    The number of results to return per page.
    search str
    Return list of authorized projects matching the search criteria.
    simple bool
    Return only the ID, URL, name, and path of each project.
    sort str
    Return projects sorted in asc or desc order. Default is desc.
    starred bool
    Limit by projects starred by the current user.
    statistics bool
    topics Sequence[str]
    Limit by projects that have all of the given topics.
    visibility str
    with_custom_attributes bool
    Include custom attributes in response (admins only).
    with_issues_enabled bool
    Limit by projects with issues feature enabled. Default is false.
    with_merge_requests_enabled bool
    Limit by projects with merge requests feature enabled. Default is false.
    with_programming_language str
    Limit by projects which use the given programming language. Cannot be used with group_id.
    with_shared bool
    Include projects shared to this group. Default is true. Needs group_id.
    archived Boolean
    groupId Number
    includeSubgroups Boolean
    Include projects in subgroups of this group. Default is false. Needs group_id.
    maxQueryablePages Number
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    membership Boolean
    Limit by projects that the current user is a member of.
    minAccessLevel Number
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    orderBy String
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    owned Boolean
    Limit by projects owned by the current user.
    page Number
    The first page to begin the query on.
    perPage Number
    The number of results to return per page.
    search String
    Return list of authorized projects matching the search criteria.
    simple Boolean
    Return only the ID, URL, name, and path of each project.
    sort String
    Return projects sorted in asc or desc order. Default is desc.
    starred Boolean
    Limit by projects starred by the current user.
    statistics Boolean
    topics List<String>
    Limit by projects that have all of the given topics.
    visibility String
    withCustomAttributes Boolean
    Include custom attributes in response (admins only).
    withIssuesEnabled Boolean
    Limit by projects with issues feature enabled. Default is false.
    withMergeRequestsEnabled Boolean
    Limit by projects with merge requests feature enabled. Default is false.
    withProgrammingLanguage String
    Limit by projects which use the given programming language. Cannot be used with group_id.
    withShared Boolean
    Include projects shared to this group. Default is true. Needs group_id.

    getProjects Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Projects List<Pulumi.GitLab.Outputs.GetProjectsProject>
    A list containing the projects matching the supplied arguments
    Archived bool
    Limit by archived status.
    GroupId int
    The ID of the group owned by the authenticated user to look projects for within. Cannot be used with min_access_level, with_programming_language or statistics.
    IncludeSubgroups bool
    Include projects in subgroups of this group. Default is false. Needs group_id.
    MaxQueryablePages int
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    Membership bool
    Limit by projects that the current user is a member of.
    MinAccessLevel int
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    OrderBy string
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    Owned bool
    Limit by projects owned by the current user.
    Page int
    The first page to begin the query on.
    PerPage int
    The number of results to return per page.
    Search string
    Return list of authorized projects matching the search criteria.
    Simple bool
    Return only the ID, URL, name, and path of each project.
    Sort string
    Return projects sorted in asc or desc order. Default is desc.
    Starred bool
    Limit by projects starred by the current user.
    Statistics bool
    Include project statistics. Cannot be used with group_id.
    Topics List<string>
    Limit by projects that have all of the given topics.
    Visibility string
    Limit by visibility public, internal, or private.
    WithCustomAttributes bool
    Include custom attributes in response (admins only).
    WithIssuesEnabled bool
    Limit by projects with issues feature enabled. Default is false.
    WithMergeRequestsEnabled bool
    Limit by projects with merge requests feature enabled. Default is false.
    WithProgrammingLanguage string
    Limit by projects which use the given programming language. Cannot be used with group_id.
    WithShared bool
    Include projects shared to this group. Default is true. Needs group_id.
    Id string
    The provider-assigned unique ID for this managed resource.
    Projects []GetProjectsProject
    A list containing the projects matching the supplied arguments
    Archived bool
    Limit by archived status.
    GroupId int
    The ID of the group owned by the authenticated user to look projects for within. Cannot be used with min_access_level, with_programming_language or statistics.
    IncludeSubgroups bool
    Include projects in subgroups of this group. Default is false. Needs group_id.
    MaxQueryablePages int
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    Membership bool
    Limit by projects that the current user is a member of.
    MinAccessLevel int
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    OrderBy string
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    Owned bool
    Limit by projects owned by the current user.
    Page int
    The first page to begin the query on.
    PerPage int
    The number of results to return per page.
    Search string
    Return list of authorized projects matching the search criteria.
    Simple bool
    Return only the ID, URL, name, and path of each project.
    Sort string
    Return projects sorted in asc or desc order. Default is desc.
    Starred bool
    Limit by projects starred by the current user.
    Statistics bool
    Include project statistics. Cannot be used with group_id.
    Topics []string
    Limit by projects that have all of the given topics.
    Visibility string
    Limit by visibility public, internal, or private.
    WithCustomAttributes bool
    Include custom attributes in response (admins only).
    WithIssuesEnabled bool
    Limit by projects with issues feature enabled. Default is false.
    WithMergeRequestsEnabled bool
    Limit by projects with merge requests feature enabled. Default is false.
    WithProgrammingLanguage string
    Limit by projects which use the given programming language. Cannot be used with group_id.
    WithShared bool
    Include projects shared to this group. Default is true. Needs group_id.
    id String
    The provider-assigned unique ID for this managed resource.
    projects List<GetProjectsProject>
    A list containing the projects matching the supplied arguments
    archived Boolean
    Limit by archived status.
    groupId Integer
    The ID of the group owned by the authenticated user to look projects for within. Cannot be used with min_access_level, with_programming_language or statistics.
    includeSubgroups Boolean
    Include projects in subgroups of this group. Default is false. Needs group_id.
    maxQueryablePages Integer
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    membership Boolean
    Limit by projects that the current user is a member of.
    minAccessLevel Integer
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    orderBy String
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    owned Boolean
    Limit by projects owned by the current user.
    page Integer
    The first page to begin the query on.
    perPage Integer
    The number of results to return per page.
    search String
    Return list of authorized projects matching the search criteria.
    simple Boolean
    Return only the ID, URL, name, and path of each project.
    sort String
    Return projects sorted in asc or desc order. Default is desc.
    starred Boolean
    Limit by projects starred by the current user.
    statistics Boolean
    Include project statistics. Cannot be used with group_id.
    topics List<String>
    Limit by projects that have all of the given topics.
    visibility String
    Limit by visibility public, internal, or private.
    withCustomAttributes Boolean
    Include custom attributes in response (admins only).
    withIssuesEnabled Boolean
    Limit by projects with issues feature enabled. Default is false.
    withMergeRequestsEnabled Boolean
    Limit by projects with merge requests feature enabled. Default is false.
    withProgrammingLanguage String
    Limit by projects which use the given programming language. Cannot be used with group_id.
    withShared Boolean
    Include projects shared to this group. Default is true. Needs group_id.
    id string
    The provider-assigned unique ID for this managed resource.
    projects GetProjectsProject[]
    A list containing the projects matching the supplied arguments
    archived boolean
    Limit by archived status.
    groupId number
    The ID of the group owned by the authenticated user to look projects for within. Cannot be used with min_access_level, with_programming_language or statistics.
    includeSubgroups boolean
    Include projects in subgroups of this group. Default is false. Needs group_id.
    maxQueryablePages number
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    membership boolean
    Limit by projects that the current user is a member of.
    minAccessLevel number
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    orderBy string
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    owned boolean
    Limit by projects owned by the current user.
    page number
    The first page to begin the query on.
    perPage number
    The number of results to return per page.
    search string
    Return list of authorized projects matching the search criteria.
    simple boolean
    Return only the ID, URL, name, and path of each project.
    sort string
    Return projects sorted in asc or desc order. Default is desc.
    starred boolean
    Limit by projects starred by the current user.
    statistics boolean
    Include project statistics. Cannot be used with group_id.
    topics string[]
    Limit by projects that have all of the given topics.
    visibility string
    Limit by visibility public, internal, or private.
    withCustomAttributes boolean
    Include custom attributes in response (admins only).
    withIssuesEnabled boolean
    Limit by projects with issues feature enabled. Default is false.
    withMergeRequestsEnabled boolean
    Limit by projects with merge requests feature enabled. Default is false.
    withProgrammingLanguage string
    Limit by projects which use the given programming language. Cannot be used with group_id.
    withShared boolean
    Include projects shared to this group. Default is true. Needs group_id.
    id str
    The provider-assigned unique ID for this managed resource.
    projects Sequence[GetProjectsProject]
    A list containing the projects matching the supplied arguments
    archived bool
    Limit by archived status.
    group_id int
    The ID of the group owned by the authenticated user to look projects for within. Cannot be used with min_access_level, with_programming_language or statistics.
    include_subgroups bool
    Include projects in subgroups of this group. Default is false. Needs group_id.
    max_queryable_pages int
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    membership bool
    Limit by projects that the current user is a member of.
    min_access_level int
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    order_by str
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    owned bool
    Limit by projects owned by the current user.
    page int
    The first page to begin the query on.
    per_page int
    The number of results to return per page.
    search str
    Return list of authorized projects matching the search criteria.
    simple bool
    Return only the ID, URL, name, and path of each project.
    sort str
    Return projects sorted in asc or desc order. Default is desc.
    starred bool
    Limit by projects starred by the current user.
    statistics bool
    Include project statistics. Cannot be used with group_id.
    topics Sequence[str]
    Limit by projects that have all of the given topics.
    visibility str
    Limit by visibility public, internal, or private.
    with_custom_attributes bool
    Include custom attributes in response (admins only).
    with_issues_enabled bool
    Limit by projects with issues feature enabled. Default is false.
    with_merge_requests_enabled bool
    Limit by projects with merge requests feature enabled. Default is false.
    with_programming_language str
    Limit by projects which use the given programming language. Cannot be used with group_id.
    with_shared bool
    Include projects shared to this group. Default is true. Needs group_id.
    id String
    The provider-assigned unique ID for this managed resource.
    projects List<Property Map>
    A list containing the projects matching the supplied arguments
    archived Boolean
    Limit by archived status.
    groupId Number
    The ID of the group owned by the authenticated user to look projects for within. Cannot be used with min_access_level, with_programming_language or statistics.
    includeSubgroups Boolean
    Include projects in subgroups of this group. Default is false. Needs group_id.
    maxQueryablePages Number
    The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
    membership Boolean
    Limit by projects that the current user is a member of.
    minAccessLevel Number
    Limit to projects where current user has at least this access level, refer to the official documentation for values. Cannot be used with group_id.
    orderBy String
    Return projects ordered ordered by: id, name, path, created_at, updated_at, last_activity_at, similarity, repository_size, storage_size, packages_size, wiki_size. Some values or only available in certain circumstances. See upstream docs for details.
    owned Boolean
    Limit by projects owned by the current user.
    page Number
    The first page to begin the query on.
    perPage Number
    The number of results to return per page.
    search String
    Return list of authorized projects matching the search criteria.
    simple Boolean
    Return only the ID, URL, name, and path of each project.
    sort String
    Return projects sorted in asc or desc order. Default is desc.
    starred Boolean
    Limit by projects starred by the current user.
    statistics Boolean
    Include project statistics. Cannot be used with group_id.
    topics List<String>
    Limit by projects that have all of the given topics.
    visibility String
    Limit by visibility public, internal, or private.
    withCustomAttributes Boolean
    Include custom attributes in response (admins only).
    withIssuesEnabled Boolean
    Limit by projects with issues feature enabled. Default is false.
    withMergeRequestsEnabled Boolean
    Limit by projects with merge requests feature enabled. Default is false.
    withProgrammingLanguage String
    Limit by projects which use the given programming language. Cannot be used with group_id.
    withShared Boolean
    Include projects shared to this group. Default is true. Needs group_id.

    Supporting Types

    GetProjectsProject

    AllowMergeOnSkippedPipeline bool
    Whether allow_merge_on_skipped_pipeline is enabled for the project.
    AnalyticsAccessLevel string
    Set the analytics access level. Valid values are disabled, private, enabled.
    ApprovalsBeforeMerge int
    The numbers of approvals needed in a merge requests.
    Archived bool
    Whether the project is archived.
    AutoCancelPendingPipelines string
    Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
    AutoDevopsDeployStrategy string
    Auto Deploy strategy. Valid values are continuous, manual, timed_incremental.
    AutoDevopsEnabled bool
    Enable Auto DevOps for this project.
    AutocloseReferencedIssues bool
    Set whether auto-closing referenced issues on default branch.
    AvatarUrl string
    The avatar url of the project.
    BuildCoverageRegex string
    Build coverage regex for the project.
    BuildGitStrategy string
    The Git strategy. Defaults to fetch.
    BuildTimeout int
    The maximum amount of time, in seconds, that a job can run.
    BuildsAccessLevel string
    Set the builds access level. Valid values are disabled, private, enabled.
    CiConfigPath string
    CI config file path for the project.
    CiDefaultGitDepth int
    Default number of revisions for shallow cloning.
    CiForwardDeploymentEnabled bool
    When a new deployment job starts, skip older deployment jobs that are still pending.
    CiRestrictPipelineCancellationRole string
    The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are developer, maintainer, no one
    ContainerExpirationPolicies List<Pulumi.GitLab.Inputs.GetProjectsProjectContainerExpirationPolicy>
    Set the image cleanup policy for this project. Note: this field is sometimes named container_expiration_policy_attributes in the GitLab Upstream API.
    ContainerRegistryAccessLevel string
    Set visibility of container registry, for this project. Valid values are disabled, private, enabled.
    ContainerRegistryEnabled bool
    Whether the container registry is enabled for the project.
    CreatedAt string
    Creation time for the project.
    CreatorId int
    Creator ID for the project.
    CustomAttributes List<ImmutableDictionary<string, string>>
    Custom attributes for the project.
    DefaultBranch string
    The default branch name of the project.
    Description string
    The description of the project.
    EmailsDisabled bool
    Disable email notifications.
    EmptyRepo bool
    Whether the project is empty.
    EnvironmentsAccessLevel string
    Set the environments access level. Valid values are disabled, private, enabled.
    ExternalAuthorizationClassificationLabel string
    The classification label for the project.
    FeatureFlagsAccessLevel string
    Set the feature flags access level. Valid values are disabled, private, enabled.
    ForkedFromProjects List<Pulumi.GitLab.Inputs.GetProjectsProjectForkedFromProject>
    Present if the project is a fork. Contains information about the upstream project.
    ForkingAccessLevel string
    Set the forking access level. Valid values are disabled, private, enabled.
    ForksCount int
    The number of forks of the project.
    GroupRunnersEnabled bool
    Whether group runners are enabled for the project.
    HttpUrlToRepo string
    The HTTP clone URL of the project.
    Id int
    The ID of the project.
    ImportError string
    The import error, if it exists, for the project.
    ImportStatus string
    The import status of the project.
    ImportUrl string
    URL the project was imported from.
    InfrastructureAccessLevel string
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    IssuesAccessLevel string
    Set the issues access level. Valid values are disabled, private, enabled.
    IssuesEnabled bool
    Whether issues are enabled for the project.
    JobsEnabled bool
    Whether pipelines are enabled for the project.
    KeepLatestArtifact bool
    Disable or enable the ability to keep the latest artifact for this project.
    LastActivityAt string
    Last activirty time for the project.
    LfsEnabled bool
    Whether LFS (large file storage) is enabled for the project.
    MergeCommitTemplate string
    Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
    MergeMethod string
    Merge method for the project.
    MergePipelinesEnabled bool
    Enable or disable merge pipelines.
    MergeRequestsAccessLevel string
    Set the merge requests access level. Valid values are disabled, private, enabled.
    MergeRequestsEnabled bool
    Whether merge requests are enabled for the project.
    MergeTrainsEnabled bool
    Enable or disable merge trains.
    Mirror bool
    Whether the pull mirroring is enabled for the project.
    MirrorOverwritesDivergedBranches bool
    Whether mirror_overwrites_diverged_branches is enabled for the project.
    MirrorTriggerBuilds bool
    Whether pull mirroring triggers builds for the project.
    MirrorUserId int
    The mirror user ID for the project.
    MonitorAccessLevel string
    Set the monitor access level. Valid values are disabled, private, enabled.
    Name string
    The name of the project.
    NameWithNamespace string
    In group / subgroup / project or user / project format.
    Namespaces List<Pulumi.GitLab.Inputs.GetProjectsProjectNamespace>
    Namespace of the project (parent group/s).
    OnlyAllowMergeIfAllDiscussionsAreResolved bool
    Whether only_allow_merge_if_all_discussions_are_resolved is enabled for the project.
    OnlyAllowMergeIfPipelineSucceeds bool
    Whether only_allow_merge_if_pipeline_succeeds is enabled for the project.
    OnlyMirrorProtectedBranches bool
    Whether only_mirror_protected_branches is enabled for the project.
    OpenIssuesCount int
    The number of open issies for the project.
    Owners List<Pulumi.GitLab.Inputs.GetProjectsProjectOwner>
    PackagesEnabled bool
    Whether packages are enabled for the project.
    Path string
    The path of the project.
    PathWithNamespace string
    In group/subgroup/project or user/project format.
    Permissions List<Pulumi.GitLab.Inputs.GetProjectsProjectPermission>
    Permissions for the project.
    Public bool
    Whether the project is public.
    PublicBuilds bool
    Whether public builds are enabled for the project.
    ReadmeUrl string
    The remote url of the project.
    ReleasesAccessLevel string
    Set the releases access level. Valid values are disabled, private, enabled.
    RepositoryAccessLevel string
    Set the repository access level. Valid values are disabled, private, enabled.
    RepositoryStorage string
    Which storage shard the repository is on. (administrator only)
    RequestAccessEnabled bool
    Whether requesting access is enabled for the project.
    RequirementsAccessLevel string
    Set the requirements access level. Valid values are disabled, private, enabled.
    ResolveOutdatedDiffDiscussions bool
    Whether resolve_outdated_diff_discussions is enabled for the project
    RestrictUserDefinedVariables bool
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
    RunnersToken string
    The runners token for the project.
    SecurityAndComplianceAccessLevel string
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    SharedRunnersEnabled bool
    Whether shared runners are enabled for the project.
    SharedWithGroups List<Pulumi.GitLab.Inputs.GetProjectsProjectSharedWithGroup>
    Groups the the project is shared with.
    SnippetsAccessLevel string
    Set the snippets access level. Valid values are disabled, private, enabled.
    SnippetsEnabled bool
    Whether snippets are enabled for the project.
    SquashCommitTemplate string
    Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
    SshUrlToRepo string
    The SSH clone URL of the project.
    StarCount int
    The number of stars on the project.
    Statistics Dictionary<string, int>
    Statistics for the project.
    SuggestionCommitMessage string
    The commit message used to apply merge request suggestions.
    TagLists List<string>
    A set of the project topics (formerly called "project tags").
    Topics List<string>
    The list of topics for the project.
    Visibility string
    The visibility of the project.
    WebUrl string
    The web url of the project.
    WikiAccessLevel string
    Set the wiki access level. Valid values are disabled, private, enabled.
    WikiEnabled bool
    Whether wiki is enabled for the project.
    _links Dictionary<string, string>
    Links for the project.
    AllowMergeOnSkippedPipeline bool
    Whether allow_merge_on_skipped_pipeline is enabled for the project.
    AnalyticsAccessLevel string
    Set the analytics access level. Valid values are disabled, private, enabled.
    ApprovalsBeforeMerge int
    The numbers of approvals needed in a merge requests.
    Archived bool
    Whether the project is archived.
    AutoCancelPendingPipelines string
    Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
    AutoDevopsDeployStrategy string
    Auto Deploy strategy. Valid values are continuous, manual, timed_incremental.
    AutoDevopsEnabled bool
    Enable Auto DevOps for this project.
    AutocloseReferencedIssues bool
    Set whether auto-closing referenced issues on default branch.
    AvatarUrl string
    The avatar url of the project.
    BuildCoverageRegex string
    Build coverage regex for the project.
    BuildGitStrategy string
    The Git strategy. Defaults to fetch.
    BuildTimeout int
    The maximum amount of time, in seconds, that a job can run.
    BuildsAccessLevel string
    Set the builds access level. Valid values are disabled, private, enabled.
    CiConfigPath string
    CI config file path for the project.
    CiDefaultGitDepth int
    Default number of revisions for shallow cloning.
    CiForwardDeploymentEnabled bool
    When a new deployment job starts, skip older deployment jobs that are still pending.
    CiRestrictPipelineCancellationRole string
    The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are developer, maintainer, no one
    ContainerExpirationPolicies []GetProjectsProjectContainerExpirationPolicy
    Set the image cleanup policy for this project. Note: this field is sometimes named container_expiration_policy_attributes in the GitLab Upstream API.
    ContainerRegistryAccessLevel string
    Set visibility of container registry, for this project. Valid values are disabled, private, enabled.
    ContainerRegistryEnabled bool
    Whether the container registry is enabled for the project.
    CreatedAt string
    Creation time for the project.
    CreatorId int
    Creator ID for the project.
    CustomAttributes []map[string]string
    Custom attributes for the project.
    DefaultBranch string
    The default branch name of the project.
    Description string
    The description of the project.
    EmailsDisabled bool
    Disable email notifications.
    EmptyRepo bool
    Whether the project is empty.
    EnvironmentsAccessLevel string
    Set the environments access level. Valid values are disabled, private, enabled.
    ExternalAuthorizationClassificationLabel string
    The classification label for the project.
    FeatureFlagsAccessLevel string
    Set the feature flags access level. Valid values are disabled, private, enabled.
    ForkedFromProjects []GetProjectsProjectForkedFromProject
    Present if the project is a fork. Contains information about the upstream project.
    ForkingAccessLevel string
    Set the forking access level. Valid values are disabled, private, enabled.
    ForksCount int
    The number of forks of the project.
    GroupRunnersEnabled bool
    Whether group runners are enabled for the project.
    HttpUrlToRepo string
    The HTTP clone URL of the project.
    Id int
    The ID of the project.
    ImportError string
    The import error, if it exists, for the project.
    ImportStatus string
    The import status of the project.
    ImportUrl string
    URL the project was imported from.
    InfrastructureAccessLevel string
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    IssuesAccessLevel string
    Set the issues access level. Valid values are disabled, private, enabled.
    IssuesEnabled bool
    Whether issues are enabled for the project.
    JobsEnabled bool
    Whether pipelines are enabled for the project.
    KeepLatestArtifact bool
    Disable or enable the ability to keep the latest artifact for this project.
    LastActivityAt string
    Last activirty time for the project.
    LfsEnabled bool
    Whether LFS (large file storage) is enabled for the project.
    MergeCommitTemplate string
    Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
    MergeMethod string
    Merge method for the project.
    MergePipelinesEnabled bool
    Enable or disable merge pipelines.
    MergeRequestsAccessLevel string
    Set the merge requests access level. Valid values are disabled, private, enabled.
    MergeRequestsEnabled bool
    Whether merge requests are enabled for the project.
    MergeTrainsEnabled bool
    Enable or disable merge trains.
    Mirror bool
    Whether the pull mirroring is enabled for the project.
    MirrorOverwritesDivergedBranches bool
    Whether mirror_overwrites_diverged_branches is enabled for the project.
    MirrorTriggerBuilds bool
    Whether pull mirroring triggers builds for the project.
    MirrorUserId int
    The mirror user ID for the project.
    MonitorAccessLevel string
    Set the monitor access level. Valid values are disabled, private, enabled.
    Name string
    The name of the project.
    NameWithNamespace string
    In group / subgroup / project or user / project format.
    Namespaces []GetProjectsProjectNamespace
    Namespace of the project (parent group/s).
    OnlyAllowMergeIfAllDiscussionsAreResolved bool
    Whether only_allow_merge_if_all_discussions_are_resolved is enabled for the project.
    OnlyAllowMergeIfPipelineSucceeds bool
    Whether only_allow_merge_if_pipeline_succeeds is enabled for the project.
    OnlyMirrorProtectedBranches bool
    Whether only_mirror_protected_branches is enabled for the project.
    OpenIssuesCount int
    The number of open issies for the project.
    Owners []GetProjectsProjectOwner
    PackagesEnabled bool
    Whether packages are enabled for the project.
    Path string
    The path of the project.
    PathWithNamespace string
    In group/subgroup/project or user/project format.
    Permissions []GetProjectsProjectPermission
    Permissions for the project.
    Public bool
    Whether the project is public.
    PublicBuilds bool
    Whether public builds are enabled for the project.
    ReadmeUrl string
    The remote url of the project.
    ReleasesAccessLevel string
    Set the releases access level. Valid values are disabled, private, enabled.
    RepositoryAccessLevel string
    Set the repository access level. Valid values are disabled, private, enabled.
    RepositoryStorage string
    Which storage shard the repository is on. (administrator only)
    RequestAccessEnabled bool
    Whether requesting access is enabled for the project.
    RequirementsAccessLevel string
    Set the requirements access level. Valid values are disabled, private, enabled.
    ResolveOutdatedDiffDiscussions bool
    Whether resolve_outdated_diff_discussions is enabled for the project
    RestrictUserDefinedVariables bool
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
    RunnersToken string
    The runners token for the project.
    SecurityAndComplianceAccessLevel string
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    SharedRunnersEnabled bool
    Whether shared runners are enabled for the project.
    SharedWithGroups []GetProjectsProjectSharedWithGroup
    Groups the the project is shared with.
    SnippetsAccessLevel string
    Set the snippets access level. Valid values are disabled, private, enabled.
    SnippetsEnabled bool
    Whether snippets are enabled for the project.
    SquashCommitTemplate string
    Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
    SshUrlToRepo string
    The SSH clone URL of the project.
    StarCount int
    The number of stars on the project.
    Statistics map[string]int
    Statistics for the project.
    SuggestionCommitMessage string
    The commit message used to apply merge request suggestions.
    TagLists []string
    A set of the project topics (formerly called "project tags").
    Topics []string
    The list of topics for the project.
    Visibility string
    The visibility of the project.
    WebUrl string
    The web url of the project.
    WikiAccessLevel string
    Set the wiki access level. Valid values are disabled, private, enabled.
    WikiEnabled bool
    Whether wiki is enabled for the project.
    _links map[string]string
    Links for the project.
    _links Map<String,String>
    Links for the project.
    allowMergeOnSkippedPipeline Boolean
    Whether allow_merge_on_skipped_pipeline is enabled for the project.
    analyticsAccessLevel String
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvalsBeforeMerge Integer
    The numbers of approvals needed in a merge requests.
    archived Boolean
    Whether the project is archived.
    autoCancelPendingPipelines String
    Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
    autoDevopsDeployStrategy String
    Auto Deploy strategy. Valid values are continuous, manual, timed_incremental.
    autoDevopsEnabled Boolean
    Enable Auto DevOps for this project.
    autocloseReferencedIssues Boolean
    Set whether auto-closing referenced issues on default branch.
    avatarUrl String
    The avatar url of the project.
    buildCoverageRegex String
    Build coverage regex for the project.
    buildGitStrategy String
    The Git strategy. Defaults to fetch.
    buildTimeout Integer
    The maximum amount of time, in seconds, that a job can run.
    buildsAccessLevel String
    Set the builds access level. Valid values are disabled, private, enabled.
    ciConfigPath String
    CI config file path for the project.
    ciDefaultGitDepth Integer
    Default number of revisions for shallow cloning.
    ciForwardDeploymentEnabled Boolean
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ciRestrictPipelineCancellationRole String
    The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are developer, maintainer, no one
    containerExpirationPolicies List<GetProjectsProjectContainerExpirationPolicy>
    Set the image cleanup policy for this project. Note: this field is sometimes named container_expiration_policy_attributes in the GitLab Upstream API.
    containerRegistryAccessLevel String
    Set visibility of container registry, for this project. Valid values are disabled, private, enabled.
    containerRegistryEnabled Boolean
    Whether the container registry is enabled for the project.
    createdAt String
    Creation time for the project.
    creatorId Integer
    Creator ID for the project.
    customAttributes List<Map<String,String>>
    Custom attributes for the project.
    defaultBranch String
    The default branch name of the project.
    description String
    The description of the project.
    emailsDisabled Boolean
    Disable email notifications.
    emptyRepo Boolean
    Whether the project is empty.
    environmentsAccessLevel String
    Set the environments access level. Valid values are disabled, private, enabled.
    externalAuthorizationClassificationLabel String
    The classification label for the project.
    featureFlagsAccessLevel String
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forkedFromProjects List<GetProjectsProjectForkedFromProject>
    Present if the project is a fork. Contains information about the upstream project.
    forkingAccessLevel String
    Set the forking access level. Valid values are disabled, private, enabled.
    forksCount Integer
    The number of forks of the project.
    groupRunnersEnabled Boolean
    Whether group runners are enabled for the project.
    httpUrlToRepo String
    The HTTP clone URL of the project.
    id Integer
    The ID of the project.
    importError String
    The import error, if it exists, for the project.
    importStatus String
    The import status of the project.
    importUrl String
    URL the project was imported from.
    infrastructureAccessLevel String
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issuesAccessLevel String
    Set the issues access level. Valid values are disabled, private, enabled.
    issuesEnabled Boolean
    Whether issues are enabled for the project.
    jobsEnabled Boolean
    Whether pipelines are enabled for the project.
    keepLatestArtifact Boolean
    Disable or enable the ability to keep the latest artifact for this project.
    lastActivityAt String
    Last activirty time for the project.
    lfsEnabled Boolean
    Whether LFS (large file storage) is enabled for the project.
    mergeCommitTemplate String
    Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
    mergeMethod String
    Merge method for the project.
    mergePipelinesEnabled Boolean
    Enable or disable merge pipelines.
    mergeRequestsAccessLevel String
    Set the merge requests access level. Valid values are disabled, private, enabled.
    mergeRequestsEnabled Boolean
    Whether merge requests are enabled for the project.
    mergeTrainsEnabled Boolean
    Enable or disable merge trains.
    mirror Boolean
    Whether the pull mirroring is enabled for the project.
    mirrorOverwritesDivergedBranches Boolean
    Whether mirror_overwrites_diverged_branches is enabled for the project.
    mirrorTriggerBuilds Boolean
    Whether pull mirroring triggers builds for the project.
    mirrorUserId Integer
    The mirror user ID for the project.
    monitorAccessLevel String
    Set the monitor access level. Valid values are disabled, private, enabled.
    name String
    The name of the project.
    nameWithNamespace String
    In group / subgroup / project or user / project format.
    namespaces List<GetProjectsProjectNamespace>
    Namespace of the project (parent group/s).
    onlyAllowMergeIfAllDiscussionsAreResolved Boolean
    Whether only_allow_merge_if_all_discussions_are_resolved is enabled for the project.
    onlyAllowMergeIfPipelineSucceeds Boolean
    Whether only_allow_merge_if_pipeline_succeeds is enabled for the project.
    onlyMirrorProtectedBranches Boolean
    Whether only_mirror_protected_branches is enabled for the project.
    openIssuesCount Integer
    The number of open issies for the project.
    owners List<GetProjectsProjectOwner>
    packagesEnabled Boolean
    Whether packages are enabled for the project.
    path String
    The path of the project.
    pathWithNamespace String
    In group/subgroup/project or user/project format.
    permissions List<GetProjectsProjectPermission>
    Permissions for the project.
    publicBuilds Boolean
    Whether public builds are enabled for the project.
    public_ Boolean
    Whether the project is public.
    readmeUrl String
    The remote url of the project.
    releasesAccessLevel String
    Set the releases access level. Valid values are disabled, private, enabled.
    repositoryAccessLevel String
    Set the repository access level. Valid values are disabled, private, enabled.
    repositoryStorage String
    Which storage shard the repository is on. (administrator only)
    requestAccessEnabled Boolean
    Whether requesting access is enabled for the project.
    requirementsAccessLevel String
    Set the requirements access level. Valid values are disabled, private, enabled.
    resolveOutdatedDiffDiscussions Boolean
    Whether resolve_outdated_diff_discussions is enabled for the project
    restrictUserDefinedVariables Boolean
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
    runnersToken String
    The runners token for the project.
    securityAndComplianceAccessLevel String
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    sharedRunnersEnabled Boolean
    Whether shared runners are enabled for the project.
    sharedWithGroups List<GetProjectsProjectSharedWithGroup>
    Groups the the project is shared with.
    snippetsAccessLevel String
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippetsEnabled Boolean
    Whether snippets are enabled for the project.
    squashCommitTemplate String
    Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
    sshUrlToRepo String
    The SSH clone URL of the project.
    starCount Integer
    The number of stars on the project.
    statistics Map<String,Integer>
    Statistics for the project.
    suggestionCommitMessage String
    The commit message used to apply merge request suggestions.
    tagLists List<String>
    A set of the project topics (formerly called "project tags").
    topics List<String>
    The list of topics for the project.
    visibility String
    The visibility of the project.
    webUrl String
    The web url of the project.
    wikiAccessLevel String
    Set the wiki access level. Valid values are disabled, private, enabled.
    wikiEnabled Boolean
    Whether wiki is enabled for the project.
    _links {[key: string]: string}
    Links for the project.
    allowMergeOnSkippedPipeline boolean
    Whether allow_merge_on_skipped_pipeline is enabled for the project.
    analyticsAccessLevel string
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvalsBeforeMerge number
    The numbers of approvals needed in a merge requests.
    archived boolean
    Whether the project is archived.
    autoCancelPendingPipelines string
    Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
    autoDevopsDeployStrategy string
    Auto Deploy strategy. Valid values are continuous, manual, timed_incremental.
    autoDevopsEnabled boolean
    Enable Auto DevOps for this project.
    autocloseReferencedIssues boolean
    Set whether auto-closing referenced issues on default branch.
    avatarUrl string
    The avatar url of the project.
    buildCoverageRegex string
    Build coverage regex for the project.
    buildGitStrategy string
    The Git strategy. Defaults to fetch.
    buildTimeout number
    The maximum amount of time, in seconds, that a job can run.
    buildsAccessLevel string
    Set the builds access level. Valid values are disabled, private, enabled.
    ciConfigPath string
    CI config file path for the project.
    ciDefaultGitDepth number
    Default number of revisions for shallow cloning.
    ciForwardDeploymentEnabled boolean
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ciRestrictPipelineCancellationRole string
    The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are developer, maintainer, no one
    containerExpirationPolicies GetProjectsProjectContainerExpirationPolicy[]
    Set the image cleanup policy for this project. Note: this field is sometimes named container_expiration_policy_attributes in the GitLab Upstream API.
    containerRegistryAccessLevel string
    Set visibility of container registry, for this project. Valid values are disabled, private, enabled.
    containerRegistryEnabled boolean
    Whether the container registry is enabled for the project.
    createdAt string
    Creation time for the project.
    creatorId number
    Creator ID for the project.
    customAttributes {[key: string]: string}[]
    Custom attributes for the project.
    defaultBranch string
    The default branch name of the project.
    description string
    The description of the project.
    emailsDisabled boolean
    Disable email notifications.
    emptyRepo boolean
    Whether the project is empty.
    environmentsAccessLevel string
    Set the environments access level. Valid values are disabled, private, enabled.
    externalAuthorizationClassificationLabel string
    The classification label for the project.
    featureFlagsAccessLevel string
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forkedFromProjects GetProjectsProjectForkedFromProject[]
    Present if the project is a fork. Contains information about the upstream project.
    forkingAccessLevel string
    Set the forking access level. Valid values are disabled, private, enabled.
    forksCount number
    The number of forks of the project.
    groupRunnersEnabled boolean
    Whether group runners are enabled for the project.
    httpUrlToRepo string
    The HTTP clone URL of the project.
    id number
    The ID of the project.
    importError string
    The import error, if it exists, for the project.
    importStatus string
    The import status of the project.
    importUrl string
    URL the project was imported from.
    infrastructureAccessLevel string
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issuesAccessLevel string
    Set the issues access level. Valid values are disabled, private, enabled.
    issuesEnabled boolean
    Whether issues are enabled for the project.
    jobsEnabled boolean
    Whether pipelines are enabled for the project.
    keepLatestArtifact boolean
    Disable or enable the ability to keep the latest artifact for this project.
    lastActivityAt string
    Last activirty time for the project.
    lfsEnabled boolean
    Whether LFS (large file storage) is enabled for the project.
    mergeCommitTemplate string
    Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
    mergeMethod string
    Merge method for the project.
    mergePipelinesEnabled boolean
    Enable or disable merge pipelines.
    mergeRequestsAccessLevel string
    Set the merge requests access level. Valid values are disabled, private, enabled.
    mergeRequestsEnabled boolean
    Whether merge requests are enabled for the project.
    mergeTrainsEnabled boolean
    Enable or disable merge trains.
    mirror boolean
    Whether the pull mirroring is enabled for the project.
    mirrorOverwritesDivergedBranches boolean
    Whether mirror_overwrites_diverged_branches is enabled for the project.
    mirrorTriggerBuilds boolean
    Whether pull mirroring triggers builds for the project.
    mirrorUserId number
    The mirror user ID for the project.
    monitorAccessLevel string
    Set the monitor access level. Valid values are disabled, private, enabled.
    name string
    The name of the project.
    nameWithNamespace string
    In group / subgroup / project or user / project format.
    namespaces GetProjectsProjectNamespace[]
    Namespace of the project (parent group/s).
    onlyAllowMergeIfAllDiscussionsAreResolved boolean
    Whether only_allow_merge_if_all_discussions_are_resolved is enabled for the project.
    onlyAllowMergeIfPipelineSucceeds boolean
    Whether only_allow_merge_if_pipeline_succeeds is enabled for the project.
    onlyMirrorProtectedBranches boolean
    Whether only_mirror_protected_branches is enabled for the project.
    openIssuesCount number
    The number of open issies for the project.
    owners GetProjectsProjectOwner[]
    packagesEnabled boolean
    Whether packages are enabled for the project.
    path string
    The path of the project.
    pathWithNamespace string
    In group/subgroup/project or user/project format.
    permissions GetProjectsProjectPermission[]
    Permissions for the project.
    public boolean
    Whether the project is public.
    publicBuilds boolean
    Whether public builds are enabled for the project.
    readmeUrl string
    The remote url of the project.
    releasesAccessLevel string
    Set the releases access level. Valid values are disabled, private, enabled.
    repositoryAccessLevel string
    Set the repository access level. Valid values are disabled, private, enabled.
    repositoryStorage string
    Which storage shard the repository is on. (administrator only)
    requestAccessEnabled boolean
    Whether requesting access is enabled for the project.
    requirementsAccessLevel string
    Set the requirements access level. Valid values are disabled, private, enabled.
    resolveOutdatedDiffDiscussions boolean
    Whether resolve_outdated_diff_discussions is enabled for the project
    restrictUserDefinedVariables boolean
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
    runnersToken string
    The runners token for the project.
    securityAndComplianceAccessLevel string
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    sharedRunnersEnabled boolean
    Whether shared runners are enabled for the project.
    sharedWithGroups GetProjectsProjectSharedWithGroup[]
    Groups the the project is shared with.
    snippetsAccessLevel string
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippetsEnabled boolean
    Whether snippets are enabled for the project.
    squashCommitTemplate string
    Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
    sshUrlToRepo string
    The SSH clone URL of the project.
    starCount number
    The number of stars on the project.
    statistics {[key: string]: number}
    Statistics for the project.
    suggestionCommitMessage string
    The commit message used to apply merge request suggestions.
    tagLists string[]
    A set of the project topics (formerly called "project tags").
    topics string[]
    The list of topics for the project.
    visibility string
    The visibility of the project.
    webUrl string
    The web url of the project.
    wikiAccessLevel string
    Set the wiki access level. Valid values are disabled, private, enabled.
    wikiEnabled boolean
    Whether wiki is enabled for the project.
    _links Mapping[str, str]
    Links for the project.
    allow_merge_on_skipped_pipeline bool
    Whether allow_merge_on_skipped_pipeline is enabled for the project.
    analytics_access_level str
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvals_before_merge int
    The numbers of approvals needed in a merge requests.
    archived bool
    Whether the project is archived.
    auto_cancel_pending_pipelines str
    Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
    auto_devops_deploy_strategy str
    Auto Deploy strategy. Valid values are continuous, manual, timed_incremental.
    auto_devops_enabled bool
    Enable Auto DevOps for this project.
    autoclose_referenced_issues bool
    Set whether auto-closing referenced issues on default branch.
    avatar_url str
    The avatar url of the project.
    build_coverage_regex str
    Build coverage regex for the project.
    build_git_strategy str
    The Git strategy. Defaults to fetch.
    build_timeout int
    The maximum amount of time, in seconds, that a job can run.
    builds_access_level str
    Set the builds access level. Valid values are disabled, private, enabled.
    ci_config_path str
    CI config file path for the project.
    ci_default_git_depth int
    Default number of revisions for shallow cloning.
    ci_forward_deployment_enabled bool
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ci_restrict_pipeline_cancellation_role str
    The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are developer, maintainer, no one
    container_expiration_policies Sequence[GetProjectsProjectContainerExpirationPolicy]
    Set the image cleanup policy for this project. Note: this field is sometimes named container_expiration_policy_attributes in the GitLab Upstream API.
    container_registry_access_level str
    Set visibility of container registry, for this project. Valid values are disabled, private, enabled.
    container_registry_enabled bool
    Whether the container registry is enabled for the project.
    created_at str
    Creation time for the project.
    creator_id int
    Creator ID for the project.
    custom_attributes Sequence[Mapping[str, str]]
    Custom attributes for the project.
    default_branch str
    The default branch name of the project.
    description str
    The description of the project.
    emails_disabled bool
    Disable email notifications.
    empty_repo bool
    Whether the project is empty.
    environments_access_level str
    Set the environments access level. Valid values are disabled, private, enabled.
    external_authorization_classification_label str
    The classification label for the project.
    feature_flags_access_level str
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forked_from_projects Sequence[GetProjectsProjectForkedFromProject]
    Present if the project is a fork. Contains information about the upstream project.
    forking_access_level str
    Set the forking access level. Valid values are disabled, private, enabled.
    forks_count int
    The number of forks of the project.
    group_runners_enabled bool
    Whether group runners are enabled for the project.
    http_url_to_repo str
    The HTTP clone URL of the project.
    id int
    The ID of the project.
    import_error str
    The import error, if it exists, for the project.
    import_status str
    The import status of the project.
    import_url str
    URL the project was imported from.
    infrastructure_access_level str
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issues_access_level str
    Set the issues access level. Valid values are disabled, private, enabled.
    issues_enabled bool
    Whether issues are enabled for the project.
    jobs_enabled bool
    Whether pipelines are enabled for the project.
    keep_latest_artifact bool
    Disable or enable the ability to keep the latest artifact for this project.
    last_activity_at str
    Last activirty time for the project.
    lfs_enabled bool
    Whether LFS (large file storage) is enabled for the project.
    merge_commit_template str
    Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
    merge_method str
    Merge method for the project.
    merge_pipelines_enabled bool
    Enable or disable merge pipelines.
    merge_requests_access_level str
    Set the merge requests access level. Valid values are disabled, private, enabled.
    merge_requests_enabled bool
    Whether merge requests are enabled for the project.
    merge_trains_enabled bool
    Enable or disable merge trains.
    mirror bool
    Whether the pull mirroring is enabled for the project.
    mirror_overwrites_diverged_branches bool
    Whether mirror_overwrites_diverged_branches is enabled for the project.
    mirror_trigger_builds bool
    Whether pull mirroring triggers builds for the project.
    mirror_user_id int
    The mirror user ID for the project.
    monitor_access_level str
    Set the monitor access level. Valid values are disabled, private, enabled.
    name str
    The name of the project.
    name_with_namespace str
    In group / subgroup / project or user / project format.
    namespaces Sequence[GetProjectsProjectNamespace]
    Namespace of the project (parent group/s).
    only_allow_merge_if_all_discussions_are_resolved bool
    Whether only_allow_merge_if_all_discussions_are_resolved is enabled for the project.
    only_allow_merge_if_pipeline_succeeds bool
    Whether only_allow_merge_if_pipeline_succeeds is enabled for the project.
    only_mirror_protected_branches bool
    Whether only_mirror_protected_branches is enabled for the project.
    open_issues_count int
    The number of open issies for the project.
    owners Sequence[GetProjectsProjectOwner]
    packages_enabled bool
    Whether packages are enabled for the project.
    path str
    The path of the project.
    path_with_namespace str
    In group/subgroup/project or user/project format.
    permissions Sequence[GetProjectsProjectPermission]
    Permissions for the project.
    public bool
    Whether the project is public.
    public_builds bool
    Whether public builds are enabled for the project.
    readme_url str
    The remote url of the project.
    releases_access_level str
    Set the releases access level. Valid values are disabled, private, enabled.
    repository_access_level str
    Set the repository access level. Valid values are disabled, private, enabled.
    repository_storage str
    Which storage shard the repository is on. (administrator only)
    request_access_enabled bool
    Whether requesting access is enabled for the project.
    requirements_access_level str
    Set the requirements access level. Valid values are disabled, private, enabled.
    resolve_outdated_diff_discussions bool
    Whether resolve_outdated_diff_discussions is enabled for the project
    restrict_user_defined_variables bool
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
    runners_token str
    The runners token for the project.
    security_and_compliance_access_level str
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    shared_runners_enabled bool
    Whether shared runners are enabled for the project.
    shared_with_groups Sequence[GetProjectsProjectSharedWithGroup]
    Groups the the project is shared with.
    snippets_access_level str
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippets_enabled bool
    Whether snippets are enabled for the project.
    squash_commit_template str
    Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
    ssh_url_to_repo str
    The SSH clone URL of the project.
    star_count int
    The number of stars on the project.
    statistics Mapping[str, int]
    Statistics for the project.
    suggestion_commit_message str
    The commit message used to apply merge request suggestions.
    tag_lists Sequence[str]
    A set of the project topics (formerly called "project tags").
    topics Sequence[str]
    The list of topics for the project.
    visibility str
    The visibility of the project.
    web_url str
    The web url of the project.
    wiki_access_level str
    Set the wiki access level. Valid values are disabled, private, enabled.
    wiki_enabled bool
    Whether wiki is enabled for the project.
    _links Map<String>
    Links for the project.
    allowMergeOnSkippedPipeline Boolean
    Whether allow_merge_on_skipped_pipeline is enabled for the project.
    analyticsAccessLevel String
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvalsBeforeMerge Number
    The numbers of approvals needed in a merge requests.
    archived Boolean
    Whether the project is archived.
    autoCancelPendingPipelines String
    Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
    autoDevopsDeployStrategy String
    Auto Deploy strategy. Valid values are continuous, manual, timed_incremental.
    autoDevopsEnabled Boolean
    Enable Auto DevOps for this project.
    autocloseReferencedIssues Boolean
    Set whether auto-closing referenced issues on default branch.
    avatarUrl String
    The avatar url of the project.
    buildCoverageRegex String
    Build coverage regex for the project.
    buildGitStrategy String
    The Git strategy. Defaults to fetch.
    buildTimeout Number
    The maximum amount of time, in seconds, that a job can run.
    buildsAccessLevel String
    Set the builds access level. Valid values are disabled, private, enabled.
    ciConfigPath String
    CI config file path for the project.
    ciDefaultGitDepth Number
    Default number of revisions for shallow cloning.
    ciForwardDeploymentEnabled Boolean
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ciRestrictPipelineCancellationRole String
    The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are developer, maintainer, no one
    containerExpirationPolicies List<Property Map>
    Set the image cleanup policy for this project. Note: this field is sometimes named container_expiration_policy_attributes in the GitLab Upstream API.
    containerRegistryAccessLevel String
    Set visibility of container registry, for this project. Valid values are disabled, private, enabled.
    containerRegistryEnabled Boolean
    Whether the container registry is enabled for the project.
    createdAt String
    Creation time for the project.
    creatorId Number
    Creator ID for the project.
    customAttributes List<Map<String>>
    Custom attributes for the project.
    defaultBranch String
    The default branch name of the project.
    description String
    The description of the project.
    emailsDisabled Boolean
    Disable email notifications.
    emptyRepo Boolean
    Whether the project is empty.
    environmentsAccessLevel String
    Set the environments access level. Valid values are disabled, private, enabled.
    externalAuthorizationClassificationLabel String
    The classification label for the project.
    featureFlagsAccessLevel String
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forkedFromProjects List<Property Map>
    Present if the project is a fork. Contains information about the upstream project.
    forkingAccessLevel String
    Set the forking access level. Valid values are disabled, private, enabled.
    forksCount Number
    The number of forks of the project.
    groupRunnersEnabled Boolean
    Whether group runners are enabled for the project.
    httpUrlToRepo String
    The HTTP clone URL of the project.
    id Number
    The ID of the project.
    importError String
    The import error, if it exists, for the project.
    importStatus String
    The import status of the project.
    importUrl String
    URL the project was imported from.
    infrastructureAccessLevel String
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issuesAccessLevel String
    Set the issues access level. Valid values are disabled, private, enabled.
    issuesEnabled Boolean
    Whether issues are enabled for the project.
    jobsEnabled Boolean
    Whether pipelines are enabled for the project.
    keepLatestArtifact Boolean
    Disable or enable the ability to keep the latest artifact for this project.
    lastActivityAt String
    Last activirty time for the project.
    lfsEnabled Boolean
    Whether LFS (large file storage) is enabled for the project.
    mergeCommitTemplate String
    Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
    mergeMethod String
    Merge method for the project.
    mergePipelinesEnabled Boolean
    Enable or disable merge pipelines.
    mergeRequestsAccessLevel String
    Set the merge requests access level. Valid values are disabled, private, enabled.
    mergeRequestsEnabled Boolean
    Whether merge requests are enabled for the project.
    mergeTrainsEnabled Boolean
    Enable or disable merge trains.
    mirror Boolean
    Whether the pull mirroring is enabled for the project.
    mirrorOverwritesDivergedBranches Boolean
    Whether mirror_overwrites_diverged_branches is enabled for the project.
    mirrorTriggerBuilds Boolean
    Whether pull mirroring triggers builds for the project.
    mirrorUserId Number
    The mirror user ID for the project.
    monitorAccessLevel String
    Set the monitor access level. Valid values are disabled, private, enabled.
    name String
    The name of the project.
    nameWithNamespace String
    In group / subgroup / project or user / project format.
    namespaces List<Property Map>
    Namespace of the project (parent group/s).
    onlyAllowMergeIfAllDiscussionsAreResolved Boolean
    Whether only_allow_merge_if_all_discussions_are_resolved is enabled for the project.
    onlyAllowMergeIfPipelineSucceeds Boolean
    Whether only_allow_merge_if_pipeline_succeeds is enabled for the project.
    onlyMirrorProtectedBranches Boolean
    Whether only_mirror_protected_branches is enabled for the project.
    openIssuesCount Number
    The number of open issies for the project.
    owners List<Property Map>
    packagesEnabled Boolean
    Whether packages are enabled for the project.
    path String
    The path of the project.
    pathWithNamespace String
    In group/subgroup/project or user/project format.
    permissions List<Property Map>
    Permissions for the project.
    public Boolean
    Whether the project is public.
    publicBuilds Boolean
    Whether public builds are enabled for the project.
    readmeUrl String
    The remote url of the project.
    releasesAccessLevel String
    Set the releases access level. Valid values are disabled, private, enabled.
    repositoryAccessLevel String
    Set the repository access level. Valid values are disabled, private, enabled.
    repositoryStorage String
    Which storage shard the repository is on. (administrator only)
    requestAccessEnabled Boolean
    Whether requesting access is enabled for the project.
    requirementsAccessLevel String
    Set the requirements access level. Valid values are disabled, private, enabled.
    resolveOutdatedDiffDiscussions Boolean
    Whether resolve_outdated_diff_discussions is enabled for the project
    restrictUserDefinedVariables Boolean
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
    runnersToken String
    The runners token for the project.
    securityAndComplianceAccessLevel String
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    sharedRunnersEnabled Boolean
    Whether shared runners are enabled for the project.
    sharedWithGroups List<Property Map>
    Groups the the project is shared with.
    snippetsAccessLevel String
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippetsEnabled Boolean
    Whether snippets are enabled for the project.
    squashCommitTemplate String
    Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
    sshUrlToRepo String
    The SSH clone URL of the project.
    starCount Number
    The number of stars on the project.
    statistics Map<Number>
    Statistics for the project.
    suggestionCommitMessage String
    The commit message used to apply merge request suggestions.
    tagLists List<String>
    A set of the project topics (formerly called "project tags").
    topics List<String>
    The list of topics for the project.
    visibility String
    The visibility of the project.
    webUrl String
    The web url of the project.
    wikiAccessLevel String
    Set the wiki access level. Valid values are disabled, private, enabled.
    wikiEnabled Boolean
    Whether wiki is enabled for the project.

    GetProjectsProjectContainerExpirationPolicy

    Cadence string
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    Enabled bool
    If true, the policy is enabled.
    KeepN int
    The number of images to keep.
    NameRegex string
    The regular expression to match image names to delete.

    Deprecated:name_regex has been deprecated. Use name_regex_delete instead.

    NameRegexDelete string
    The regular expression to match image names to delete.
    NameRegexKeep string
    The regular expression to match image names to keep.
    NextRunAt string
    The next time the policy will run.
    OlderThan string
    The number of days to keep images.
    Cadence string
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    Enabled bool
    If true, the policy is enabled.
    KeepN int
    The number of images to keep.
    NameRegex string
    The regular expression to match image names to delete.

    Deprecated:name_regex has been deprecated. Use name_regex_delete instead.

    NameRegexDelete string
    The regular expression to match image names to delete.
    NameRegexKeep string
    The regular expression to match image names to keep.
    NextRunAt string
    The next time the policy will run.
    OlderThan string
    The number of days to keep images.
    cadence String
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled Boolean
    If true, the policy is enabled.
    keepN Integer
    The number of images to keep.
    nameRegex String
    The regular expression to match image names to delete.

    Deprecated:name_regex has been deprecated. Use name_regex_delete instead.

    nameRegexDelete String
    The regular expression to match image names to delete.
    nameRegexKeep String
    The regular expression to match image names to keep.
    nextRunAt String
    The next time the policy will run.
    olderThan String
    The number of days to keep images.
    cadence string
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled boolean
    If true, the policy is enabled.
    keepN number
    The number of images to keep.
    nameRegex string
    The regular expression to match image names to delete.

    Deprecated:name_regex has been deprecated. Use name_regex_delete instead.

    nameRegexDelete string
    The regular expression to match image names to delete.
    nameRegexKeep string
    The regular expression to match image names to keep.
    nextRunAt string
    The next time the policy will run.
    olderThan string
    The number of days to keep images.
    cadence str
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled bool
    If true, the policy is enabled.
    keep_n int
    The number of images to keep.
    name_regex str
    The regular expression to match image names to delete.

    Deprecated:name_regex has been deprecated. Use name_regex_delete instead.

    name_regex_delete str
    The regular expression to match image names to delete.
    name_regex_keep str
    The regular expression to match image names to keep.
    next_run_at str
    The next time the policy will run.
    older_than str
    The number of days to keep images.
    cadence String
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled Boolean
    If true, the policy is enabled.
    keepN Number
    The number of images to keep.
    nameRegex String
    The regular expression to match image names to delete.

    Deprecated:name_regex has been deprecated. Use name_regex_delete instead.

    nameRegexDelete String
    The regular expression to match image names to delete.
    nameRegexKeep String
    The regular expression to match image names to keep.
    nextRunAt String
    The next time the policy will run.
    olderThan String
    The number of days to keep images.

    GetProjectsProjectForkedFromProject

    HttpUrlToRepo string
    The HTTP clone URL of the upstream project.
    Id int
    The ID of the upstream project.
    Name string
    The name of the upstream project.
    NameWithNamespace string
    In group / subgroup / project or user / project format.
    Path string
    The path of the upstream project.
    PathWithNamespace string
    In group/subgroup/project or user/project format.
    WebUrl string
    The web url of the upstream project.
    HttpUrlToRepo string
    The HTTP clone URL of the upstream project.
    Id int
    The ID of the upstream project.
    Name string
    The name of the upstream project.
    NameWithNamespace string
    In group / subgroup / project or user / project format.
    Path string
    The path of the upstream project.
    PathWithNamespace string
    In group/subgroup/project or user/project format.
    WebUrl string
    The web url of the upstream project.
    httpUrlToRepo String
    The HTTP clone URL of the upstream project.
    id Integer
    The ID of the upstream project.
    name String
    The name of the upstream project.
    nameWithNamespace String
    In group / subgroup / project or user / project format.
    path String
    The path of the upstream project.
    pathWithNamespace String
    In group/subgroup/project or user/project format.
    webUrl String
    The web url of the upstream project.
    httpUrlToRepo string
    The HTTP clone URL of the upstream project.
    id number
    The ID of the upstream project.
    name string
    The name of the upstream project.
    nameWithNamespace string
    In group / subgroup / project or user / project format.
    path string
    The path of the upstream project.
    pathWithNamespace string
    In group/subgroup/project or user/project format.
    webUrl string
    The web url of the upstream project.
    http_url_to_repo str
    The HTTP clone URL of the upstream project.
    id int
    The ID of the upstream project.
    name str
    The name of the upstream project.
    name_with_namespace str
    In group / subgroup / project or user / project format.
    path str
    The path of the upstream project.
    path_with_namespace str
    In group/subgroup/project or user/project format.
    web_url str
    The web url of the upstream project.
    httpUrlToRepo String
    The HTTP clone URL of the upstream project.
    id Number
    The ID of the upstream project.
    name String
    The name of the upstream project.
    nameWithNamespace String
    In group / subgroup / project or user / project format.
    path String
    The path of the upstream project.
    pathWithNamespace String
    In group/subgroup/project or user/project format.
    webUrl String
    The web url of the upstream project.

    GetProjectsProjectNamespace

    FullPath string
    The full path of the namespace.
    Id int
    The ID of the namespace.
    Kind string
    The kind of the namespace.
    Name string
    The name of the namespace.
    Path string
    The path of the namespace.
    FullPath string
    The full path of the namespace.
    Id int
    The ID of the namespace.
    Kind string
    The kind of the namespace.
    Name string
    The name of the namespace.
    Path string
    The path of the namespace.
    fullPath String
    The full path of the namespace.
    id Integer
    The ID of the namespace.
    kind String
    The kind of the namespace.
    name String
    The name of the namespace.
    path String
    The path of the namespace.
    fullPath string
    The full path of the namespace.
    id number
    The ID of the namespace.
    kind string
    The kind of the namespace.
    name string
    The name of the namespace.
    path string
    The path of the namespace.
    full_path str
    The full path of the namespace.
    id int
    The ID of the namespace.
    kind str
    The kind of the namespace.
    name str
    The name of the namespace.
    path str
    The path of the namespace.
    fullPath String
    The full path of the namespace.
    id Number
    The ID of the namespace.
    kind String
    The kind of the namespace.
    name String
    The name of the namespace.
    path String
    The path of the namespace.

    GetProjectsProjectOwner

    AvatarUrl string
    The avatar url of the owner.
    Id int
    The ID of the owner.
    Name string
    The name of the owner.
    State string
    The state of the owner.
    Username string
    The username of the owner.
    WebsiteUrl string
    The website url of the owner.
    AvatarUrl string
    The avatar url of the owner.
    Id int
    The ID of the owner.
    Name string
    The name of the owner.
    State string
    The state of the owner.
    Username string
    The username of the owner.
    WebsiteUrl string
    The website url of the owner.
    avatarUrl String
    The avatar url of the owner.
    id Integer
    The ID of the owner.
    name String
    The name of the owner.
    state String
    The state of the owner.
    username String
    The username of the owner.
    websiteUrl String
    The website url of the owner.
    avatarUrl string
    The avatar url of the owner.
    id number
    The ID of the owner.
    name string
    The name of the owner.
    state string
    The state of the owner.
    username string
    The username of the owner.
    websiteUrl string
    The website url of the owner.
    avatar_url str
    The avatar url of the owner.
    id int
    The ID of the owner.
    name str
    The name of the owner.
    state str
    The state of the owner.
    username str
    The username of the owner.
    website_url str
    The website url of the owner.
    avatarUrl String
    The avatar url of the owner.
    id Number
    The ID of the owner.
    name String
    The name of the owner.
    state String
    The state of the owner.
    username String
    The username of the owner.
    websiteUrl String
    The website url of the owner.

    GetProjectsProjectPermission

    GroupAccess Dictionary<string, int>
    Group access level.
    ProjectAccess Dictionary<string, int>
    Project access level.
    GroupAccess map[string]int
    Group access level.
    ProjectAccess map[string]int
    Project access level.
    groupAccess Map<String,Integer>
    Group access level.
    projectAccess Map<String,Integer>
    Project access level.
    groupAccess {[key: string]: number}
    Group access level.
    projectAccess {[key: string]: number}
    Project access level.
    group_access Mapping[str, int]
    Group access level.
    project_access Mapping[str, int]
    Project access level.
    groupAccess Map<Number>
    Group access level.
    projectAccess Map<Number>
    Project access level.

    GetProjectsProjectSharedWithGroup

    GroupAccessLevel string
    The group access level.
    GroupId int
    The group ID.
    GroupName string
    The group name.
    GroupAccessLevel string
    The group access level.
    GroupId int
    The group ID.
    GroupName string
    The group name.
    groupAccessLevel String
    The group access level.
    groupId Integer
    The group ID.
    groupName String
    The group name.
    groupAccessLevel string
    The group access level.
    groupId number
    The group ID.
    groupName string
    The group name.
    group_access_level str
    The group access level.
    group_id int
    The group ID.
    group_name str
    The group name.
    groupAccessLevel String
    The group access level.
    groupId Number
    The group ID.
    groupName String
    The group name.

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    GitLab v6.10.0 published on Monday, Mar 25, 2024 by Pulumi