com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimeterStatusVpcAccessibleServicesArgs.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.accesscontextmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterStatusVpcAccessibleServicesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedServices The list of APIs usable within the Service Perimeter.
* Must be empty unless `enableRestriction` is True.
* @property enableRestriction Whether to restrict API calls within the Service Perimeter to the
* list of APIs specified in 'allowedServices'.
*/
public data class ServicePerimeterStatusVpcAccessibleServicesArgs(
public val allowedServices: Output>? = null,
public val enableRestriction: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterStatusVpcAccessibleServicesArgs =
com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterStatusVpcAccessibleServicesArgs.builder()
.allowedServices(allowedServices?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.enableRestriction(enableRestriction?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServicePerimeterStatusVpcAccessibleServicesArgs].
*/
@PulumiTagMarker
public class ServicePerimeterStatusVpcAccessibleServicesArgsBuilder internal constructor() {
private var allowedServices: Output>? = null
private var enableRestriction: Output? = null
/**
* @param value The list of APIs usable within the Service Perimeter.
* Must be empty unless `enableRestriction` is True.
*/
@JvmName("tkojshcitrcsqvdp")
public suspend fun allowedServices(`value`: Output>) {
this.allowedServices = value
}
@JvmName("qcrosbbitkqgqvor")
public suspend fun allowedServices(vararg values: Output) {
this.allowedServices = Output.all(values.asList())
}
/**
* @param values The list of APIs usable within the Service Perimeter.
* Must be empty unless `enableRestriction` is True.
*/
@JvmName("xrgboqytcuiqpufs")
public suspend fun allowedServices(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy