com.pulumi.cloudflare.kotlin.outputs.GetInfrastructureAccessTargetsResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getInfrastructureAccessTargets.
* @property accountId The account identifier to target for the resource.
* @property createdAfter A date and time after a target was created to filter on.
* @property hostname The name of the app type.
* @property hostnameContains The name of the app type.
* @property id The provider-assigned unique ID for this managed resource.
* @property ipv4 The name of the app type.
* @property ipv6 The name of the app type.
* @property modifiedAfter A date and time after a target was modified to filter on.
* @property targets
* @property virtualNetworkId The name of the app type.
*/
public data class GetInfrastructureAccessTargetsResult(
public val accountId: String,
public val createdAfter: String? = null,
public val hostname: String? = null,
public val hostnameContains: String? = null,
public val id: String,
public val ipv4: String? = null,
public val ipv6: String? = null,
public val modifiedAfter: String? = null,
public val targets: List,
public val virtualNetworkId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetInfrastructureAccessTargetsResult): GetInfrastructureAccessTargetsResult = GetInfrastructureAccessTargetsResult(
accountId = javaType.accountId(),
createdAfter = javaType.createdAfter().map({ args0 -> args0 }).orElse(null),
hostname = javaType.hostname().map({ args0 -> args0 }).orElse(null),
hostnameContains = javaType.hostnameContains().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
ipv4 = javaType.ipv4().map({ args0 -> args0 }).orElse(null),
ipv6 = javaType.ipv6().map({ args0 -> args0 }).orElse(null),
modifiedAfter = javaType.modifiedAfter().map({ args0 -> args0 }).orElse(null),
targets = javaType.targets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.GetInfrastructureAccessTargetsTarget.Companion.toKotlin(args0)
})
}),
virtualNetworkId = javaType.virtualNetworkId().map({ args0 -> args0 }).orElse(null),
)
}
}