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

com.pulumi.azure.appservice.kotlin.inputs.WindowsFunctionAppAuthSettingsV2AppleV2Args.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.WindowsFunctionAppAuthSettingsV2AppleV2Args.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 clientId The OpenID Connect Client ID for the Apple web application.
 * @property clientSecretSettingName The app setting name that contains the `client_secret` value used for Apple Login.
 * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
 * @property loginScopes A list of Login Scopes provided by this Authentication Provider.
 * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
 */
public data class WindowsFunctionAppAuthSettingsV2AppleV2Args(
    public val clientId: Output,
    public val clientSecretSettingName: Output,
    public val loginScopes: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppAuthSettingsV2AppleV2Args =
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppAuthSettingsV2AppleV2Args.builder()
            .clientId(clientId.applyValue({ args0 -> args0 }))
            .clientSecretSettingName(clientSecretSettingName.applyValue({ args0 -> args0 }))
            .loginScopes(loginScopes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var clientSecretSettingName: Output? = null

    private var loginScopes: Output>? = null

    /**
     * @param value The OpenID Connect Client ID for the Apple web application.
     */
    @JvmName("cfroxcdldmytyneh")
    public suspend fun clientId(`value`: Output) {
        this.clientId = value
    }

    /**
     * @param value The app setting name that contains the `client_secret` value used for Apple Login.
     * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
     */
    @JvmName("ixukugeqankqnttn")
    public suspend fun clientSecretSettingName(`value`: Output) {
        this.clientSecretSettingName = value
    }

    /**
     * @param value A list of Login Scopes provided by this Authentication Provider.
     * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
     */
    @JvmName("ucjhsljttlqaoqsb")
    public suspend fun loginScopes(`value`: Output>) {
        this.loginScopes = value
    }

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

    /**
     * @param values A list of Login Scopes provided by this Authentication Provider.
     * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
     */
    @JvmName("lohrqsgwimsdquls")
    public suspend fun loginScopes(values: List>) {
        this.loginScopes = Output.all(values)
    }

    /**
     * @param value The OpenID Connect Client ID for the Apple web application.
     */
    @JvmName("xgaesujvyuqdxesr")
    public suspend fun clientId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clientId = mapped
    }

    /**
     * @param value The app setting name that contains the `client_secret` value used for Apple Login.
     * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
     */
    @JvmName("wmfmfnwwidxvhgmr")
    public suspend fun clientSecretSettingName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clientSecretSettingName = mapped
    }

    /**
     * @param value A list of Login Scopes provided by this Authentication Provider.
     * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
     */
    @JvmName("eesovslnaxkktidm")
    public suspend fun loginScopes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loginScopes = mapped
    }

    /**
     * @param values A list of Login Scopes provided by this Authentication Provider.
     * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
     */
    @JvmName("tgrvcfifvgsgsvgd")
    public suspend fun loginScopes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.loginScopes = mapped
    }

    internal fun build(): WindowsFunctionAppAuthSettingsV2AppleV2Args =
        WindowsFunctionAppAuthSettingsV2AppleV2Args(
            clientId = clientId ?: throw PulumiNullFieldException("clientId"),
            clientSecretSettingName = clientSecretSettingName ?: throw
                PulumiNullFieldException("clientSecretSettingName"),
            loginScopes = loginScopes,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy