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

com.pulumi.cloudflare.kotlin.inputs.AccessPolicyExcludeAzureArgs.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: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.AccessPolicyExcludeAzureArgs.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 AccessPolicyExcludeAzureArgs(
    public val identityProviderId: Output? = null,
    public val ids: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.AccessPolicyExcludeAzureArgs =
        com.pulumi.cloudflare.inputs.AccessPolicyExcludeAzureArgs.builder()
            .identityProviderId(identityProviderId?.applyValue({ args0 -> args0 }))
            .ids(ids?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var ids: Output>? = null

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

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

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

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

    /**
     * @param value The ID of the Azure Identity provider.
     */
    @JvmName("ehuhrhlygfjmacyp")
    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("ymsowmhitwojfjky")
    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("fkdrovwcimegghwa")
    public suspend fun ids(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ids = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy