com.pulumi.cloudflare.kotlin.outputs.SpectrumApplicationEdgeIps.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
/**
*
* @property connectivity The IP versions supported for inbound connections on Spectrum anycast IPs. Required when `type` is not `static`. Available values: `all`, `ipv4`, `ipv6`.
* @property ips The collection of customer owned IPs to broadcast via anycast for this hostname and application. Requires [Bring Your Own IP](https://developers.cloudflare.com/spectrum/getting-started/byoip/) provisioned.
* @property type The type of edge IP configuration specified. Available values: `dynamic`, `static`.
*/
public data class SpectrumApplicationEdgeIps(
public val connectivity: String? = null,
public val ips: List? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.SpectrumApplicationEdgeIps): SpectrumApplicationEdgeIps = SpectrumApplicationEdgeIps(
connectivity = javaType.connectivity().map({ args0 -> args0 }).orElse(null),
ips = javaType.ips().map({ args0 -> args0 }),
type = javaType.type(),
)
}
}