Group

Create a Group Resource

new Group(name: string, args: GroupArgs, opts?: CustomResourceOptions);
def Group(resource_name, opts=None, description=None, lfs_enabled=None, name=None, parent_id=None, path=None, request_access_enabled=None, visibility_level=None, __props__=None);
func NewGroup(ctx *Context, name string, args GroupArgs, opts ...ResourceOption) (*Group, error)
public Group(string name, GroupArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args GroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args GroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Group Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Group resource accepts the following input properties:

Path string

The path of the group.

Description string

The description of the group.

LfsEnabled bool

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

Name string

The name of this group.

ParentId int

Integer, id of the parent group (creates a nested group).

RequestAccessEnabled bool

Boolean, defaults to false. Whether to enable users to request access to the group.

VisibilityLevel string

Set to public to create a public group. Valid values are private, internal, public. Groups are created as private by default.

Path string

The path of the group.

Description string

The description of the group.

LfsEnabled bool

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

Name string

The name of this group.

ParentId int

Integer, id of the parent group (creates a nested group).

RequestAccessEnabled bool

Boolean, defaults to false. Whether to enable users to request access to the group.

VisibilityLevel string

Set to public to create a public group. Valid values are private, internal, public. Groups are created as private by default.

path string

The path of the group.

description string

The description of the group.

lfsEnabled boolean

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

name string

The name of this group.

parentId number

Integer, id of the parent group (creates a nested group).

requestAccessEnabled boolean

Boolean, defaults to false. Whether to enable users to request access to the group.

visibilityLevel string

Set to public to create a public group. Valid values are private, internal, public. Groups are created as private by default.

path str

The path of the group.

description str

The description of the group.

lfs_enabled bool

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

name str

The name of this group.

parent_id float

Integer, id of the parent group (creates a nested group).

request_access_enabled bool

Boolean, defaults to false. Whether to enable users to request access to the group.

visibility_level str

Set to public to create a public group. Valid values are private, internal, public. Groups are created as private by default.

Outputs

All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:

FullName string

The full name of the group.

FullPath string

The full path of the group.

Id string
The provider-assigned unique ID for this managed resource.
RunnersToken string

The group level registration token to use during runner setup.

WebUrl string

Web URL of the group.

FullName string

The full name of the group.

FullPath string

The full path of the group.

Id string
The provider-assigned unique ID for this managed resource.
RunnersToken string

The group level registration token to use during runner setup.

WebUrl string

Web URL of the group.

fullName string

The full name of the group.

fullPath string

The full path of the group.

id string
The provider-assigned unique ID for this managed resource.
runnersToken string

The group level registration token to use during runner setup.

webUrl string

Web URL of the group.

full_name str

The full name of the group.

full_path str

The full path of the group.

id str
The provider-assigned unique ID for this managed resource.
runners_token str

The group level registration token to use during runner setup.

web_url str

Web URL of the group.

Look up an Existing Group Resource

Get an existing Group resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: GroupState, opts?: CustomResourceOptions): Group
static get(resource_name, id, opts=None, description=None, full_name=None, full_path=None, lfs_enabled=None, name=None, parent_id=None, path=None, request_access_enabled=None, runners_token=None, visibility_level=None, web_url=None, __props__=None);
func GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)
public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Description string

The description of the group.

FullName string

The full name of the group.

FullPath string

The full path of the group.

LfsEnabled bool

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

Name string

The name of this group.

ParentId int

Integer, id of the parent group (creates a nested group).

Path string

The path of the group.

RequestAccessEnabled bool

Boolean, defaults to false. Whether to enable users to request access to the group.

RunnersToken string

The group level registration token to use during runner setup.

VisibilityLevel string

Set to public to create a public group. Valid values are private, internal, public. Groups are created as private by default.

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.

LfsEnabled bool

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

Name string

The name of this group.

ParentId int

Integer, id of the parent group (creates a nested group).

Path string

The path of the group.

RequestAccessEnabled bool

Boolean, defaults to false. Whether to enable users to request access to the group.

RunnersToken string

The group level registration token to use during runner setup.

VisibilityLevel string

Set to public to create a public group. Valid values are private, internal, public. Groups are created as private by default.

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.

lfsEnabled boolean

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

name string

The name of this group.

parentId number

Integer, id of the parent group (creates a nested group).

path string

The path of the group.

requestAccessEnabled boolean

Boolean, defaults to false. Whether to enable users to request access to the group.

runnersToken string

The group level registration token to use during runner setup.

visibilityLevel string

Set to public to create a public group. Valid values are private, internal, public. Groups are created as private by default.

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.

lfs_enabled bool

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

name str

The name of this group.

parent_id float

Integer, id of the parent group (creates a nested group).

path str

The path of the group.

request_access_enabled bool

Boolean, defaults to false. Whether to enable users to request access to the group.

runners_token str

The group level registration token to use during runner setup.

visibility_level str

Set to public to create a public group. Valid values are private, internal, public. Groups are created as private by default.

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.