com.pulumi.azure.appservice.kotlin.inputs.FunctionAppSlotAuthSettingsFacebookArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.FunctionAppSlotAuthSettingsFacebookArgs.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 appSecret The App Secret of the Facebook app used for Facebook login.
* @property oauthScopes The OAuth 2.0 scopes that will be requested as part of Facebook login authentication.
*/
public data class FunctionAppSlotAuthSettingsFacebookArgs(
public val appId: Output,
public val appSecret: Output,
public val oauthScopes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.FunctionAppSlotAuthSettingsFacebookArgs =
com.pulumi.azure.appservice.inputs.FunctionAppSlotAuthSettingsFacebookArgs.builder()
.appId(appId.applyValue({ args0 -> args0 }))
.appSecret(appSecret.applyValue({ args0 -> args0 }))
.oauthScopes(oauthScopes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FunctionAppSlotAuthSettingsFacebookArgs].
*/
@PulumiTagMarker
public class FunctionAppSlotAuthSettingsFacebookArgsBuilder internal constructor() {
private var appId: Output? = null
private var appSecret: Output? = null
private var oauthScopes: Output>? = null
/**
* @param value The App ID of the Facebook app used for login
*/
@JvmName("brpakwdvheufmoqr")
public suspend fun appId(`value`: Output) {
this.appId = value
}
/**
* @param value The App Secret of the Facebook app used for Facebook login.
*/
@JvmName("xbwntemrtfmbagir")
public suspend fun appSecret(`value`: Output) {
this.appSecret = value
}
/**
* @param value The OAuth 2.0 scopes that will be requested as part of Facebook login authentication.
*/
@JvmName("fvvrksgrxodnifqv")
public suspend fun oauthScopes(`value`: Output>) {
this.oauthScopes = value
}
@JvmName("ofgaogwbxnskcfus")
public suspend fun oauthScopes(vararg values: Output) {
this.oauthScopes = Output.all(values.asList())
}
/**
* @param values The OAuth 2.0 scopes that will be requested as part of Facebook login authentication.
*/
@JvmName("gkoskmfgytavlcja")
public suspend fun oauthScopes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy