
com.pulumi.azure.network.kotlin.outputs.GetPublicIPsResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getPublicIPs.
* @property allocationType
* @property attachmentStatus
* @property id The provider-assigned unique ID for this managed resource.
* @property namePrefix
* @property publicIps A List of `public_ips` blocks as defined below filtered by the criteria above.
* @property resourceGroupName
*/
public data class GetPublicIPsResult(
public val allocationType: String? = null,
public val attachmentStatus: String? = null,
public val id: String,
public val namePrefix: String? = null,
public val publicIps: List,
public val resourceGroupName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetPublicIPsResult):
GetPublicIPsResult = GetPublicIPsResult(
allocationType = javaType.allocationType().map({ args0 -> args0 }).orElse(null),
attachmentStatus = javaType.attachmentStatus().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
namePrefix = javaType.namePrefix().map({ args0 -> args0 }).orElse(null),
publicIps = javaType.publicIps().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetPublicIPsPublicIp.Companion.toKotlin(args0)
})
}),
resourceGroupName = javaType.resourceGroupName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy