com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args.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.WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args.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 Audiences that will be requested as part of Microsoft Sign-In authentication.
* @property clientId The OAuth 2.0 client ID that was created for the app used for authentication.
* @property clientSecretSettingName The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
* @property loginScopes The list of Login scopes that should be requested as part of Microsoft Account authentication.
*/
public data class WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args(
public val allowedAudiences: Output>? = null,
public val clientId: Output,
public val clientSecretSettingName: Output,
public val loginScopes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args =
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args.builder()
.allowedAudiences(allowedAudiences?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.clientId(clientId.applyValue({ args0 -> args0 }))
.clientSecretSettingName(clientSecretSettingName.applyValue({ args0 -> args0 }))
.loginScopes(loginScopes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args].
*/
@PulumiTagMarker
public class WindowsWebAppSlotAuthSettingsV2MicrosoftV2ArgsBuilder internal constructor() {
private var allowedAudiences: Output>? = null
private var clientId: Output? = null
private var clientSecretSettingName: Output? = null
private var loginScopes: Output>? = null
/**
* @param value Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.
*/
@JvmName("ntrpaiplcsckutor")
public suspend fun allowedAudiences(`value`: Output>) {
this.allowedAudiences = value
}
@JvmName("fyutjrtdiodkvtuu")
public suspend fun allowedAudiences(vararg values: Output) {
this.allowedAudiences = Output.all(values.asList())
}
/**
* @param values Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.
*/
@JvmName("salkovbiayyxnkaa")
public suspend fun allowedAudiences(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy