com.pulumi.azure.appservice.kotlin.outputs.WindowsWebAppSlotAuthSettingsMicrosoft.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 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 WindowsWebAppSlotAuthSettingsMicrosoft(
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.WindowsWebAppSlotAuthSettingsMicrosoft):
WindowsWebAppSlotAuthSettingsMicrosoft = WindowsWebAppSlotAuthSettingsMicrosoft(
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