com.pulumi.azure.appservice.kotlin.inputs.LinuxFunctionAppAuthSettingsFacebookArgs.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.LinuxFunctionAppAuthSettingsFacebookArgs.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. Cannot be specified with `app_secret_setting_name`.
* @property appSecretSettingName The app setting name that contains the `app_secret` value used for Facebook login. Cannot be specified with `app_secret`.
* @property oauthScopes Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.
*/
public data class LinuxFunctionAppAuthSettingsFacebookArgs(
public val appId: Output,
public val appSecret: Output? = null,
public val appSecretSettingName: Output? = null,
public val oauthScopes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxFunctionAppAuthSettingsFacebookArgs =
com.pulumi.azure.appservice.inputs.LinuxFunctionAppAuthSettingsFacebookArgs.builder()
.appId(appId.applyValue({ args0 -> args0 }))
.appSecret(appSecret?.applyValue({ args0 -> args0 }))
.appSecretSettingName(appSecretSettingName?.applyValue({ args0 -> args0 }))
.oauthScopes(oauthScopes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [LinuxFunctionAppAuthSettingsFacebookArgs].
*/
@PulumiTagMarker
public class LinuxFunctionAppAuthSettingsFacebookArgsBuilder internal constructor() {
private var appId: Output? = null
private var appSecret: Output? = null
private var appSecretSettingName: Output? = null
private var oauthScopes: Output>? = null
/**
* @param value The App ID of the Facebook app used for login.
*/
@JvmName("qwmkjsisitabowgl")
public suspend fun appId(`value`: Output) {
this.appId = value
}
/**
* @param value The App Secret of the Facebook app used for Facebook login. Cannot be specified with `app_secret_setting_name`.
*/
@JvmName("nomtnvwdawkqfosc")
public suspend fun appSecret(`value`: Output) {
this.appSecret = value
}
/**
* @param value The app setting name that contains the `app_secret` value used for Facebook login. Cannot be specified with `app_secret`.
*/
@JvmName("hxuoaoicenlosbgh")
public suspend fun appSecretSettingName(`value`: Output) {
this.appSecretSettingName = value
}
/**
* @param value Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.
*/
@JvmName("yspsgqlexexgxtpn")
public suspend fun oauthScopes(`value`: Output>) {
this.oauthScopes = value
}
@JvmName("mribatsuwqqhqwrg")
public suspend fun oauthScopes(vararg values: Output) {
this.oauthScopes = Output.all(values.asList())
}
/**
* @param values Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.
*/
@JvmName("odmvldfhxtccooav")
public suspend fun oauthScopes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy