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

com.pulumi.digitalocean.kotlin.outputs.GetFloatingIpResult.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: 4.35.0.0
Show newest version
@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(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy