Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.inputs
import com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotAuthSettingsV2Args.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property activeDirectoryV2 An `active_directory_v2` block as defined below.
* @property appleV2 An `apple_v2` block as defined below.
* @property authEnabled Should the AuthV2 Settings be enabled. Defaults to `false`.
* @property azureStaticWebAppV2 An `azure_static_web_app_v2` block as defined below.
* @property configFilePath The path to the App Auth settings.
* > **Note:** Relative Paths are evaluated from the Site Root directory.
* @property customOidcV2s Zero or more `custom_oidc_v2` blocks as defined below.
* @property defaultProvider The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider.
* > **NOTE:** Whilst any value will be accepted by the API for `default_provider`, it can leave the app in an unusable state if this value does not correspond to the name of a known provider (either built-in value, or custom_oidc name) as it is used to build the auth endpoint URI.
* @property excludedPaths The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.
* > **NOTE:** This list should be used instead of setting `WEBSITE_WARMUP_PATH` in `app_settings` as it takes priority.
* @property facebookV2 A `facebook_v2` block as defined below.
* @property forwardProxyConvention The convention used to determine the url of the request made. Possible values include `NoProxy`, `Standard`, `Custom`. Defaults to `NoProxy`.
* @property forwardProxyCustomHostHeaderName The name of the custom header containing the host of the request.
* @property forwardProxyCustomSchemeHeaderName The name of the custom header containing the scheme of the request.
* @property githubV2 A `github_v2` block as defined below.
* @property googleV2 A `google_v2` block as defined below.
* @property httpRouteApiPrefix The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`.
* @property login A `login` block as defined below.
* @property microsoftV2 A `microsoft_v2` block as defined below.
* @property requireAuthentication Should the authentication flow be used for all requests.
* @property requireHttps Should HTTPS be required on connections? Defaults to `true`.
* @property runtimeVersion The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`.
* @property twitterV2 A `twitter_v2` block as defined below.
* @property unauthenticatedAction The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`.
*/
public data class WindowsFunctionAppSlotAuthSettingsV2Args(
public val activeDirectoryV2: Output? =
null,
public val appleV2: Output? = null,
public val authEnabled: Output? = null,
public val azureStaticWebAppV2:
Output? = null,
public val configFilePath: Output? = null,
public val customOidcV2s: Output>? =
null,
public val defaultProvider: Output? = null,
public val excludedPaths: Output>? = null,
public val facebookV2: Output? = null,
public val forwardProxyConvention: Output? = null,
public val forwardProxyCustomHostHeaderName: Output? = null,
public val forwardProxyCustomSchemeHeaderName: Output? = null,
public val githubV2: Output? = null,
public val googleV2: Output? = null,
public val httpRouteApiPrefix: Output? = null,
public val login: Output,
public val microsoftV2: Output? = null,
public val requireAuthentication: Output? = null,
public val requireHttps: Output? = null,
public val runtimeVersion: Output? = null,
public val twitterV2: Output? = null,
public val unauthenticatedAction: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotAuthSettingsV2Args =
com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotAuthSettingsV2Args.builder()
.activeDirectoryV2(activeDirectoryV2?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.appleV2(appleV2?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.authEnabled(authEnabled?.applyValue({ args0 -> args0 }))
.azureStaticWebAppV2(
azureStaticWebAppV2?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.configFilePath(configFilePath?.applyValue({ args0 -> args0 }))
.customOidcV2s(
customOidcV2s?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.defaultProvider(defaultProvider?.applyValue({ args0 -> args0 }))
.excludedPaths(excludedPaths?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.facebookV2(facebookV2?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.forwardProxyConvention(forwardProxyConvention?.applyValue({ args0 -> args0 }))
.forwardProxyCustomHostHeaderName(forwardProxyCustomHostHeaderName?.applyValue({ args0 -> args0 }))
.forwardProxyCustomSchemeHeaderName(
forwardProxyCustomSchemeHeaderName?.applyValue({ args0 ->
args0
}),
)
.githubV2(githubV2?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.googleV2(googleV2?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.httpRouteApiPrefix(httpRouteApiPrefix?.applyValue({ args0 -> args0 }))
.login(login.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.microsoftV2(microsoftV2?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.requireAuthentication(requireAuthentication?.applyValue({ args0 -> args0 }))
.requireHttps(requireHttps?.applyValue({ args0 -> args0 }))
.runtimeVersion(runtimeVersion?.applyValue({ args0 -> args0 }))
.twitterV2(twitterV2?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.unauthenticatedAction(unauthenticatedAction?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsFunctionAppSlotAuthSettingsV2Args].
*/
@PulumiTagMarker
public class WindowsFunctionAppSlotAuthSettingsV2ArgsBuilder internal constructor() {
private var activeDirectoryV2: Output? =
null
private var appleV2: Output? = null
private var authEnabled: Output? = null
private var azureStaticWebAppV2:
Output? = null
private var configFilePath: Output? = null
private var customOidcV2s: Output>? =
null
private var defaultProvider: Output? = null
private var excludedPaths: Output>? = null
private var facebookV2: Output? = null
private var forwardProxyConvention: Output? = null
private var forwardProxyCustomHostHeaderName: Output? = null
private var forwardProxyCustomSchemeHeaderName: Output? = null
private var githubV2: Output? = null
private var googleV2: Output? = null
private var httpRouteApiPrefix: Output? = null
private var login: Output? = null
private var microsoftV2: Output? = null
private var requireAuthentication: Output? = null
private var requireHttps: Output? = null
private var runtimeVersion: Output? = null
private var twitterV2: Output? = null
private var unauthenticatedAction: Output? = null
/**
* @param value An `active_directory_v2` block as defined below.
*/
@JvmName("pwlngretmclvbibp")
public suspend
fun activeDirectoryV2(`value`: Output) {
this.activeDirectoryV2 = value
}
/**
* @param value An `apple_v2` block as defined below.
*/
@JvmName("mlkunqeorgnwsokj")
public suspend fun appleV2(`value`: Output) {
this.appleV2 = value
}
/**
* @param value Should the AuthV2 Settings be enabled. Defaults to `false`.
*/
@JvmName("kyilbcynujmxbvlh")
public suspend fun authEnabled(`value`: Output) {
this.authEnabled = value
}
/**
* @param value An `azure_static_web_app_v2` block as defined below.
*/
@JvmName("jqvrukwwkedwlnls")
public suspend
fun azureStaticWebAppV2(`value`: Output) {
this.azureStaticWebAppV2 = value
}
/**
* @param value The path to the App Auth settings.
* > **Note:** Relative Paths are evaluated from the Site Root directory.
*/
@JvmName("kahrhfymotirkvdl")
public suspend fun configFilePath(`value`: Output) {
this.configFilePath = value
}
/**
* @param value Zero or more `custom_oidc_v2` blocks as defined below.
*/
@JvmName("ytibwqqjrclvrknw")
public suspend
fun customOidcV2s(`value`: Output>) {
this.customOidcV2s = value
}
@JvmName("bpggblqsptkcdfky")
public suspend fun customOidcV2s(
vararg
values: Output,
) {
this.customOidcV2s = Output.all(values.asList())
}
/**
* @param values Zero or more `custom_oidc_v2` blocks as defined below.
*/
@JvmName("jxpdttfjdnweukxs")
public suspend
fun customOidcV2s(values: List