com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGuestAttributesResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getInstanceGuestAttributes.
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property project
* @property queryPath
* @property queryValues Structure is documented below.
* @property region
* @property variableKey
* @property variableValue Value of the queried guest_attribute.
* @property zone
*/
public data class GetInstanceGuestAttributesResult(
public val id: String,
public val name: String,
public val project: String,
public val queryPath: String? = null,
public val queryValues: List,
public val region: String,
public val variableKey: String? = null,
public val variableValue: String,
public val zone: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetInstanceGuestAttributesResult): GetInstanceGuestAttributesResult = GetInstanceGuestAttributesResult(
id = javaType.id(),
name = javaType.name(),
project = javaType.project(),
queryPath = javaType.queryPath().map({ args0 -> args0 }).orElse(null),
queryValues = javaType.queryValues().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGuestAttributesQueryValue.Companion.toKotlin(args0)
})
}),
region = javaType.region(),
variableKey = javaType.variableKey().map({ args0 -> args0 }).orElse(null),
variableValue = javaType.variableValue(),
zone = javaType.zone(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy