com.pulumi.gcp.networkconnectivity.kotlin.inputs.SpokeLinkedVpnTunnelsArgs.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.networkconnectivity.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networkconnectivity.inputs.SpokeLinkedVpnTunnelsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property includeImportRanges IP ranges allowed to be included during import from hub (does not control transit connectivity).
* The only allowed value for now is "ALL_IPV4_RANGES".
* @property siteToSiteDataTransfer A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
* @property uris The URIs of linked VPN tunnel resources.
*/
public data class SpokeLinkedVpnTunnelsArgs(
public val includeImportRanges: Output>? = null,
public val siteToSiteDataTransfer: Output,
public val uris: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkconnectivity.inputs.SpokeLinkedVpnTunnelsArgs =
com.pulumi.gcp.networkconnectivity.inputs.SpokeLinkedVpnTunnelsArgs.builder()
.includeImportRanges(includeImportRanges?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.siteToSiteDataTransfer(siteToSiteDataTransfer.applyValue({ args0 -> args0 }))
.uris(uris.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [SpokeLinkedVpnTunnelsArgs].
*/
@PulumiTagMarker
public class SpokeLinkedVpnTunnelsArgsBuilder internal constructor() {
private var includeImportRanges: Output>? = null
private var siteToSiteDataTransfer: Output? = null
private var uris: Output>? = null
/**
* @param value IP ranges allowed to be included during import from hub (does not control transit connectivity).
* The only allowed value for now is "ALL_IPV4_RANGES".
*/
@JvmName("lytswmvugxkvybkp")
public suspend fun includeImportRanges(`value`: Output>) {
this.includeImportRanges = value
}
@JvmName("poctxhujvgjggxcl")
public suspend fun includeImportRanges(vararg values: Output) {
this.includeImportRanges = Output.all(values.asList())
}
/**
* @param values IP ranges allowed to be included during import from hub (does not control transit connectivity).
* The only allowed value for now is "ALL_IPV4_RANGES".
*/
@JvmName("qcyyooeqkmsnaemh")
public suspend fun includeImportRanges(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy