RunnerArgs

data class RunnerArgs(val accessLevel: Output<String>? = null, val description: Output<String>? = null, val locked: Output<Boolean>? = null, val maintenanceNote: Output<String>? = null, val maximumTimeout: Output<Int>? = null, val paused: Output<Boolean>? = null, val registrationToken: Output<String>? = null, val runUntagged: Output<Boolean>? = null, val tagLists: Output<List<String>>? = null) : ConvertibleToJava<RunnerArgs>

The gitlab.Runner resource allows to manage the lifecycle of a runner. A runner can either be registered at an instance level or group level. The runner will be registered at a group level if the token used is from a group, or at an instance level if the token used is for the instance. ~ Using this resource will register a runner using the deprecated registration_token flow. To use the new authentication_token flow instead, use the gitlab.UserRunner resource! Upstream API: GitLab REST API docs

Import

Starting in Terraform v1.5.0 you can use an import block to import gitlab_runner. For example: terraform import { to = gitlab_runner.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax: A GitLab Runner can be imported using the runner's ID, eg

$ pulumi import gitlab:index/runner:Runner this 1

Constructors

Link copied to clipboard
constructor(accessLevel: Output<String>? = null, description: Output<String>? = null, locked: Output<Boolean>? = null, maintenanceNote: Output<String>? = null, maximumTimeout: Output<Int>? = null, paused: Output<Boolean>? = null, registrationToken: Output<String>? = null, runUntagged: Output<Boolean>? = null, tagLists: Output<List<String>>? = 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

The runner's description.

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

Whether the runner should be locked for current project.

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

Free-form maintenance notes for the runner (1024 characters).

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

Maximum timeout set when this runner handles the job.

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

Whether the runner should ignore new jobs.

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

The registration token used to register the runner.

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

Whether the runner should handle untagged jobs.

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

List of runner’s tags.

Functions

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