com.pulumi.gitlab.kotlin.outputs.GetInstanceVariablesVariable.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
/**
*
* @property description The description of the variable. Maximum of 255 characters.
* @property key The name of the variable.
* @property masked If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
* @property protected If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
* @property raw Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
* @property value The value of the variable.
* @property variableType The type of a variable. Valid values are: `env_var`, `file`. Default is `env_var`.
*/
public data class GetInstanceVariablesVariable(
public val description: String,
public val key: String,
public val masked: Boolean,
public val `protected`: Boolean,
public val raw: Boolean,
public val `value`: String,
public val variableType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetInstanceVariablesVariable): GetInstanceVariablesVariable = GetInstanceVariablesVariable(
description = javaType.description(),
key = javaType.key(),
masked = javaType.masked(),
`protected` = javaType.protected_(),
raw = javaType.raw(),
`value` = javaType.`value`(),
variableType = javaType.variableType(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy