ContainerAppsAuthConfigArgs

data class ContainerAppsAuthConfigArgs(val authConfigName: Output<String>? = null, val containerAppName: Output<String>? = null, val globalValidation: Output<GlobalValidationArgs>? = null, val httpSettings: Output<HttpSettingsArgs>? = null, val identityProviders: Output<IdentityProvidersArgs>? = null, val login: Output<LoginArgs>? = null, val platform: Output<AuthPlatformArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<ContainerAppsAuthConfigArgs>

Configuration settings for the Azure ContainerApp Service Authentication / Authorization feature. API Version: 2022-03-01.

Example Usage

Create or Update Container App AuthConfig

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerAppsAuthConfig = new AzureNative.App.ContainerAppsAuthConfig("containerAppsAuthConfig", new()
{
AuthConfigName = "current",
ContainerAppName = "testcanadacentral",
GlobalValidation = new AzureNative.App.Inputs.GlobalValidationArgs
{
UnauthenticatedClientAction = AzureNative.App.UnauthenticatedClientActionV2.AllowAnonymous,
},
IdentityProviders = new AzureNative.App.Inputs.IdentityProvidersArgs
{
Facebook = new AzureNative.App.Inputs.FacebookArgs
{
Registration = new AzureNative.App.Inputs.AppRegistrationArgs
{
AppId = "123",
AppSecretSettingName = "facebook-secret",
},
},
},
Platform = new AzureNative.App.Inputs.AuthPlatformArgs
{
Enabled = true,
},
ResourceGroupName = "workerapps-rg-xj",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerAppsAuthConfig;
import com.pulumi.azurenative.app.ContainerAppsAuthConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerAppsAuthConfig = new ContainerAppsAuthConfig("containerAppsAuthConfig", ContainerAppsAuthConfigArgs.builder()
.authConfigName("current")
.containerAppName("testcanadacentral")
.globalValidation(Map.of("unauthenticatedClientAction", "AllowAnonymous"))
.identityProviders(Map.of("facebook", Map.of("registration", Map.ofEntries(
Map.entry("appId", "123"),
Map.entry("appSecretSettingName", "facebook-secret")
))))
.platform(Map.of("enabled", true))
.resourceGroupName("workerapps-rg-xj")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:app:ContainerAppsAuthConfig current /subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/authconfigs/current

Constructors

Link copied to clipboard
constructor(authConfigName: Output<String>? = null, containerAppName: Output<String>? = null, globalValidation: Output<GlobalValidationArgs>? = null, httpSettings: Output<HttpSettingsArgs>? = null, identityProviders: Output<IdentityProvidersArgs>? = null, login: Output<LoginArgs>? = null, platform: Output<AuthPlatformArgs>? = null, resourceGroupName: Output<String>? = null)

Properties

Link copied to clipboard
val authConfigName: Output<String>? = null

Name of the Container App AuthConfig.

Link copied to clipboard
val containerAppName: Output<String>? = null

Name of the Container App.

Link copied to clipboard

The configuration settings that determines the validation flow of users using Service Authentication/Authorization.

Link copied to clipboard
val httpSettings: Output<HttpSettingsArgs>? = null

The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.

Link copied to clipboard

The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.

Link copied to clipboard
val login: Output<LoginArgs>? = null

The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.

Link copied to clipboard
val platform: Output<AuthPlatformArgs>? = null

The configuration settings of the platform of ContainerApp Service Authentication/Authorization.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Functions

Link copied to clipboard
open override fun toJava(): ContainerAppsAuthConfigArgs