GroupLdapLink

This resource allows you to add an LDAP link to an existing GitLab group.

Example Usage

using Pulumi;
using GitLab = Pulumi.GitLab;

class MyStack : Stack
{
    public MyStack()
    {
        var test = new GitLab.GroupLdapLink("test", new GitLab.GroupLdapLinkArgs
        {
            AccessLevel = "developer",
            Cn = "testuser",
            GroupId = "12345",
            LdapProvider = "ldapmain",
        });
    }

}

Coming soon!

import pulumi
import pulumi_gitlab as gitlab

test = gitlab.GroupLdapLink("test",
    access_level="developer",
    cn="testuser",
    group_id="12345",
    ldap_provider="ldapmain")
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";

const test = new gitlab.GroupLdapLink("test", {
    accessLevel: "developer",
    cn: "testuser",
    groupId: "12345",
    ldapProvider: "ldapmain",
});

Create a GroupLdapLink Resource

def GroupLdapLink(resource_name, opts=None, access_level=None, cn=None, force=None, group_id=None, ldap_provider=None, __props__=None);
name string
The unique name of the resource.
args GroupLdapLinkArgs
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 GroupLdapLinkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GroupLdapLinkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

GroupLdapLink Resource Properties

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

Inputs

The GroupLdapLink resource accepts the following input properties:

AccessLevel string

Acceptable values are: guest, reporter, developer, maintainer, owner.

Cn string

The CN of the LDAP group to link with.

GroupId string

The id of the GitLab group.

LdapProvider string

The name of the LDAP provider as stored in the GitLab database.

Force bool
AccessLevel string

Acceptable values are: guest, reporter, developer, maintainer, owner.

Cn string

The CN of the LDAP group to link with.

GroupId string

The id of the GitLab group.

LdapProvider string

The name of the LDAP provider as stored in the GitLab database.

Force bool
accessLevel string

Acceptable values are: guest, reporter, developer, maintainer, owner.

cn string

The CN of the LDAP group to link with.

groupId string

The id of the GitLab group.

ldapProvider string

The name of the LDAP provider as stored in the GitLab database.

force boolean
access_level str

Acceptable values are: guest, reporter, developer, maintainer, owner.

cn str

The CN of the LDAP group to link with.

group_id str

The id of the GitLab group.

ldap_provider str

The name of the LDAP provider as stored in the GitLab database.

force bool

Outputs

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

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

Look up an Existing GroupLdapLink Resource

Get an existing GroupLdapLink 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?: GroupLdapLinkState, opts?: CustomResourceOptions): GroupLdapLink
static get(resource_name, id, opts=None, access_level=None, cn=None, force=None, group_id=None, ldap_provider=None, __props__=None);
func GetGroupLdapLink(ctx *Context, name string, id IDInput, state *GroupLdapLinkState, opts ...ResourceOption) (*GroupLdapLink, error)
public static GroupLdapLink Get(string name, Input<string> id, GroupLdapLinkState? 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:

AccessLevel string

Acceptable values are: guest, reporter, developer, maintainer, owner.

Cn string

The CN of the LDAP group to link with.

Force bool
GroupId string

The id of the GitLab group.

LdapProvider string

The name of the LDAP provider as stored in the GitLab database.

AccessLevel string

Acceptable values are: guest, reporter, developer, maintainer, owner.

Cn string

The CN of the LDAP group to link with.

Force bool
GroupId string

The id of the GitLab group.

LdapProvider string

The name of the LDAP provider as stored in the GitLab database.

accessLevel string

Acceptable values are: guest, reporter, developer, maintainer, owner.

cn string

The CN of the LDAP group to link with.

force boolean
groupId string

The id of the GitLab group.

ldapProvider string

The name of the LDAP provider as stored in the GitLab database.

access_level str

Acceptable values are: guest, reporter, developer, maintainer, owner.

cn str

The CN of the LDAP group to link with.

force bool
group_id str

The id of the GitLab group.

ldap_provider str

The name of the LDAP provider as stored in the GitLab database.

Package Details

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