com.pulumi.gcp.vertex.kotlin.inputs.AiEndpointPrivateServiceConnectConfigArgs.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.vertex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vertex.inputs.AiEndpointPrivateServiceConnectConfigArgs.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 enablePrivateServiceConnect Required. If true, expose the IndexEndpoint via private service connect.
* @property enableSecurePrivateServiceConnect If set to true, enable secure private service connect with IAM authorization. Otherwise, private service connect will be done without authorization. Note latency will be slightly increased if authorization is enabled.
* @property projectAllowlists A list of Projects from which the forwarding rule will target the service attachment.
*/
public data class AiEndpointPrivateServiceConnectConfigArgs(
public val enablePrivateServiceConnect: Output,
public val enableSecurePrivateServiceConnect: Output? = null,
public val projectAllowlists: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.vertex.inputs.AiEndpointPrivateServiceConnectConfigArgs =
com.pulumi.gcp.vertex.inputs.AiEndpointPrivateServiceConnectConfigArgs.builder()
.enablePrivateServiceConnect(enablePrivateServiceConnect.applyValue({ args0 -> args0 }))
.enableSecurePrivateServiceConnect(
enableSecurePrivateServiceConnect?.applyValue({ args0 ->
args0
}),
)
.projectAllowlists(projectAllowlists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AiEndpointPrivateServiceConnectConfigArgs].
*/
@PulumiTagMarker
public class AiEndpointPrivateServiceConnectConfigArgsBuilder internal constructor() {
private var enablePrivateServiceConnect: Output? = null
private var enableSecurePrivateServiceConnect: Output? = null
private var projectAllowlists: Output>? = null
/**
* @param value Required. If true, expose the IndexEndpoint via private service connect.
*/
@JvmName("drqseakvsysaqhra")
public suspend fun enablePrivateServiceConnect(`value`: Output) {
this.enablePrivateServiceConnect = value
}
/**
* @param value If set to true, enable secure private service connect with IAM authorization. Otherwise, private service connect will be done without authorization. Note latency will be slightly increased if authorization is enabled.
*/
@JvmName("dnpcsfoxvalnpmak")
public suspend fun enableSecurePrivateServiceConnect(`value`: Output) {
this.enableSecurePrivateServiceConnect = value
}
/**
* @param value A list of Projects from which the forwarding rule will target the service attachment.
*/
@JvmName("alqngmviklywkuuc")
public suspend fun projectAllowlists(`value`: Output>) {
this.projectAllowlists = value
}
@JvmName("hkcipxwgudtobfny")
public suspend fun projectAllowlists(vararg values: Output) {
this.projectAllowlists = Output.all(values.asList())
}
/**
* @param values A list of Projects from which the forwarding rule will target the service attachment.
*/
@JvmName("lbfuarncdwwklqnd")
public suspend fun projectAllowlists(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy