GroupLabel

class GroupLabel : KotlinCustomResource

The gitlab.GroupLabel resource allows to manage the lifecycle of labels within 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.GroupLabel;
import com.pulumi.gitlab.GroupLabelArgs;
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 fixme = new GroupLabel("fixme", GroupLabelArgs.builder()
.color("#ffcc00")
.description("issue with failing tests")
.group("example")
.build());
}
}

Import

Gitlab group labels can be imported using an id made up of {group_id}:{group_label_id}, e.g.

$ pulumi import gitlab:index/groupLabel:GroupLabel example 12345:fixme

Properties

Link copied to clipboard
val color: Output<String>

The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the CSS color names.

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

The description of the label.

Link copied to clipboard
val group: Output<String>

The name or id of the group to add the label to.

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

The name of the label.

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