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

com.pulumi.azure.automation.kotlin.outputs.GetVariablesResult.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.automation.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getVariables.
 * @property automationAccountId
 * @property bools One or more `variable` blocks as defined below for each boolean variable.
 * @property datetimes One or more `variable` blocks as defined below for each datetime variable.
 * @property encrypteds Specifies if the Automation Variable is encrypted.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property ints One or more `variable` blocks as defined below for each int variable.
 * @property nulls One or more `variable` blocks as defined below for each null variable.
 * @property objects
 * @property strings One or more `variable` blocks as defined below for each string variable.
 */
public data class GetVariablesResult(
    public val automationAccountId: String,
    public val bools: List,
    public val datetimes: List,
    public val encrypteds: List,
    public val id: String,
    public val ints: List,
    public val nulls: List,
    public val objects: List,
    public val strings: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.GetVariablesResult): GetVariablesResult = GetVariablesResult(
            automationAccountId = javaType.automationAccountId(),
            bools = javaType.bools().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetVariablesBool.Companion.toKotlin(args0)
                })
            }),
            datetimes = javaType.datetimes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetVariablesDatetime.Companion.toKotlin(args0)
                })
            }),
            encrypteds = javaType.encrypteds().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetVariablesEncrypted.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id(),
            ints = javaType.ints().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetVariablesInt.Companion.toKotlin(args0)
                })
            }),
            nulls = javaType.nulls().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetVariablesNull.Companion.toKotlin(args0)
                })
            }),
            objects = javaType.objects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetVariablesObject.Companion.toKotlin(args0)
                })
            }),
            strings = javaType.strings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetVariablesString.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy