com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppSlotAuthSettingsActiveDirectory.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 allowedAudiences Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
* > **Note:** The `client_id` value is always considered an allowed audience.
* @property clientId The ID of the Client to use to authenticate with Azure Active Directory.
* @property clientSecret The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`.
* @property clientSecretSettingName The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`.
*/
public data class WindowsFunctionAppSlotAuthSettingsActiveDirectory(
public val allowedAudiences: List? = null,
public val clientId: String,
public val clientSecret: String? = null,
public val clientSecretSettingName: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsFunctionAppSlotAuthSettingsActiveDirectory):
WindowsFunctionAppSlotAuthSettingsActiveDirectory =
WindowsFunctionAppSlotAuthSettingsActiveDirectory(
allowedAudiences = javaType.allowedAudiences().map({ args0 -> args0 }),
clientId = javaType.clientId(),
clientSecret = javaType.clientSecret().map({ args0 -> args0 }).orElse(null),
clientSecretSettingName = javaType.clientSecretSettingName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy