com.pulumi.digitalocean.kotlin.outputs.GetFloatingIpResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getFloatingIp.
* @property dropletId The Droplet id that the floating IP has been assigned to.
* @property floatingIpUrn The uniform resource name of the floating IP.
* @property id The provider-assigned unique ID for this managed resource.
* @property ipAddress
* @property region The region that the floating IP is reserved to.
*/
public data class GetFloatingIpResult(
public val dropletId: Int,
public val floatingIpUrn: String,
public val id: String,
public val ipAddress: String,
public val region: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetFloatingIpResult): GetFloatingIpResult = GetFloatingIpResult(
dropletId = javaType.dropletId(),
floatingIpUrn = javaType.floatingIpUrn(),
id = javaType.id(),
ipAddress = javaType.ipAddress(),
region = javaType.region(),
)
}
}