ProjectShareGroupArgs

data class ProjectShareGroupArgs(val accessLevel: Output<String>? = null, val groupAccess: Output<String>? = null, val groupId: Output<Int>? = null, val projectId: Output<String>? = null) : ConvertibleToJava<ProjectShareGroupArgs>

The gitlab.ProjectShareGroup resource allows to manage the lifecycle of project shared 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.ProjectShareGroup;
import com.pulumi.gitlab.ProjectShareGroupArgs;
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 ProjectShareGroup("test", ProjectShareGroupArgs.builder()
.groupAccess("guest")
.groupId(1337)
.projectId("12345")
.build());
}
}

Import

GitLab project group shares can be imported using an id made up of projectid:groupid, e.g.

$ pulumi import gitlab:index/projectShareGroup:ProjectShareGroup test 12345:1337

Constructors

Link copied to clipboard
constructor(accessLevel: Output<String>? = null, groupAccess: Output<String>? = null, groupId: Output<Int>? = null, projectId: Output<String>? = null)

Properties

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

The access level to grant the group for the project. Valid values are: no one, minimal, guest, reporter, developer, maintainer, owner, master

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

The access level to grant the group for the project. Valid values are: no one, minimal, guest, reporter, developer, maintainer, owner, master

Link copied to clipboard
val groupId: Output<Int>? = null

The id of the group.

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

The id of the project.

Functions

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