All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettingsActiveDirectory.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@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 LinuxFunctionAppSlotAuthSettingsActiveDirectory(
    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.LinuxFunctionAppSlotAuthSettingsActiveDirectory):
            LinuxFunctionAppSlotAuthSettingsActiveDirectory =
            LinuxFunctionAppSlotAuthSettingsActiveDirectory(
                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