com.pulumi.digitalocean.kotlin.outputs.GetReservedIpResult.kt Maven / Gradle / Ivy
@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 getReservedIp.
* @property dropletId The Droplet id that the reserved IP has been assigned to.
* @property id The provider-assigned unique ID for this managed resource.
* @property ipAddress
* @property region The region that the reserved IP is reserved to.
* @property urn The uniform resource name of the reserved IP.
*/
public data class GetReservedIpResult(
public val dropletId: Int,
public val id: String,
public val ipAddress: String,
public val region: String,
public val urn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetReservedIpResult): GetReservedIpResult = GetReservedIpResult(
dropletId = javaType.dropletId(),
id = javaType.id(),
ipAddress = javaType.ipAddress(),
region = javaType.region(),
urn = javaType.urn(),
)
}
}