GroupLdapLink

class GroupLdapLink : KotlinCustomResource

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

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GroupLdapLink;
import com.pulumi.gitlab.GroupLdapLinkArgs;
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) {
var test = new GroupLdapLink("test", GroupLdapLinkArgs.builder()
.cn("testuser")
.groupAccess("developer")
.groupId("12345")
.ldapProvider("ldapmain")
.build());
}
}

Import

GitLab group ldap links can be imported using an id made up of group_id:ldap_provider:cn, e.g.

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

Properties

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

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>

The CN of the LDAP group to link with.

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

If true, then delete and replace an existing LDAP link if one exists.

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

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 groupId: Output<String>

The id of the GitLab group.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ldapProvider: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>