com.pulumi.gcp.compute.kotlin.outputs.GetNetblockIPRangesResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getNetblockIPRanges.
* @property cidrBlocks Retrieve list of all CIDR blocks.
* @property cidrBlocksIpv4s Retrieve list of the IPv4 CIDR blocks
* @property cidrBlocksIpv6s Retrieve list of the IPv6 CIDR blocks, if available.
* @property id The provider-assigned unique ID for this managed resource.
* @property rangeType
*/
public data class GetNetblockIPRangesResult(
public val cidrBlocks: List,
public val cidrBlocksIpv4s: List,
public val cidrBlocksIpv6s: List,
public val id: String,
public val rangeType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetNetblockIPRangesResult): GetNetblockIPRangesResult = GetNetblockIPRangesResult(
cidrBlocks = javaType.cidrBlocks().map({ args0 -> args0 }),
cidrBlocksIpv4s = javaType.cidrBlocksIpv4s().map({ args0 -> args0 }),
cidrBlocksIpv6s = javaType.cidrBlocksIpv6s().map({ args0 -> args0 }),
id = javaType.id(),
rangeType = javaType.rangeType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy