com.pulumi.azure.appservice.kotlin.outputs.GetLinuxFunctionAppAuthSettingActiveDirectory.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property allowedAudiences The list of Allowed Audiences that are 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 clientSecret The OAuth 2.0 client secret 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.
*/
public data class GetLinuxFunctionAppAuthSettingActiveDirectory(
public val allowedAudiences: List,
public val clientId: String,
public val clientSecret: String,
public val clientSecretSettingName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetLinuxFunctionAppAuthSettingActiveDirectory): GetLinuxFunctionAppAuthSettingActiveDirectory =
GetLinuxFunctionAppAuthSettingActiveDirectory(
allowedAudiences = javaType.allowedAudiences().map({ args0 -> args0 }),
clientId = javaType.clientId(),
clientSecret = javaType.clientSecret(),
clientSecretSettingName = javaType.clientSecretSettingName(),
)
}
}