com.pulumi.gcp.vertex.kotlin.inputs.AiIndexEndpointPrivateServiceConnectConfigArgs.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.AiIndexEndpointPrivateServiceConnectConfigArgs.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 If set to true, the IndexEndpoint is created without private service access.
* @property projectAllowlists A list of Projects from which the forwarding rule will target the service attachment.
*/
public data class AiIndexEndpointPrivateServiceConnectConfigArgs(
public val enablePrivateServiceConnect: Output,
public val projectAllowlists: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.vertex.inputs.AiIndexEndpointPrivateServiceConnectConfigArgs = com.pulumi.gcp.vertex.inputs.AiIndexEndpointPrivateServiceConnectConfigArgs.builder()
.enablePrivateServiceConnect(enablePrivateServiceConnect.applyValue({ args0 -> args0 }))
.projectAllowlists(projectAllowlists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AiIndexEndpointPrivateServiceConnectConfigArgs].
*/
@PulumiTagMarker
public class AiIndexEndpointPrivateServiceConnectConfigArgsBuilder internal constructor() {
private var enablePrivateServiceConnect: Output? = null
private var projectAllowlists: Output>? = null
/**
* @param value If set to true, the IndexEndpoint is created without private service access.
*/
@JvmName("gretdrikwdyvmgdf")
public suspend fun enablePrivateServiceConnect(`value`: Output) {
this.enablePrivateServiceConnect = value
}
/**
* @param value A list of Projects from which the forwarding rule will target the service attachment.
*/
@JvmName("qgaywnpwlabjgpgh")
public suspend fun projectAllowlists(`value`: Output>) {
this.projectAllowlists = value
}
@JvmName("vdncqyfhjmyqrwyg")
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("bjrubxdstsyqbdbo")
public suspend fun projectAllowlists(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy