com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotAuthSettingsMicrosoftArgs.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.WindowsWebAppSlotAuthSettingsMicrosoftArgs.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 clientId The OAuth 2.0 client ID that was created for the app used for authentication.
* @property clientSecret The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`.
* @property clientSecretSettingName The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`.
* @property oauthScopes Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
*/
public data class WindowsWebAppSlotAuthSettingsMicrosoftArgs(
public val clientId: Output,
public val clientSecret: Output? = null,
public val clientSecretSettingName: Output? = null,
public val oauthScopes: Output>? = null,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsMicrosoftArgs =
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsMicrosoftArgs.builder()
.clientId(clientId.applyValue({ args0 -> args0 }))
.clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
.clientSecretSettingName(clientSecretSettingName?.applyValue({ args0 -> args0 }))
.oauthScopes(oauthScopes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WindowsWebAppSlotAuthSettingsMicrosoftArgs].
*/
@PulumiTagMarker
public class WindowsWebAppSlotAuthSettingsMicrosoftArgsBuilder internal constructor() {
private var clientId: Output? = null
private var clientSecret: Output? = null
private var clientSecretSettingName: Output? = null
private var oauthScopes: Output>? = null
/**
* @param value The OAuth 2.0 client ID that was created for the app used for authentication.
*/
@JvmName("hvlbgpstevyeyjkv")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`.
*/
@JvmName("sepattkuqedxcduv")
public suspend fun clientSecret(`value`: Output) {
this.clientSecret = value
}
/**
* @param value The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`.
*/
@JvmName("edtklslakaddtjvn")
public suspend fun clientSecretSettingName(`value`: Output) {
this.clientSecretSettingName = value
}
/**
* @param value Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
*/
@JvmName("ujyiwqpucwdwixif")
public suspend fun oauthScopes(`value`: Output>) {
this.oauthScopes = value
}
@JvmName("belankvjkvbgkrwm")
public suspend fun oauthScopes(vararg values: Output) {
this.oauthScopes = Output.all(values.asList())
}
/**
* @param values Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
*/
@JvmName("ncfscntnaiaoamio")
public suspend fun oauthScopes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy