com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotAuthSettingsV2GithubV2Args.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.WindowsWebAppSlotAuthSettingsV2GithubV2Args.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 ID of the GitHub app used for login..
* @property clientSecretSettingName The app setting name that contains the `client_secret` value used for GitHub Login.
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
* @property loginScopes The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.
*/
public data class WindowsWebAppSlotAuthSettingsV2GithubV2Args(
public val clientId: Output,
public val clientSecretSettingName: Output,
public val loginScopes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2GithubV2Args =
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2GithubV2Args.builder()
.clientId(clientId.applyValue({ args0 -> args0 }))
.clientSecretSettingName(clientSecretSettingName.applyValue({ args0 -> args0 }))
.loginScopes(loginScopes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WindowsWebAppSlotAuthSettingsV2GithubV2Args].
*/
@PulumiTagMarker
public class WindowsWebAppSlotAuthSettingsV2GithubV2ArgsBuilder internal constructor() {
private var clientId: Output? = null
private var clientSecretSettingName: Output? = null
private var loginScopes: Output>? = null
/**
* @param value The ID of the GitHub app used for login..
*/
@JvmName("ntwiaitacmwfcfvl")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value The app setting name that contains the `client_secret` value used for GitHub Login.
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
*/
@JvmName("psbnfssnctgkdqkm")
public suspend fun clientSecretSettingName(`value`: Output) {
this.clientSecretSettingName = value
}
/**
* @param value The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.
*/
@JvmName("uojcscwfsfaikxas")
public suspend fun loginScopes(`value`: Output>) {
this.loginScopes = value
}
@JvmName("oqxrrlvpiefawqci")
public suspend fun loginScopes(vararg values: Output) {
this.loginScopes = Output.all(values.asList())
}
/**
* @param values The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.
*/
@JvmName("toxupgngamervwgr")
public suspend fun loginScopes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy