IssueLabelArgs

data class IssueLabelArgs(val color: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val repository: Output<String>? = null) : ConvertibleToJava<IssueLabelArgs>

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.IssueLabel;
import com.pulumi.github.IssueLabelArgs;
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 testRepo = new IssueLabel("testRepo", IssueLabelArgs.builder()
.color("FF0000")
.repository("test-repo")
.build());
}
}

Import

GitHub Issue Labels can be imported using an ID made up of repository:name, e.g.

$ pulumi import github:index/issueLabel:IssueLabel panic_label terraform:panic

Constructors

Link copied to clipboard
constructor(color: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, repository: Output<String>? = null)

Properties

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

A 6 character hex code, without the leading #, identifying the color of the label.

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

A short description of the label.

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

The name of the label.

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

The GitHub repository

Functions

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