com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.appservice.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 WindowsFunctionAppAuthSettingsV2(
public val activeDirectoryV2: WindowsFunctionAppAuthSettingsV2ActiveDirectoryV2? = null,
public val appleV2: WindowsFunctionAppAuthSettingsV2AppleV2? = null,
public val authEnabled: Boolean? = null,
public val azureStaticWebAppV2: WindowsFunctionAppAuthSettingsV2AzureStaticWebAppV2? = null,
public val configFilePath: String? = null,
public val customOidcV2s: List? = null,
public val defaultProvider: String? = null,
public val excludedPaths: List? = null,
public val facebookV2: WindowsFunctionAppAuthSettingsV2FacebookV2? = null,
public val forwardProxyConvention: String? = null,
public val forwardProxyCustomHostHeaderName: String? = null,
public val forwardProxyCustomSchemeHeaderName: String? = null,
public val githubV2: WindowsFunctionAppAuthSettingsV2GithubV2? = null,
public val googleV2: WindowsFunctionAppAuthSettingsV2GoogleV2? = null,
public val httpRouteApiPrefix: String? = null,
public val login: WindowsFunctionAppAuthSettingsV2Login,
public val microsoftV2: WindowsFunctionAppAuthSettingsV2MicrosoftV2? = null,
public val requireAuthentication: Boolean? = null,
public val requireHttps: Boolean? = null,
public val runtimeVersion: String? = null,
public val twitterV2: WindowsFunctionAppAuthSettingsV2TwitterV2? = null,
public val unauthenticatedAction: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsFunctionAppAuthSettingsV2):
WindowsFunctionAppAuthSettingsV2 = WindowsFunctionAppAuthSettingsV2(
activeDirectoryV2 = javaType.activeDirectoryV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2ActiveDirectoryV2.Companion.toKotlin(args0)
})
}).orElse(null),
appleV2 = javaType.appleV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2AppleV2.Companion.toKotlin(args0)
})
}).orElse(null),
authEnabled = javaType.authEnabled().map({ args0 -> args0 }).orElse(null),
azureStaticWebAppV2 = javaType.azureStaticWebAppV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2AzureStaticWebAppV2.Companion.toKotlin(args0)
})
}).orElse(null),
configFilePath = javaType.configFilePath().map({ args0 -> args0 }).orElse(null),
customOidcV2s = javaType.customOidcV2s().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2CustomOidcV2.Companion.toKotlin(args0)
})
}),
defaultProvider = javaType.defaultProvider().map({ args0 -> args0 }).orElse(null),
excludedPaths = javaType.excludedPaths().map({ args0 -> args0 }),
facebookV2 = javaType.facebookV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2FacebookV2.Companion.toKotlin(args0)
})
}).orElse(null),
forwardProxyConvention = javaType.forwardProxyConvention().map({ args0 -> args0 }).orElse(null),
forwardProxyCustomHostHeaderName = javaType.forwardProxyCustomHostHeaderName().map({ args0 ->
args0
}).orElse(null),
forwardProxyCustomSchemeHeaderName = javaType.forwardProxyCustomSchemeHeaderName().map({ args0 ->
args0
}).orElse(null),
githubV2 = javaType.githubV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2GithubV2.Companion.toKotlin(args0)
})
}).orElse(null),
googleV2 = javaType.googleV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2GoogleV2.Companion.toKotlin(args0)
})
}).orElse(null),
httpRouteApiPrefix = javaType.httpRouteApiPrefix().map({ args0 -> args0 }).orElse(null),
login = javaType.login().let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2Login.Companion.toKotlin(args0)
}),
microsoftV2 = javaType.microsoftV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2MicrosoftV2.Companion.toKotlin(args0)
})
}).orElse(null),
requireAuthentication = javaType.requireAuthentication().map({ args0 -> args0 }).orElse(null),
requireHttps = javaType.requireHttps().map({ args0 -> args0 }).orElse(null),
runtimeVersion = javaType.runtimeVersion().map({ args0 -> args0 }).orElse(null),
twitterV2 = javaType.twitterV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppAuthSettingsV2TwitterV2.Companion.toKotlin(args0)
})
}).orElse(null),
unauthenticatedAction = javaType.unauthenticatedAction().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy