GroupLdapLinkArgs

data class GroupLdapLinkArgs(val accessLevel: Output<String>? = null, val cn: Output<String>? = null, val filter: Output<String>? = null, val force: Output<Boolean>? = null, val group: Output<String>? = null, val groupAccess: Output<String>? = null, val ldapProvider: Output<String>? = null) : ConvertibleToJava<GroupLdapLinkArgs>

The gitlab.GroupLdapLink resource allows to manage the lifecycle of an LDAP integration with a group. Upstream API: GitLab REST API docs

Example Usage

resources:
test:
type: gitlab:GroupLdapLink
properties:
groupId: '12345'
cn: testuser
groupAccess: developer
ldapProvider: ldapmain

Import

GitLab group ldap links can be imported using an id made up of group_id:ldap_provider:cn:filter. CN and Filter are mutually exclusive, so one will be missing. If using the CN for the group link, the ID will end with a blank filter (":"). e.g.,

$ pulumi import gitlab:index/groupLdapLink:GroupLdapLink test "12345:ldapmain:testcn:"

If using the Filter for the group link, the ID will have two "::" in the middle due to having a blank CN. e.g.,

$ pulumi import gitlab:index/groupLdapLink:GroupLdapLink test "12345:ldapmain::testfilter"

Constructors

Link copied to clipboard
constructor(accessLevel: Output<String>? = null, cn: Output<String>? = null, filter: Output<String>? = null, force: Output<Boolean>? = null, group: Output<String>? = null, groupAccess: Output<String>? = null, ldapProvider: Output<String>? = null)

Properties

Link copied to clipboard
val accessLevel: Output<String>? = null

Minimum access level for members of the LDAP group. Valid values are: no one, minimal, guest, reporter, developer, maintainer, owner, master

Link copied to clipboard
val cn: Output<String>? = null

The CN of the LDAP group to link with. Required if filter is not provided.

Link copied to clipboard
val filter: Output<String>? = null

The LDAP filter for the group. Required if cn is not provided. Requires GitLab Premium or above.

Link copied to clipboard
val force: Output<Boolean>? = null

If true, then delete and replace an existing LDAP link if one exists. Will also remove an LDAP link if the parent group is not found.

Link copied to clipboard
val group: Output<String>? = null

The ID or URL-encoded path of the group

Link copied to clipboard
val groupAccess: Output<String>? = null

Minimum access level for members of the LDAP group. Valid values are: no one, minimal, guest, reporter, developer, maintainer, owner, master

Link copied to clipboard
val ldapProvider: Output<String>? = null

The name of the LDAP provider as stored in the GitLab database. Note that this is NOT the value of the label attribute as shown in the web UI. In most cases this will be ldapmain but you may use the LDAP check rake task for receiving the LDAP server name: LDAP: ... Server: ldapmain

Functions

Link copied to clipboard
open override fun toJava(): GroupLdapLinkArgs