getGroup

# gitlab_group

Provides details about a specific group in the gitlab provider.

Example Usage

using Pulumi;
using GitLab = Pulumi.GitLab;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = Output.Create(GitLab.GetGroup.InvokeAsync(new GitLab.GetGroupArgs
        {
            GroupId = 123,
        }));
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := 123
		_, err := gitlab.LookupGroup(ctx, &gitlab.LookupGroupArgs{
			GroupId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_gitlab as gitlab

foo = gitlab.get_group(group_id=123)
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";

const foo = pulumi.output(gitlab.getGroup({
    groupId: 123,
}, { async: true }));

Using getGroup

function getGroup(args: GetGroupArgs, opts?: InvokeOptions): Promise<GetGroupResult>
def get_group(full_path: Optional[str] = None,
              group_id: Optional[int] = None,
              opts: Optional[InvokeOptions] = None) -> GetGroupResult
func LookupGroup(ctx *Context, args *LookupGroupArgs, opts ...InvokeOption) (*LookupGroupResult, error)

Note: This function is named LookupGroup in the Go SDK.

public static class GetGroup {
    public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

FullPath string
The full path of the group.
GroupId int
The ID of the group.
FullPath string
The full path of the group.
GroupId int
The ID of the group.
fullPath string
The full path of the group.
groupId number
The ID of the group.
full_path str
The full path of the group.
group_id int
The ID of the group.

getGroup Result

The following output properties are available:

Description string
The description of the group.
FullName string
The full name of the group.
FullPath string
The full path of the group.
GroupId int
Id string
The provider-assigned unique ID for this managed resource.
LfsEnabled bool
Boolean, is LFS enabled for projects in this group.
Name string
The name of this group.
ParentId int
Integer, ID of the parent group.
Path string
The path of the group.
RequestAccessEnabled bool
Boolean, is request for access enabled to the group.
RunnersToken string
The group level registration token to use during runner setup.
VisibilityLevel string
Visibility level of the group. Possible values are private, internal, public.
WebUrl string
Web URL of the group.
Description string
The description of the group.
FullName string
The full name of the group.
FullPath string
The full path of the group.
GroupId int
Id string
The provider-assigned unique ID for this managed resource.
LfsEnabled bool
Boolean, is LFS enabled for projects in this group.
Name string
The name of this group.
ParentId int
Integer, ID of the parent group.
Path string
The path of the group.
RequestAccessEnabled bool
Boolean, is request for access enabled to the group.
RunnersToken string
The group level registration token to use during runner setup.
VisibilityLevel string
Visibility level of the group. Possible values are private, internal, public.
WebUrl string
Web URL of the group.
description string
The description of the group.
fullName string
The full name of the group.
fullPath string
The full path of the group.
groupId number
id string
The provider-assigned unique ID for this managed resource.
lfsEnabled boolean
Boolean, is LFS enabled for projects in this group.
name string
The name of this group.
parentId number
Integer, ID of the parent group.
path string
The path of the group.
requestAccessEnabled boolean
Boolean, is request for access enabled to the group.
runnersToken string
The group level registration token to use during runner setup.
visibilityLevel string
Visibility level of the group. Possible values are private, internal, public.
webUrl string
Web URL of the group.
description str
The description of the group.
full_name str
The full name of the group.
full_path str
The full path of the group.
group_id int
id str
The provider-assigned unique ID for this managed resource.
lfs_enabled bool
Boolean, is LFS enabled for projects in this group.
name str
The name of this group.
parent_id int
Integer, ID of the parent group.
path str
The path of the group.
request_access_enabled bool
Boolean, is request for access enabled to the group.
runners_token str
The group level registration token to use during runner setup.
visibility_level str
Visibility level of the group. Possible values are private, internal, public.
web_url str
Web URL of the group.

Package Details

Repository
https://github.com/pulumi/pulumi-gitlab
License
Apache-2.0
Notes
This Pulumi package is based on the gitlab Terraform Provider.