com.pulumi.gcp.compute.kotlin.outputs.GetAddressesAddress.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.Map
/**
*
* @property address The IP address (for example `1.2.3.4`).
* @property addressType The IP address type, can be `EXTERNAL` or `INTERNAL`.
* @property description The IP address description.
* @property labels A map containing IP labels.
* @property name The IP address name.
* @property region Region that should be considered to search addresses.
* All regions are considered if missing.
* @property selfLink The URI of the created resource.
* @property status Indicates if the address is used. Possible values are: RESERVED or IN_USE.
*/
public data class GetAddressesAddress(
public val address: String,
public val addressType: String,
public val description: String,
public val labels: Map,
public val name: String,
public val region: String,
public val selfLink: String,
public val status: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetAddressesAddress): GetAddressesAddress = GetAddressesAddress(
address = javaType.address(),
addressType = javaType.addressType(),
description = javaType.description(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
name = javaType.name(),
region = javaType.region(),
selfLink = javaType.selfLink(),
status = javaType.status(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy