All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
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.
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2Args Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.appservice.inputs;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2Args;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2AppleV2Args;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2Args;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2CustomOidcV2Args;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2FacebookV2Args;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2GithubV2Args;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2GoogleV2Args;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2LoginArgs;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2TwitterV2Args;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class WindowsWebAppSlotAuthSettingsV2Args extends com.pulumi.resources.ResourceArgs {
public static final WindowsWebAppSlotAuthSettingsV2Args Empty = new WindowsWebAppSlotAuthSettingsV2Args();
/**
* An `active_directory_v2` block as defined below.
*
*/
@Import(name="activeDirectoryV2")
private @Nullable Output activeDirectoryV2;
/**
* @return An `active_directory_v2` block as defined below.
*
*/
public Optional> activeDirectoryV2() {
return Optional.ofNullable(this.activeDirectoryV2);
}
/**
* An `apple_v2` block as defined below.
*
*/
@Import(name="appleV2")
private @Nullable Output appleV2;
/**
* @return An `apple_v2` block as defined below.
*
*/
public Optional> appleV2() {
return Optional.ofNullable(this.appleV2);
}
/**
* Should the AuthV2 Settings be enabled. Defaults to `false`.
*
*/
@Import(name="authEnabled")
private @Nullable Output authEnabled;
/**
* @return Should the AuthV2 Settings be enabled. Defaults to `false`.
*
*/
public Optional> authEnabled() {
return Optional.ofNullable(this.authEnabled);
}
/**
* An `azure_static_web_app_v2` block as defined below.
*
*/
@Import(name="azureStaticWebAppV2")
private @Nullable Output azureStaticWebAppV2;
/**
* @return An `azure_static_web_app_v2` block as defined below.
*
*/
public Optional> azureStaticWebAppV2() {
return Optional.ofNullable(this.azureStaticWebAppV2);
}
/**
* The path to the App Auth settings.
*
* > **Note:** Relative Paths are evaluated from the Site Root directory.
*
*/
@Import(name="configFilePath")
private @Nullable Output configFilePath;
/**
* @return The path to the App Auth settings.
*
* > **Note:** Relative Paths are evaluated from the Site Root directory.
*
*/
public Optional> configFilePath() {
return Optional.ofNullable(this.configFilePath);
}
/**
* Zero or more `custom_oidc_v2` blocks as defined below.
*
*/
@Import(name="customOidcV2s")
private @Nullable Output> customOidcV2s;
/**
* @return Zero or more `custom_oidc_v2` blocks as defined below.
*
*/
public Optional>> customOidcV2s() {
return Optional.ofNullable(this.customOidcV2s);
}
/**
* 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.
*
*/
@Import(name="defaultProvider")
private @Nullable Output defaultProvider;
/**
* @return 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.
*
*/
public Optional> defaultProvider() {
return Optional.ofNullable(this.defaultProvider);
}
/**
* 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.
*
*/
@Import(name="excludedPaths")
private @Nullable Output> excludedPaths;
/**
* @return 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.
*
*/
public Optional>> excludedPaths() {
return Optional.ofNullable(this.excludedPaths);
}
/**
* A `facebook_v2` block as defined below.
*
*/
@Import(name="facebookV2")
private @Nullable Output facebookV2;
/**
* @return A `facebook_v2` block as defined below.
*
*/
public Optional> facebookV2() {
return Optional.ofNullable(this.facebookV2);
}
/**
* The convention used to determine the url of the request made. Possible values include `NoProxy`, `Standard`, `Custom`. Defaults to `NoProxy`.
*
*/
@Import(name="forwardProxyConvention")
private @Nullable Output forwardProxyConvention;
/**
* @return The convention used to determine the url of the request made. Possible values include `NoProxy`, `Standard`, `Custom`. Defaults to `NoProxy`.
*
*/
public Optional> forwardProxyConvention() {
return Optional.ofNullable(this.forwardProxyConvention);
}
/**
* The name of the custom header containing the host of the request.
*
*/
@Import(name="forwardProxyCustomHostHeaderName")
private @Nullable Output forwardProxyCustomHostHeaderName;
/**
* @return The name of the custom header containing the host of the request.
*
*/
public Optional> forwardProxyCustomHostHeaderName() {
return Optional.ofNullable(this.forwardProxyCustomHostHeaderName);
}
/**
* The name of the custom header containing the scheme of the request.
*
*/
@Import(name="forwardProxyCustomSchemeHeaderName")
private @Nullable Output forwardProxyCustomSchemeHeaderName;
/**
* @return The name of the custom header containing the scheme of the request.
*
*/
public Optional> forwardProxyCustomSchemeHeaderName() {
return Optional.ofNullable(this.forwardProxyCustomSchemeHeaderName);
}
/**
* A `github_v2` block as defined below.
*
*/
@Import(name="githubV2")
private @Nullable Output githubV2;
/**
* @return A `github_v2` block as defined below.
*
*/
public Optional> githubV2() {
return Optional.ofNullable(this.githubV2);
}
/**
* A `google_v2` block as defined below.
*
*/
@Import(name="googleV2")
private @Nullable Output googleV2;
/**
* @return A `google_v2` block as defined below.
*
*/
public Optional> googleV2() {
return Optional.ofNullable(this.googleV2);
}
/**
* The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`.
*
*/
@Import(name="httpRouteApiPrefix")
private @Nullable Output httpRouteApiPrefix;
/**
* @return The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`.
*
*/
public Optional> httpRouteApiPrefix() {
return Optional.ofNullable(this.httpRouteApiPrefix);
}
/**
* A `login` block as defined below.
*
*/
@Import(name="login", required=true)
private Output login;
/**
* @return A `login` block as defined below.
*
*/
public Output login() {
return this.login;
}
/**
* A `microsoft_v2` block as defined below.
*
*/
@Import(name="microsoftV2")
private @Nullable Output microsoftV2;
/**
* @return A `microsoft_v2` block as defined below.
*
*/
public Optional> microsoftV2() {
return Optional.ofNullable(this.microsoftV2);
}
/**
* Should the authentication flow be used for all requests.
*
*/
@Import(name="requireAuthentication")
private @Nullable Output requireAuthentication;
/**
* @return Should the authentication flow be used for all requests.
*
*/
public Optional> requireAuthentication() {
return Optional.ofNullable(this.requireAuthentication);
}
/**
* Should HTTPS be required on connections? Defaults to `true`.
*
*/
@Import(name="requireHttps")
private @Nullable Output requireHttps;
/**
* @return Should HTTPS be required on connections? Defaults to `true`.
*
*/
public Optional> requireHttps() {
return Optional.ofNullable(this.requireHttps);
}
/**
* The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`.
*
*/
@Import(name="runtimeVersion")
private @Nullable Output runtimeVersion;
/**
* @return The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`.
*
*/
public Optional> runtimeVersion() {
return Optional.ofNullable(this.runtimeVersion);
}
/**
* A `twitter_v2` block as defined below.
*
*/
@Import(name="twitterV2")
private @Nullable Output twitterV2;
/**
* @return A `twitter_v2` block as defined below.
*
*/
public Optional> twitterV2() {
return Optional.ofNullable(this.twitterV2);
}
/**
* The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`.
*
*/
@Import(name="unauthenticatedAction")
private @Nullable Output unauthenticatedAction;
/**
* @return The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`.
*
*/
public Optional> unauthenticatedAction() {
return Optional.ofNullable(this.unauthenticatedAction);
}
private WindowsWebAppSlotAuthSettingsV2Args() {}
private WindowsWebAppSlotAuthSettingsV2Args(WindowsWebAppSlotAuthSettingsV2Args $) {
this.activeDirectoryV2 = $.activeDirectoryV2;
this.appleV2 = $.appleV2;
this.authEnabled = $.authEnabled;
this.azureStaticWebAppV2 = $.azureStaticWebAppV2;
this.configFilePath = $.configFilePath;
this.customOidcV2s = $.customOidcV2s;
this.defaultProvider = $.defaultProvider;
this.excludedPaths = $.excludedPaths;
this.facebookV2 = $.facebookV2;
this.forwardProxyConvention = $.forwardProxyConvention;
this.forwardProxyCustomHostHeaderName = $.forwardProxyCustomHostHeaderName;
this.forwardProxyCustomSchemeHeaderName = $.forwardProxyCustomSchemeHeaderName;
this.githubV2 = $.githubV2;
this.googleV2 = $.googleV2;
this.httpRouteApiPrefix = $.httpRouteApiPrefix;
this.login = $.login;
this.microsoftV2 = $.microsoftV2;
this.requireAuthentication = $.requireAuthentication;
this.requireHttps = $.requireHttps;
this.runtimeVersion = $.runtimeVersion;
this.twitterV2 = $.twitterV2;
this.unauthenticatedAction = $.unauthenticatedAction;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WindowsWebAppSlotAuthSettingsV2Args defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WindowsWebAppSlotAuthSettingsV2Args $;
public Builder() {
$ = new WindowsWebAppSlotAuthSettingsV2Args();
}
public Builder(WindowsWebAppSlotAuthSettingsV2Args defaults) {
$ = new WindowsWebAppSlotAuthSettingsV2Args(Objects.requireNonNull(defaults));
}
/**
* @param activeDirectoryV2 An `active_directory_v2` block as defined below.
*
* @return builder
*
*/
public Builder activeDirectoryV2(@Nullable Output activeDirectoryV2) {
$.activeDirectoryV2 = activeDirectoryV2;
return this;
}
/**
* @param activeDirectoryV2 An `active_directory_v2` block as defined below.
*
* @return builder
*
*/
public Builder activeDirectoryV2(WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2Args activeDirectoryV2) {
return activeDirectoryV2(Output.of(activeDirectoryV2));
}
/**
* @param appleV2 An `apple_v2` block as defined below.
*
* @return builder
*
*/
public Builder appleV2(@Nullable Output appleV2) {
$.appleV2 = appleV2;
return this;
}
/**
* @param appleV2 An `apple_v2` block as defined below.
*
* @return builder
*
*/
public Builder appleV2(WindowsWebAppSlotAuthSettingsV2AppleV2Args appleV2) {
return appleV2(Output.of(appleV2));
}
/**
* @param authEnabled Should the AuthV2 Settings be enabled. Defaults to `false`.
*
* @return builder
*
*/
public Builder authEnabled(@Nullable Output authEnabled) {
$.authEnabled = authEnabled;
return this;
}
/**
* @param authEnabled Should the AuthV2 Settings be enabled. Defaults to `false`.
*
* @return builder
*
*/
public Builder authEnabled(Boolean authEnabled) {
return authEnabled(Output.of(authEnabled));
}
/**
* @param azureStaticWebAppV2 An `azure_static_web_app_v2` block as defined below.
*
* @return builder
*
*/
public Builder azureStaticWebAppV2(@Nullable Output azureStaticWebAppV2) {
$.azureStaticWebAppV2 = azureStaticWebAppV2;
return this;
}
/**
* @param azureStaticWebAppV2 An `azure_static_web_app_v2` block as defined below.
*
* @return builder
*
*/
public Builder azureStaticWebAppV2(WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2Args azureStaticWebAppV2) {
return azureStaticWebAppV2(Output.of(azureStaticWebAppV2));
}
/**
* @param configFilePath The path to the App Auth settings.
*
* > **Note:** Relative Paths are evaluated from the Site Root directory.
*
* @return builder
*
*/
public Builder configFilePath(@Nullable Output configFilePath) {
$.configFilePath = configFilePath;
return this;
}
/**
* @param configFilePath The path to the App Auth settings.
*
* > **Note:** Relative Paths are evaluated from the Site Root directory.
*
* @return builder
*
*/
public Builder configFilePath(String configFilePath) {
return configFilePath(Output.of(configFilePath));
}
/**
* @param customOidcV2s Zero or more `custom_oidc_v2` blocks as defined below.
*
* @return builder
*
*/
public Builder customOidcV2s(@Nullable Output> customOidcV2s) {
$.customOidcV2s = customOidcV2s;
return this;
}
/**
* @param customOidcV2s Zero or more `custom_oidc_v2` blocks as defined below.
*
* @return builder
*
*/
public Builder customOidcV2s(List customOidcV2s) {
return customOidcV2s(Output.of(customOidcV2s));
}
/**
* @param customOidcV2s Zero or more `custom_oidc_v2` blocks as defined below.
*
* @return builder
*
*/
public Builder customOidcV2s(WindowsWebAppSlotAuthSettingsV2CustomOidcV2Args... customOidcV2s) {
return customOidcV2s(List.of(customOidcV2s));
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder defaultProvider(@Nullable Output defaultProvider) {
$.defaultProvider = defaultProvider;
return this;
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder defaultProvider(String defaultProvider) {
return defaultProvider(Output.of(defaultProvider));
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder excludedPaths(@Nullable Output> excludedPaths) {
$.excludedPaths = excludedPaths;
return this;
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder excludedPaths(List excludedPaths) {
return excludedPaths(Output.of(excludedPaths));
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder excludedPaths(String... excludedPaths) {
return excludedPaths(List.of(excludedPaths));
}
/**
* @param facebookV2 A `facebook_v2` block as defined below.
*
* @return builder
*
*/
public Builder facebookV2(@Nullable Output facebookV2) {
$.facebookV2 = facebookV2;
return this;
}
/**
* @param facebookV2 A `facebook_v2` block as defined below.
*
* @return builder
*
*/
public Builder facebookV2(WindowsWebAppSlotAuthSettingsV2FacebookV2Args facebookV2) {
return facebookV2(Output.of(facebookV2));
}
/**
* @param forwardProxyConvention The convention used to determine the url of the request made. Possible values include `NoProxy`, `Standard`, `Custom`. Defaults to `NoProxy`.
*
* @return builder
*
*/
public Builder forwardProxyConvention(@Nullable Output forwardProxyConvention) {
$.forwardProxyConvention = forwardProxyConvention;
return this;
}
/**
* @param forwardProxyConvention The convention used to determine the url of the request made. Possible values include `NoProxy`, `Standard`, `Custom`. Defaults to `NoProxy`.
*
* @return builder
*
*/
public Builder forwardProxyConvention(String forwardProxyConvention) {
return forwardProxyConvention(Output.of(forwardProxyConvention));
}
/**
* @param forwardProxyCustomHostHeaderName The name of the custom header containing the host of the request.
*
* @return builder
*
*/
public Builder forwardProxyCustomHostHeaderName(@Nullable Output forwardProxyCustomHostHeaderName) {
$.forwardProxyCustomHostHeaderName = forwardProxyCustomHostHeaderName;
return this;
}
/**
* @param forwardProxyCustomHostHeaderName The name of the custom header containing the host of the request.
*
* @return builder
*
*/
public Builder forwardProxyCustomHostHeaderName(String forwardProxyCustomHostHeaderName) {
return forwardProxyCustomHostHeaderName(Output.of(forwardProxyCustomHostHeaderName));
}
/**
* @param forwardProxyCustomSchemeHeaderName The name of the custom header containing the scheme of the request.
*
* @return builder
*
*/
public Builder forwardProxyCustomSchemeHeaderName(@Nullable Output forwardProxyCustomSchemeHeaderName) {
$.forwardProxyCustomSchemeHeaderName = forwardProxyCustomSchemeHeaderName;
return this;
}
/**
* @param forwardProxyCustomSchemeHeaderName The name of the custom header containing the scheme of the request.
*
* @return builder
*
*/
public Builder forwardProxyCustomSchemeHeaderName(String forwardProxyCustomSchemeHeaderName) {
return forwardProxyCustomSchemeHeaderName(Output.of(forwardProxyCustomSchemeHeaderName));
}
/**
* @param githubV2 A `github_v2` block as defined below.
*
* @return builder
*
*/
public Builder githubV2(@Nullable Output githubV2) {
$.githubV2 = githubV2;
return this;
}
/**
* @param githubV2 A `github_v2` block as defined below.
*
* @return builder
*
*/
public Builder githubV2(WindowsWebAppSlotAuthSettingsV2GithubV2Args githubV2) {
return githubV2(Output.of(githubV2));
}
/**
* @param googleV2 A `google_v2` block as defined below.
*
* @return builder
*
*/
public Builder googleV2(@Nullable Output googleV2) {
$.googleV2 = googleV2;
return this;
}
/**
* @param googleV2 A `google_v2` block as defined below.
*
* @return builder
*
*/
public Builder googleV2(WindowsWebAppSlotAuthSettingsV2GoogleV2Args googleV2) {
return googleV2(Output.of(googleV2));
}
/**
* @param httpRouteApiPrefix The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`.
*
* @return builder
*
*/
public Builder httpRouteApiPrefix(@Nullable Output httpRouteApiPrefix) {
$.httpRouteApiPrefix = httpRouteApiPrefix;
return this;
}
/**
* @param httpRouteApiPrefix The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`.
*
* @return builder
*
*/
public Builder httpRouteApiPrefix(String httpRouteApiPrefix) {
return httpRouteApiPrefix(Output.of(httpRouteApiPrefix));
}
/**
* @param login A `login` block as defined below.
*
* @return builder
*
*/
public Builder login(Output login) {
$.login = login;
return this;
}
/**
* @param login A `login` block as defined below.
*
* @return builder
*
*/
public Builder login(WindowsWebAppSlotAuthSettingsV2LoginArgs login) {
return login(Output.of(login));
}
/**
* @param microsoftV2 A `microsoft_v2` block as defined below.
*
* @return builder
*
*/
public Builder microsoftV2(@Nullable Output microsoftV2) {
$.microsoftV2 = microsoftV2;
return this;
}
/**
* @param microsoftV2 A `microsoft_v2` block as defined below.
*
* @return builder
*
*/
public Builder microsoftV2(WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args microsoftV2) {
return microsoftV2(Output.of(microsoftV2));
}
/**
* @param requireAuthentication Should the authentication flow be used for all requests.
*
* @return builder
*
*/
public Builder requireAuthentication(@Nullable Output requireAuthentication) {
$.requireAuthentication = requireAuthentication;
return this;
}
/**
* @param requireAuthentication Should the authentication flow be used for all requests.
*
* @return builder
*
*/
public Builder requireAuthentication(Boolean requireAuthentication) {
return requireAuthentication(Output.of(requireAuthentication));
}
/**
* @param requireHttps Should HTTPS be required on connections? Defaults to `true`.
*
* @return builder
*
*/
public Builder requireHttps(@Nullable Output requireHttps) {
$.requireHttps = requireHttps;
return this;
}
/**
* @param requireHttps Should HTTPS be required on connections? Defaults to `true`.
*
* @return builder
*
*/
public Builder requireHttps(Boolean requireHttps) {
return requireHttps(Output.of(requireHttps));
}
/**
* @param runtimeVersion The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`.
*
* @return builder
*
*/
public Builder runtimeVersion(@Nullable Output runtimeVersion) {
$.runtimeVersion = runtimeVersion;
return this;
}
/**
* @param runtimeVersion The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`.
*
* @return builder
*
*/
public Builder runtimeVersion(String runtimeVersion) {
return runtimeVersion(Output.of(runtimeVersion));
}
/**
* @param twitterV2 A `twitter_v2` block as defined below.
*
* @return builder
*
*/
public Builder twitterV2(@Nullable Output twitterV2) {
$.twitterV2 = twitterV2;
return this;
}
/**
* @param twitterV2 A `twitter_v2` block as defined below.
*
* @return builder
*
*/
public Builder twitterV2(WindowsWebAppSlotAuthSettingsV2TwitterV2Args twitterV2) {
return twitterV2(Output.of(twitterV2));
}
/**
* @param unauthenticatedAction The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`.
*
* @return builder
*
*/
public Builder unauthenticatedAction(@Nullable Output unauthenticatedAction) {
$.unauthenticatedAction = unauthenticatedAction;
return this;
}
/**
* @param unauthenticatedAction The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`.
*
* @return builder
*
*/
public Builder unauthenticatedAction(String unauthenticatedAction) {
return unauthenticatedAction(Output.of(unauthenticatedAction));
}
public WindowsWebAppSlotAuthSettingsV2Args build() {
if ($.login == null) {
throw new MissingRequiredPropertyException("WindowsWebAppSlotAuthSettingsV2Args", "login");
}
return $;
}
}
}