com.pulumi.gcp.networkconnectivity.kotlin.inputs.ServiceConnectionPolicyPscConfigArgs.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.ServiceConnectionPolicyPscConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property limit Max number of PSC connections for this policy.
* @property subnetworks IDs of the subnetworks or fully qualified identifiers for the subnetworks
*/
public data class ServiceConnectionPolicyPscConfigArgs(
public val limit: Output? = null,
public val subnetworks: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkconnectivity.inputs.ServiceConnectionPolicyPscConfigArgs =
com.pulumi.gcp.networkconnectivity.inputs.ServiceConnectionPolicyPscConfigArgs.builder()
.limit(limit?.applyValue({ args0 -> args0 }))
.subnetworks(subnetworks.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ServiceConnectionPolicyPscConfigArgs].
*/
@PulumiTagMarker
public class ServiceConnectionPolicyPscConfigArgsBuilder internal constructor() {
private var limit: Output? = null
private var subnetworks: Output>? = null
/**
* @param value Max number of PSC connections for this policy.
*/
@JvmName("quxobrjtqfxskyuw")
public suspend fun limit(`value`: Output) {
this.limit = value
}
/**
* @param value IDs of the subnetworks or fully qualified identifiers for the subnetworks
*/
@JvmName("fmypnyctijoxugmx")
public suspend fun subnetworks(`value`: Output>) {
this.subnetworks = value
}
@JvmName("jmrcvsmwqrnkuiqb")
public suspend fun subnetworks(vararg values: Output) {
this.subnetworks = Output.all(values.asList())
}
/**
* @param values IDs of the subnetworks or fully qualified identifiers for the subnetworks
*/
@JvmName("eygoyhtuejcefaak")
public suspend fun subnetworks(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy