com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsGithub.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property clientId The ID of the GitHub app used for login.
* @property clientSecret The Client Secret of the GitHub app used for GitHub login. Cannot be specified with `client_secret_setting_name`.
* @property clientSecretSettingName The app setting name that contains the `client_secret` value used for GitHub login. Cannot be specified with `client_secret`.
* @property oauthScopes Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub login authentication.
*/
public data class WindowsFunctionAppAuthSettingsGithub(
public val clientId: String,
public val clientSecret: String? = null,
public val clientSecretSettingName: String? = null,
public val oauthScopes: List? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsFunctionAppAuthSettingsGithub):
WindowsFunctionAppAuthSettingsGithub = WindowsFunctionAppAuthSettingsGithub(
clientId = javaType.clientId(),
clientSecret = javaType.clientSecret().map({ args0 -> args0 }).orElse(null),
clientSecretSettingName = javaType.clientSecretSettingName().map({ args0 -> args0 }).orElse(null),
oauthScopes = javaType.oauthScopes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy