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

com.pulumi.cloudflare.kotlin.outputs.GetIpRangesResult.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: 5.40.0.0
Show 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 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 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy