com.pulumi.azure.appservice.kotlin.inputs.LinuxFunctionAppSlotAuthSettingsActiveDirectoryArgs.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.LinuxFunctionAppSlotAuthSettingsActiveDirectoryArgs.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 allowedAudiences Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
* > **Note:** The `client_id` value is always considered an allowed audience.
* @property clientId The ID of the Client to use to authenticate with Azure Active Directory.
* @property clientSecret The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`.
* @property clientSecretSettingName The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`.
*/
public data class LinuxFunctionAppSlotAuthSettingsActiveDirectoryArgs(
public val allowedAudiences: Output>? = null,
public val clientId: Output,
public val clientSecret: Output? = null,
public val clientSecretSettingName: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotAuthSettingsActiveDirectoryArgs =
com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotAuthSettingsActiveDirectoryArgs.builder()
.allowedAudiences(allowedAudiences?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.clientId(clientId.applyValue({ args0 -> args0 }))
.clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
.clientSecretSettingName(clientSecretSettingName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxFunctionAppSlotAuthSettingsActiveDirectoryArgs].
*/
@PulumiTagMarker
public class LinuxFunctionAppSlotAuthSettingsActiveDirectoryArgsBuilder internal constructor() {
private var allowedAudiences: Output>? = null
private var clientId: Output? = null
private var clientSecret: Output? = null
private var clientSecretSettingName: Output? = null
/**
* @param value Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
* > **Note:** The `client_id` value is always considered an allowed audience.
*/
@JvmName("rcwfnijssoovpmcc")
public suspend fun allowedAudiences(`value`: Output>) {
this.allowedAudiences = value
}
@JvmName("ikihggpuiaiwxtid")
public suspend fun allowedAudiences(vararg values: Output) {
this.allowedAudiences = Output.all(values.asList())
}
/**
* @param values Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
* > **Note:** The `client_id` value is always considered an allowed audience.
*/
@JvmName("oyhjsacxgigfurrv")
public suspend fun allowedAudiences(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy