![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.WebAppAuthSettingsV2Args.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.web.kotlin
import com.pulumi.azurenative.web.WebAppAuthSettingsV2Args.builder
import com.pulumi.azurenative.web.kotlin.inputs.AuthPlatformArgs
import com.pulumi.azurenative.web.kotlin.inputs.AuthPlatformArgsBuilder
import com.pulumi.azurenative.web.kotlin.inputs.GlobalValidationArgs
import com.pulumi.azurenative.web.kotlin.inputs.GlobalValidationArgsBuilder
import com.pulumi.azurenative.web.kotlin.inputs.HttpSettingsArgs
import com.pulumi.azurenative.web.kotlin.inputs.HttpSettingsArgsBuilder
import com.pulumi.azurenative.web.kotlin.inputs.IdentityProvidersArgs
import com.pulumi.azurenative.web.kotlin.inputs.IdentityProvidersArgsBuilder
import com.pulumi.azurenative.web.kotlin.inputs.LoginArgs
import com.pulumi.azurenative.web.kotlin.inputs.LoginArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
* Azure REST API version: 2021-02-01. Prior API version in Azure Native 1.x: 2020-12-01.
* Other available API versions: 2020-10-01.
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:web:WebAppAuthSettingsV2 myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2
* ```
* @property globalValidation The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
* @property httpSettings The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
* @property identityProviders The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
* @property kind Kind of resource.
* @property login The configuration settings of the login flow of users using App Service Authentication/Authorization.
* @property name Name of web app.
* @property platform The configuration settings of the platform of App Service Authentication/Authorization.
* @property resourceGroupName Name of the resource group to which the resource belongs.
*/
public data class WebAppAuthSettingsV2Args(
public val globalValidation: Output? = null,
public val httpSettings: Output? = null,
public val identityProviders: Output? = null,
public val kind: Output? = null,
public val login: Output? = null,
public val name: Output? = null,
public val platform: Output? = null,
public val resourceGroupName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.WebAppAuthSettingsV2Args =
com.pulumi.azurenative.web.WebAppAuthSettingsV2Args.builder()
.globalValidation(globalValidation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.httpSettings(httpSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.identityProviders(identityProviders?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.kind(kind?.applyValue({ args0 -> args0 }))
.login(login?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.platform(platform?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WebAppAuthSettingsV2Args].
*/
@PulumiTagMarker
public class WebAppAuthSettingsV2ArgsBuilder internal constructor() {
private var globalValidation: Output? = null
private var httpSettings: Output? = null
private var identityProviders: Output? = null
private var kind: Output? = null
private var login: Output? = null
private var name: Output? = null
private var platform: Output? = null
private var resourceGroupName: Output? = null
/**
* @param value The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
*/
@JvmName("rfuurqqcjjtavmgc")
public suspend fun globalValidation(`value`: Output) {
this.globalValidation = value
}
/**
* @param value The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
*/
@JvmName("oyoefkbhigaorlha")
public suspend fun httpSettings(`value`: Output) {
this.httpSettings = value
}
/**
* @param value The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
*/
@JvmName("eierriqpqcomwxmo")
public suspend fun identityProviders(`value`: Output) {
this.identityProviders = value
}
/**
* @param value Kind of resource.
*/
@JvmName("xmahxisgbxeuafdt")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value The configuration settings of the login flow of users using App Service Authentication/Authorization.
*/
@JvmName("stfkjrdngnsarfib")
public suspend fun login(`value`: Output) {
this.login = value
}
/**
* @param value Name of web app.
*/
@JvmName("uumgfyxhnggddrhs")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The configuration settings of the platform of App Service Authentication/Authorization.
*/
@JvmName("rvmgbyahdxmttfwo")
public suspend fun platform(`value`: Output) {
this.platform = value
}
/**
* @param value Name of the resource group to which the resource belongs.
*/
@JvmName("tufbeyrtlbqhjudf")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
*/
@JvmName("vumsmjdeieelxusb")
public suspend fun globalValidation(`value`: GlobalValidationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.globalValidation = mapped
}
/**
* @param argument The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
*/
@JvmName("fhgtihpnftbsbcki")
public suspend fun globalValidation(argument: suspend GlobalValidationArgsBuilder.() -> Unit) {
val toBeMapped = GlobalValidationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.globalValidation = mapped
}
/**
* @param value The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
*/
@JvmName("iqxdctjbejhhgxgj")
public suspend fun httpSettings(`value`: HttpSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpSettings = mapped
}
/**
* @param argument The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
*/
@JvmName("megasnyrdbpmfrrp")
public suspend fun httpSettings(argument: suspend HttpSettingsArgsBuilder.() -> Unit) {
val toBeMapped = HttpSettingsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.httpSettings = mapped
}
/**
* @param value The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
*/
@JvmName("iemidoegieytwjpc")
public suspend fun identityProviders(`value`: IdentityProvidersArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identityProviders = mapped
}
/**
* @param argument The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
*/
@JvmName("caeplnpoekmnccpx")
public suspend fun identityProviders(argument: suspend IdentityProvidersArgsBuilder.() -> Unit) {
val toBeMapped = IdentityProvidersArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.identityProviders = mapped
}
/**
* @param value Kind of resource.
*/
@JvmName("kvdenqvxpxhcuhko")
public suspend fun kind(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kind = mapped
}
/**
* @param value The configuration settings of the login flow of users using App Service Authentication/Authorization.
*/
@JvmName("cxkudbxwkcuhevuk")
public suspend fun login(`value`: LoginArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.login = mapped
}
/**
* @param argument The configuration settings of the login flow of users using App Service Authentication/Authorization.
*/
@JvmName("brtnrafakmqlowow")
public suspend fun login(argument: suspend LoginArgsBuilder.() -> Unit) {
val toBeMapped = LoginArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.login = mapped
}
/**
* @param value Name of web app.
*/
@JvmName("igpxlmwddrfvpcee")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The configuration settings of the platform of App Service Authentication/Authorization.
*/
@JvmName("efilqehgojfsylsq")
public suspend fun platform(`value`: AuthPlatformArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.platform = mapped
}
/**
* @param argument The configuration settings of the platform of App Service Authentication/Authorization.
*/
@JvmName("dfodpfuvmrlaeyih")
public suspend fun platform(argument: suspend AuthPlatformArgsBuilder.() -> Unit) {
val toBeMapped = AuthPlatformArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.platform = mapped
}
/**
* @param value Name of the resource group to which the resource belongs.
*/
@JvmName("oynkctrrxwmpkajf")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
internal fun build(): WebAppAuthSettingsV2Args = WebAppAuthSettingsV2Args(
globalValidation = globalValidation,
httpSettings = httpSettings,
identityProviders = identityProviders,
kind = kind,
login = login,
name = name,
platform = platform,
resourceGroupName = resourceGroupName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy