com.pulumi.cloudflare.kotlin.outputs.GetIpRangesResult.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.
@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 getIpRanges.
* @property chinaIpv4CidrBlocks The lexically ordered list of only the IPv4 China CIDR blocks.
* @property chinaIpv6CidrBlocks The lexically ordered list of only the IPv6 China CIDR blocks.
* @property cidrBlocks The lexically ordered list of all non-China CIDR blocks.
* @property id The provider-assigned unique ID for this managed resource.
* @property ipv4CidrBlocks The lexically ordered list of only the IPv4 CIDR blocks.
* @property ipv6CidrBlocks The lexically ordered list of only the IPv6 CIDR blocks.
*/
public data class GetIpRangesResult(
public val chinaIpv4CidrBlocks: List,
public val chinaIpv6CidrBlocks: List,
public val cidrBlocks: List,
public val id: String,
public val ipv4CidrBlocks: List,
public val ipv6CidrBlocks: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetIpRangesResult): GetIpRangesResult = GetIpRangesResult(
chinaIpv4CidrBlocks = javaType.chinaIpv4CidrBlocks().map({ args0 -> args0 }),
chinaIpv6CidrBlocks = javaType.chinaIpv6CidrBlocks().map({ args0 -> args0 }),
cidrBlocks = javaType.cidrBlocks().map({ args0 -> args0 }),
id = javaType.id(),
ipv4CidrBlocks = javaType.ipv4CidrBlocks().map({ args0 -> args0 }),
ipv6CidrBlocks = javaType.ipv6CidrBlocks().map({ args0 -> args0 }),
)
}
}