com.pulumi.gitlab.kotlin.outputs.GetRunnersResult.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getRunners.
* @property id
* @property paused Filters for runners with the given paused value
* @property runners The list of runners.
* @property status Filters for runners with the given status. Valid Values are `online`, `offline`, `stale`, and `never_contacted`.
* @property tagLists Filters for runners with all of the given tags
* @property type The type of runner to return. Valid values are `instance_type`, `group_type` and `project_type`
*/
public data class GetRunnersResult(
public val id: String,
public val paused: Boolean? = null,
public val runners: List,
public val status: String? = null,
public val tagLists: List? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetRunnersResult): GetRunnersResult =
GetRunnersResult(
id = javaType.id(),
paused = javaType.paused().map({ args0 -> args0 }).orElse(null),
runners = javaType.runners().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gitlab.kotlin.outputs.GetRunnersRunner.Companion.toKotlin(args0)
})
}),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
tagLists = javaType.tagLists().map({ args0 -> args0 }),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy