com.pulumi.gitlab.kotlin.outputs.GetRunnersRunner.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gitlab-kotlin Show documentation
Show all versions of pulumi-gitlab-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gitlab.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property description The description of the runner.
* @property id The runner id.
* @property isShared Indicates if this is a shared runner
* @property online The connectivity status of the runner.
* @property paused Indicates if the runner is accepting or ignoring new jobs.
* @property runnerType The runner type. Values are `instance_type`, `group_type` and `project_type`.
* @property status The status of the runner. Values can be `online`, `offline`, `stale`, and `never_contacted`.
*/
public data class GetRunnersRunner(
public val description: String,
public val id: Int,
public val isShared: Boolean,
public val online: Boolean,
public val paused: Boolean,
public val runnerType: String,
public val status: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetRunnersRunner): GetRunnersRunner =
GetRunnersRunner(
description = javaType.description(),
id = javaType.id(),
isShared = javaType.isShared(),
online = javaType.online(),
paused = javaType.paused(),
runnerType = javaType.runnerType(),
status = javaType.status(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy