com.pulumi.gcp.compute.kotlin.inputs.InterconnectMacsecArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.InterconnectMacsecArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property preSharedKeys A keychain placeholder describing a set of named key objects along with their
* start times. A MACsec CKN/CAK is generated for each key in the key chain.
* Google router automatically picks the key with the most recent startTime when establishing
* or re-establishing a MACsec secure link.
* Structure is documented below.
*/
public data class InterconnectMacsecArgs(
public val preSharedKeys: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.InterconnectMacsecArgs =
com.pulumi.gcp.compute.inputs.InterconnectMacsecArgs.builder()
.preSharedKeys(
preSharedKeys.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [InterconnectMacsecArgs].
*/
@PulumiTagMarker
public class InterconnectMacsecArgsBuilder internal constructor() {
private var preSharedKeys: Output>? = null
/**
* @param value A keychain placeholder describing a set of named key objects along with their
* start times. A MACsec CKN/CAK is generated for each key in the key chain.
* Google router automatically picks the key with the most recent startTime when establishing
* or re-establishing a MACsec secure link.
* Structure is documented below.
*/
@JvmName("mpsnufikdchgxonh")
public suspend fun preSharedKeys(`value`: Output>) {
this.preSharedKeys = value
}
@JvmName("vibcjgsmsbllcfar")
public suspend fun preSharedKeys(vararg values: Output) {
this.preSharedKeys = Output.all(values.asList())
}
/**
* @param values A keychain placeholder describing a set of named key objects along with their
* start times. A MACsec CKN/CAK is generated for each key in the key chain.
* Google router automatically picks the key with the most recent startTime when establishing
* or re-establishing a MACsec secure link.
* Structure is documented below.
*/
@JvmName("yfxylrcwaolmfirn")
public suspend fun preSharedKeys(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy