All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.networksecurity.kotlin.inputs.AuthzPolicyCustomProviderAuthzExtensionArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.20.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.networksecurity.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networksecurity.inputs.AuthzPolicyCustomProviderAuthzExtensionArgs.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 resources A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
 */
public data class AuthzPolicyCustomProviderAuthzExtensionArgs(
    public val resources: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.networksecurity.inputs.AuthzPolicyCustomProviderAuthzExtensionArgs =
        com.pulumi.gcp.networksecurity.inputs.AuthzPolicyCustomProviderAuthzExtensionArgs.builder()
            .resources(resources.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AuthzPolicyCustomProviderAuthzExtensionArgs].
 */
@PulumiTagMarker
public class AuthzPolicyCustomProviderAuthzExtensionArgsBuilder internal constructor() {
    private var resources: Output>? = null

    /**
     * @param value A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
     */
    @JvmName("ralyqygloylcelwr")
    public suspend fun resources(`value`: Output>) {
        this.resources = value
    }

    @JvmName("shdadjhxcoynumif")
    public suspend fun resources(vararg values: Output) {
        this.resources = Output.all(values.asList())
    }

    /**
     * @param values A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
     */
    @JvmName("gdmirppqmlasdlaa")
    public suspend fun resources(values: List>) {
        this.resources = Output.all(values)
    }

    /**
     * @param value A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
     */
    @JvmName("nblicqgmdjklgoal")
    public suspend fun resources(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.resources = mapped
    }

    /**
     * @param values A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
     */
    @JvmName("crgegdpfkgidesjq")
    public suspend fun resources(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.resources = mapped
    }

    internal fun build(): AuthzPolicyCustomProviderAuthzExtensionArgs =
        AuthzPolicyCustomProviderAuthzExtensionArgs(
            resources = resources ?: throw PulumiNullFieldException("resources"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy