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

com.pulumi.azurenative.appplatform.kotlin.inputs.SsoPropertiesArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.appplatform.kotlin.inputs

import com.pulumi.azurenative.appplatform.inputs.SsoPropertiesArgs.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

/**
 * Single sign-on related configuration
 * @property clientId The public identifier for the application
 * @property clientSecret The secret known only to the application and the authorization server
 * @property issuerUri The URI of Issuer Identifier
 * @property scope It defines the specific actions applications can be allowed to do on a user's behalf
 */
public data class SsoPropertiesArgs(
    public val clientId: Output? = null,
    public val clientSecret: Output? = null,
    public val issuerUri: Output? = null,
    public val scope: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.appplatform.inputs.SsoPropertiesArgs =
        com.pulumi.azurenative.appplatform.inputs.SsoPropertiesArgs.builder()
            .clientId(clientId?.applyValue({ args0 -> args0 }))
            .clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
            .issuerUri(issuerUri?.applyValue({ args0 -> args0 }))
            .scope(scope?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [SsoPropertiesArgs].
 */
@PulumiTagMarker
public class SsoPropertiesArgsBuilder internal constructor() {
    private var clientId: Output? = null

    private var clientSecret: Output? = null

    private var issuerUri: Output? = null

    private var scope: Output>? = null

    /**
     * @param value The public identifier for the application
     */
    @JvmName("srebgfwlapvxkala")
    public suspend fun clientId(`value`: Output) {
        this.clientId = value
    }

    /**
     * @param value The secret known only to the application and the authorization server
     */
    @JvmName("cxtxtfbxoobfbufk")
    public suspend fun clientSecret(`value`: Output) {
        this.clientSecret = value
    }

    /**
     * @param value The URI of Issuer Identifier
     */
    @JvmName("giupllsxanldmugi")
    public suspend fun issuerUri(`value`: Output) {
        this.issuerUri = value
    }

    /**
     * @param value It defines the specific actions applications can be allowed to do on a user's behalf
     */
    @JvmName("misxixbxkcmslijy")
    public suspend fun scope(`value`: Output>) {
        this.scope = value
    }

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

    /**
     * @param values It defines the specific actions applications can be allowed to do on a user's behalf
     */
    @JvmName("kmgbiwdjaijpnfcq")
    public suspend fun scope(values: List>) {
        this.scope = Output.all(values)
    }

    /**
     * @param value The public identifier for the application
     */
    @JvmName("kgmishrivslybqtp")
    public suspend fun clientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientId = mapped
    }

    /**
     * @param value The secret known only to the application and the authorization server
     */
    @JvmName("ceoudxdesplmbpmp")
    public suspend fun clientSecret(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientSecret = mapped
    }

    /**
     * @param value The URI of Issuer Identifier
     */
    @JvmName("rdvljvgdgyxfwyyb")
    public suspend fun issuerUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.issuerUri = mapped
    }

    /**
     * @param value It defines the specific actions applications can be allowed to do on a user's behalf
     */
    @JvmName("wkvvvjnnnbilbhqi")
    public suspend fun scope(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scope = mapped
    }

    /**
     * @param values It defines the specific actions applications can be allowed to do on a user's behalf
     */
    @JvmName("pypitemuscrjosqj")
    public suspend fun scope(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.scope = mapped
    }

    internal fun build(): SsoPropertiesArgs = SsoPropertiesArgs(
        clientId = clientId,
        clientSecret = clientSecret,
        issuerUri = issuerUri,
        scope = scope,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy