UserRunnerArgs

data class UserRunnerArgs(val accessLevel: Output<String>? = null, val description: Output<String>? = null, val groupId: Output<Int>? = null, val locked: Output<Boolean>? = null, val maximumTimeout: Output<Int>? = null, val paused: Output<Boolean>? = null, val projectId: Output<Int>? = null, val runnerType: Output<String>? = null, val tagLists: Output<List<String>>? = null, val untagged: Output<Boolean>? = null) : ConvertibleToJava<UserRunnerArgs>

The gitlab.UserRunner resource allows creating a GitLab runner using the new GitLab Runner Registration Flow. Upstream API: GitLab REST API docs

Constructors

Link copied to clipboard
constructor(accessLevel: Output<String>? = null, description: Output<String>? = null, groupId: Output<Int>? = null, locked: Output<Boolean>? = null, maximumTimeout: Output<Int>? = null, paused: Output<Boolean>? = null, projectId: Output<Int>? = null, runnerType: Output<String>? = null, tagLists: Output<List<String>>? = null, untagged: Output<Boolean>? = null)

Properties

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

The access level of the runner. Valid values are: not_protected, ref_protected.

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

Description of the runner.

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

The ID of the group that the runner is created in. Required if runnertype is grouptype.

Link copied to clipboard
val locked: Output<Boolean>? = null

Specifies if the runner should be locked for the current project.

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

Maximum timeout that limits the amount of time (in seconds) that runners can run jobs. Must be at least 600 (10 minutes).

Link copied to clipboard
val paused: Output<Boolean>? = null

Specifies if the runner should ignore new jobs.

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

The ID of the project that the runner is created in. Required if runnertype is projecttype.

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

The scope of the runner. Valid values are: instance_type, group_type, project_type.

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

A list of runner tags.

Link copied to clipboard
val untagged: Output<Boolean>? = null

Specifies if the runner should handle untagged jobs.

Functions

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