All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gitlab.kotlin.outputs.GetInstanceVariableResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.4.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gitlab.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getInstanceVariable.
 * @property description The description of the variable. Maximum of 255 characters.
 * @property id The provider-assigned unique ID for this managed resource.
 * @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 GetInstanceVariableResult(
    public val description: String,
    public val id: 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.GetInstanceVariableResult): GetInstanceVariableResult = GetInstanceVariableResult(
            description = javaType.description(),
            id = javaType.id(),
            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