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

com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppAuthSettingsV2MicrosoftV2.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 Audiences that will 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 clientSecretSettingName The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
 * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
 * @property loginScopes The list of Login scopes that should be requested as part of Microsoft Account authentication.
 */
public data class LinuxFunctionAppAuthSettingsV2MicrosoftV2(
    public val allowedAudiences: List? = null,
    public val clientId: String,
    public val clientSecretSettingName: String,
    public val loginScopes: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxFunctionAppAuthSettingsV2MicrosoftV2):
            LinuxFunctionAppAuthSettingsV2MicrosoftV2 = LinuxFunctionAppAuthSettingsV2MicrosoftV2(
            allowedAudiences = javaType.allowedAudiences().map({ args0 -> args0 }),
            clientId = javaType.clientId(),
            clientSecretSettingName = javaType.clientSecretSettingName(),
            loginScopes = javaType.loginScopes().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy