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

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