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
new GroupLdapLink(name: string, args: GroupLdapLinkArgs, opts?: CustomResourceOptions);def GroupLdapLink(resource_name, opts=None, access_level=None, cn=None, force=None, group_id=None, ldap_provider=None, __props__=None);func NewGroupLdapLink(ctx *Context, name string, args GroupLdapLinkArgs, opts ...ResourceOption) (*GroupLdapLink, error)public GroupLdapLink(string name, GroupLdapLinkArgs args, CustomResourceOptions? opts = null)- 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:
- Access
Level string Acceptable values are: guest, reporter, developer, maintainer, owner.
- Cn string
The CN of the LDAP group to link with.
- Group
Id string The id of the GitLab group.
- Ldap
Provider string The name of the LDAP provider as stored in the GitLab database.
- Force bool
- Access
Level string Acceptable values are: guest, reporter, developer, maintainer, owner.
- Cn string
The CN of the LDAP group to link with.
- Group
Id string The id of the GitLab group.
- Ldap
Provider string The name of the LDAP provider as stored in the GitLab database.
- Force bool
- access
Level string Acceptable values are: guest, reporter, developer, maintainer, owner.
- cn string
The CN of the LDAP group to link with.
- group
Id string The id of the GitLab group.
- ldap
Provider 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:
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): GroupLdapLinkstatic 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:
- Access
Level string Acceptable values are: guest, reporter, developer, maintainer, owner.
- Cn string
The CN of the LDAP group to link with.
- Force bool
- Group
Id string The id of the GitLab group.
- Ldap
Provider string The name of the LDAP provider as stored in the GitLab database.
- Access
Level string Acceptable values are: guest, reporter, developer, maintainer, owner.
- Cn string
The CN of the LDAP group to link with.
- Force bool
- Group
Id string The id of the GitLab group.
- Ldap
Provider string The name of the LDAP provider as stored in the GitLab database.
- access
Level string Acceptable values are: guest, reporter, developer, maintainer, owner.
- cn string
The CN of the LDAP group to link with.
- force boolean
- group
Id string The id of the GitLab group.
- ldap
Provider 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
gitlabTerraform Provider.