1. Packages
  2. Gitlab Provider
  3. API Docs
  4. getProjects
GitLab v8.10.0 published on Friday, Mar 21, 2025 by Pulumi

gitlab.getProjects

Explore with Pulumi AI

GitLab v8.10.0 published on Friday, Mar 21, 2025 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 client-go 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";

// List projects within a group tree
const mygroup = gitlab.getGroup({
    fullPath: "mygroup",
});
const groupProjects = mygroup.then(mygroup => gitlab.getProjects({
    groupId: mygroup.id,
    orderBy: "name",
    includeSubgroups: true,
    withShared: false,
}));
// List projects using the search syntax
const projects = gitlab.getProjects({
    search: "postgresql",
    visibility: "private",
});
Copy
import pulumi
import pulumi_gitlab as gitlab

# List projects within a group tree
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)
# List projects using the search syntax
projects = gitlab.get_projects(search="postgresql",
    visibility="private")
Copy
package main

import (
	"github.com/pulumi/pulumi-gitlab/sdk/v8/go/gitlab"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// List projects within a group tree
		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
		}
		// List projects using the search syntax
		_, err = gitlab.GetProjects(ctx, &gitlab.GetProjectsArgs{
			Search:     pulumi.StringRef("postgresql"),
			Visibility: pulumi.StringRef("private"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;

return await Deployment.RunAsync(() => 
{
    // List projects within a group tree
    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,
    });

    // List projects using the search syntax
    var projects = GitLab.GetProjects.Invoke(new()
    {
        Search = "postgresql",
        Visibility = "private",
    });

});
Copy
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) {
        // List projects within a group tree
        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());

        // List projects using the search syntax
        final var projects = GitlabFunctions.getProjects(GetProjectsArgs.builder()
            .search("postgresql")
            .visibility("private")
            .build());

    }
}
Copy
variables:
  # List projects within a group tree
  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
  # List projects using the search syntax
  projects:
    fn::invoke:
      function: gitlab:getProjects
      arguments:
        search: postgresql
        visibility: private
Copy

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>
Copy
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]
Copy
func GetProjects(ctx *Context, args *GetProjectsArgs, opts ...InvokeOption) (*GetProjectsResult, error)
func GetProjectsOutput(ctx *Context, args *GetProjectsOutputArgs, opts ...InvokeOption) GetProjectsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
public static Output<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gitlab:index/getProjects:getProjects
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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.
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.
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.
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.
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.
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.

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

GetProjectsProjectContainerExpirationPolicy

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

Deprecated: name_regex has been deprecated. Use name_regex_delete instead.

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

Deprecated: name_regex has been deprecated. Use name_regex_delete instead.

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

Deprecated: name_regex has been deprecated. Use name_regex_delete instead.

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

Deprecated: name_regex has been deprecated. Use name_regex_delete instead.

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

Deprecated: name_regex has been deprecated. Use name_regex_delete instead.

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

Deprecated: name_regex has been deprecated. Use name_regex_delete instead.

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

GetProjectsProjectForkedFromProject

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

GetProjectsProjectNamespace

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

GetProjectsProjectOwner

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

GetProjectsProjectPermission

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

GetProjectsProjectSharedWithGroup

GroupAccessLevel This property is required. string
The group access level.
GroupId This property is required. int
The group ID.
GroupName This property is required. string
The group name.
GroupAccessLevel This property is required. string
The group access level.
GroupId This property is required. int
The group ID.
GroupName This property is required. string
The group name.
groupAccessLevel This property is required. String
The group access level.
groupId This property is required. Integer
The group ID.
groupName This property is required. String
The group name.
groupAccessLevel This property is required. string
The group access level.
groupId This property is required. number
The group ID.
groupName This property is required. string
The group name.
group_access_level This property is required. str
The group access level.
group_id This property is required. int
The group ID.
group_name This property is required. str
The group name.
groupAccessLevel This property is required. String
The group access level.
groupId This property is required. Number
The group ID.
groupName This property is required. 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 v8.10.0 published on Friday, Mar 21, 2025 by Pulumi