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

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessPolicyExcludeAzureArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyExcludeAzureArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property identityProviderId The ID of the Azure identity provider.
 * @property ids The ID of the Azure group or user.
 */
public data class ZeroTrustAccessPolicyExcludeAzureArgs(
    public val identityProviderId: Output? = null,
    public val ids: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyExcludeAzureArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyExcludeAzureArgs.builder()
            .identityProviderId(identityProviderId?.applyValue({ args0 -> args0 }))
            .ids(ids?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ZeroTrustAccessPolicyExcludeAzureArgs].
 */
@PulumiTagMarker
public class ZeroTrustAccessPolicyExcludeAzureArgsBuilder internal constructor() {
    private var identityProviderId: Output? = null

    private var ids: Output>? = null

    /**
     * @param value The ID of the Azure identity provider.
     */
    @JvmName("jvjwbpnlcxabcwrc")
    public suspend fun identityProviderId(`value`: Output) {
        this.identityProviderId = value
    }

    /**
     * @param value The ID of the Azure group or user.
     */
    @JvmName("stqcxjfppcxybrgu")
    public suspend fun ids(`value`: Output>) {
        this.ids = value
    }

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

    /**
     * @param values The ID of the Azure group or user.
     */
    @JvmName("ygiagunyjniyntej")
    public suspend fun ids(values: List>) {
        this.ids = Output.all(values)
    }

    /**
     * @param value The ID of the Azure identity provider.
     */
    @JvmName("mqhrsxvamsykpwws")
    public suspend fun identityProviderId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identityProviderId = mapped
    }

    /**
     * @param value The ID of the Azure group or user.
     */
    @JvmName("qwcdgqbqmkyrhloi")
    public suspend fun ids(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ids = mapped
    }

    /**
     * @param values The ID of the Azure group or user.
     */
    @JvmName("aowqgpoxpgmdmitx")
    public suspend fun ids(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ids = mapped
    }

    internal fun build(): ZeroTrustAccessPolicyExcludeAzureArgs =
        ZeroTrustAccessPolicyExcludeAzureArgs(
            identityProviderId = identityProviderId,
            ids = ids,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy