com.pulumi.gcp.compute.kotlin.outputs.GetAddressesResult.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 getAddresses.
* @property addresses A list of addresses matching the filter. Structure is defined below.
* @property filter
* @property id The provider-assigned unique ID for this managed resource.
* @property project
* @property region The region in which the address resides.
*/
public data class GetAddressesResult(
public val addresses: List,
public val filter: String? = null,
public val id: String,
public val project: String,
public val region: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetAddressesResult): GetAddressesResult = GetAddressesResult(
addresses = javaType.addresses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetAddressesAddress.Companion.toKotlin(args0)
})
}),
filter = javaType.filter().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
project = javaType.project(),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy