Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public class GroupLdapLink : CustomResource
Constructors
View SourceGroupLdapLink(String, GroupLdapLinkArgs, CustomResourceOptions)
Create a GroupLdapLink resource with the given unique name, arguments, and options.
Declaration
public GroupLdapLink(string name, GroupLdapLinkArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| GroupLdapLinkArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccessLevel
Acceptable values are: guest, reporter, developer, maintainer, owner.
Declaration
public Output<string> AccessLevel { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Cn
The CN of the LDAP group to link with.
Declaration
public Output<string> Cn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Force
Declaration
public Output<bool?> Force { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
GroupId
The id of the GitLab group.
Declaration
public Output<string> GroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LdapProvider
The name of the LDAP provider as stored in the GitLab database.
Declaration
public Output<string> LdapProvider { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, GroupLdapLinkState, CustomResourceOptions)
Get an existing GroupLdapLink resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static GroupLdapLink Get(string name, Input<string> id, GroupLdapLinkState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| GroupLdapLinkState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| GroupLdapLink |