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

com.pulumi.azure.appservice.kotlin.inputs.LinuxFunctionAppSlotAuthSettingsV2FacebookV2Args.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.LinuxFunctionAppSlotAuthSettingsV2FacebookV2Args.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 appId The App ID of the Facebook app used for login.
 * @property appSecretSettingName The app setting name that contains the `app_secret` value used for Facebook Login.
 * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
 * @property graphApiVersion The version of the Facebook API to be used while logging in.
 * @property loginScopes The list of scopes that should be requested as part of Facebook Login authentication.
 */
public data class LinuxFunctionAppSlotAuthSettingsV2FacebookV2Args(
    public val appId: Output,
    public val appSecretSettingName: Output,
    public val graphApiVersion: Output? = null,
    public val loginScopes: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotAuthSettingsV2FacebookV2Args =
        com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotAuthSettingsV2FacebookV2Args.builder()
            .appId(appId.applyValue({ args0 -> args0 }))
            .appSecretSettingName(appSecretSettingName.applyValue({ args0 -> args0 }))
            .graphApiVersion(graphApiVersion?.applyValue({ args0 -> args0 }))
            .loginScopes(loginScopes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [LinuxFunctionAppSlotAuthSettingsV2FacebookV2Args].
 */
@PulumiTagMarker
public class LinuxFunctionAppSlotAuthSettingsV2FacebookV2ArgsBuilder internal constructor() {
    private var appId: Output? = null

    private var appSecretSettingName: Output? = null

    private var graphApiVersion: Output? = null

    private var loginScopes: Output>? = null

    /**
     * @param value The App ID of the Facebook app used for login.
     */
    @JvmName("baxognxcrqwrqmos")
    public suspend fun appId(`value`: Output) {
        this.appId = value
    }

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

    /**
     * @param value The version of the Facebook API to be used while logging in.
     */
    @JvmName("xhouomgockdsanou")
    public suspend fun graphApiVersion(`value`: Output) {
        this.graphApiVersion = value
    }

    /**
     * @param value The list of scopes that should be requested as part of Facebook Login authentication.
     */
    @JvmName("lloshdyotalnhjso")
    public suspend fun loginScopes(`value`: Output>) {
        this.loginScopes = value
    }

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

    /**
     * @param values The list of scopes that should be requested as part of Facebook Login authentication.
     */
    @JvmName("naiktgaxnyybcyaw")
    public suspend fun loginScopes(values: List>) {
        this.loginScopes = Output.all(values)
    }

    /**
     * @param value The App ID of the Facebook app used for login.
     */
    @JvmName("doddepqcjmfuhnhm")
    public suspend fun appId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.appId = mapped
    }

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

    /**
     * @param value The version of the Facebook API to be used while logging in.
     */
    @JvmName("lyrywbwugpnsedgt")
    public suspend fun graphApiVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.graphApiVersion = mapped
    }

    /**
     * @param value The list of scopes that should be requested as part of Facebook Login authentication.
     */
    @JvmName("ctobeeqogjeipfim")
    public suspend fun loginScopes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loginScopes = mapped
    }

    /**
     * @param values The list of scopes that should be requested as part of Facebook Login authentication.
     */
    @JvmName("kwilfrnyvunlasdj")
    public suspend fun loginScopes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.loginScopes = mapped
    }

    internal fun build(): LinuxFunctionAppSlotAuthSettingsV2FacebookV2Args =
        LinuxFunctionAppSlotAuthSettingsV2FacebookV2Args(
            appId = appId ?: throw PulumiNullFieldException("appId"),
            appSecretSettingName = appSecretSettingName ?: throw
                PulumiNullFieldException("appSecretSettingName"),
            graphApiVersion = graphApiVersion,
            loginScopes = loginScopes,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy