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

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

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

    private var ids: Output>? = null

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy