1. Packages
  2. Azure Classic
  3. API Docs
  4. appservice
  5. WindowsWebAppSlot

We recommend using Azure Native.

Azure v6.12.0 published on Monday, Dec 2, 2024 by Pulumi

azure.appservice.WindowsWebAppSlot

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.12.0 published on Monday, Dec 2, 2024 by Pulumi

    Manages a Windows Web App Slot.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleServicePlan = new azure.appservice.ServicePlan("example", {
        name: "example-plan",
        resourceGroupName: example.name,
        location: example.location,
        osType: "Windows",
        skuName: "P1v2",
    });
    const exampleWindowsWebApp = new azure.appservice.WindowsWebApp("example", {
        name: "example-windows-web-app",
        resourceGroupName: example.name,
        location: exampleServicePlan.location,
        servicePlanId: exampleServicePlan.id,
        siteConfig: {},
    });
    const exampleWindowsWebAppSlot = new azure.appservice.WindowsWebAppSlot("example", {
        name: "example-slot",
        appServiceId: exampleWindowsWebApp.id,
        siteConfig: {},
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_service_plan = azure.appservice.ServicePlan("example",
        name="example-plan",
        resource_group_name=example.name,
        location=example.location,
        os_type="Windows",
        sku_name="P1v2")
    example_windows_web_app = azure.appservice.WindowsWebApp("example",
        name="example-windows-web-app",
        resource_group_name=example.name,
        location=example_service_plan.location,
        service_plan_id=example_service_plan.id,
        site_config={})
    example_windows_web_app_slot = azure.appservice.WindowsWebAppSlot("example",
        name="example-slot",
        app_service_id=example_windows_web_app.id,
        site_config={})
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appservice"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleServicePlan, err := appservice.NewServicePlan(ctx, "example", &appservice.ServicePlanArgs{
    			Name:              pulumi.String("example-plan"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			OsType:            pulumi.String("Windows"),
    			SkuName:           pulumi.String("P1v2"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleWindowsWebApp, err := appservice.NewWindowsWebApp(ctx, "example", &appservice.WindowsWebAppArgs{
    			Name:              pulumi.String("example-windows-web-app"),
    			ResourceGroupName: example.Name,
    			Location:          exampleServicePlan.Location,
    			ServicePlanId:     exampleServicePlan.ID(),
    			SiteConfig:        &appservice.WindowsWebAppSiteConfigArgs{},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appservice.NewWindowsWebAppSlot(ctx, "example", &appservice.WindowsWebAppSlotArgs{
    			Name:         pulumi.String("example-slot"),
    			AppServiceId: exampleWindowsWebApp.ID(),
    			SiteConfig:   &appservice.WindowsWebAppSlotSiteConfigArgs{},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleServicePlan = new Azure.AppService.ServicePlan("example", new()
        {
            Name = "example-plan",
            ResourceGroupName = example.Name,
            Location = example.Location,
            OsType = "Windows",
            SkuName = "P1v2",
        });
    
        var exampleWindowsWebApp = new Azure.AppService.WindowsWebApp("example", new()
        {
            Name = "example-windows-web-app",
            ResourceGroupName = example.Name,
            Location = exampleServicePlan.Location,
            ServicePlanId = exampleServicePlan.Id,
            SiteConfig = null,
        });
    
        var exampleWindowsWebAppSlot = new Azure.AppService.WindowsWebAppSlot("example", new()
        {
            Name = "example-slot",
            AppServiceId = exampleWindowsWebApp.Id,
            SiteConfig = null,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.appservice.ServicePlan;
    import com.pulumi.azure.appservice.ServicePlanArgs;
    import com.pulumi.azure.appservice.WindowsWebApp;
    import com.pulumi.azure.appservice.WindowsWebAppArgs;
    import com.pulumi.azure.appservice.inputs.WindowsWebAppSiteConfigArgs;
    import com.pulumi.azure.appservice.WindowsWebAppSlot;
    import com.pulumi.azure.appservice.WindowsWebAppSlotArgs;
    import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleServicePlan = new ServicePlan("exampleServicePlan", ServicePlanArgs.builder()
                .name("example-plan")
                .resourceGroupName(example.name())
                .location(example.location())
                .osType("Windows")
                .skuName("P1v2")
                .build());
    
            var exampleWindowsWebApp = new WindowsWebApp("exampleWindowsWebApp", WindowsWebAppArgs.builder()
                .name("example-windows-web-app")
                .resourceGroupName(example.name())
                .location(exampleServicePlan.location())
                .servicePlanId(exampleServicePlan.id())
                .siteConfig()
                .build());
    
            var exampleWindowsWebAppSlot = new WindowsWebAppSlot("exampleWindowsWebAppSlot", WindowsWebAppSlotArgs.builder()
                .name("example-slot")
                .appServiceId(exampleWindowsWebApp.id())
                .siteConfig()
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleServicePlan:
        type: azure:appservice:ServicePlan
        name: example
        properties:
          name: example-plan
          resourceGroupName: ${example.name}
          location: ${example.location}
          osType: Windows
          skuName: P1v2
      exampleWindowsWebApp:
        type: azure:appservice:WindowsWebApp
        name: example
        properties:
          name: example-windows-web-app
          resourceGroupName: ${example.name}
          location: ${exampleServicePlan.location}
          servicePlanId: ${exampleServicePlan.id}
          siteConfig: {}
      exampleWindowsWebAppSlot:
        type: azure:appservice:WindowsWebAppSlot
        name: example
        properties:
          name: example-slot
          appServiceId: ${exampleWindowsWebApp.id}
          siteConfig: {}
    

    Create WindowsWebAppSlot Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WindowsWebAppSlot(name: string, args: WindowsWebAppSlotArgs, opts?: CustomResourceOptions);
    @overload
    def WindowsWebAppSlot(resource_name: str,
                          args: WindowsWebAppSlotArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def WindowsWebAppSlot(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          app_service_id: Optional[str] = None,
                          site_config: Optional[WindowsWebAppSlotSiteConfigArgs] = None,
                          https_only: Optional[bool] = None,
                          zip_deploy_file: Optional[str] = None,
                          auth_settings: Optional[WindowsWebAppSlotAuthSettingsArgs] = None,
                          client_affinity_enabled: Optional[bool] = None,
                          client_certificate_enabled: Optional[bool] = None,
                          client_certificate_exclusion_paths: Optional[str] = None,
                          client_certificate_mode: Optional[str] = None,
                          connection_strings: Optional[Sequence[WindowsWebAppSlotConnectionStringArgs]] = None,
                          enabled: Optional[bool] = None,
                          key_vault_reference_identity_id: Optional[str] = None,
                          backup: Optional[WindowsWebAppSlotBackupArgs] = None,
                          auth_settings_v2: Optional[WindowsWebAppSlotAuthSettingsV2Args] = None,
                          ftp_publish_basic_authentication_enabled: Optional[bool] = None,
                          logs: Optional[WindowsWebAppSlotLogsArgs] = None,
                          name: Optional[str] = None,
                          public_network_access_enabled: Optional[bool] = None,
                          service_plan_id: Optional[str] = None,
                          app_settings: Optional[Mapping[str, str]] = None,
                          storage_accounts: Optional[Sequence[WindowsWebAppSlotStorageAccountArgs]] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          virtual_network_subnet_id: Optional[str] = None,
                          webdeploy_publish_basic_authentication_enabled: Optional[bool] = None,
                          identity: Optional[WindowsWebAppSlotIdentityArgs] = None)
    func NewWindowsWebAppSlot(ctx *Context, name string, args WindowsWebAppSlotArgs, opts ...ResourceOption) (*WindowsWebAppSlot, error)
    public WindowsWebAppSlot(string name, WindowsWebAppSlotArgs args, CustomResourceOptions? opts = null)
    public WindowsWebAppSlot(String name, WindowsWebAppSlotArgs args)
    public WindowsWebAppSlot(String name, WindowsWebAppSlotArgs args, CustomResourceOptions options)
    
    type: azure:appservice:WindowsWebAppSlot
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WindowsWebAppSlotArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WindowsWebAppSlotArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WindowsWebAppSlotArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WindowsWebAppSlotArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WindowsWebAppSlotArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var windowsWebAppSlotResource = new Azure.AppService.WindowsWebAppSlot("windowsWebAppSlotResource", new()
    {
        AppServiceId = "string",
        SiteConfig = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigArgs
        {
            AlwaysOn = false,
            ApiDefinitionUrl = "string",
            ApiManagementApiId = "string",
            AppCommandLine = "string",
            ApplicationStack = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigApplicationStackArgs
            {
                CurrentStack = "string",
                DockerImageName = "string",
                DockerRegistryPassword = "string",
                DockerRegistryUrl = "string",
                DockerRegistryUsername = "string",
                DotnetCoreVersion = "string",
                DotnetVersion = "string",
                JavaEmbeddedServerEnabled = false,
                JavaVersion = "string",
                NodeVersion = "string",
                PhpVersion = "string",
                Python = false,
                TomcatVersion = "string",
            },
            AutoHealSetting = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigAutoHealSettingArgs
            {
                Action = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigAutoHealSettingActionArgs
                {
                    ActionType = "string",
                    CustomAction = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigAutoHealSettingActionCustomActionArgs
                    {
                        Executable = "string",
                        Parameters = "string",
                    },
                    MinimumProcessExecutionTime = "string",
                },
                Trigger = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs
                {
                    PrivateMemoryKb = 0,
                    Requests = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs
                    {
                        Count = 0,
                        Interval = "string",
                    },
                    SlowRequest = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestArgs
                    {
                        Count = 0,
                        Interval = "string",
                        TimeTaken = "string",
                    },
                    SlowRequestWithPaths = new[]
                    {
                        new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs
                        {
                            Count = 0,
                            Interval = "string",
                            TimeTaken = "string",
                            Path = "string",
                        },
                    },
                    StatusCodes = new[]
                    {
                        new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerStatusCodeArgs
                        {
                            Count = 0,
                            Interval = "string",
                            StatusCodeRange = "string",
                            Path = "string",
                            SubStatus = 0,
                            Win32StatusCode = 0,
                        },
                    },
                },
            },
            AutoSwapSlotName = "string",
            ContainerRegistryManagedIdentityClientId = "string",
            ContainerRegistryUseManagedIdentity = false,
            Cors = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigCorsArgs
            {
                AllowedOrigins = new[]
                {
                    "string",
                },
                SupportCredentials = false,
            },
            DefaultDocuments = new[]
            {
                "string",
            },
            DetailedErrorLoggingEnabled = false,
            FtpsState = "string",
            HandlerMappings = new[]
            {
                new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigHandlerMappingArgs
                {
                    Extension = "string",
                    ScriptProcessorPath = "string",
                    Arguments = "string",
                },
            },
            HealthCheckEvictionTimeInMin = 0,
            HealthCheckPath = "string",
            Http2Enabled = false,
            IpRestrictionDefaultAction = "string",
            IpRestrictions = new[]
            {
                new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigIpRestrictionArgs
                {
                    Action = "string",
                    Description = "string",
                    Headers = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigIpRestrictionHeadersArgs
                    {
                        XAzureFdids = new[]
                        {
                            "string",
                        },
                        XFdHealthProbe = "string",
                        XForwardedFors = new[]
                        {
                            "string",
                        },
                        XForwardedHosts = new[]
                        {
                            "string",
                        },
                    },
                    IpAddress = "string",
                    Name = "string",
                    Priority = 0,
                    ServiceTag = "string",
                    VirtualNetworkSubnetId = "string",
                },
            },
            LoadBalancingMode = "string",
            LocalMysqlEnabled = false,
            ManagedPipelineMode = "string",
            MinimumTlsVersion = "string",
            RemoteDebuggingEnabled = false,
            RemoteDebuggingVersion = "string",
            ScmIpRestrictionDefaultAction = "string",
            ScmIpRestrictions = new[]
            {
                new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigScmIpRestrictionArgs
                {
                    Action = "string",
                    Description = "string",
                    Headers = new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigScmIpRestrictionHeadersArgs
                    {
                        XAzureFdids = new[]
                        {
                            "string",
                        },
                        XFdHealthProbe = "string",
                        XForwardedFors = new[]
                        {
                            "string",
                        },
                        XForwardedHosts = new[]
                        {
                            "string",
                        },
                    },
                    IpAddress = "string",
                    Name = "string",
                    Priority = 0,
                    ServiceTag = "string",
                    VirtualNetworkSubnetId = "string",
                },
            },
            ScmMinimumTlsVersion = "string",
            ScmType = "string",
            ScmUseMainIpRestriction = false,
            Use32BitWorker = false,
            VirtualApplications = new[]
            {
                new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigVirtualApplicationArgs
                {
                    PhysicalPath = "string",
                    Preload = false,
                    VirtualPath = "string",
                    VirtualDirectories = new[]
                    {
                        new Azure.AppService.Inputs.WindowsWebAppSlotSiteConfigVirtualApplicationVirtualDirectoryArgs
                        {
                            PhysicalPath = "string",
                            VirtualPath = "string",
                        },
                    },
                },
            },
            VnetRouteAllEnabled = false,
            WebsocketsEnabled = false,
            WindowsFxVersion = "string",
            WorkerCount = 0,
        },
        HttpsOnly = false,
        ZipDeployFile = "string",
        AuthSettings = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsArgs
        {
            Enabled = false,
            Github = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsGithubArgs
            {
                ClientId = "string",
                ClientSecret = "string",
                ClientSecretSettingName = "string",
                OauthScopes = new[]
                {
                    "string",
                },
            },
            Issuer = "string",
            DefaultProvider = "string",
            AdditionalLoginParameters = 
            {
                { "string", "string" },
            },
            Facebook = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsFacebookArgs
            {
                AppId = "string",
                AppSecret = "string",
                AppSecretSettingName = "string",
                OauthScopes = new[]
                {
                    "string",
                },
            },
            ActiveDirectory = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsActiveDirectoryArgs
            {
                ClientId = "string",
                AllowedAudiences = new[]
                {
                    "string",
                },
                ClientSecret = "string",
                ClientSecretSettingName = "string",
            },
            Google = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsGoogleArgs
            {
                ClientId = "string",
                ClientSecret = "string",
                ClientSecretSettingName = "string",
                OauthScopes = new[]
                {
                    "string",
                },
            },
            AllowedExternalRedirectUrls = new[]
            {
                "string",
            },
            Microsoft = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsMicrosoftArgs
            {
                ClientId = "string",
                ClientSecret = "string",
                ClientSecretSettingName = "string",
                OauthScopes = new[]
                {
                    "string",
                },
            },
            RuntimeVersion = "string",
            TokenRefreshExtensionHours = 0,
            TokenStoreEnabled = false,
            Twitter = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsTwitterArgs
            {
                ConsumerKey = "string",
                ConsumerSecret = "string",
                ConsumerSecretSettingName = "string",
            },
            UnauthenticatedClientAction = "string",
        },
        ClientAffinityEnabled = false,
        ClientCertificateEnabled = false,
        ClientCertificateExclusionPaths = "string",
        ClientCertificateMode = "string",
        ConnectionStrings = new[]
        {
            new Azure.AppService.Inputs.WindowsWebAppSlotConnectionStringArgs
            {
                Name = "string",
                Type = "string",
                Value = "string",
            },
        },
        Enabled = false,
        KeyVaultReferenceIdentityId = "string",
        Backup = new Azure.AppService.Inputs.WindowsWebAppSlotBackupArgs
        {
            Name = "string",
            Schedule = new Azure.AppService.Inputs.WindowsWebAppSlotBackupScheduleArgs
            {
                FrequencyInterval = 0,
                FrequencyUnit = "string",
                KeepAtLeastOneBackup = false,
                LastExecutionTime = "string",
                RetentionPeriodDays = 0,
                StartTime = "string",
            },
            StorageAccountUrl = "string",
            Enabled = false,
        },
        AuthSettingsV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2Args
        {
            Login = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2LoginArgs
            {
                AllowedExternalRedirectUrls = new[]
                {
                    "string",
                },
                CookieExpirationConvention = "string",
                CookieExpirationTime = "string",
                LogoutEndpoint = "string",
                NonceExpirationTime = "string",
                PreserveUrlFragmentsForLogins = false,
                TokenRefreshExtensionTime = 0,
                TokenStoreEnabled = false,
                TokenStorePath = "string",
                TokenStoreSasSettingName = "string",
                ValidateNonce = false,
            },
            CustomOidcV2s = new[]
            {
                new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2CustomOidcV2Args
                {
                    ClientId = "string",
                    Name = "string",
                    OpenidConfigurationEndpoint = "string",
                    AuthorisationEndpoint = "string",
                    CertificationUri = "string",
                    ClientCredentialMethod = "string",
                    ClientSecretSettingName = "string",
                    IssuerEndpoint = "string",
                    NameClaimType = "string",
                    Scopes = new[]
                    {
                        "string",
                    },
                    TokenEndpoint = "string",
                },
            },
            ActiveDirectoryV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2Args
            {
                ClientId = "string",
                TenantAuthEndpoint = "string",
                AllowedApplications = new[]
                {
                    "string",
                },
                AllowedAudiences = new[]
                {
                    "string",
                },
                AllowedGroups = new[]
                {
                    "string",
                },
                AllowedIdentities = new[]
                {
                    "string",
                },
                ClientSecretCertificateThumbprint = "string",
                ClientSecretSettingName = "string",
                JwtAllowedClientApplications = new[]
                {
                    "string",
                },
                JwtAllowedGroups = new[]
                {
                    "string",
                },
                LoginParameters = 
                {
                    { "string", "string" },
                },
                WwwAuthenticationDisabled = false,
            },
            ForwardProxyCustomSchemeHeaderName = "string",
            GoogleV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2GoogleV2Args
            {
                ClientId = "string",
                ClientSecretSettingName = "string",
                AllowedAudiences = new[]
                {
                    "string",
                },
                LoginScopes = new[]
                {
                    "string",
                },
            },
            GithubV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2GithubV2Args
            {
                ClientId = "string",
                ClientSecretSettingName = "string",
                LoginScopes = new[]
                {
                    "string",
                },
            },
            DefaultProvider = "string",
            ExcludedPaths = new[]
            {
                "string",
            },
            FacebookV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2FacebookV2Args
            {
                AppId = "string",
                AppSecretSettingName = "string",
                GraphApiVersion = "string",
                LoginScopes = new[]
                {
                    "string",
                },
            },
            ForwardProxyConvention = "string",
            ForwardProxyCustomHostHeaderName = "string",
            AzureStaticWebAppV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2Args
            {
                ClientId = "string",
            },
            AuthEnabled = false,
            ConfigFilePath = "string",
            HttpRouteApiPrefix = "string",
            AppleV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2AppleV2Args
            {
                ClientId = "string",
                ClientSecretSettingName = "string",
                LoginScopes = new[]
                {
                    "string",
                },
            },
            MicrosoftV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args
            {
                ClientId = "string",
                ClientSecretSettingName = "string",
                AllowedAudiences = new[]
                {
                    "string",
                },
                LoginScopes = new[]
                {
                    "string",
                },
            },
            RequireAuthentication = false,
            RequireHttps = false,
            RuntimeVersion = "string",
            TwitterV2 = new Azure.AppService.Inputs.WindowsWebAppSlotAuthSettingsV2TwitterV2Args
            {
                ConsumerKey = "string",
                ConsumerSecretSettingName = "string",
            },
            UnauthenticatedAction = "string",
        },
        FtpPublishBasicAuthenticationEnabled = false,
        Logs = new Azure.AppService.Inputs.WindowsWebAppSlotLogsArgs
        {
            ApplicationLogs = new Azure.AppService.Inputs.WindowsWebAppSlotLogsApplicationLogsArgs
            {
                FileSystemLevel = "string",
                AzureBlobStorage = new Azure.AppService.Inputs.WindowsWebAppSlotLogsApplicationLogsAzureBlobStorageArgs
                {
                    Level = "string",
                    RetentionInDays = 0,
                    SasUrl = "string",
                },
            },
            DetailedErrorMessages = false,
            FailedRequestTracing = false,
            HttpLogs = new Azure.AppService.Inputs.WindowsWebAppSlotLogsHttpLogsArgs
            {
                AzureBlobStorage = new Azure.AppService.Inputs.WindowsWebAppSlotLogsHttpLogsAzureBlobStorageArgs
                {
                    SasUrl = "string",
                    RetentionInDays = 0,
                },
                FileSystem = new Azure.AppService.Inputs.WindowsWebAppSlotLogsHttpLogsFileSystemArgs
                {
                    RetentionInDays = 0,
                    RetentionInMb = 0,
                },
            },
        },
        Name = "string",
        PublicNetworkAccessEnabled = false,
        ServicePlanId = "string",
        AppSettings = 
        {
            { "string", "string" },
        },
        StorageAccounts = new[]
        {
            new Azure.AppService.Inputs.WindowsWebAppSlotStorageAccountArgs
            {
                AccessKey = "string",
                AccountName = "string",
                Name = "string",
                ShareName = "string",
                Type = "string",
                MountPath = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        VirtualNetworkSubnetId = "string",
        WebdeployPublishBasicAuthenticationEnabled = false,
        Identity = new Azure.AppService.Inputs.WindowsWebAppSlotIdentityArgs
        {
            Type = "string",
            IdentityIds = new[]
            {
                "string",
            },
            PrincipalId = "string",
            TenantId = "string",
        },
    });
    
    example, err := appservice.NewWindowsWebAppSlot(ctx, "windowsWebAppSlotResource", &appservice.WindowsWebAppSlotArgs{
    	AppServiceId: pulumi.String("string"),
    	SiteConfig: &appservice.WindowsWebAppSlotSiteConfigArgs{
    		AlwaysOn:           pulumi.Bool(false),
    		ApiDefinitionUrl:   pulumi.String("string"),
    		ApiManagementApiId: pulumi.String("string"),
    		AppCommandLine:     pulumi.String("string"),
    		ApplicationStack: &appservice.WindowsWebAppSlotSiteConfigApplicationStackArgs{
    			CurrentStack:              pulumi.String("string"),
    			DockerImageName:           pulumi.String("string"),
    			DockerRegistryPassword:    pulumi.String("string"),
    			DockerRegistryUrl:         pulumi.String("string"),
    			DockerRegistryUsername:    pulumi.String("string"),
    			DotnetCoreVersion:         pulumi.String("string"),
    			DotnetVersion:             pulumi.String("string"),
    			JavaEmbeddedServerEnabled: pulumi.Bool(false),
    			JavaVersion:               pulumi.String("string"),
    			NodeVersion:               pulumi.String("string"),
    			PhpVersion:                pulumi.String("string"),
    			Python:                    pulumi.Bool(false),
    			TomcatVersion:             pulumi.String("string"),
    		},
    		AutoHealSetting: &appservice.WindowsWebAppSlotSiteConfigAutoHealSettingArgs{
    			Action: &appservice.WindowsWebAppSlotSiteConfigAutoHealSettingActionArgs{
    				ActionType: pulumi.String("string"),
    				CustomAction: &appservice.WindowsWebAppSlotSiteConfigAutoHealSettingActionCustomActionArgs{
    					Executable: pulumi.String("string"),
    					Parameters: pulumi.String("string"),
    				},
    				MinimumProcessExecutionTime: pulumi.String("string"),
    			},
    			Trigger: &appservice.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs{
    				PrivateMemoryKb: pulumi.Int(0),
    				Requests: &appservice.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs{
    					Count:    pulumi.Int(0),
    					Interval: pulumi.String("string"),
    				},
    				SlowRequest: &appservice.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestArgs{
    					Count:     pulumi.Int(0),
    					Interval:  pulumi.String("string"),
    					TimeTaken: pulumi.String("string"),
    				},
    				SlowRequestWithPaths: appservice.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPathArray{
    					&appservice.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs{
    						Count:     pulumi.Int(0),
    						Interval:  pulumi.String("string"),
    						TimeTaken: pulumi.String("string"),
    						Path:      pulumi.String("string"),
    					},
    				},
    				StatusCodes: appservice.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerStatusCodeArray{
    					&appservice.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerStatusCodeArgs{
    						Count:           pulumi.Int(0),
    						Interval:        pulumi.String("string"),
    						StatusCodeRange: pulumi.String("string"),
    						Path:            pulumi.String("string"),
    						SubStatus:       pulumi.Int(0),
    						Win32StatusCode: pulumi.Int(0),
    					},
    				},
    			},
    		},
    		AutoSwapSlotName:                         pulumi.String("string"),
    		ContainerRegistryManagedIdentityClientId: pulumi.String("string"),
    		ContainerRegistryUseManagedIdentity:      pulumi.Bool(false),
    		Cors: &appservice.WindowsWebAppSlotSiteConfigCorsArgs{
    			AllowedOrigins: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SupportCredentials: pulumi.Bool(false),
    		},
    		DefaultDocuments: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DetailedErrorLoggingEnabled: pulumi.Bool(false),
    		FtpsState:                   pulumi.String("string"),
    		HandlerMappings: appservice.WindowsWebAppSlotSiteConfigHandlerMappingArray{
    			&appservice.WindowsWebAppSlotSiteConfigHandlerMappingArgs{
    				Extension:           pulumi.String("string"),
    				ScriptProcessorPath: pulumi.String("string"),
    				Arguments:           pulumi.String("string"),
    			},
    		},
    		HealthCheckEvictionTimeInMin: pulumi.Int(0),
    		HealthCheckPath:              pulumi.String("string"),
    		Http2Enabled:                 pulumi.Bool(false),
    		IpRestrictionDefaultAction:   pulumi.String("string"),
    		IpRestrictions: appservice.WindowsWebAppSlotSiteConfigIpRestrictionArray{
    			&appservice.WindowsWebAppSlotSiteConfigIpRestrictionArgs{
    				Action:      pulumi.String("string"),
    				Description: pulumi.String("string"),
    				Headers: &appservice.WindowsWebAppSlotSiteConfigIpRestrictionHeadersArgs{
    					XAzureFdids: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					XFdHealthProbe: pulumi.String("string"),
    					XForwardedFors: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					XForwardedHosts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				IpAddress:              pulumi.String("string"),
    				Name:                   pulumi.String("string"),
    				Priority:               pulumi.Int(0),
    				ServiceTag:             pulumi.String("string"),
    				VirtualNetworkSubnetId: pulumi.String("string"),
    			},
    		},
    		LoadBalancingMode:             pulumi.String("string"),
    		LocalMysqlEnabled:             pulumi.Bool(false),
    		ManagedPipelineMode:           pulumi.String("string"),
    		MinimumTlsVersion:             pulumi.String("string"),
    		RemoteDebuggingEnabled:        pulumi.Bool(false),
    		RemoteDebuggingVersion:        pulumi.String("string"),
    		ScmIpRestrictionDefaultAction: pulumi.String("string"),
    		ScmIpRestrictions: appservice.WindowsWebAppSlotSiteConfigScmIpRestrictionArray{
    			&appservice.WindowsWebAppSlotSiteConfigScmIpRestrictionArgs{
    				Action:      pulumi.String("string"),
    				Description: pulumi.String("string"),
    				Headers: &appservice.WindowsWebAppSlotSiteConfigScmIpRestrictionHeadersArgs{
    					XAzureFdids: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					XFdHealthProbe: pulumi.String("string"),
    					XForwardedFors: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					XForwardedHosts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				IpAddress:              pulumi.String("string"),
    				Name:                   pulumi.String("string"),
    				Priority:               pulumi.Int(0),
    				ServiceTag:             pulumi.String("string"),
    				VirtualNetworkSubnetId: pulumi.String("string"),
    			},
    		},
    		ScmMinimumTlsVersion:    pulumi.String("string"),
    		ScmType:                 pulumi.String("string"),
    		ScmUseMainIpRestriction: pulumi.Bool(false),
    		Use32BitWorker:          pulumi.Bool(false),
    		VirtualApplications: appservice.WindowsWebAppSlotSiteConfigVirtualApplicationArray{
    			&appservice.WindowsWebAppSlotSiteConfigVirtualApplicationArgs{
    				PhysicalPath: pulumi.String("string"),
    				Preload:      pulumi.Bool(false),
    				VirtualPath:  pulumi.String("string"),
    				VirtualDirectories: appservice.WindowsWebAppSlotSiteConfigVirtualApplicationVirtualDirectoryArray{
    					&appservice.WindowsWebAppSlotSiteConfigVirtualApplicationVirtualDirectoryArgs{
    						PhysicalPath: pulumi.String("string"),
    						VirtualPath:  pulumi.String("string"),
    					},
    				},
    			},
    		},
    		VnetRouteAllEnabled: pulumi.Bool(false),
    		WebsocketsEnabled:   pulumi.Bool(false),
    		WindowsFxVersion:    pulumi.String("string"),
    		WorkerCount:         pulumi.Int(0),
    	},
    	HttpsOnly:     pulumi.Bool(false),
    	ZipDeployFile: pulumi.String("string"),
    	AuthSettings: &appservice.WindowsWebAppSlotAuthSettingsArgs{
    		Enabled: pulumi.Bool(false),
    		Github: &appservice.WindowsWebAppSlotAuthSettingsGithubArgs{
    			ClientId:                pulumi.String("string"),
    			ClientSecret:            pulumi.String("string"),
    			ClientSecretSettingName: pulumi.String("string"),
    			OauthScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Issuer:          pulumi.String("string"),
    		DefaultProvider: pulumi.String("string"),
    		AdditionalLoginParameters: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		Facebook: &appservice.WindowsWebAppSlotAuthSettingsFacebookArgs{
    			AppId:                pulumi.String("string"),
    			AppSecret:            pulumi.String("string"),
    			AppSecretSettingName: pulumi.String("string"),
    			OauthScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		ActiveDirectory: &appservice.WindowsWebAppSlotAuthSettingsActiveDirectoryArgs{
    			ClientId: pulumi.String("string"),
    			AllowedAudiences: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ClientSecret:            pulumi.String("string"),
    			ClientSecretSettingName: pulumi.String("string"),
    		},
    		Google: &appservice.WindowsWebAppSlotAuthSettingsGoogleArgs{
    			ClientId:                pulumi.String("string"),
    			ClientSecret:            pulumi.String("string"),
    			ClientSecretSettingName: pulumi.String("string"),
    			OauthScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		AllowedExternalRedirectUrls: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Microsoft: &appservice.WindowsWebAppSlotAuthSettingsMicrosoftArgs{
    			ClientId:                pulumi.String("string"),
    			ClientSecret:            pulumi.String("string"),
    			ClientSecretSettingName: pulumi.String("string"),
    			OauthScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		RuntimeVersion:             pulumi.String("string"),
    		TokenRefreshExtensionHours: pulumi.Float64(0),
    		TokenStoreEnabled:          pulumi.Bool(false),
    		Twitter: &appservice.WindowsWebAppSlotAuthSettingsTwitterArgs{
    			ConsumerKey:               pulumi.String("string"),
    			ConsumerSecret:            pulumi.String("string"),
    			ConsumerSecretSettingName: pulumi.String("string"),
    		},
    		UnauthenticatedClientAction: pulumi.String("string"),
    	},
    	ClientAffinityEnabled:           pulumi.Bool(false),
    	ClientCertificateEnabled:        pulumi.Bool(false),
    	ClientCertificateExclusionPaths: pulumi.String("string"),
    	ClientCertificateMode:           pulumi.String("string"),
    	ConnectionStrings: appservice.WindowsWebAppSlotConnectionStringArray{
    		&appservice.WindowsWebAppSlotConnectionStringArgs{
    			Name:  pulumi.String("string"),
    			Type:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Enabled:                     pulumi.Bool(false),
    	KeyVaultReferenceIdentityId: pulumi.String("string"),
    	Backup: &appservice.WindowsWebAppSlotBackupArgs{
    		Name: pulumi.String("string"),
    		Schedule: &appservice.WindowsWebAppSlotBackupScheduleArgs{
    			FrequencyInterval:    pulumi.Int(0),
    			FrequencyUnit:        pulumi.String("string"),
    			KeepAtLeastOneBackup: pulumi.Bool(false),
    			LastExecutionTime:    pulumi.String("string"),
    			RetentionPeriodDays:  pulumi.Int(0),
    			StartTime:            pulumi.String("string"),
    		},
    		StorageAccountUrl: pulumi.String("string"),
    		Enabled:           pulumi.Bool(false),
    	},
    	AuthSettingsV2: &appservice.WindowsWebAppSlotAuthSettingsV2Args{
    		Login: &appservice.WindowsWebAppSlotAuthSettingsV2LoginArgs{
    			AllowedExternalRedirectUrls: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			CookieExpirationConvention:    pulumi.String("string"),
    			CookieExpirationTime:          pulumi.String("string"),
    			LogoutEndpoint:                pulumi.String("string"),
    			NonceExpirationTime:           pulumi.String("string"),
    			PreserveUrlFragmentsForLogins: pulumi.Bool(false),
    			TokenRefreshExtensionTime:     pulumi.Float64(0),
    			TokenStoreEnabled:             pulumi.Bool(false),
    			TokenStorePath:                pulumi.String("string"),
    			TokenStoreSasSettingName:      pulumi.String("string"),
    			ValidateNonce:                 pulumi.Bool(false),
    		},
    		CustomOidcV2s: appservice.WindowsWebAppSlotAuthSettingsV2CustomOidcV2Array{
    			&appservice.WindowsWebAppSlotAuthSettingsV2CustomOidcV2Args{
    				ClientId:                    pulumi.String("string"),
    				Name:                        pulumi.String("string"),
    				OpenidConfigurationEndpoint: pulumi.String("string"),
    				AuthorisationEndpoint:       pulumi.String("string"),
    				CertificationUri:            pulumi.String("string"),
    				ClientCredentialMethod:      pulumi.String("string"),
    				ClientSecretSettingName:     pulumi.String("string"),
    				IssuerEndpoint:              pulumi.String("string"),
    				NameClaimType:               pulumi.String("string"),
    				Scopes: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				TokenEndpoint: pulumi.String("string"),
    			},
    		},
    		ActiveDirectoryV2: &appservice.WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2Args{
    			ClientId:           pulumi.String("string"),
    			TenantAuthEndpoint: pulumi.String("string"),
    			AllowedApplications: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			AllowedAudiences: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			AllowedGroups: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			AllowedIdentities: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ClientSecretCertificateThumbprint: pulumi.String("string"),
    			ClientSecretSettingName:           pulumi.String("string"),
    			JwtAllowedClientApplications: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			JwtAllowedGroups: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			LoginParameters: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			WwwAuthenticationDisabled: pulumi.Bool(false),
    		},
    		ForwardProxyCustomSchemeHeaderName: pulumi.String("string"),
    		GoogleV2: &appservice.WindowsWebAppSlotAuthSettingsV2GoogleV2Args{
    			ClientId:                pulumi.String("string"),
    			ClientSecretSettingName: pulumi.String("string"),
    			AllowedAudiences: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			LoginScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		GithubV2: &appservice.WindowsWebAppSlotAuthSettingsV2GithubV2Args{
    			ClientId:                pulumi.String("string"),
    			ClientSecretSettingName: pulumi.String("string"),
    			LoginScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		DefaultProvider: pulumi.String("string"),
    		ExcludedPaths: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		FacebookV2: &appservice.WindowsWebAppSlotAuthSettingsV2FacebookV2Args{
    			AppId:                pulumi.String("string"),
    			AppSecretSettingName: pulumi.String("string"),
    			GraphApiVersion:      pulumi.String("string"),
    			LoginScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		ForwardProxyConvention:           pulumi.String("string"),
    		ForwardProxyCustomHostHeaderName: pulumi.String("string"),
    		AzureStaticWebAppV2: &appservice.WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2Args{
    			ClientId: pulumi.String("string"),
    		},
    		AuthEnabled:        pulumi.Bool(false),
    		ConfigFilePath:     pulumi.String("string"),
    		HttpRouteApiPrefix: pulumi.String("string"),
    		AppleV2: &appservice.WindowsWebAppSlotAuthSettingsV2AppleV2Args{
    			ClientId:                pulumi.String("string"),
    			ClientSecretSettingName: pulumi.String("string"),
    			LoginScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		MicrosoftV2: &appservice.WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args{
    			ClientId:                pulumi.String("string"),
    			ClientSecretSettingName: pulumi.String("string"),
    			AllowedAudiences: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			LoginScopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		RequireAuthentication: pulumi.Bool(false),
    		RequireHttps:          pulumi.Bool(false),
    		RuntimeVersion:        pulumi.String("string"),
    		TwitterV2: &appservice.WindowsWebAppSlotAuthSettingsV2TwitterV2Args{
    			ConsumerKey:               pulumi.String("string"),
    			ConsumerSecretSettingName: pulumi.String("string"),
    		},
    		UnauthenticatedAction: pulumi.String("string"),
    	},
    	FtpPublishBasicAuthenticationEnabled: pulumi.Bool(false),
    	Logs: &appservice.WindowsWebAppSlotLogsArgs{
    		ApplicationLogs: &appservice.WindowsWebAppSlotLogsApplicationLogsArgs{
    			FileSystemLevel: pulumi.String("string"),
    			AzureBlobStorage: &appservice.WindowsWebAppSlotLogsApplicationLogsAzureBlobStorageArgs{
    				Level:           pulumi.String("string"),
    				RetentionInDays: pulumi.Int(0),
    				SasUrl:          pulumi.String("string"),
    			},
    		},
    		DetailedErrorMessages: pulumi.Bool(false),
    		FailedRequestTracing:  pulumi.Bool(false),
    		HttpLogs: &appservice.WindowsWebAppSlotLogsHttpLogsArgs{
    			AzureBlobStorage: &appservice.WindowsWebAppSlotLogsHttpLogsAzureBlobStorageArgs{
    				SasUrl:          pulumi.String("string"),
    				RetentionInDays: pulumi.Int(0),
    			},
    			FileSystem: &appservice.WindowsWebAppSlotLogsHttpLogsFileSystemArgs{
    				RetentionInDays: pulumi.Int(0),
    				RetentionInMb:   pulumi.Int(0),
    			},
    		},
    	},
    	Name:                       pulumi.String("string"),
    	PublicNetworkAccessEnabled: pulumi.Bool(false),
    	ServicePlanId:              pulumi.String("string"),
    	AppSettings: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	StorageAccounts: appservice.WindowsWebAppSlotStorageAccountArray{
    		&appservice.WindowsWebAppSlotStorageAccountArgs{
    			AccessKey:   pulumi.String("string"),
    			AccountName: pulumi.String("string"),
    			Name:        pulumi.String("string"),
    			ShareName:   pulumi.String("string"),
    			Type:        pulumi.String("string"),
    			MountPath:   pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VirtualNetworkSubnetId:                     pulumi.String("string"),
    	WebdeployPublishBasicAuthenticationEnabled: pulumi.Bool(false),
    	Identity: &appservice.WindowsWebAppSlotIdentityArgs{
    		Type: pulumi.String("string"),
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    })
    
    var windowsWebAppSlotResource = new WindowsWebAppSlot("windowsWebAppSlotResource", WindowsWebAppSlotArgs.builder()
        .appServiceId("string")
        .siteConfig(WindowsWebAppSlotSiteConfigArgs.builder()
            .alwaysOn(false)
            .apiDefinitionUrl("string")
            .apiManagementApiId("string")
            .appCommandLine("string")
            .applicationStack(WindowsWebAppSlotSiteConfigApplicationStackArgs.builder()
                .currentStack("string")
                .dockerImageName("string")
                .dockerRegistryPassword("string")
                .dockerRegistryUrl("string")
                .dockerRegistryUsername("string")
                .dotnetCoreVersion("string")
                .dotnetVersion("string")
                .javaEmbeddedServerEnabled(false)
                .javaVersion("string")
                .nodeVersion("string")
                .phpVersion("string")
                .python(false)
                .tomcatVersion("string")
                .build())
            .autoHealSetting(WindowsWebAppSlotSiteConfigAutoHealSettingArgs.builder()
                .action(WindowsWebAppSlotSiteConfigAutoHealSettingActionArgs.builder()
                    .actionType("string")
                    .customAction(WindowsWebAppSlotSiteConfigAutoHealSettingActionCustomActionArgs.builder()
                        .executable("string")
                        .parameters("string")
                        .build())
                    .minimumProcessExecutionTime("string")
                    .build())
                .trigger(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs.builder()
                    .privateMemoryKb(0)
                    .requests(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs.builder()
                        .count(0)
                        .interval("string")
                        .build())
                    .slowRequest(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestArgs.builder()
                        .count(0)
                        .interval("string")
                        .timeTaken("string")
                        .build())
                    .slowRequestWithPaths(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs.builder()
                        .count(0)
                        .interval("string")
                        .timeTaken("string")
                        .path("string")
                        .build())
                    .statusCodes(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerStatusCodeArgs.builder()
                        .count(0)
                        .interval("string")
                        .statusCodeRange("string")
                        .path("string")
                        .subStatus(0)
                        .win32StatusCode(0)
                        .build())
                    .build())
                .build())
            .autoSwapSlotName("string")
            .containerRegistryManagedIdentityClientId("string")
            .containerRegistryUseManagedIdentity(false)
            .cors(WindowsWebAppSlotSiteConfigCorsArgs.builder()
                .allowedOrigins("string")
                .supportCredentials(false)
                .build())
            .defaultDocuments("string")
            .detailedErrorLoggingEnabled(false)
            .ftpsState("string")
            .handlerMappings(WindowsWebAppSlotSiteConfigHandlerMappingArgs.builder()
                .extension("string")
                .scriptProcessorPath("string")
                .arguments("string")
                .build())
            .healthCheckEvictionTimeInMin(0)
            .healthCheckPath("string")
            .http2Enabled(false)
            .ipRestrictionDefaultAction("string")
            .ipRestrictions(WindowsWebAppSlotSiteConfigIpRestrictionArgs.builder()
                .action("string")
                .description("string")
                .headers(WindowsWebAppSlotSiteConfigIpRestrictionHeadersArgs.builder()
                    .xAzureFdids("string")
                    .xFdHealthProbe("string")
                    .xForwardedFors("string")
                    .xForwardedHosts("string")
                    .build())
                .ipAddress("string")
                .name("string")
                .priority(0)
                .serviceTag("string")
                .virtualNetworkSubnetId("string")
                .build())
            .loadBalancingMode("string")
            .localMysqlEnabled(false)
            .managedPipelineMode("string")
            .minimumTlsVersion("string")
            .remoteDebuggingEnabled(false)
            .remoteDebuggingVersion("string")
            .scmIpRestrictionDefaultAction("string")
            .scmIpRestrictions(WindowsWebAppSlotSiteConfigScmIpRestrictionArgs.builder()
                .action("string")
                .description("string")
                .headers(WindowsWebAppSlotSiteConfigScmIpRestrictionHeadersArgs.builder()
                    .xAzureFdids("string")
                    .xFdHealthProbe("string")
                    .xForwardedFors("string")
                    .xForwardedHosts("string")
                    .build())
                .ipAddress("string")
                .name("string")
                .priority(0)
                .serviceTag("string")
                .virtualNetworkSubnetId("string")
                .build())
            .scmMinimumTlsVersion("string")
            .scmType("string")
            .scmUseMainIpRestriction(false)
            .use32BitWorker(false)
            .virtualApplications(WindowsWebAppSlotSiteConfigVirtualApplicationArgs.builder()
                .physicalPath("string")
                .preload(false)
                .virtualPath("string")
                .virtualDirectories(WindowsWebAppSlotSiteConfigVirtualApplicationVirtualDirectoryArgs.builder()
                    .physicalPath("string")
                    .virtualPath("string")
                    .build())
                .build())
            .vnetRouteAllEnabled(false)
            .websocketsEnabled(false)
            .windowsFxVersion("string")
            .workerCount(0)
            .build())
        .httpsOnly(false)
        .zipDeployFile("string")
        .authSettings(WindowsWebAppSlotAuthSettingsArgs.builder()
            .enabled(false)
            .github(WindowsWebAppSlotAuthSettingsGithubArgs.builder()
                .clientId("string")
                .clientSecret("string")
                .clientSecretSettingName("string")
                .oauthScopes("string")
                .build())
            .issuer("string")
            .defaultProvider("string")
            .additionalLoginParameters(Map.of("string", "string"))
            .facebook(WindowsWebAppSlotAuthSettingsFacebookArgs.builder()
                .appId("string")
                .appSecret("string")
                .appSecretSettingName("string")
                .oauthScopes("string")
                .build())
            .activeDirectory(WindowsWebAppSlotAuthSettingsActiveDirectoryArgs.builder()
                .clientId("string")
                .allowedAudiences("string")
                .clientSecret("string")
                .clientSecretSettingName("string")
                .build())
            .google(WindowsWebAppSlotAuthSettingsGoogleArgs.builder()
                .clientId("string")
                .clientSecret("string")
                .clientSecretSettingName("string")
                .oauthScopes("string")
                .build())
            .allowedExternalRedirectUrls("string")
            .microsoft(WindowsWebAppSlotAuthSettingsMicrosoftArgs.builder()
                .clientId("string")
                .clientSecret("string")
                .clientSecretSettingName("string")
                .oauthScopes("string")
                .build())
            .runtimeVersion("string")
            .tokenRefreshExtensionHours(0)
            .tokenStoreEnabled(false)
            .twitter(WindowsWebAppSlotAuthSettingsTwitterArgs.builder()
                .consumerKey("string")
                .consumerSecret("string")
                .consumerSecretSettingName("string")
                .build())
            .unauthenticatedClientAction("string")
            .build())
        .clientAffinityEnabled(false)
        .clientCertificateEnabled(false)
        .clientCertificateExclusionPaths("string")
        .clientCertificateMode("string")
        .connectionStrings(WindowsWebAppSlotConnectionStringArgs.builder()
            .name("string")
            .type("string")
            .value("string")
            .build())
        .enabled(false)
        .keyVaultReferenceIdentityId("string")
        .backup(WindowsWebAppSlotBackupArgs.builder()
            .name("string")
            .schedule(WindowsWebAppSlotBackupScheduleArgs.builder()
                .frequencyInterval(0)
                .frequencyUnit("string")
                .keepAtLeastOneBackup(false)
                .lastExecutionTime("string")
                .retentionPeriodDays(0)
                .startTime("string")
                .build())
            .storageAccountUrl("string")
            .enabled(false)
            .build())
        .authSettingsV2(WindowsWebAppSlotAuthSettingsV2Args.builder()
            .login(WindowsWebAppSlotAuthSettingsV2LoginArgs.builder()
                .allowedExternalRedirectUrls("string")
                .cookieExpirationConvention("string")
                .cookieExpirationTime("string")
                .logoutEndpoint("string")
                .nonceExpirationTime("string")
                .preserveUrlFragmentsForLogins(false)
                .tokenRefreshExtensionTime(0)
                .tokenStoreEnabled(false)
                .tokenStorePath("string")
                .tokenStoreSasSettingName("string")
                .validateNonce(false)
                .build())
            .customOidcV2s(WindowsWebAppSlotAuthSettingsV2CustomOidcV2Args.builder()
                .clientId("string")
                .name("string")
                .openidConfigurationEndpoint("string")
                .authorisationEndpoint("string")
                .certificationUri("string")
                .clientCredentialMethod("string")
                .clientSecretSettingName("string")
                .issuerEndpoint("string")
                .nameClaimType("string")
                .scopes("string")
                .tokenEndpoint("string")
                .build())
            .activeDirectoryV2(WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2Args.builder()
                .clientId("string")
                .tenantAuthEndpoint("string")
                .allowedApplications("string")
                .allowedAudiences("string")
                .allowedGroups("string")
                .allowedIdentities("string")
                .clientSecretCertificateThumbprint("string")
                .clientSecretSettingName("string")
                .jwtAllowedClientApplications("string")
                .jwtAllowedGroups("string")
                .loginParameters(Map.of("string", "string"))
                .wwwAuthenticationDisabled(false)
                .build())
            .forwardProxyCustomSchemeHeaderName("string")
            .googleV2(WindowsWebAppSlotAuthSettingsV2GoogleV2Args.builder()
                .clientId("string")
                .clientSecretSettingName("string")
                .allowedAudiences("string")
                .loginScopes("string")
                .build())
            .githubV2(WindowsWebAppSlotAuthSettingsV2GithubV2Args.builder()
                .clientId("string")
                .clientSecretSettingName("string")
                .loginScopes("string")
                .build())
            .defaultProvider("string")
            .excludedPaths("string")
            .facebookV2(WindowsWebAppSlotAuthSettingsV2FacebookV2Args.builder()
                .appId("string")
                .appSecretSettingName("string")
                .graphApiVersion("string")
                .loginScopes("string")
                .build())
            .forwardProxyConvention("string")
            .forwardProxyCustomHostHeaderName("string")
            .azureStaticWebAppV2(WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2Args.builder()
                .clientId("string")
                .build())
            .authEnabled(false)
            .configFilePath("string")
            .httpRouteApiPrefix("string")
            .appleV2(WindowsWebAppSlotAuthSettingsV2AppleV2Args.builder()
                .clientId("string")
                .clientSecretSettingName("string")
                .loginScopes("string")
                .build())
            .microsoftV2(WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args.builder()
                .clientId("string")
                .clientSecretSettingName("string")
                .allowedAudiences("string")
                .loginScopes("string")
                .build())
            .requireAuthentication(false)
            .requireHttps(false)
            .runtimeVersion("string")
            .twitterV2(WindowsWebAppSlotAuthSettingsV2TwitterV2Args.builder()
                .consumerKey("string")
                .consumerSecretSettingName("string")
                .build())
            .unauthenticatedAction("string")
            .build())
        .ftpPublishBasicAuthenticationEnabled(false)
        .logs(WindowsWebAppSlotLogsArgs.builder()
            .applicationLogs(WindowsWebAppSlotLogsApplicationLogsArgs.builder()
                .fileSystemLevel("string")
                .azureBlobStorage(WindowsWebAppSlotLogsApplicationLogsAzureBlobStorageArgs.builder()
                    .level("string")
                    .retentionInDays(0)
                    .sasUrl("string")
                    .build())
                .build())
            .detailedErrorMessages(false)
            .failedRequestTracing(false)
            .httpLogs(WindowsWebAppSlotLogsHttpLogsArgs.builder()
                .azureBlobStorage(WindowsWebAppSlotLogsHttpLogsAzureBlobStorageArgs.builder()
                    .sasUrl("string")
                    .retentionInDays(0)
                    .build())
                .fileSystem(WindowsWebAppSlotLogsHttpLogsFileSystemArgs.builder()
                    .retentionInDays(0)
                    .retentionInMb(0)
                    .build())
                .build())
            .build())
        .name("string")
        .publicNetworkAccessEnabled(false)
        .servicePlanId("string")
        .appSettings(Map.of("string", "string"))
        .storageAccounts(WindowsWebAppSlotStorageAccountArgs.builder()
            .accessKey("string")
            .accountName("string")
            .name("string")
            .shareName("string")
            .type("string")
            .mountPath("string")
            .build())
        .tags(Map.of("string", "string"))
        .virtualNetworkSubnetId("string")
        .webdeployPublishBasicAuthenticationEnabled(false)
        .identity(WindowsWebAppSlotIdentityArgs.builder()
            .type("string")
            .identityIds("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .build());
    
    windows_web_app_slot_resource = azure.appservice.WindowsWebAppSlot("windowsWebAppSlotResource",
        app_service_id="string",
        site_config={
            "always_on": False,
            "api_definition_url": "string",
            "api_management_api_id": "string",
            "app_command_line": "string",
            "application_stack": {
                "current_stack": "string",
                "docker_image_name": "string",
                "docker_registry_password": "string",
                "docker_registry_url": "string",
                "docker_registry_username": "string",
                "dotnet_core_version": "string",
                "dotnet_version": "string",
                "java_embedded_server_enabled": False,
                "java_version": "string",
                "node_version": "string",
                "php_version": "string",
                "python": False,
                "tomcat_version": "string",
            },
            "auto_heal_setting": {
                "action": {
                    "action_type": "string",
                    "custom_action": {
                        "executable": "string",
                        "parameters": "string",
                    },
                    "minimum_process_execution_time": "string",
                },
                "trigger": {
                    "private_memory_kb": 0,
                    "requests": {
                        "count": 0,
                        "interval": "string",
                    },
                    "slow_request": {
                        "count": 0,
                        "interval": "string",
                        "time_taken": "string",
                    },
                    "slow_request_with_paths": [{
                        "count": 0,
                        "interval": "string",
                        "time_taken": "string",
                        "path": "string",
                    }],
                    "status_codes": [{
                        "count": 0,
                        "interval": "string",
                        "status_code_range": "string",
                        "path": "string",
                        "sub_status": 0,
                        "win32_status_code": 0,
                    }],
                },
            },
            "auto_swap_slot_name": "string",
            "container_registry_managed_identity_client_id": "string",
            "container_registry_use_managed_identity": False,
            "cors": {
                "allowed_origins": ["string"],
                "support_credentials": False,
            },
            "default_documents": ["string"],
            "detailed_error_logging_enabled": False,
            "ftps_state": "string",
            "handler_mappings": [{
                "extension": "string",
                "script_processor_path": "string",
                "arguments": "string",
            }],
            "health_check_eviction_time_in_min": 0,
            "health_check_path": "string",
            "http2_enabled": False,
            "ip_restriction_default_action": "string",
            "ip_restrictions": [{
                "action": "string",
                "description": "string",
                "headers": {
                    "x_azure_fdids": ["string"],
                    "x_fd_health_probe": "string",
                    "x_forwarded_fors": ["string"],
                    "x_forwarded_hosts": ["string"],
                },
                "ip_address": "string",
                "name": "string",
                "priority": 0,
                "service_tag": "string",
                "virtual_network_subnet_id": "string",
            }],
            "load_balancing_mode": "string",
            "local_mysql_enabled": False,
            "managed_pipeline_mode": "string",
            "minimum_tls_version": "string",
            "remote_debugging_enabled": False,
            "remote_debugging_version": "string",
            "scm_ip_restriction_default_action": "string",
            "scm_ip_restrictions": [{
                "action": "string",
                "description": "string",
                "headers": {
                    "x_azure_fdids": ["string"],
                    "x_fd_health_probe": "string",
                    "x_forwarded_fors": ["string"],
                    "x_forwarded_hosts": ["string"],
                },
                "ip_address": "string",
                "name": "string",
                "priority": 0,
                "service_tag": "string",
                "virtual_network_subnet_id": "string",
            }],
            "scm_minimum_tls_version": "string",
            "scm_type": "string",
            "scm_use_main_ip_restriction": False,
            "use32_bit_worker": False,
            "virtual_applications": [{
                "physical_path": "string",
                "preload": False,
                "virtual_path": "string",
                "virtual_directories": [{
                    "physical_path": "string",
                    "virtual_path": "string",
                }],
            }],
            "vnet_route_all_enabled": False,
            "websockets_enabled": False,
            "windows_fx_version": "string",
            "worker_count": 0,
        },
        https_only=False,
        zip_deploy_file="string",
        auth_settings={
            "enabled": False,
            "github": {
                "client_id": "string",
                "client_secret": "string",
                "client_secret_setting_name": "string",
                "oauth_scopes": ["string"],
            },
            "issuer": "string",
            "default_provider": "string",
            "additional_login_parameters": {
                "string": "string",
            },
            "facebook": {
                "app_id": "string",
                "app_secret": "string",
                "app_secret_setting_name": "string",
                "oauth_scopes": ["string"],
            },
            "active_directory": {
                "client_id": "string",
                "allowed_audiences": ["string"],
                "client_secret": "string",
                "client_secret_setting_name": "string",
            },
            "google": {
                "client_id": "string",
                "client_secret": "string",
                "client_secret_setting_name": "string",
                "oauth_scopes": ["string"],
            },
            "allowed_external_redirect_urls": ["string"],
            "microsoft": {
                "client_id": "string",
                "client_secret": "string",
                "client_secret_setting_name": "string",
                "oauth_scopes": ["string"],
            },
            "runtime_version": "string",
            "token_refresh_extension_hours": 0,
            "token_store_enabled": False,
            "twitter": {
                "consumer_key": "string",
                "consumer_secret": "string",
                "consumer_secret_setting_name": "string",
            },
            "unauthenticated_client_action": "string",
        },
        client_affinity_enabled=False,
        client_certificate_enabled=False,
        client_certificate_exclusion_paths="string",
        client_certificate_mode="string",
        connection_strings=[{
            "name": "string",
            "type": "string",
            "value": "string",
        }],
        enabled=False,
        key_vault_reference_identity_id="string",
        backup={
            "name": "string",
            "schedule": {
                "frequency_interval": 0,
                "frequency_unit": "string",
                "keep_at_least_one_backup": False,
                "last_execution_time": "string",
                "retention_period_days": 0,
                "start_time": "string",
            },
            "storage_account_url": "string",
            "enabled": False,
        },
        auth_settings_v2={
            "login": {
                "allowed_external_redirect_urls": ["string"],
                "cookie_expiration_convention": "string",
                "cookie_expiration_time": "string",
                "logout_endpoint": "string",
                "nonce_expiration_time": "string",
                "preserve_url_fragments_for_logins": False,
                "token_refresh_extension_time": 0,
                "token_store_enabled": False,
                "token_store_path": "string",
                "token_store_sas_setting_name": "string",
                "validate_nonce": False,
            },
            "custom_oidc_v2s": [{
                "client_id": "string",
                "name": "string",
                "openid_configuration_endpoint": "string",
                "authorisation_endpoint": "string",
                "certification_uri": "string",
                "client_credential_method": "string",
                "client_secret_setting_name": "string",
                "issuer_endpoint": "string",
                "name_claim_type": "string",
                "scopes": ["string"],
                "token_endpoint": "string",
            }],
            "active_directory_v2": {
                "client_id": "string",
                "tenant_auth_endpoint": "string",
                "allowed_applications": ["string"],
                "allowed_audiences": ["string"],
                "allowed_groups": ["string"],
                "allowed_identities": ["string"],
                "client_secret_certificate_thumbprint": "string",
                "client_secret_setting_name": "string",
                "jwt_allowed_client_applications": ["string"],
                "jwt_allowed_groups": ["string"],
                "login_parameters": {
                    "string": "string",
                },
                "www_authentication_disabled": False,
            },
            "forward_proxy_custom_scheme_header_name": "string",
            "google_v2": {
                "client_id": "string",
                "client_secret_setting_name": "string",
                "allowed_audiences": ["string"],
                "login_scopes": ["string"],
            },
            "github_v2": {
                "client_id": "string",
                "client_secret_setting_name": "string",
                "login_scopes": ["string"],
            },
            "default_provider": "string",
            "excluded_paths": ["string"],
            "facebook_v2": {
                "app_id": "string",
                "app_secret_setting_name": "string",
                "graph_api_version": "string",
                "login_scopes": ["string"],
            },
            "forward_proxy_convention": "string",
            "forward_proxy_custom_host_header_name": "string",
            "azure_static_web_app_v2": {
                "client_id": "string",
            },
            "auth_enabled": False,
            "config_file_path": "string",
            "http_route_api_prefix": "string",
            "apple_v2": {
                "client_id": "string",
                "client_secret_setting_name": "string",
                "login_scopes": ["string"],
            },
            "microsoft_v2": {
                "client_id": "string",
                "client_secret_setting_name": "string",
                "allowed_audiences": ["string"],
                "login_scopes": ["string"],
            },
            "require_authentication": False,
            "require_https": False,
            "runtime_version": "string",
            "twitter_v2": {
                "consumer_key": "string",
                "consumer_secret_setting_name": "string",
            },
            "unauthenticated_action": "string",
        },
        ftp_publish_basic_authentication_enabled=False,
        logs={
            "application_logs": {
                "file_system_level": "string",
                "azure_blob_storage": {
                    "level": "string",
                    "retention_in_days": 0,
                    "sas_url": "string",
                },
            },
            "detailed_error_messages": False,
            "failed_request_tracing": False,
            "http_logs": {
                "azure_blob_storage": {
                    "sas_url": "string",
                    "retention_in_days": 0,
                },
                "file_system": {
                    "retention_in_days": 0,
                    "retention_in_mb": 0,
                },
            },
        },
        name="string",
        public_network_access_enabled=False,
        service_plan_id="string",
        app_settings={
            "string": "string",
        },
        storage_accounts=[{
            "access_key": "string",
            "account_name": "string",
            "name": "string",
            "share_name": "string",
            "type": "string",
            "mount_path": "string",
        }],
        tags={
            "string": "string",
        },
        virtual_network_subnet_id="string",
        webdeploy_publish_basic_authentication_enabled=False,
        identity={
            "type": "string",
            "identity_ids": ["string"],
            "principal_id": "string",
            "tenant_id": "string",
        })
    
    const windowsWebAppSlotResource = new azure.appservice.WindowsWebAppSlot("windowsWebAppSlotResource", {
        appServiceId: "string",
        siteConfig: {
            alwaysOn: false,
            apiDefinitionUrl: "string",
            apiManagementApiId: "string",
            appCommandLine: "string",
            applicationStack: {
                currentStack: "string",
                dockerImageName: "string",
                dockerRegistryPassword: "string",
                dockerRegistryUrl: "string",
                dockerRegistryUsername: "string",
                dotnetCoreVersion: "string",
                dotnetVersion: "string",
                javaEmbeddedServerEnabled: false,
                javaVersion: "string",
                nodeVersion: "string",
                phpVersion: "string",
                python: false,
                tomcatVersion: "string",
            },
            autoHealSetting: {
                action: {
                    actionType: "string",
                    customAction: {
                        executable: "string",
                        parameters: "string",
                    },
                    minimumProcessExecutionTime: "string",
                },
                trigger: {
                    privateMemoryKb: 0,
                    requests: {
                        count: 0,
                        interval: "string",
                    },
                    slowRequest: {
                        count: 0,
                        interval: "string",
                        timeTaken: "string",
                    },
                    slowRequestWithPaths: [{
                        count: 0,
                        interval: "string",
                        timeTaken: "string",
                        path: "string",
                    }],
                    statusCodes: [{
                        count: 0,
                        interval: "string",
                        statusCodeRange: "string",
                        path: "string",
                        subStatus: 0,
                        win32StatusCode: 0,
                    }],
                },
            },
            autoSwapSlotName: "string",
            containerRegistryManagedIdentityClientId: "string",
            containerRegistryUseManagedIdentity: false,
            cors: {
                allowedOrigins: ["string"],
                supportCredentials: false,
            },
            defaultDocuments: ["string"],
            detailedErrorLoggingEnabled: false,
            ftpsState: "string",
            handlerMappings: [{
                extension: "string",
                scriptProcessorPath: "string",
                arguments: "string",
            }],
            healthCheckEvictionTimeInMin: 0,
            healthCheckPath: "string",
            http2Enabled: false,
            ipRestrictionDefaultAction: "string",
            ipRestrictions: [{
                action: "string",
                description: "string",
                headers: {
                    xAzureFdids: ["string"],
                    xFdHealthProbe: "string",
                    xForwardedFors: ["string"],
                    xForwardedHosts: ["string"],
                },
                ipAddress: "string",
                name: "string",
                priority: 0,
                serviceTag: "string",
                virtualNetworkSubnetId: "string",
            }],
            loadBalancingMode: "string",
            localMysqlEnabled: false,
            managedPipelineMode: "string",
            minimumTlsVersion: "string",
            remoteDebuggingEnabled: false,
            remoteDebuggingVersion: "string",
            scmIpRestrictionDefaultAction: "string",
            scmIpRestrictions: [{
                action: "string",
                description: "string",
                headers: {
                    xAzureFdids: ["string"],
                    xFdHealthProbe: "string",
                    xForwardedFors: ["string"],
                    xForwardedHosts: ["string"],
                },
                ipAddress: "string",
                name: "string",
                priority: 0,
                serviceTag: "string",
                virtualNetworkSubnetId: "string",
            }],
            scmMinimumTlsVersion: "string",
            scmType: "string",
            scmUseMainIpRestriction: false,
            use32BitWorker: false,
            virtualApplications: [{
                physicalPath: "string",
                preload: false,
                virtualPath: "string",
                virtualDirectories: [{
                    physicalPath: "string",
                    virtualPath: "string",
                }],
            }],
            vnetRouteAllEnabled: false,
            websocketsEnabled: false,
            windowsFxVersion: "string",
            workerCount: 0,
        },
        httpsOnly: false,
        zipDeployFile: "string",
        authSettings: {
            enabled: false,
            github: {
                clientId: "string",
                clientSecret: "string",
                clientSecretSettingName: "string",
                oauthScopes: ["string"],
            },
            issuer: "string",
            defaultProvider: "string",
            additionalLoginParameters: {
                string: "string",
            },
            facebook: {
                appId: "string",
                appSecret: "string",
                appSecretSettingName: "string",
                oauthScopes: ["string"],
            },
            activeDirectory: {
                clientId: "string",
                allowedAudiences: ["string"],
                clientSecret: "string",
                clientSecretSettingName: "string",
            },
            google: {
                clientId: "string",
                clientSecret: "string",
                clientSecretSettingName: "string",
                oauthScopes: ["string"],
            },
            allowedExternalRedirectUrls: ["string"],
            microsoft: {
                clientId: "string",
                clientSecret: "string",
                clientSecretSettingName: "string",
                oauthScopes: ["string"],
            },
            runtimeVersion: "string",
            tokenRefreshExtensionHours: 0,
            tokenStoreEnabled: false,
            twitter: {
                consumerKey: "string",
                consumerSecret: "string",
                consumerSecretSettingName: "string",
            },
            unauthenticatedClientAction: "string",
        },
        clientAffinityEnabled: false,
        clientCertificateEnabled: false,
        clientCertificateExclusionPaths: "string",
        clientCertificateMode: "string",
        connectionStrings: [{
            name: "string",
            type: "string",
            value: "string",
        }],
        enabled: false,
        keyVaultReferenceIdentityId: "string",
        backup: {
            name: "string",
            schedule: {
                frequencyInterval: 0,
                frequencyUnit: "string",
                keepAtLeastOneBackup: false,
                lastExecutionTime: "string",
                retentionPeriodDays: 0,
                startTime: "string",
            },
            storageAccountUrl: "string",
            enabled: false,
        },
        authSettingsV2: {
            login: {
                allowedExternalRedirectUrls: ["string"],
                cookieExpirationConvention: "string",
                cookieExpirationTime: "string",
                logoutEndpoint: "string",
                nonceExpirationTime: "string",
                preserveUrlFragmentsForLogins: false,
                tokenRefreshExtensionTime: 0,
                tokenStoreEnabled: false,
                tokenStorePath: "string",
                tokenStoreSasSettingName: "string",
                validateNonce: false,
            },
            customOidcV2s: [{
                clientId: "string",
                name: "string",
                openidConfigurationEndpoint: "string",
                authorisationEndpoint: "string",
                certificationUri: "string",
                clientCredentialMethod: "string",
                clientSecretSettingName: "string",
                issuerEndpoint: "string",
                nameClaimType: "string",
                scopes: ["string"],
                tokenEndpoint: "string",
            }],
            activeDirectoryV2: {
                clientId: "string",
                tenantAuthEndpoint: "string",
                allowedApplications: ["string"],
                allowedAudiences: ["string"],
                allowedGroups: ["string"],
                allowedIdentities: ["string"],
                clientSecretCertificateThumbprint: "string",
                clientSecretSettingName: "string",
                jwtAllowedClientApplications: ["string"],
                jwtAllowedGroups: ["string"],
                loginParameters: {
                    string: "string",
                },
                wwwAuthenticationDisabled: false,
            },
            forwardProxyCustomSchemeHeaderName: "string",
            googleV2: {
                clientId: "string",
                clientSecretSettingName: "string",
                allowedAudiences: ["string"],
                loginScopes: ["string"],
            },
            githubV2: {
                clientId: "string",
                clientSecretSettingName: "string",
                loginScopes: ["string"],
            },
            defaultProvider: "string",
            excludedPaths: ["string"],
            facebookV2: {
                appId: "string",
                appSecretSettingName: "string",
                graphApiVersion: "string",
                loginScopes: ["string"],
            },
            forwardProxyConvention: "string",
            forwardProxyCustomHostHeaderName: "string",
            azureStaticWebAppV2: {
                clientId: "string",
            },
            authEnabled: false,
            configFilePath: "string",
            httpRouteApiPrefix: "string",
            appleV2: {
                clientId: "string",
                clientSecretSettingName: "string",
                loginScopes: ["string"],
            },
            microsoftV2: {
                clientId: "string",
                clientSecretSettingName: "string",
                allowedAudiences: ["string"],
                loginScopes: ["string"],
            },
            requireAuthentication: false,
            requireHttps: false,
            runtimeVersion: "string",
            twitterV2: {
                consumerKey: "string",
                consumerSecretSettingName: "string",
            },
            unauthenticatedAction: "string",
        },
        ftpPublishBasicAuthenticationEnabled: false,
        logs: {
            applicationLogs: {
                fileSystemLevel: "string",
                azureBlobStorage: {
                    level: "string",
                    retentionInDays: 0,
                    sasUrl: "string",
                },
            },
            detailedErrorMessages: false,
            failedRequestTracing: false,
            httpLogs: {
                azureBlobStorage: {
                    sasUrl: "string",
                    retentionInDays: 0,
                },
                fileSystem: {
                    retentionInDays: 0,
                    retentionInMb: 0,
                },
            },
        },
        name: "string",
        publicNetworkAccessEnabled: false,
        servicePlanId: "string",
        appSettings: {
            string: "string",
        },
        storageAccounts: [{
            accessKey: "string",
            accountName: "string",
            name: "string",
            shareName: "string",
            type: "string",
            mountPath: "string",
        }],
        tags: {
            string: "string",
        },
        virtualNetworkSubnetId: "string",
        webdeployPublishBasicAuthenticationEnabled: false,
        identity: {
            type: "string",
            identityIds: ["string"],
            principalId: "string",
            tenantId: "string",
        },
    });
    
    type: azure:appservice:WindowsWebAppSlot
    properties:
        appServiceId: string
        appSettings:
            string: string
        authSettings:
            activeDirectory:
                allowedAudiences:
                    - string
                clientId: string
                clientSecret: string
                clientSecretSettingName: string
            additionalLoginParameters:
                string: string
            allowedExternalRedirectUrls:
                - string
            defaultProvider: string
            enabled: false
            facebook:
                appId: string
                appSecret: string
                appSecretSettingName: string
                oauthScopes:
                    - string
            github:
                clientId: string
                clientSecret: string
                clientSecretSettingName: string
                oauthScopes:
                    - string
            google:
                clientId: string
                clientSecret: string
                clientSecretSettingName: string
                oauthScopes:
                    - string
            issuer: string
            microsoft:
                clientId: string
                clientSecret: string
                clientSecretSettingName: string
                oauthScopes:
                    - string
            runtimeVersion: string
            tokenRefreshExtensionHours: 0
            tokenStoreEnabled: false
            twitter:
                consumerKey: string
                consumerSecret: string
                consumerSecretSettingName: string
            unauthenticatedClientAction: string
        authSettingsV2:
            activeDirectoryV2:
                allowedApplications:
                    - string
                allowedAudiences:
                    - string
                allowedGroups:
                    - string
                allowedIdentities:
                    - string
                clientId: string
                clientSecretCertificateThumbprint: string
                clientSecretSettingName: string
                jwtAllowedClientApplications:
                    - string
                jwtAllowedGroups:
                    - string
                loginParameters:
                    string: string
                tenantAuthEndpoint: string
                wwwAuthenticationDisabled: false
            appleV2:
                clientId: string
                clientSecretSettingName: string
                loginScopes:
                    - string
            authEnabled: false
            azureStaticWebAppV2:
                clientId: string
            configFilePath: string
            customOidcV2s:
                - authorisationEndpoint: string
                  certificationUri: string
                  clientCredentialMethod: string
                  clientId: string
                  clientSecretSettingName: string
                  issuerEndpoint: string
                  name: string
                  nameClaimType: string
                  openidConfigurationEndpoint: string
                  scopes:
                    - string
                  tokenEndpoint: string
            defaultProvider: string
            excludedPaths:
                - string
            facebookV2:
                appId: string
                appSecretSettingName: string
                graphApiVersion: string
                loginScopes:
                    - string
            forwardProxyConvention: string
            forwardProxyCustomHostHeaderName: string
            forwardProxyCustomSchemeHeaderName: string
            githubV2:
                clientId: string
                clientSecretSettingName: string
                loginScopes:
                    - string
            googleV2:
                allowedAudiences:
                    - string
                clientId: string
                clientSecretSettingName: string
                loginScopes:
                    - string
            httpRouteApiPrefix: string
            login:
                allowedExternalRedirectUrls:
                    - string
                cookieExpirationConvention: string
                cookieExpirationTime: string
                logoutEndpoint: string
                nonceExpirationTime: string
                preserveUrlFragmentsForLogins: false
                tokenRefreshExtensionTime: 0
                tokenStoreEnabled: false
                tokenStorePath: string
                tokenStoreSasSettingName: string
                validateNonce: false
            microsoftV2:
                allowedAudiences:
                    - string
                clientId: string
                clientSecretSettingName: string
                loginScopes:
                    - string
            requireAuthentication: false
            requireHttps: false
            runtimeVersion: string
            twitterV2:
                consumerKey: string
                consumerSecretSettingName: string
            unauthenticatedAction: string
        backup:
            enabled: false
            name: string
            schedule:
                frequencyInterval: 0
                frequencyUnit: string
                keepAtLeastOneBackup: false
                lastExecutionTime: string
                retentionPeriodDays: 0
                startTime: string
            storageAccountUrl: string
        clientAffinityEnabled: false
        clientCertificateEnabled: false
        clientCertificateExclusionPaths: string
        clientCertificateMode: string
        connectionStrings:
            - name: string
              type: string
              value: string
        enabled: false
        ftpPublishBasicAuthenticationEnabled: false
        httpsOnly: false
        identity:
            identityIds:
                - string
            principalId: string
            tenantId: string
            type: string
        keyVaultReferenceIdentityId: string
        logs:
            applicationLogs:
                azureBlobStorage:
                    level: string
                    retentionInDays: 0
                    sasUrl: string
                fileSystemLevel: string
            detailedErrorMessages: false
            failedRequestTracing: false
            httpLogs:
                azureBlobStorage:
                    retentionInDays: 0
                    sasUrl: string
                fileSystem:
                    retentionInDays: 0
                    retentionInMb: 0
        name: string
        publicNetworkAccessEnabled: false
        servicePlanId: string
        siteConfig:
            alwaysOn: false
            apiDefinitionUrl: string
            apiManagementApiId: string
            appCommandLine: string
            applicationStack:
                currentStack: string
                dockerImageName: string
                dockerRegistryPassword: string
                dockerRegistryUrl: string
                dockerRegistryUsername: string
                dotnetCoreVersion: string
                dotnetVersion: string
                javaEmbeddedServerEnabled: false
                javaVersion: string
                nodeVersion: string
                phpVersion: string
                python: false
                tomcatVersion: string
            autoHealSetting:
                action:
                    actionType: string
                    customAction:
                        executable: string
                        parameters: string
                    minimumProcessExecutionTime: string
                trigger:
                    privateMemoryKb: 0
                    requests:
                        count: 0
                        interval: string
                    slowRequest:
                        count: 0
                        interval: string
                        timeTaken: string
                    slowRequestWithPaths:
                        - count: 0
                          interval: string
                          path: string
                          timeTaken: string
                    statusCodes:
                        - count: 0
                          interval: string
                          path: string
                          statusCodeRange: string
                          subStatus: 0
                          win32StatusCode: 0
            autoSwapSlotName: string
            containerRegistryManagedIdentityClientId: string
            containerRegistryUseManagedIdentity: false
            cors:
                allowedOrigins:
                    - string
                supportCredentials: false
            defaultDocuments:
                - string
            detailedErrorLoggingEnabled: false
            ftpsState: string
            handlerMappings:
                - arguments: string
                  extension: string
                  scriptProcessorPath: string
            healthCheckEvictionTimeInMin: 0
            healthCheckPath: string
            http2Enabled: false
            ipRestrictionDefaultAction: string
            ipRestrictions:
                - action: string
                  description: string
                  headers:
                    xAzureFdids:
                        - string
                    xFdHealthProbe: string
                    xForwardedFors:
                        - string
                    xForwardedHosts:
                        - string
                  ipAddress: string
                  name: string
                  priority: 0
                  serviceTag: string
                  virtualNetworkSubnetId: string
            loadBalancingMode: string
            localMysqlEnabled: false
            managedPipelineMode: string
            minimumTlsVersion: string
            remoteDebuggingEnabled: false
            remoteDebuggingVersion: string
            scmIpRestrictionDefaultAction: string
            scmIpRestrictions:
                - action: string
                  description: string
                  headers:
                    xAzureFdids:
                        - string
                    xFdHealthProbe: string
                    xForwardedFors:
                        - string
                    xForwardedHosts:
                        - string
                  ipAddress: string
                  name: string
                  priority: 0
                  serviceTag: string
                  virtualNetworkSubnetId: string
            scmMinimumTlsVersion: string
            scmType: string
            scmUseMainIpRestriction: false
            use32BitWorker: false
            virtualApplications:
                - physicalPath: string
                  preload: false
                  virtualDirectories:
                    - physicalPath: string
                      virtualPath: string
                  virtualPath: string
            vnetRouteAllEnabled: false
            websocketsEnabled: false
            windowsFxVersion: string
            workerCount: 0
        storageAccounts:
            - accessKey: string
              accountName: string
              mountPath: string
              name: string
              shareName: string
              type: string
        tags:
            string: string
        virtualNetworkSubnetId: string
        webdeployPublishBasicAuthenticationEnabled: false
        zipDeployFile: string
    

    WindowsWebAppSlot Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WindowsWebAppSlot resource accepts the following input properties:

    AppServiceId string
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    SiteConfig WindowsWebAppSlotSiteConfig
    A site_config block as defined below.
    AppSettings Dictionary<string, string>
    A map of key-value pairs of App Settings.
    AuthSettings WindowsWebAppSlotAuthSettings
    An auth_settings block as defined below.
    AuthSettingsV2 WindowsWebAppSlotAuthSettingsV2
    An auth_settings_v2 block as defined below.
    Backup WindowsWebAppSlotBackup
    A backup block as defined below.
    ClientAffinityEnabled bool
    Should Client Affinity be enabled?
    ClientCertificateEnabled bool
    Should Client Certificates be enabled?
    ClientCertificateExclusionPaths string
    Paths to exclude when using client certificates, separated by ;
    ClientCertificateMode string
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    ConnectionStrings List<WindowsWebAppSlotConnectionString>
    One or more connection_string blocks as defined below.
    Enabled bool
    Should the Windows Web App Slot be enabled? Defaults to true.
    FtpPublishBasicAuthenticationEnabled bool
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    HttpsOnly bool
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    Identity WindowsWebAppSlotIdentity
    An identity block as defined below.
    KeyVaultReferenceIdentityId string
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    Logs WindowsWebAppSlotLogs
    A logs block as defined below.
    Name string
    PublicNetworkAccessEnabled bool
    Should public network access be enabled for the Web App. Defaults to true.
    ServicePlanId string

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    StorageAccounts List<WindowsWebAppSlotStorageAccount>

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Windows Web App Slot.
    VirtualNetworkSubnetId string
    WebdeployPublishBasicAuthenticationEnabled bool

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    ZipDeployFile string
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    AppServiceId string
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    SiteConfig WindowsWebAppSlotSiteConfigArgs
    A site_config block as defined below.
    AppSettings map[string]string
    A map of key-value pairs of App Settings.
    AuthSettings WindowsWebAppSlotAuthSettingsArgs
    An auth_settings block as defined below.
    AuthSettingsV2 WindowsWebAppSlotAuthSettingsV2Args
    An auth_settings_v2 block as defined below.
    Backup WindowsWebAppSlotBackupArgs
    A backup block as defined below.
    ClientAffinityEnabled bool
    Should Client Affinity be enabled?
    ClientCertificateEnabled bool
    Should Client Certificates be enabled?
    ClientCertificateExclusionPaths string
    Paths to exclude when using client certificates, separated by ;
    ClientCertificateMode string
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    ConnectionStrings []WindowsWebAppSlotConnectionStringArgs
    One or more connection_string blocks as defined below.
    Enabled bool
    Should the Windows Web App Slot be enabled? Defaults to true.
    FtpPublishBasicAuthenticationEnabled bool
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    HttpsOnly bool
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    Identity WindowsWebAppSlotIdentityArgs
    An identity block as defined below.
    KeyVaultReferenceIdentityId string
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    Logs WindowsWebAppSlotLogsArgs
    A logs block as defined below.
    Name string
    PublicNetworkAccessEnabled bool
    Should public network access be enabled for the Web App. Defaults to true.
    ServicePlanId string

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    StorageAccounts []WindowsWebAppSlotStorageAccountArgs

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    Tags map[string]string
    A mapping of tags which should be assigned to the Windows Web App Slot.
    VirtualNetworkSubnetId string
    WebdeployPublishBasicAuthenticationEnabled bool

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    ZipDeployFile string
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    appServiceId String
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    siteConfig WindowsWebAppSlotSiteConfig
    A site_config block as defined below.
    appSettings Map<String,String>
    A map of key-value pairs of App Settings.
    authSettings WindowsWebAppSlotAuthSettings
    An auth_settings block as defined below.
    authSettingsV2 WindowsWebAppSlotAuthSettingsV2
    An auth_settings_v2 block as defined below.
    backup WindowsWebAppSlotBackup
    A backup block as defined below.
    clientAffinityEnabled Boolean
    Should Client Affinity be enabled?
    clientCertificateEnabled Boolean
    Should Client Certificates be enabled?
    clientCertificateExclusionPaths String
    Paths to exclude when using client certificates, separated by ;
    clientCertificateMode String
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    connectionStrings List<WindowsWebAppSlotConnectionString>
    One or more connection_string blocks as defined below.
    enabled Boolean
    Should the Windows Web App Slot be enabled? Defaults to true.
    ftpPublishBasicAuthenticationEnabled Boolean
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    httpsOnly Boolean
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    identity WindowsWebAppSlotIdentity
    An identity block as defined below.
    keyVaultReferenceIdentityId String
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    logs WindowsWebAppSlotLogs
    A logs block as defined below.
    name String
    publicNetworkAccessEnabled Boolean
    Should public network access be enabled for the Web App. Defaults to true.
    servicePlanId String

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    storageAccounts List<WindowsWebAppSlotStorageAccount>

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    tags Map<String,String>
    A mapping of tags which should be assigned to the Windows Web App Slot.
    virtualNetworkSubnetId String
    webdeployPublishBasicAuthenticationEnabled Boolean

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    zipDeployFile String
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    appServiceId string
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    siteConfig WindowsWebAppSlotSiteConfig
    A site_config block as defined below.
    appSettings {[key: string]: string}
    A map of key-value pairs of App Settings.
    authSettings WindowsWebAppSlotAuthSettings
    An auth_settings block as defined below.
    authSettingsV2 WindowsWebAppSlotAuthSettingsV2
    An auth_settings_v2 block as defined below.
    backup WindowsWebAppSlotBackup
    A backup block as defined below.
    clientAffinityEnabled boolean
    Should Client Affinity be enabled?
    clientCertificateEnabled boolean
    Should Client Certificates be enabled?
    clientCertificateExclusionPaths string
    Paths to exclude when using client certificates, separated by ;
    clientCertificateMode string
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    connectionStrings WindowsWebAppSlotConnectionString[]
    One or more connection_string blocks as defined below.
    enabled boolean
    Should the Windows Web App Slot be enabled? Defaults to true.
    ftpPublishBasicAuthenticationEnabled boolean
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    httpsOnly boolean
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    identity WindowsWebAppSlotIdentity
    An identity block as defined below.
    keyVaultReferenceIdentityId string
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    logs WindowsWebAppSlotLogs
    A logs block as defined below.
    name string
    publicNetworkAccessEnabled boolean
    Should public network access be enabled for the Web App. Defaults to true.
    servicePlanId string

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    storageAccounts WindowsWebAppSlotStorageAccount[]

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Windows Web App Slot.
    virtualNetworkSubnetId string
    webdeployPublishBasicAuthenticationEnabled boolean

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    zipDeployFile string
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    app_service_id str
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    site_config WindowsWebAppSlotSiteConfigArgs
    A site_config block as defined below.
    app_settings Mapping[str, str]
    A map of key-value pairs of App Settings.
    auth_settings WindowsWebAppSlotAuthSettingsArgs
    An auth_settings block as defined below.
    auth_settings_v2 WindowsWebAppSlotAuthSettingsV2Args
    An auth_settings_v2 block as defined below.
    backup WindowsWebAppSlotBackupArgs
    A backup block as defined below.
    client_affinity_enabled bool
    Should Client Affinity be enabled?
    client_certificate_enabled bool
    Should Client Certificates be enabled?
    client_certificate_exclusion_paths str
    Paths to exclude when using client certificates, separated by ;
    client_certificate_mode str
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    connection_strings Sequence[WindowsWebAppSlotConnectionStringArgs]
    One or more connection_string blocks as defined below.
    enabled bool
    Should the Windows Web App Slot be enabled? Defaults to true.
    ftp_publish_basic_authentication_enabled bool
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    https_only bool
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    identity WindowsWebAppSlotIdentityArgs
    An identity block as defined below.
    key_vault_reference_identity_id str
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    logs WindowsWebAppSlotLogsArgs
    A logs block as defined below.
    name str
    public_network_access_enabled bool
    Should public network access be enabled for the Web App. Defaults to true.
    service_plan_id str

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    storage_accounts Sequence[WindowsWebAppSlotStorageAccountArgs]

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Windows Web App Slot.
    virtual_network_subnet_id str
    webdeploy_publish_basic_authentication_enabled bool

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    zip_deploy_file str
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    appServiceId String
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    siteConfig Property Map
    A site_config block as defined below.
    appSettings Map<String>
    A map of key-value pairs of App Settings.
    authSettings Property Map
    An auth_settings block as defined below.
    authSettingsV2 Property Map
    An auth_settings_v2 block as defined below.
    backup Property Map
    A backup block as defined below.
    clientAffinityEnabled Boolean
    Should Client Affinity be enabled?
    clientCertificateEnabled Boolean
    Should Client Certificates be enabled?
    clientCertificateExclusionPaths String
    Paths to exclude when using client certificates, separated by ;
    clientCertificateMode String
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    connectionStrings List<Property Map>
    One or more connection_string blocks as defined below.
    enabled Boolean
    Should the Windows Web App Slot be enabled? Defaults to true.
    ftpPublishBasicAuthenticationEnabled Boolean
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    httpsOnly Boolean
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    identity Property Map
    An identity block as defined below.
    keyVaultReferenceIdentityId String
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    logs Property Map
    A logs block as defined below.
    name String
    publicNetworkAccessEnabled Boolean
    Should public network access be enabled for the Web App. Defaults to true.
    servicePlanId String

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    storageAccounts List<Property Map>

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    tags Map<String>
    A mapping of tags which should be assigned to the Windows Web App Slot.
    virtualNetworkSubnetId String
    webdeployPublishBasicAuthenticationEnabled Boolean

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    zipDeployFile String
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WindowsWebAppSlot resource produces the following output properties:

    CustomDomainVerificationId string
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    DefaultHostname string
    The default hostname of the Windows Web App Slot.
    HostingEnvironmentId string
    The ID of the App Service Environment used by App Service Slot.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    The Kind value for this Windows Web App Slot.
    OutboundIpAddressLists List<string>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    OutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    PossibleOutboundIpAddressLists List<string>
    A list of possible outbound ip address.
    PossibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    SiteCredentials List<WindowsWebAppSlotSiteCredential>
    A site_credential block as defined below.
    CustomDomainVerificationId string
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    DefaultHostname string
    The default hostname of the Windows Web App Slot.
    HostingEnvironmentId string
    The ID of the App Service Environment used by App Service Slot.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    The Kind value for this Windows Web App Slot.
    OutboundIpAddressLists []string
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    OutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    PossibleOutboundIpAddressLists []string
    A list of possible outbound ip address.
    PossibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    SiteCredentials []WindowsWebAppSlotSiteCredential
    A site_credential block as defined below.
    customDomainVerificationId String
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultHostname String
    The default hostname of the Windows Web App Slot.
    hostingEnvironmentId String
    The ID of the App Service Environment used by App Service Slot.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    The Kind value for this Windows Web App Slot.
    outboundIpAddressLists List<String>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    possibleOutboundIpAddressLists List<String>
    A list of possible outbound ip address.
    possibleOutboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    siteCredentials List<WindowsWebAppSlotSiteCredential>
    A site_credential block as defined below.
    customDomainVerificationId string
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultHostname string
    The default hostname of the Windows Web App Slot.
    hostingEnvironmentId string
    The ID of the App Service Environment used by App Service Slot.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    The Kind value for this Windows Web App Slot.
    outboundIpAddressLists string[]
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    possibleOutboundIpAddressLists string[]
    A list of possible outbound ip address.
    possibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    siteCredentials WindowsWebAppSlotSiteCredential[]
    A site_credential block as defined below.
    custom_domain_verification_id str
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    default_hostname str
    The default hostname of the Windows Web App Slot.
    hosting_environment_id str
    The ID of the App Service Environment used by App Service Slot.
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    The Kind value for this Windows Web App Slot.
    outbound_ip_address_lists Sequence[str]
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outbound_ip_addresses str
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    possible_outbound_ip_address_lists Sequence[str]
    A list of possible outbound ip address.
    possible_outbound_ip_addresses str
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    site_credentials Sequence[WindowsWebAppSlotSiteCredential]
    A site_credential block as defined below.
    customDomainVerificationId String
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultHostname String
    The default hostname of the Windows Web App Slot.
    hostingEnvironmentId String
    The ID of the App Service Environment used by App Service Slot.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    The Kind value for this Windows Web App Slot.
    outboundIpAddressLists List<String>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    possibleOutboundIpAddressLists List<String>
    A list of possible outbound ip address.
    possibleOutboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    siteCredentials List<Property Map>
    A site_credential block as defined below.

    Look up Existing WindowsWebAppSlot Resource

    Get an existing WindowsWebAppSlot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WindowsWebAppSlotState, opts?: CustomResourceOptions): WindowsWebAppSlot
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_service_id: Optional[str] = None,
            app_settings: Optional[Mapping[str, str]] = None,
            auth_settings: Optional[WindowsWebAppSlotAuthSettingsArgs] = None,
            auth_settings_v2: Optional[WindowsWebAppSlotAuthSettingsV2Args] = None,
            backup: Optional[WindowsWebAppSlotBackupArgs] = None,
            client_affinity_enabled: Optional[bool] = None,
            client_certificate_enabled: Optional[bool] = None,
            client_certificate_exclusion_paths: Optional[str] = None,
            client_certificate_mode: Optional[str] = None,
            connection_strings: Optional[Sequence[WindowsWebAppSlotConnectionStringArgs]] = None,
            custom_domain_verification_id: Optional[str] = None,
            default_hostname: Optional[str] = None,
            enabled: Optional[bool] = None,
            ftp_publish_basic_authentication_enabled: Optional[bool] = None,
            hosting_environment_id: Optional[str] = None,
            https_only: Optional[bool] = None,
            identity: Optional[WindowsWebAppSlotIdentityArgs] = None,
            key_vault_reference_identity_id: Optional[str] = None,
            kind: Optional[str] = None,
            logs: Optional[WindowsWebAppSlotLogsArgs] = None,
            name: Optional[str] = None,
            outbound_ip_address_lists: Optional[Sequence[str]] = None,
            outbound_ip_addresses: Optional[str] = None,
            possible_outbound_ip_address_lists: Optional[Sequence[str]] = None,
            possible_outbound_ip_addresses: Optional[str] = None,
            public_network_access_enabled: Optional[bool] = None,
            service_plan_id: Optional[str] = None,
            site_config: Optional[WindowsWebAppSlotSiteConfigArgs] = None,
            site_credentials: Optional[Sequence[WindowsWebAppSlotSiteCredentialArgs]] = None,
            storage_accounts: Optional[Sequence[WindowsWebAppSlotStorageAccountArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            virtual_network_subnet_id: Optional[str] = None,
            webdeploy_publish_basic_authentication_enabled: Optional[bool] = None,
            zip_deploy_file: Optional[str] = None) -> WindowsWebAppSlot
    func GetWindowsWebAppSlot(ctx *Context, name string, id IDInput, state *WindowsWebAppSlotState, opts ...ResourceOption) (*WindowsWebAppSlot, error)
    public static WindowsWebAppSlot Get(string name, Input<string> id, WindowsWebAppSlotState? state, CustomResourceOptions? opts = null)
    public static WindowsWebAppSlot get(String name, Output<String> id, WindowsWebAppSlotState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppServiceId string
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    AppSettings Dictionary<string, string>
    A map of key-value pairs of App Settings.
    AuthSettings WindowsWebAppSlotAuthSettings
    An auth_settings block as defined below.
    AuthSettingsV2 WindowsWebAppSlotAuthSettingsV2
    An auth_settings_v2 block as defined below.
    Backup WindowsWebAppSlotBackup
    A backup block as defined below.
    ClientAffinityEnabled bool
    Should Client Affinity be enabled?
    ClientCertificateEnabled bool
    Should Client Certificates be enabled?
    ClientCertificateExclusionPaths string
    Paths to exclude when using client certificates, separated by ;
    ClientCertificateMode string
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    ConnectionStrings List<WindowsWebAppSlotConnectionString>
    One or more connection_string blocks as defined below.
    CustomDomainVerificationId string
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    DefaultHostname string
    The default hostname of the Windows Web App Slot.
    Enabled bool
    Should the Windows Web App Slot be enabled? Defaults to true.
    FtpPublishBasicAuthenticationEnabled bool
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    HostingEnvironmentId string
    The ID of the App Service Environment used by App Service Slot.
    HttpsOnly bool
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    Identity WindowsWebAppSlotIdentity
    An identity block as defined below.
    KeyVaultReferenceIdentityId string
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    Kind string
    The Kind value for this Windows Web App Slot.
    Logs WindowsWebAppSlotLogs
    A logs block as defined below.
    Name string
    OutboundIpAddressLists List<string>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    OutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    PossibleOutboundIpAddressLists List<string>
    A list of possible outbound ip address.
    PossibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    PublicNetworkAccessEnabled bool
    Should public network access be enabled for the Web App. Defaults to true.
    ServicePlanId string

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    SiteConfig WindowsWebAppSlotSiteConfig
    A site_config block as defined below.
    SiteCredentials List<WindowsWebAppSlotSiteCredential>
    A site_credential block as defined below.
    StorageAccounts List<WindowsWebAppSlotStorageAccount>

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Windows Web App Slot.
    VirtualNetworkSubnetId string
    WebdeployPublishBasicAuthenticationEnabled bool

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    ZipDeployFile string
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    AppServiceId string
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    AppSettings map[string]string
    A map of key-value pairs of App Settings.
    AuthSettings WindowsWebAppSlotAuthSettingsArgs
    An auth_settings block as defined below.
    AuthSettingsV2 WindowsWebAppSlotAuthSettingsV2Args
    An auth_settings_v2 block as defined below.
    Backup WindowsWebAppSlotBackupArgs
    A backup block as defined below.
    ClientAffinityEnabled bool
    Should Client Affinity be enabled?
    ClientCertificateEnabled bool
    Should Client Certificates be enabled?
    ClientCertificateExclusionPaths string
    Paths to exclude when using client certificates, separated by ;
    ClientCertificateMode string
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    ConnectionStrings []WindowsWebAppSlotConnectionStringArgs
    One or more connection_string blocks as defined below.
    CustomDomainVerificationId string
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    DefaultHostname string
    The default hostname of the Windows Web App Slot.
    Enabled bool
    Should the Windows Web App Slot be enabled? Defaults to true.
    FtpPublishBasicAuthenticationEnabled bool
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    HostingEnvironmentId string
    The ID of the App Service Environment used by App Service Slot.
    HttpsOnly bool
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    Identity WindowsWebAppSlotIdentityArgs
    An identity block as defined below.
    KeyVaultReferenceIdentityId string
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    Kind string
    The Kind value for this Windows Web App Slot.
    Logs WindowsWebAppSlotLogsArgs
    A logs block as defined below.
    Name string
    OutboundIpAddressLists []string
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    OutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    PossibleOutboundIpAddressLists []string
    A list of possible outbound ip address.
    PossibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    PublicNetworkAccessEnabled bool
    Should public network access be enabled for the Web App. Defaults to true.
    ServicePlanId string

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    SiteConfig WindowsWebAppSlotSiteConfigArgs
    A site_config block as defined below.
    SiteCredentials []WindowsWebAppSlotSiteCredentialArgs
    A site_credential block as defined below.
    StorageAccounts []WindowsWebAppSlotStorageAccountArgs

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    Tags map[string]string
    A mapping of tags which should be assigned to the Windows Web App Slot.
    VirtualNetworkSubnetId string
    WebdeployPublishBasicAuthenticationEnabled bool

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    ZipDeployFile string
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    appServiceId String
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    appSettings Map<String,String>
    A map of key-value pairs of App Settings.
    authSettings WindowsWebAppSlotAuthSettings
    An auth_settings block as defined below.
    authSettingsV2 WindowsWebAppSlotAuthSettingsV2
    An auth_settings_v2 block as defined below.
    backup WindowsWebAppSlotBackup
    A backup block as defined below.
    clientAffinityEnabled Boolean
    Should Client Affinity be enabled?
    clientCertificateEnabled Boolean
    Should Client Certificates be enabled?
    clientCertificateExclusionPaths String
    Paths to exclude when using client certificates, separated by ;
    clientCertificateMode String
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    connectionStrings List<WindowsWebAppSlotConnectionString>
    One or more connection_string blocks as defined below.
    customDomainVerificationId String
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultHostname String
    The default hostname of the Windows Web App Slot.
    enabled Boolean
    Should the Windows Web App Slot be enabled? Defaults to true.
    ftpPublishBasicAuthenticationEnabled Boolean
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    hostingEnvironmentId String
    The ID of the App Service Environment used by App Service Slot.
    httpsOnly Boolean
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    identity WindowsWebAppSlotIdentity
    An identity block as defined below.
    keyVaultReferenceIdentityId String
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    kind String
    The Kind value for this Windows Web App Slot.
    logs WindowsWebAppSlotLogs
    A logs block as defined below.
    name String
    outboundIpAddressLists List<String>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    possibleOutboundIpAddressLists List<String>
    A list of possible outbound ip address.
    possibleOutboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    publicNetworkAccessEnabled Boolean
    Should public network access be enabled for the Web App. Defaults to true.
    servicePlanId String

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    siteConfig WindowsWebAppSlotSiteConfig
    A site_config block as defined below.
    siteCredentials List<WindowsWebAppSlotSiteCredential>
    A site_credential block as defined below.
    storageAccounts List<WindowsWebAppSlotStorageAccount>

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    tags Map<String,String>
    A mapping of tags which should be assigned to the Windows Web App Slot.
    virtualNetworkSubnetId String
    webdeployPublishBasicAuthenticationEnabled Boolean

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    zipDeployFile String
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    appServiceId string
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    appSettings {[key: string]: string}
    A map of key-value pairs of App Settings.
    authSettings WindowsWebAppSlotAuthSettings
    An auth_settings block as defined below.
    authSettingsV2 WindowsWebAppSlotAuthSettingsV2
    An auth_settings_v2 block as defined below.
    backup WindowsWebAppSlotBackup
    A backup block as defined below.
    clientAffinityEnabled boolean
    Should Client Affinity be enabled?
    clientCertificateEnabled boolean
    Should Client Certificates be enabled?
    clientCertificateExclusionPaths string
    Paths to exclude when using client certificates, separated by ;
    clientCertificateMode string
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    connectionStrings WindowsWebAppSlotConnectionString[]
    One or more connection_string blocks as defined below.
    customDomainVerificationId string
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultHostname string
    The default hostname of the Windows Web App Slot.
    enabled boolean
    Should the Windows Web App Slot be enabled? Defaults to true.
    ftpPublishBasicAuthenticationEnabled boolean
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    hostingEnvironmentId string
    The ID of the App Service Environment used by App Service Slot.
    httpsOnly boolean
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    identity WindowsWebAppSlotIdentity
    An identity block as defined below.
    keyVaultReferenceIdentityId string
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    kind string
    The Kind value for this Windows Web App Slot.
    logs WindowsWebAppSlotLogs
    A logs block as defined below.
    name string
    outboundIpAddressLists string[]
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    possibleOutboundIpAddressLists string[]
    A list of possible outbound ip address.
    possibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    publicNetworkAccessEnabled boolean
    Should public network access be enabled for the Web App. Defaults to true.
    servicePlanId string

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    siteConfig WindowsWebAppSlotSiteConfig
    A site_config block as defined below.
    siteCredentials WindowsWebAppSlotSiteCredential[]
    A site_credential block as defined below.
    storageAccounts WindowsWebAppSlotStorageAccount[]

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Windows Web App Slot.
    virtualNetworkSubnetId string
    webdeployPublishBasicAuthenticationEnabled boolean

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    zipDeployFile string
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    app_service_id str
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    app_settings Mapping[str, str]
    A map of key-value pairs of App Settings.
    auth_settings WindowsWebAppSlotAuthSettingsArgs
    An auth_settings block as defined below.
    auth_settings_v2 WindowsWebAppSlotAuthSettingsV2Args
    An auth_settings_v2 block as defined below.
    backup WindowsWebAppSlotBackupArgs
    A backup block as defined below.
    client_affinity_enabled bool
    Should Client Affinity be enabled?
    client_certificate_enabled bool
    Should Client Certificates be enabled?
    client_certificate_exclusion_paths str
    Paths to exclude when using client certificates, separated by ;
    client_certificate_mode str
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    connection_strings Sequence[WindowsWebAppSlotConnectionStringArgs]
    One or more connection_string blocks as defined below.
    custom_domain_verification_id str
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    default_hostname str
    The default hostname of the Windows Web App Slot.
    enabled bool
    Should the Windows Web App Slot be enabled? Defaults to true.
    ftp_publish_basic_authentication_enabled bool
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    hosting_environment_id str
    The ID of the App Service Environment used by App Service Slot.
    https_only bool
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    identity WindowsWebAppSlotIdentityArgs
    An identity block as defined below.
    key_vault_reference_identity_id str
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    kind str
    The Kind value for this Windows Web App Slot.
    logs WindowsWebAppSlotLogsArgs
    A logs block as defined below.
    name str
    outbound_ip_address_lists Sequence[str]
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outbound_ip_addresses str
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    possible_outbound_ip_address_lists Sequence[str]
    A list of possible outbound ip address.
    possible_outbound_ip_addresses str
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    public_network_access_enabled bool
    Should public network access be enabled for the Web App. Defaults to true.
    service_plan_id str

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    site_config WindowsWebAppSlotSiteConfigArgs
    A site_config block as defined below.
    site_credentials Sequence[WindowsWebAppSlotSiteCredentialArgs]
    A site_credential block as defined below.
    storage_accounts Sequence[WindowsWebAppSlotStorageAccountArgs]

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Windows Web App Slot.
    virtual_network_subnet_id str
    webdeploy_publish_basic_authentication_enabled bool

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    zip_deploy_file str
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.
    appServiceId String
    The ID of the Windows Web App this Deployment Slot will be part of. Changing this forces a new Windows Web App to be created.
    appSettings Map<String>
    A map of key-value pairs of App Settings.
    authSettings Property Map
    An auth_settings block as defined below.
    authSettingsV2 Property Map
    An auth_settings_v2 block as defined below.
    backup Property Map
    A backup block as defined below.
    clientAffinityEnabled Boolean
    Should Client Affinity be enabled?
    clientCertificateEnabled Boolean
    Should Client Certificates be enabled?
    clientCertificateExclusionPaths String
    Paths to exclude when using client certificates, separated by ;
    clientCertificateMode String
    The Client Certificate mode. Possible values are Required, Optional, and OptionalInteractiveUser. This property has no effect when client_cert_enabled is false. Defaults to Required.
    connectionStrings List<Property Map>
    One or more connection_string blocks as defined below.
    customDomainVerificationId String
    The identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultHostname String
    The default hostname of the Windows Web App Slot.
    enabled Boolean
    Should the Windows Web App Slot be enabled? Defaults to true.
    ftpPublishBasicAuthenticationEnabled Boolean
    Should the default FTP Basic Authentication publishing profile be enabled. Defaults to true.
    hostingEnvironmentId String
    The ID of the App Service Environment used by App Service Slot.
    httpsOnly Boolean
    Should the Windows Web App Slot require HTTPS connections. Defaults to false.
    identity Property Map
    An identity block as defined below.
    keyVaultReferenceIdentityId String
    The User Assigned Identity ID used for accessing KeyVault secrets. The identity must be assigned to the application in the identity block. For more information see - Access vaults with a user-assigned identity
    kind String
    The Kind value for this Windows Web App Slot.
    logs Property Map
    A logs block as defined below.
    name String
    outboundIpAddressLists List<String>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12.
    possibleOutboundIpAddressLists List<String>
    A list of possible outbound ip address.
    possibleOutboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    publicNetworkAccessEnabled Boolean
    Should public network access be enabled for the Web App. Defaults to true.
    servicePlanId String

    The ID of the Service Plan in which to run this slot. If not specified the same Service Plan as the Windows Web App will be used.

    Note: service_plan_id should only be specified if it differs from the Service Plan of the associated Windows Web App.

    siteConfig Property Map
    A site_config block as defined below.
    siteCredentials List<Property Map>
    A site_credential block as defined below.
    storageAccounts List<Property Map>

    One or more storage_account blocks as defined below.

    Note: Using this value requires WEBSITE_RUN_FROM_PACKAGE=1 to be set on the App in app_settings. Refer to the Azure docs for further details.

    tags Map<String>
    A mapping of tags which should be assigned to the Windows Web App Slot.
    virtualNetworkSubnetId String
    webdeployPublishBasicAuthenticationEnabled Boolean

    Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to true.

    NOTE: Setting this value to true will disable the ability to use zip_deploy_file which currently relies on the default publishing profile.

    zipDeployFile String
    The local path and filename of the Zip packaged application to deploy to this Windows Web App.

    Supporting Types

    WindowsWebAppSlotAuthSettings, WindowsWebAppSlotAuthSettingsArgs

    Enabled bool
    Should the Authentication / Authorization feature be enabled for the Windows Web App?
    ActiveDirectory WindowsWebAppSlotAuthSettingsActiveDirectory
    An active_directory block as defined above.
    AdditionalLoginParameters Dictionary<string, string>
    Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
    AllowedExternalRedirectUrls List<string>
    Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App Slot.
    DefaultProvider string

    The default authentication provider to use when multiple providers are configured. Possible values include: AzureActiveDirectory, Facebook, Google, MicrosoftAccount, Twitter, Github.

    NOTE: This setting is only needed if multiple providers are configured, and the unauthenticated_client_action is set to "RedirectToLoginPage".

    Facebook WindowsWebAppSlotAuthSettingsFacebook
    A facebook block as defined below.
    Github WindowsWebAppSlotAuthSettingsGithub
    A github block as defined below.
    Google WindowsWebAppSlotAuthSettingsGoogle
    A google block as defined below.
    Issuer string

    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this Windows Web App Slot.

    NOTE: When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.

    Microsoft WindowsWebAppSlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    RuntimeVersion string
    The RuntimeVersion of the Authentication / Authorization feature in use for the Windows Web App Slot.
    TokenRefreshExtensionHours double
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    TokenStoreEnabled bool
    Should the Windows Web App Slot durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
    Twitter WindowsWebAppSlotAuthSettingsTwitter
    A twitter block as defined below.
    UnauthenticatedClientAction string
    The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.
    Enabled bool
    Should the Authentication / Authorization feature be enabled for the Windows Web App?
    ActiveDirectory WindowsWebAppSlotAuthSettingsActiveDirectory
    An active_directory block as defined above.
    AdditionalLoginParameters map[string]string
    Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
    AllowedExternalRedirectUrls []string
    Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App Slot.
    DefaultProvider string

    The default authentication provider to use when multiple providers are configured. Possible values include: AzureActiveDirectory, Facebook, Google, MicrosoftAccount, Twitter, Github.

    NOTE: This setting is only needed if multiple providers are configured, and the unauthenticated_client_action is set to "RedirectToLoginPage".

    Facebook WindowsWebAppSlotAuthSettingsFacebook
    A facebook block as defined below.
    Github WindowsWebAppSlotAuthSettingsGithub
    A github block as defined below.
    Google WindowsWebAppSlotAuthSettingsGoogle
    A google block as defined below.
    Issuer string

    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this Windows Web App Slot.

    NOTE: When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.

    Microsoft WindowsWebAppSlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    RuntimeVersion string
    The RuntimeVersion of the Authentication / Authorization feature in use for the Windows Web App Slot.
    TokenRefreshExtensionHours float64
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    TokenStoreEnabled bool
    Should the Windows Web App Slot durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
    Twitter WindowsWebAppSlotAuthSettingsTwitter
    A twitter block as defined below.
    UnauthenticatedClientAction string
    The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.
    enabled Boolean
    Should the Authentication / Authorization feature be enabled for the Windows Web App?
    activeDirectory WindowsWebAppSlotAuthSettingsActiveDirectory
    An active_directory block as defined above.
    additionalLoginParameters Map<String,String>
    Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
    allowedExternalRedirectUrls List<String>
    Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App Slot.
    defaultProvider String

    The default authentication provider to use when multiple providers are configured. Possible values include: AzureActiveDirectory, Facebook, Google, MicrosoftAccount, Twitter, Github.

    NOTE: This setting is only needed if multiple providers are configured, and the unauthenticated_client_action is set to "RedirectToLoginPage".

    facebook WindowsWebAppSlotAuthSettingsFacebook
    A facebook block as defined below.
    github WindowsWebAppSlotAuthSettingsGithub
    A github block as defined below.
    google WindowsWebAppSlotAuthSettingsGoogle
    A google block as defined below.
    issuer String

    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this Windows Web App Slot.

    NOTE: When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.

    microsoft WindowsWebAppSlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    runtimeVersion String
    The RuntimeVersion of the Authentication / Authorization feature in use for the Windows Web App Slot.
    tokenRefreshExtensionHours Double
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    tokenStoreEnabled Boolean
    Should the Windows Web App Slot durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
    twitter WindowsWebAppSlotAuthSettingsTwitter
    A twitter block as defined below.
    unauthenticatedClientAction String
    The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.
    enabled boolean
    Should the Authentication / Authorization feature be enabled for the Windows Web App?
    activeDirectory WindowsWebAppSlotAuthSettingsActiveDirectory
    An active_directory block as defined above.
    additionalLoginParameters {[key: string]: string}
    Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
    allowedExternalRedirectUrls string[]
    Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App Slot.
    defaultProvider string

    The default authentication provider to use when multiple providers are configured. Possible values include: AzureActiveDirectory, Facebook, Google, MicrosoftAccount, Twitter, Github.

    NOTE: This setting is only needed if multiple providers are configured, and the unauthenticated_client_action is set to "RedirectToLoginPage".

    facebook WindowsWebAppSlotAuthSettingsFacebook
    A facebook block as defined below.
    github WindowsWebAppSlotAuthSettingsGithub
    A github block as defined below.
    google WindowsWebAppSlotAuthSettingsGoogle
    A google block as defined below.
    issuer string

    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this Windows Web App Slot.

    NOTE: When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.

    microsoft WindowsWebAppSlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    runtimeVersion string
    The RuntimeVersion of the Authentication / Authorization feature in use for the Windows Web App Slot.
    tokenRefreshExtensionHours number
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    tokenStoreEnabled boolean
    Should the Windows Web App Slot durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
    twitter WindowsWebAppSlotAuthSettingsTwitter
    A twitter block as defined below.
    unauthenticatedClientAction string
    The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.
    enabled bool
    Should the Authentication / Authorization feature be enabled for the Windows Web App?
    active_directory WindowsWebAppSlotAuthSettingsActiveDirectory
    An active_directory block as defined above.
    additional_login_parameters Mapping[str, str]
    Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
    allowed_external_redirect_urls Sequence[str]
    Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App Slot.
    default_provider str

    The default authentication provider to use when multiple providers are configured. Possible values include: AzureActiveDirectory, Facebook, Google, MicrosoftAccount, Twitter, Github.

    NOTE: This setting is only needed if multiple providers are configured, and the unauthenticated_client_action is set to "RedirectToLoginPage".

    facebook WindowsWebAppSlotAuthSettingsFacebook
    A facebook block as defined below.
    github WindowsWebAppSlotAuthSettingsGithub
    A github block as defined below.
    google WindowsWebAppSlotAuthSettingsGoogle
    A google block as defined below.
    issuer str

    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this Windows Web App Slot.

    NOTE: When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.

    microsoft WindowsWebAppSlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    runtime_version str
    The RuntimeVersion of the Authentication / Authorization feature in use for the Windows Web App Slot.
    token_refresh_extension_hours float
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    token_store_enabled bool
    Should the Windows Web App Slot durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
    twitter WindowsWebAppSlotAuthSettingsTwitter
    A twitter block as defined below.
    unauthenticated_client_action str
    The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.
    enabled Boolean
    Should the Authentication / Authorization feature be enabled for the Windows Web App?
    activeDirectory Property Map
    An active_directory block as defined above.
    additionalLoginParameters Map<String>
    Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
    allowedExternalRedirectUrls List<String>
    Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App Slot.
    defaultProvider String

    The default authentication provider to use when multiple providers are configured. Possible values include: AzureActiveDirectory, Facebook, Google, MicrosoftAccount, Twitter, Github.

    NOTE: This setting is only needed if multiple providers are configured, and the unauthenticated_client_action is set to "RedirectToLoginPage".

    facebook Property Map
    A facebook block as defined below.
    github Property Map
    A github block as defined below.
    google Property Map
    A google block as defined below.
    issuer String

    The OpenID Connect Issuer URI that represents the entity which issues access tokens for this Windows Web App Slot.

    NOTE: When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.

    microsoft Property Map
    A microsoft block as defined below.
    runtimeVersion String
    The RuntimeVersion of the Authentication / Authorization feature in use for the Windows Web App Slot.
    tokenRefreshExtensionHours Number
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    tokenStoreEnabled Boolean
    Should the Windows Web App Slot durably store platform-specific security tokens that are obtained during login flows? Defaults to false.
    twitter Property Map
    A twitter block as defined below.
    unauthenticatedClientAction String
    The action to take when an unauthenticated client attempts to access the app. Possible values include: RedirectToLoginPage, AllowAnonymous.

    WindowsWebAppSlotAuthSettingsActiveDirectory, WindowsWebAppSlotAuthSettingsActiveDirectoryArgs

    ClientId string
    The ID of the Client to use to authenticate with Azure Active Directory.
    AllowedAudiences List<string>

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    Note: The client_id value is always considered an allowed audience, so should not be included.

    ClientSecret string
    The Client Secret for the Client ID. Cannot be used with client_secret_setting_name.
    ClientSecretSettingName string
    The App Setting name that contains the client secret of the Client. Cannot be used with client_secret.
    ClientId string
    The ID of the Client to use to authenticate with Azure Active Directory.
    AllowedAudiences []string

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    Note: The client_id value is always considered an allowed audience, so should not be included.

    ClientSecret string
    The Client Secret for the Client ID. Cannot be used with client_secret_setting_name.
    ClientSecretSettingName string
    The App Setting name that contains the client secret of the Client. Cannot be used with client_secret.
    clientId String
    The ID of the Client to use to authenticate with Azure Active Directory.
    allowedAudiences List<String>

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    Note: The client_id value is always considered an allowed audience, so should not be included.

    clientSecret String
    The Client Secret for the Client ID. Cannot be used with client_secret_setting_name.
    clientSecretSettingName String
    The App Setting name that contains the client secret of the Client. Cannot be used with client_secret.
    clientId string
    The ID of the Client to use to authenticate with Azure Active Directory.
    allowedAudiences string[]

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    Note: The client_id value is always considered an allowed audience, so should not be included.

    clientSecret string
    The Client Secret for the Client ID. Cannot be used with client_secret_setting_name.
    clientSecretSettingName string
    The App Setting name that contains the client secret of the Client. Cannot be used with client_secret.
    client_id str
    The ID of the Client to use to authenticate with Azure Active Directory.
    allowed_audiences Sequence[str]

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    Note: The client_id value is always considered an allowed audience, so should not be included.

    client_secret str
    The Client Secret for the Client ID. Cannot be used with client_secret_setting_name.
    client_secret_setting_name str
    The App Setting name that contains the client secret of the Client. Cannot be used with client_secret.
    clientId String
    The ID of the Client to use to authenticate with Azure Active Directory.
    allowedAudiences List<String>

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    Note: The client_id value is always considered an allowed audience, so should not be included.

    clientSecret String
    The Client Secret for the Client ID. Cannot be used with client_secret_setting_name.
    clientSecretSettingName String
    The App Setting name that contains the client secret of the Client. Cannot be used with client_secret.

    WindowsWebAppSlotAuthSettingsFacebook, WindowsWebAppSlotAuthSettingsFacebookArgs

    AppId string
    The App ID of the Facebook app used for login.
    AppSecret string
    The App Secret of the Facebook app used for Facebook login. Cannot be specified with app_secret_setting_name.
    AppSecretSettingName string
    The app setting name that contains the app_secret value used for Facebook login. Cannot be specified with app_secret.
    OauthScopes List<string>
    Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.
    AppId string
    The App ID of the Facebook app used for login.
    AppSecret string
    The App Secret of the Facebook app used for Facebook login. Cannot be specified with app_secret_setting_name.
    AppSecretSettingName string
    The app setting name that contains the app_secret value used for Facebook login. Cannot be specified with app_secret.
    OauthScopes []string
    Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.
    appId String
    The App ID of the Facebook app used for login.
    appSecret String
    The App Secret of the Facebook app used for Facebook login. Cannot be specified with app_secret_setting_name.
    appSecretSettingName String
    The app setting name that contains the app_secret value used for Facebook login. Cannot be specified with app_secret.
    oauthScopes List<String>
    Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.
    appId string
    The App ID of the Facebook app used for login.
    appSecret string
    The App Secret of the Facebook app used for Facebook login. Cannot be specified with app_secret_setting_name.
    appSecretSettingName string
    The app setting name that contains the app_secret value used for Facebook login. Cannot be specified with app_secret.
    oauthScopes string[]
    Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.
    app_id str
    The App ID of the Facebook app used for login.
    app_secret str
    The App Secret of the Facebook app used for Facebook login. Cannot be specified with app_secret_setting_name.
    app_secret_setting_name str
    The app setting name that contains the app_secret value used for Facebook login. Cannot be specified with app_secret.
    oauth_scopes Sequence[str]
    Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.
    appId String
    The App ID of the Facebook app used for login.
    appSecret String
    The App Secret of the Facebook app used for Facebook login. Cannot be specified with app_secret_setting_name.
    appSecretSettingName String
    The app setting name that contains the app_secret value used for Facebook login. Cannot be specified with app_secret.
    oauthScopes List<String>
    Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook login authentication.

    WindowsWebAppSlotAuthSettingsGithub, WindowsWebAppSlotAuthSettingsGithubArgs

    ClientId string
    The ID of the GitHub app used for login.
    ClientSecret string
    The Client Secret of the GitHub app used for GitHub login. Cannot be specified with client_secret_setting_name.
    ClientSecretSettingName string
    The app setting name that contains the client_secret value used for GitHub login. Cannot be specified with client_secret.
    OauthScopes List<string>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub login authentication.
    ClientId string
    The ID of the GitHub app used for login.
    ClientSecret string
    The Client Secret of the GitHub app used for GitHub login. Cannot be specified with client_secret_setting_name.
    ClientSecretSettingName string
    The app setting name that contains the client_secret value used for GitHub login. Cannot be specified with client_secret.
    OauthScopes []string
    Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub login authentication.
    clientId String
    The ID of the GitHub app used for login.
    clientSecret String
    The Client Secret of the GitHub app used for GitHub login. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName String
    The app setting name that contains the client_secret value used for GitHub login. Cannot be specified with client_secret.
    oauthScopes List<String>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub login authentication.
    clientId string
    The ID of the GitHub app used for login.
    clientSecret string
    The Client Secret of the GitHub app used for GitHub login. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName string
    The app setting name that contains the client_secret value used for GitHub login. Cannot be specified with client_secret.
    oauthScopes string[]
    Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub login authentication.
    client_id str
    The ID of the GitHub app used for login.
    client_secret str
    The Client Secret of the GitHub app used for GitHub login. Cannot be specified with client_secret_setting_name.
    client_secret_setting_name str
    The app setting name that contains the client_secret value used for GitHub login. Cannot be specified with client_secret.
    oauth_scopes Sequence[str]
    Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub login authentication.
    clientId String
    The ID of the GitHub app used for login.
    clientSecret String
    The Client Secret of the GitHub app used for GitHub login. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName String
    The app setting name that contains the client_secret value used for GitHub login. Cannot be specified with client_secret.
    oauthScopes List<String>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub login authentication.

    WindowsWebAppSlotAuthSettingsGoogle, WindowsWebAppSlotAuthSettingsGoogleArgs

    ClientId string
    The OpenID Connect Client ID for the Google web application.
    ClientSecret string
    The client secret associated with the Google web application. Cannot be specified with client_secret_setting_name.
    ClientSecretSettingName string
    The app setting name that contains the client_secret value used for Google login. Cannot be specified with client_secret.
    OauthScopes List<string>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, openid, profile, and email are used as default scopes.
    ClientId string
    The OpenID Connect Client ID for the Google web application.
    ClientSecret string
    The client secret associated with the Google web application. Cannot be specified with client_secret_setting_name.
    ClientSecretSettingName string
    The app setting name that contains the client_secret value used for Google login. Cannot be specified with client_secret.
    OauthScopes []string
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, openid, profile, and email are used as default scopes.
    clientId String
    The OpenID Connect Client ID for the Google web application.
    clientSecret String
    The client secret associated with the Google web application. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName String
    The app setting name that contains the client_secret value used for Google login. Cannot be specified with client_secret.
    oauthScopes List<String>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, openid, profile, and email are used as default scopes.
    clientId string
    The OpenID Connect Client ID for the Google web application.
    clientSecret string
    The client secret associated with the Google web application. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName string
    The app setting name that contains the client_secret value used for Google login. Cannot be specified with client_secret.
    oauthScopes string[]
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, openid, profile, and email are used as default scopes.
    client_id str
    The OpenID Connect Client ID for the Google web application.
    client_secret str
    The client secret associated with the Google web application. Cannot be specified with client_secret_setting_name.
    client_secret_setting_name str
    The app setting name that contains the client_secret value used for Google login. Cannot be specified with client_secret.
    oauth_scopes Sequence[str]
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, openid, profile, and email are used as default scopes.
    clientId String
    The OpenID Connect Client ID for the Google web application.
    clientSecret String
    The client secret associated with the Google web application. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName String
    The app setting name that contains the client_secret value used for Google login. Cannot be specified with client_secret.
    oauthScopes List<String>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, openid, profile, and email are used as default scopes.

    WindowsWebAppSlotAuthSettingsMicrosoft, WindowsWebAppSlotAuthSettingsMicrosoftArgs

    ClientId string
    The OAuth 2.0 client ID that was created for the app used for authentication.
    ClientSecret string
    The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
    ClientSecretSettingName string
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret.
    OauthScopes List<string>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
    ClientId string
    The OAuth 2.0 client ID that was created for the app used for authentication.
    ClientSecret string
    The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
    ClientSecretSettingName string
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret.
    OauthScopes []string
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
    clientId String
    The OAuth 2.0 client ID that was created for the app used for authentication.
    clientSecret String
    The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName String
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret.
    oauthScopes List<String>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
    clientId string
    The OAuth 2.0 client ID that was created for the app used for authentication.
    clientSecret string
    The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName string
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret.
    oauthScopes string[]
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
    client_id str
    The OAuth 2.0 client ID that was created for the app used for authentication.
    client_secret str
    The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
    client_secret_setting_name str
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret.
    oauth_scopes Sequence[str]
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.
    clientId String
    The OAuth 2.0 client ID that was created for the app used for authentication.
    clientSecret String
    The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret_setting_name.
    clientSecretSettingName String
    The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with client_secret.
    oauthScopes List<String>
    Specifies a list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, "wl.basic" is used as the default scope.

    WindowsWebAppSlotAuthSettingsTwitter, WindowsWebAppSlotAuthSettingsTwitterArgs

    ConsumerKey string
    The OAuth 1.0a consumer key of the Twitter application used for sign-in.
    ConsumerSecret string
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret_setting_name.
    ConsumerSecretSettingName string
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret.
    ConsumerKey string
    The OAuth 1.0a consumer key of the Twitter application used for sign-in.
    ConsumerSecret string
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret_setting_name.
    ConsumerSecretSettingName string
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret.
    consumerKey String
    The OAuth 1.0a consumer key of the Twitter application used for sign-in.
    consumerSecret String
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret_setting_name.
    consumerSecretSettingName String
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret.
    consumerKey string
    The OAuth 1.0a consumer key of the Twitter application used for sign-in.
    consumerSecret string
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret_setting_name.
    consumerSecretSettingName string
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret.
    consumer_key str
    The OAuth 1.0a consumer key of the Twitter application used for sign-in.
    consumer_secret str
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret_setting_name.
    consumer_secret_setting_name str
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret.
    consumerKey String
    The OAuth 1.0a consumer key of the Twitter application used for sign-in.
    consumerSecret String
    The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret_setting_name.
    consumerSecretSettingName String
    The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with consumer_secret.

    WindowsWebAppSlotAuthSettingsV2, WindowsWebAppSlotAuthSettingsV2Args

    Login WindowsWebAppSlotAuthSettingsV2Login
    A login block as defined below.
    ActiveDirectoryV2 WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2
    An active_directory_v2 block as defined below.
    AppleV2 WindowsWebAppSlotAuthSettingsV2AppleV2
    An apple_v2 block as defined below.
    AuthEnabled bool
    Should the AuthV2 Settings be enabled. Defaults to false.
    AzureStaticWebAppV2 WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2
    An azure_static_web_app_v2 block as defined below.
    ConfigFilePath string

    The path to the App Auth settings.

    Note: Relative Paths are evaluated from the Site Root directory.

    CustomOidcV2s List<WindowsWebAppSlotAuthSettingsV2CustomOidcV2>
    Zero or more custom_oidc_v2 blocks as defined below.
    DefaultProvider string

    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.

    ExcludedPaths List<string>

    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.

    FacebookV2 WindowsWebAppSlotAuthSettingsV2FacebookV2
    A facebook_v2 block as defined below.
    ForwardProxyConvention string
    The convention used to determine the url of the request made. Possible values include NoProxy, Standard, Custom. Defaults to NoProxy.
    ForwardProxyCustomHostHeaderName string
    The name of the custom header containing the host of the request.
    ForwardProxyCustomSchemeHeaderName string
    The name of the custom header containing the scheme of the request.
    GithubV2 WindowsWebAppSlotAuthSettingsV2GithubV2
    A github_v2 block as defined below.
    GoogleV2 WindowsWebAppSlotAuthSettingsV2GoogleV2
    A google_v2 block as defined below.
    HttpRouteApiPrefix string
    The prefix that should precede all the authentication and authorisation paths. Defaults to /.auth.
    MicrosoftV2 WindowsWebAppSlotAuthSettingsV2MicrosoftV2
    A microsoft_v2 block as defined below.
    RequireAuthentication bool
    Should the authentication flow be used for all requests.
    RequireHttps bool
    Should HTTPS be required on connections? Defaults to true.
    RuntimeVersion string
    The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to ~1.
    TwitterV2 WindowsWebAppSlotAuthSettingsV2TwitterV2
    A twitter_v2 block as defined below.
    UnauthenticatedAction string
    The action to take for requests made without authentication. Possible values include RedirectToLoginPage, AllowAnonymous, Return401, and Return403. Defaults to RedirectToLoginPage.
    Login WindowsWebAppSlotAuthSettingsV2Login
    A login block as defined below.
    ActiveDirectoryV2 WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2
    An active_directory_v2 block as defined below.
    AppleV2 WindowsWebAppSlotAuthSettingsV2AppleV2
    An apple_v2 block as defined below.
    AuthEnabled bool
    Should the AuthV2 Settings be enabled. Defaults to false.
    AzureStaticWebAppV2 WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2
    An azure_static_web_app_v2 block as defined below.
    ConfigFilePath string

    The path to the App Auth settings.

    Note: Relative Paths are evaluated from the Site Root directory.

    CustomOidcV2s []WindowsWebAppSlotAuthSettingsV2CustomOidcV2
    Zero or more custom_oidc_v2 blocks as defined below.
    DefaultProvider string

    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.

    ExcludedPaths []string

    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.

    FacebookV2 WindowsWebAppSlotAuthSettingsV2FacebookV2
    A facebook_v2 block as defined below.
    ForwardProxyConvention string
    The convention used to determine the url of the request made. Possible values include NoProxy, Standard, Custom. Defaults to NoProxy.
    ForwardProxyCustomHostHeaderName string
    The name of the custom header containing the host of the request.
    ForwardProxyCustomSchemeHeaderName string
    The name of the custom header containing the scheme of the request.
    GithubV2 WindowsWebAppSlotAuthSettingsV2GithubV2
    A github_v2 block as defined below.
    GoogleV2 WindowsWebAppSlotAuthSettingsV2GoogleV2
    A google_v2 block as defined below.
    HttpRouteApiPrefix string
    The prefix that should precede all the authentication and authorisation paths. Defaults to /.auth.
    MicrosoftV2 WindowsWebAppSlotAuthSettingsV2MicrosoftV2
    A microsoft_v2 block as defined below.
    RequireAuthentication bool
    Should the authentication flow be used for all requests.
    RequireHttps bool
    Should HTTPS be required on connections? Defaults to true.
    RuntimeVersion string
    The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to ~1.
    TwitterV2 WindowsWebAppSlotAuthSettingsV2TwitterV2
    A twitter_v2 block as defined below.
    UnauthenticatedAction string
    The action to take for requests made without authentication. Possible values include RedirectToLoginPage, AllowAnonymous, Return401, and Return403. Defaults to RedirectToLoginPage.
    login WindowsWebAppSlotAuthSettingsV2Login
    A login block as defined below.
    activeDirectoryV2 WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2
    An active_directory_v2 block as defined below.
    appleV2 WindowsWebAppSlotAuthSettingsV2AppleV2
    An apple_v2 block as defined below.
    authEnabled Boolean
    Should the AuthV2 Settings be enabled. Defaults to false.
    azureStaticWebAppV2 WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2
    An azure_static_web_app_v2 block as defined below.
    configFilePath String

    The path to the App Auth settings.

    Note: Relative Paths are evaluated from the Site Root directory.

    customOidcV2s List<WindowsWebAppSlotAuthSettingsV2CustomOidcV2>
    Zero or more custom_oidc_v2 blocks as defined below.
    defaultProvider String

    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.

    excludedPaths List<String>

    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.

    facebookV2 WindowsWebAppSlotAuthSettingsV2FacebookV2
    A facebook_v2 block as defined below.
    forwardProxyConvention String
    The convention used to determine the url of the request made. Possible values include NoProxy, Standard, Custom. Defaults to NoProxy.
    forwardProxyCustomHostHeaderName String
    The name of the custom header containing the host of the request.
    forwardProxyCustomSchemeHeaderName String
    The name of the custom header containing the scheme of the request.
    githubV2 WindowsWebAppSlotAuthSettingsV2GithubV2
    A github_v2 block as defined below.
    googleV2 WindowsWebAppSlotAuthSettingsV2GoogleV2
    A google_v2 block as defined below.
    httpRouteApiPrefix String
    The prefix that should precede all the authentication and authorisation paths. Defaults to /.auth.
    microsoftV2 WindowsWebAppSlotAuthSettingsV2MicrosoftV2
    A microsoft_v2 block as defined below.
    requireAuthentication Boolean
    Should the authentication flow be used for all requests.
    requireHttps Boolean
    Should HTTPS be required on connections? Defaults to true.
    runtimeVersion String
    The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to ~1.
    twitterV2 WindowsWebAppSlotAuthSettingsV2TwitterV2
    A twitter_v2 block as defined below.
    unauthenticatedAction String
    The action to take for requests made without authentication. Possible values include RedirectToLoginPage, AllowAnonymous, Return401, and Return403. Defaults to RedirectToLoginPage.
    login WindowsWebAppSlotAuthSettingsV2Login
    A login block as defined below.
    activeDirectoryV2 WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2
    An active_directory_v2 block as defined below.
    appleV2 WindowsWebAppSlotAuthSettingsV2AppleV2
    An apple_v2 block as defined below.
    authEnabled boolean
    Should the AuthV2 Settings be enabled. Defaults to false.
    azureStaticWebAppV2 WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2
    An azure_static_web_app_v2 block as defined below.
    configFilePath string

    The path to the App Auth settings.

    Note: Relative Paths are evaluated from the Site Root directory.

    customOidcV2s WindowsWebAppSlotAuthSettingsV2CustomOidcV2[]
    Zero or more custom_oidc_v2 blocks as defined below.
    defaultProvider string

    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.

    excludedPaths string[]

    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.

    facebookV2 WindowsWebAppSlotAuthSettingsV2FacebookV2
    A facebook_v2 block as defined below.
    forwardProxyConvention string
    The convention used to determine the url of the request made. Possible values include NoProxy, Standard, Custom. Defaults to NoProxy.
    forwardProxyCustomHostHeaderName string
    The name of the custom header containing the host of the request.
    forwardProxyCustomSchemeHeaderName string
    The name of the custom header containing the scheme of the request.
    githubV2 WindowsWebAppSlotAuthSettingsV2GithubV2
    A github_v2 block as defined below.
    googleV2 WindowsWebAppSlotAuthSettingsV2GoogleV2
    A google_v2 block as defined below.
    httpRouteApiPrefix string
    The prefix that should precede all the authentication and authorisation paths. Defaults to /.auth.
    microsoftV2 WindowsWebAppSlotAuthSettingsV2MicrosoftV2
    A microsoft_v2 block as defined below.
    requireAuthentication boolean
    Should the authentication flow be used for all requests.
    requireHttps boolean
    Should HTTPS be required on connections? Defaults to true.
    runtimeVersion string
    The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to ~1.
    twitterV2 WindowsWebAppSlotAuthSettingsV2TwitterV2
    A twitter_v2 block as defined below.
    unauthenticatedAction string
    The action to take for requests made without authentication. Possible values include RedirectToLoginPage, AllowAnonymous, Return401, and Return403. Defaults to RedirectToLoginPage.
    login WindowsWebAppSlotAuthSettingsV2Login
    A login block as defined below.
    active_directory_v2 WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2
    An active_directory_v2 block as defined below.
    apple_v2 WindowsWebAppSlotAuthSettingsV2AppleV2
    An apple_v2 block as defined below.
    auth_enabled bool
    Should the AuthV2 Settings be enabled. Defaults to false.
    azure_static_web_app_v2 WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2
    An azure_static_web_app_v2 block as defined below.
    config_file_path str

    The path to the App Auth settings.

    Note: Relative Paths are evaluated from the Site Root directory.

    custom_oidc_v2s Sequence[WindowsWebAppSlotAuthSettingsV2CustomOidcV2]
    Zero or more custom_oidc_v2 blocks as defined below.
    default_provider str

    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.

    excluded_paths Sequence[str]

    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.

    facebook_v2 WindowsWebAppSlotAuthSettingsV2FacebookV2
    A facebook_v2 block as defined below.
    forward_proxy_convention str
    The convention used to determine the url of the request made. Possible values include NoProxy, Standard, Custom. Defaults to NoProxy.
    forward_proxy_custom_host_header_name str
    The name of the custom header containing the host of the request.
    forward_proxy_custom_scheme_header_name str
    The name of the custom header containing the scheme of the request.
    github_v2 WindowsWebAppSlotAuthSettingsV2GithubV2
    A github_v2 block as defined below.
    google_v2 WindowsWebAppSlotAuthSettingsV2GoogleV2
    A google_v2 block as defined below.
    http_route_api_prefix str
    The prefix that should precede all the authentication and authorisation paths. Defaults to /.auth.
    microsoft_v2 WindowsWebAppSlotAuthSettingsV2MicrosoftV2
    A microsoft_v2 block as defined below.
    require_authentication bool
    Should the authentication flow be used for all requests.
    require_https bool
    Should HTTPS be required on connections? Defaults to true.
    runtime_version str
    The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to ~1.
    twitter_v2 WindowsWebAppSlotAuthSettingsV2TwitterV2
    A twitter_v2 block as defined below.
    unauthenticated_action str
    The action to take for requests made without authentication. Possible values include RedirectToLoginPage, AllowAnonymous, Return401, and Return403. Defaults to RedirectToLoginPage.
    login Property Map
    A login block as defined below.
    activeDirectoryV2 Property Map
    An active_directory_v2 block as defined below.
    appleV2 Property Map
    An apple_v2 block as defined below.
    authEnabled Boolean
    Should the AuthV2 Settings be enabled. Defaults to false.
    azureStaticWebAppV2 Property Map
    An azure_static_web_app_v2 block as defined below.
    configFilePath String

    The path to the App Auth settings.

    Note: Relative Paths are evaluated from the Site Root directory.

    customOidcV2s List<Property Map>
    Zero or more custom_oidc_v2 blocks as defined below.
    defaultProvider String

    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.

    excludedPaths List<String>

    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.

    facebookV2 Property Map
    A facebook_v2 block as defined below.
    forwardProxyConvention String
    The convention used to determine the url of the request made. Possible values include NoProxy, Standard, Custom. Defaults to NoProxy.
    forwardProxyCustomHostHeaderName String
    The name of the custom header containing the host of the request.
    forwardProxyCustomSchemeHeaderName String
    The name of the custom header containing the scheme of the request.
    githubV2 Property Map
    A github_v2 block as defined below.
    googleV2 Property Map
    A google_v2 block as defined below.
    httpRouteApiPrefix String
    The prefix that should precede all the authentication and authorisation paths. Defaults to /.auth.
    microsoftV2 Property Map
    A microsoft_v2 block as defined below.
    requireAuthentication Boolean
    Should the authentication flow be used for all requests.
    requireHttps Boolean
    Should HTTPS be required on connections? Defaults to true.
    runtimeVersion String
    The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to ~1.
    twitterV2 Property Map
    A twitter_v2 block as defined below.
    unauthenticatedAction String
    The action to take for requests made without authentication. Possible values include RedirectToLoginPage, AllowAnonymous, Return401, and Return403. Defaults to RedirectToLoginPage.

    WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2, WindowsWebAppSlotAuthSettingsV2ActiveDirectoryV2Args

    ClientId string
    The ID of the Client to use to authenticate with Azure Active Directory.
    TenantAuthEndpoint string

    The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/{tenant-guid}/v2.0/

    NOTE: Here is a list of possible authentication endpoints based on the cloud environment. Here is more information to better understand how to configure authentication for Azure App Service or Azure Functions.

    AllowedApplications List<string>
    The list of allowed Applications for the Default Authorisation Policy.
    AllowedAudiences List<string>

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    AllowedGroups List<string>
    The list of allowed Group Names for the Default Authorisation Policy.
    AllowedIdentities List<string>
    The list of allowed Identities for the Default Authorisation Policy.
    ClientSecretCertificateThumbprint string
    The thumbprint of the certificate used for signing purposes.
    ClientSecretSettingName string

    The App Setting name that contains the client secret of the Client.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    JwtAllowedClientApplications List<string>
    A list of Allowed Client Applications in the JWT Claim.
    JwtAllowedGroups List<string>
    A list of Allowed Groups in the JWT Claim.
    LoginParameters Dictionary<string, string>
    A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
    WwwAuthenticationDisabled bool
    Should the www-authenticate provider should be omitted from the request? Defaults to false.
    ClientId string
    The ID of the Client to use to authenticate with Azure Active Directory.
    TenantAuthEndpoint string

    The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/{tenant-guid}/v2.0/

    NOTE: Here is a list of possible authentication endpoints based on the cloud environment. Here is more information to better understand how to configure authentication for Azure App Service or Azure Functions.

    AllowedApplications []string
    The list of allowed Applications for the Default Authorisation Policy.
    AllowedAudiences []string

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    AllowedGroups []string
    The list of allowed Group Names for the Default Authorisation Policy.
    AllowedIdentities []string
    The list of allowed Identities for the Default Authorisation Policy.
    ClientSecretCertificateThumbprint string
    The thumbprint of the certificate used for signing purposes.
    ClientSecretSettingName string

    The App Setting name that contains the client secret of the Client.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    JwtAllowedClientApplications []string
    A list of Allowed Client Applications in the JWT Claim.
    JwtAllowedGroups []string
    A list of Allowed Groups in the JWT Claim.
    LoginParameters map[string]string
    A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
    WwwAuthenticationDisabled bool
    Should the www-authenticate provider should be omitted from the request? Defaults to false.
    clientId String
    The ID of the Client to use to authenticate with Azure Active Directory.
    tenantAuthEndpoint String

    The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/{tenant-guid}/v2.0/

    NOTE: Here is a list of possible authentication endpoints based on the cloud environment. Here is more information to better understand how to configure authentication for Azure App Service or Azure Functions.

    allowedApplications List<String>
    The list of allowed Applications for the Default Authorisation Policy.
    allowedAudiences List<String>

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    allowedGroups List<String>
    The list of allowed Group Names for the Default Authorisation Policy.
    allowedIdentities List<String>
    The list of allowed Identities for the Default Authorisation Policy.
    clientSecretCertificateThumbprint String
    The thumbprint of the certificate used for signing purposes.
    clientSecretSettingName String

    The App Setting name that contains the client secret of the Client.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    jwtAllowedClientApplications List<String>
    A list of Allowed Client Applications in the JWT Claim.
    jwtAllowedGroups List<String>
    A list of Allowed Groups in the JWT Claim.
    loginParameters Map<String,String>
    A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
    wwwAuthenticationDisabled Boolean
    Should the www-authenticate provider should be omitted from the request? Defaults to false.
    clientId string
    The ID of the Client to use to authenticate with Azure Active Directory.
    tenantAuthEndpoint string

    The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/{tenant-guid}/v2.0/

    NOTE: Here is a list of possible authentication endpoints based on the cloud environment. Here is more information to better understand how to configure authentication for Azure App Service or Azure Functions.

    allowedApplications string[]
    The list of allowed Applications for the Default Authorisation Policy.
    allowedAudiences string[]

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    allowedGroups string[]
    The list of allowed Group Names for the Default Authorisation Policy.
    allowedIdentities string[]
    The list of allowed Identities for the Default Authorisation Policy.
    clientSecretCertificateThumbprint string
    The thumbprint of the certificate used for signing purposes.
    clientSecretSettingName string

    The App Setting name that contains the client secret of the Client.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    jwtAllowedClientApplications string[]
    A list of Allowed Client Applications in the JWT Claim.
    jwtAllowedGroups string[]
    A list of Allowed Groups in the JWT Claim.
    loginParameters {[key: string]: string}
    A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
    wwwAuthenticationDisabled boolean
    Should the www-authenticate provider should be omitted from the request? Defaults to false.
    client_id str
    The ID of the Client to use to authenticate with Azure Active Directory.
    tenant_auth_endpoint str

    The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/{tenant-guid}/v2.0/

    NOTE: Here is a list of possible authentication endpoints based on the cloud environment. Here is more information to better understand how to configure authentication for Azure App Service or Azure Functions.

    allowed_applications Sequence[str]
    The list of allowed Applications for the Default Authorisation Policy.
    allowed_audiences Sequence[str]

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    allowed_groups Sequence[str]
    The list of allowed Group Names for the Default Authorisation Policy.
    allowed_identities Sequence[str]
    The list of allowed Identities for the Default Authorisation Policy.
    client_secret_certificate_thumbprint str
    The thumbprint of the certificate used for signing purposes.
    client_secret_setting_name str

    The App Setting name that contains the client secret of the Client.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    jwt_allowed_client_applications Sequence[str]
    A list of Allowed Client Applications in the JWT Claim.
    jwt_allowed_groups Sequence[str]
    A list of Allowed Groups in the JWT Claim.
    login_parameters Mapping[str, str]
    A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
    www_authentication_disabled bool
    Should the www-authenticate provider should be omitted from the request? Defaults to false.
    clientId String
    The ID of the Client to use to authenticate with Azure Active Directory.
    tenantAuthEndpoint String

    The Azure Tenant Endpoint for the Authenticating Tenant. e.g. https://login.microsoftonline.com/{tenant-guid}/v2.0/

    NOTE: Here is a list of possible authentication endpoints based on the cloud environment. Here is more information to better understand how to configure authentication for Azure App Service or Azure Functions.

    allowedApplications List<String>
    The list of allowed Applications for the Default Authorisation Policy.
    allowedAudiences List<String>

    Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    allowedGroups List<String>
    The list of allowed Group Names for the Default Authorisation Policy.
    allowedIdentities List<String>
    The list of allowed Identities for the Default Authorisation Policy.
    clientSecretCertificateThumbprint String
    The thumbprint of the certificate used for signing purposes.
    clientSecretSettingName String

    The App Setting name that contains the client secret of the Client.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    jwtAllowedClientApplications List<String>
    A list of Allowed Client Applications in the JWT Claim.
    jwtAllowedGroups List<String>
    A list of Allowed Groups in the JWT Claim.
    loginParameters Map<String>
    A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.
    wwwAuthenticationDisabled Boolean
    Should the www-authenticate provider should be omitted from the request? Defaults to false.

    WindowsWebAppSlotAuthSettingsV2AppleV2, WindowsWebAppSlotAuthSettingsV2AppleV2Args

    ClientId string
    The OpenID Connect Client ID for the Apple web application.
    ClientSecretSettingName string

    The app setting name that contains the client_secret value used for Apple Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    LoginScopes List<string>

    A list of Login Scopes provided by this Authentication Provider.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    ClientId string
    The OpenID Connect Client ID for the Apple web application.
    ClientSecretSettingName string

    The app setting name that contains the client_secret value used for Apple Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    LoginScopes []string

    A list of Login Scopes provided by this Authentication Provider.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    clientId String
    The OpenID Connect Client ID for the Apple web application.
    clientSecretSettingName String

    The app setting name that contains the client_secret value used for Apple Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    loginScopes List<String>

    A list of Login Scopes provided by this Authentication Provider.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    clientId string
    The OpenID Connect Client ID for the Apple web application.
    clientSecretSettingName string

    The app setting name that contains the client_secret value used for Apple Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    loginScopes string[]

    A list of Login Scopes provided by this Authentication Provider.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    client_id str
    The OpenID Connect Client ID for the Apple web application.
    client_secret_setting_name str

    The app setting name that contains the client_secret value used for Apple Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    login_scopes Sequence[str]

    A list of Login Scopes provided by this Authentication Provider.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    clientId String
    The OpenID Connect Client ID for the Apple web application.
    clientSecretSettingName String

    The app setting name that contains the client_secret value used for Apple Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    loginScopes List<String>

    A list of Login Scopes provided by this Authentication Provider.

    NOTE: This is configured on the Authentication Provider side and is Read Only here.

    WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2, WindowsWebAppSlotAuthSettingsV2AzureStaticWebAppV2Args

    ClientId string
    The ID of the Client to use to authenticate with Azure Static Web App Authentication.
    ClientId string
    The ID of the Client to use to authenticate with Azure Static Web App Authentication.
    clientId String
    The ID of the Client to use to authenticate with Azure Static Web App Authentication.
    clientId string
    The ID of the Client to use to authenticate with Azure Static Web App Authentication.
    client_id str
    The ID of the Client to use to authenticate with Azure Static Web App Authentication.
    clientId String
    The ID of the Client to use to authenticate with Azure Static Web App Authentication.

    WindowsWebAppSlotAuthSettingsV2CustomOidcV2, WindowsWebAppSlotAuthSettingsV2CustomOidcV2Args

    ClientId string
    The ID of the Client to use to authenticate with the Custom OIDC.
    Name string

    The name of the Custom OIDC Authentication Provider.

    NOTE: An app_setting matching this value in upper case with the suffix of _PROVIDER_AUTHENTICATION_SECRET is required. e.g. MYOIDC_PROVIDER_AUTHENTICATION_SECRET for a value of myoidc.

    OpenidConfigurationEndpoint string
    The app setting name that contains the client_secret value used for the Custom OIDC Login.
    AuthorisationEndpoint string
    The endpoint to make the Authorisation Request as supplied by openid_configuration_endpoint response.
    CertificationUri string
    The endpoint that provides the keys necessary to validate the token as supplied by openid_configuration_endpoint response.
    ClientCredentialMethod string
    The Client Credential Method used.
    ClientSecretSettingName string
    The App Setting name that contains the secret for this Custom OIDC Client. This is generated from name above and suffixed with _PROVIDER_AUTHENTICATION_SECRET.
    IssuerEndpoint string
    The endpoint that issued the Token as supplied by openid_configuration_endpoint response.
    NameClaimType string
    The name of the claim that contains the users name.
    Scopes List<string>
    The list of the scopes that should be requested while authenticating.
    TokenEndpoint string
    The endpoint used to request a Token as supplied by openid_configuration_endpoint response.
    ClientId string
    The ID of the Client to use to authenticate with the Custom OIDC.
    Name string

    The name of the Custom OIDC Authentication Provider.

    NOTE: An app_setting matching this value in upper case with the suffix of _PROVIDER_AUTHENTICATION_SECRET is required. e.g. MYOIDC_PROVIDER_AUTHENTICATION_SECRET for a value of myoidc.

    OpenidConfigurationEndpoint string
    The app setting name that contains the client_secret value used for the Custom OIDC Login.
    AuthorisationEndpoint string
    The endpoint to make the Authorisation Request as supplied by openid_configuration_endpoint response.
    CertificationUri string
    The endpoint that provides the keys necessary to validate the token as supplied by openid_configuration_endpoint response.
    ClientCredentialMethod string
    The Client Credential Method used.
    ClientSecretSettingName string
    The App Setting name that contains the secret for this Custom OIDC Client. This is generated from name above and suffixed with _PROVIDER_AUTHENTICATION_SECRET.
    IssuerEndpoint string
    The endpoint that issued the Token as supplied by openid_configuration_endpoint response.
    NameClaimType string
    The name of the claim that contains the users name.
    Scopes []string
    The list of the scopes that should be requested while authenticating.
    TokenEndpoint string
    The endpoint used to request a Token as supplied by openid_configuration_endpoint response.
    clientId String
    The ID of the Client to use to authenticate with the Custom OIDC.
    name String

    The name of the Custom OIDC Authentication Provider.

    NOTE: An app_setting matching this value in upper case with the suffix of _PROVIDER_AUTHENTICATION_SECRET is required. e.g. MYOIDC_PROVIDER_AUTHENTICATION_SECRET for a value of myoidc.

    openidConfigurationEndpoint String
    The app setting name that contains the client_secret value used for the Custom OIDC Login.
    authorisationEndpoint String
    The endpoint to make the Authorisation Request as supplied by openid_configuration_endpoint response.
    certificationUri String
    The endpoint that provides the keys necessary to validate the token as supplied by openid_configuration_endpoint response.
    clientCredentialMethod String
    The Client Credential Method used.
    clientSecretSettingName String
    The App Setting name that contains the secret for this Custom OIDC Client. This is generated from name above and suffixed with _PROVIDER_AUTHENTICATION_SECRET.
    issuerEndpoint String
    The endpoint that issued the Token as supplied by openid_configuration_endpoint response.
    nameClaimType String
    The name of the claim that contains the users name.
    scopes List<String>
    The list of the scopes that should be requested while authenticating.
    tokenEndpoint String
    The endpoint used to request a Token as supplied by openid_configuration_endpoint response.
    clientId string
    The ID of the Client to use to authenticate with the Custom OIDC.
    name string

    The name of the Custom OIDC Authentication Provider.

    NOTE: An app_setting matching this value in upper case with the suffix of _PROVIDER_AUTHENTICATION_SECRET is required. e.g. MYOIDC_PROVIDER_AUTHENTICATION_SECRET for a value of myoidc.

    openidConfigurationEndpoint string
    The app setting name that contains the client_secret value used for the Custom OIDC Login.
    authorisationEndpoint string
    The endpoint to make the Authorisation Request as supplied by openid_configuration_endpoint response.
    certificationUri string
    The endpoint that provides the keys necessary to validate the token as supplied by openid_configuration_endpoint response.
    clientCredentialMethod string
    The Client Credential Method used.
    clientSecretSettingName string
    The App Setting name that contains the secret for this Custom OIDC Client. This is generated from name above and suffixed with _PROVIDER_AUTHENTICATION_SECRET.
    issuerEndpoint string
    The endpoint that issued the Token as supplied by openid_configuration_endpoint response.
    nameClaimType string
    The name of the claim that contains the users name.
    scopes string[]
    The list of the scopes that should be requested while authenticating.
    tokenEndpoint string
    The endpoint used to request a Token as supplied by openid_configuration_endpoint response.
    client_id str
    The ID of the Client to use to authenticate with the Custom OIDC.
    name str

    The name of the Custom OIDC Authentication Provider.

    NOTE: An app_setting matching this value in upper case with the suffix of _PROVIDER_AUTHENTICATION_SECRET is required. e.g. MYOIDC_PROVIDER_AUTHENTICATION_SECRET for a value of myoidc.

    openid_configuration_endpoint str
    The app setting name that contains the client_secret value used for the Custom OIDC Login.
    authorisation_endpoint str
    The endpoint to make the Authorisation Request as supplied by openid_configuration_endpoint response.
    certification_uri str
    The endpoint that provides the keys necessary to validate the token as supplied by openid_configuration_endpoint response.
    client_credential_method str
    The Client Credential Method used.
    client_secret_setting_name str
    The App Setting name that contains the secret for this Custom OIDC Client. This is generated from name above and suffixed with _PROVIDER_AUTHENTICATION_SECRET.
    issuer_endpoint str
    The endpoint that issued the Token as supplied by openid_configuration_endpoint response.
    name_claim_type str
    The name of the claim that contains the users name.
    scopes Sequence[str]
    The list of the scopes that should be requested while authenticating.
    token_endpoint str
    The endpoint used to request a Token as supplied by openid_configuration_endpoint response.
    clientId String
    The ID of the Client to use to authenticate with the Custom OIDC.
    name String

    The name of the Custom OIDC Authentication Provider.

    NOTE: An app_setting matching this value in upper case with the suffix of _PROVIDER_AUTHENTICATION_SECRET is required. e.g. MYOIDC_PROVIDER_AUTHENTICATION_SECRET for a value of myoidc.

    openidConfigurationEndpoint String
    The app setting name that contains the client_secret value used for the Custom OIDC Login.
    authorisationEndpoint String
    The endpoint to make the Authorisation Request as supplied by openid_configuration_endpoint response.
    certificationUri String
    The endpoint that provides the keys necessary to validate the token as supplied by openid_configuration_endpoint response.
    clientCredentialMethod String
    The Client Credential Method used.
    clientSecretSettingName String
    The App Setting name that contains the secret for this Custom OIDC Client. This is generated from name above and suffixed with _PROVIDER_AUTHENTICATION_SECRET.
    issuerEndpoint String
    The endpoint that issued the Token as supplied by openid_configuration_endpoint response.
    nameClaimType String
    The name of the claim that contains the users name.
    scopes List<String>
    The list of the scopes that should be requested while authenticating.
    tokenEndpoint String
    The endpoint used to request a Token as supplied by openid_configuration_endpoint response.

    WindowsWebAppSlotAuthSettingsV2FacebookV2, WindowsWebAppSlotAuthSettingsV2FacebookV2Args

    AppId string
    The App ID of the Facebook app used for login.
    AppSecretSettingName string

    The app setting name that contains the app_secret value used for Facebook Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    GraphApiVersion string
    The version of the Facebook API to be used while logging in.
    LoginScopes List<string>
    The list of scopes that should be requested as part of Facebook Login authentication.
    AppId string
    The App ID of the Facebook app used for login.
    AppSecretSettingName string

    The app setting name that contains the app_secret value used for Facebook Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    GraphApiVersion string
    The version of the Facebook API to be used while logging in.
    LoginScopes []string
    The list of scopes that should be requested as part of Facebook Login authentication.
    appId String
    The App ID of the Facebook app used for login.
    appSecretSettingName String

    The app setting name that contains the app_secret value used for Facebook Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    graphApiVersion String
    The version of the Facebook API to be used while logging in.
    loginScopes List<String>
    The list of scopes that should be requested as part of Facebook Login authentication.
    appId string
    The App ID of the Facebook app used for login.
    appSecretSettingName string

    The app setting name that contains the app_secret value used for Facebook Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    graphApiVersion string
    The version of the Facebook API to be used while logging in.
    loginScopes string[]
    The list of scopes that should be requested as part of Facebook Login authentication.
    app_id str
    The App ID of the Facebook app used for login.
    app_secret_setting_name str

    The app setting name that contains the app_secret value used for Facebook Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    graph_api_version str
    The version of the Facebook API to be used while logging in.
    login_scopes Sequence[str]
    The list of scopes that should be requested as part of Facebook Login authentication.
    appId String
    The App ID of the Facebook app used for login.
    appSecretSettingName String

    The app setting name that contains the app_secret value used for Facebook Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    graphApiVersion String
    The version of the Facebook API to be used while logging in.
    loginScopes List<String>
    The list of scopes that should be requested as part of Facebook Login authentication.

    WindowsWebAppSlotAuthSettingsV2GithubV2, WindowsWebAppSlotAuthSettingsV2GithubV2Args

    ClientId string
    The ID of the GitHub app used for login..
    ClientSecretSettingName string

    The app setting name that contains the client_secret value used for GitHub Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    LoginScopes List<string>
    The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.
    ClientId string
    The ID of the GitHub app used for login..
    ClientSecretSettingName string

    The app setting name that contains the client_secret value used for GitHub Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    LoginScopes []string
    The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.
    clientId String
    The ID of the GitHub app used for login..
    clientSecretSettingName String

    The app setting name that contains the client_secret value used for GitHub Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    loginScopes List<String>
    The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.
    clientId string
    The ID of the GitHub app used for login..
    clientSecretSettingName string

    The app setting name that contains the client_secret value used for GitHub Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    loginScopes string[]
    The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.
    client_id str
    The ID of the GitHub app used for login..
    client_secret_setting_name str

    The app setting name that contains the client_secret value used for GitHub Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    login_scopes Sequence[str]
    The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.
    clientId String
    The ID of the GitHub app used for login..
    clientSecretSettingName String

    The app setting name that contains the client_secret value used for GitHub Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    loginScopes List<String>
    The list of OAuth 2.0 scopes that should be requested as part of GitHub Login authentication.

    WindowsWebAppSlotAuthSettingsV2GoogleV2, WindowsWebAppSlotAuthSettingsV2GoogleV2Args

    ClientId string
    The OpenID Connect Client ID for the Google web application.
    ClientSecretSettingName string

    The app setting name that contains the client_secret value used for Google Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    AllowedAudiences List<string>
    Specifies a list of Allowed Audiences that should be requested as part of Google Sign-In authentication.
    LoginScopes List<string>
    The list of OAuth 2.0 scopes that should be requested as part of Google Sign-In authentication.
    ClientId string
    The OpenID Connect Client ID for the Google web application.
    ClientSecretSettingName string

    The app setting name that contains the client_secret value used for Google Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    AllowedAudiences []string
    Specifies a list of Allowed Audiences that should be requested as part of Google Sign-In authentication.
    LoginScopes []string
    The list of OAuth 2.0 scopes that should be requested as part of Google Sign-In authentication.
    clientId String
    The OpenID Connect Client ID for the Google web application.
    clientSecretSettingName String

    The app setting name that contains the client_secret value used for Google Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    allowedAudiences List<String>
    Specifies a list of Allowed Audiences that should be requested as part of Google Sign-In authentication.
    loginScopes List<String>
    The list of OAuth 2.0 scopes that should be requested as part of Google Sign-In authentication.
    clientId string
    The OpenID Connect Client ID for the Google web application.
    clientSecretSettingName string

    The app setting name that contains the client_secret value used for Google Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    allowedAudiences string[]
    Specifies a list of Allowed Audiences that should be requested as part of Google Sign-In authentication.
    loginScopes string[]
    The list of OAuth 2.0 scopes that should be requested as part of Google Sign-In authentication.
    client_id str
    The OpenID Connect Client ID for the Google web application.
    client_secret_setting_name str

    The app setting name that contains the client_secret value used for Google Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    allowed_audiences Sequence[str]
    Specifies a list of Allowed Audiences that should be requested as part of Google Sign-In authentication.
    login_scopes Sequence[str]
    The list of OAuth 2.0 scopes that should be requested as part of Google Sign-In authentication.
    clientId String
    The OpenID Connect Client ID for the Google web application.
    clientSecretSettingName String

    The app setting name that contains the client_secret value used for Google Login.

    !> NOTE: A setting with this name must exist in app_settings to function correctly.

    allowedAudiences List<String>
    Specifies a list of Allowed Audiences that should be requested as part of Google Sign-In authentication.
    loginScopes List<String>
    The list of OAuth 2.0 scopes that should be requested as part of Google Sign-In authentication.

    WindowsWebAppSlotAuthSettingsV2Login, WindowsWebAppSlotAuthSettingsV2LoginArgs

    AllowedExternalRedirectUrls List<string>

    External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends.

    Note: URLs within the current domain are always implicitly allowed.

    CookieExpirationConvention string
    The method by which cookies expire. Possible values include: FixedTime, and IdentityProviderDerived. Defaults to FixedTime.
    CookieExpirationTime string
    The time after the request is made when the session cookie should expire. Defaults to 08:00:00.
    LogoutEndpoint string
    The endpoint to which logout requests should be made.
    NonceExpirationTime string
    The time after the request is made when the nonce should expire. Defaults to 00:05:00.
    PreserveUrlFragmentsForLogins bool
    Should the fragments from the request be preserved after the login request is made. Defaults to false.
    TokenRefreshExtensionTime double
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    TokenStoreEnabled bool
    Should the Token Store configuration Enabled. Defaults to false
    TokenStorePath string
    The directory path in the App Filesystem in which the tokens will be stored.
    TokenStoreSasSettingName string
    The name of the app setting which contains the SAS URL of the blob storage containing the tokens.
    ValidateNonce bool
    Should the nonce be validated while completing the login flow. Defaults to true.
    AllowedExternalRedirectUrls []string

    External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends.

    Note: URLs within the current domain are always implicitly allowed.

    CookieExpirationConvention string
    The method by which cookies expire. Possible values include: FixedTime, and IdentityProviderDerived. Defaults to FixedTime.
    CookieExpirationTime string
    The time after the request is made when the session cookie should expire. Defaults to 08:00:00.
    LogoutEndpoint string
    The endpoint to which logout requests should be made.
    NonceExpirationTime string
    The time after the request is made when the nonce should expire. Defaults to 00:05:00.
    PreserveUrlFragmentsForLogins bool
    Should the fragments from the request be preserved after the login request is made. Defaults to false.
    TokenRefreshExtensionTime float64
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    TokenStoreEnabled bool
    Should the Token Store configuration Enabled. Defaults to false
    TokenStorePath string
    The directory path in the App Filesystem in which the tokens will be stored.
    TokenStoreSasSettingName string
    The name of the app setting which contains the SAS URL of the blob storage containing the tokens.
    ValidateNonce bool
    Should the nonce be validated while completing the login flow. Defaults to true.
    allowedExternalRedirectUrls List<String>

    External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends.

    Note: URLs within the current domain are always implicitly allowed.

    cookieExpirationConvention String
    The method by which cookies expire. Possible values include: FixedTime, and IdentityProviderDerived. Defaults to FixedTime.
    cookieExpirationTime String
    The time after the request is made when the session cookie should expire. Defaults to 08:00:00.
    logoutEndpoint String
    The endpoint to which logout requests should be made.
    nonceExpirationTime String
    The time after the request is made when the nonce should expire. Defaults to 00:05:00.
    preserveUrlFragmentsForLogins Boolean
    Should the fragments from the request be preserved after the login request is made. Defaults to false.
    tokenRefreshExtensionTime Double
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    tokenStoreEnabled Boolean
    Should the Token Store configuration Enabled. Defaults to false
    tokenStorePath String
    The directory path in the App Filesystem in which the tokens will be stored.
    tokenStoreSasSettingName String
    The name of the app setting which contains the SAS URL of the blob storage containing the tokens.
    validateNonce Boolean
    Should the nonce be validated while completing the login flow. Defaults to true.
    allowedExternalRedirectUrls string[]

    External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends.

    Note: URLs within the current domain are always implicitly allowed.

    cookieExpirationConvention string
    The method by which cookies expire. Possible values include: FixedTime, and IdentityProviderDerived. Defaults to FixedTime.
    cookieExpirationTime string
    The time after the request is made when the session cookie should expire. Defaults to 08:00:00.
    logoutEndpoint string
    The endpoint to which logout requests should be made.
    nonceExpirationTime string
    The time after the request is made when the nonce should expire. Defaults to 00:05:00.
    preserveUrlFragmentsForLogins boolean
    Should the fragments from the request be preserved after the login request is made. Defaults to false.
    tokenRefreshExtensionTime number
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    tokenStoreEnabled boolean
    Should the Token Store configuration Enabled. Defaults to false
    tokenStorePath string
    The directory path in the App Filesystem in which the tokens will be stored.
    tokenStoreSasSettingName string
    The name of the app setting which contains the SAS URL of the blob storage containing the tokens.
    validateNonce boolean
    Should the nonce be validated while completing the login flow. Defaults to true.
    allowed_external_redirect_urls Sequence[str]

    External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends.

    Note: URLs within the current domain are always implicitly allowed.

    cookie_expiration_convention str
    The method by which cookies expire. Possible values include: FixedTime, and IdentityProviderDerived. Defaults to FixedTime.
    cookie_expiration_time str
    The time after the request is made when the session cookie should expire. Defaults to 08:00:00.
    logout_endpoint str
    The endpoint to which logout requests should be made.
    nonce_expiration_time str
    The time after the request is made when the nonce should expire. Defaults to 00:05:00.
    preserve_url_fragments_for_logins bool
    Should the fragments from the request be preserved after the login request is made. Defaults to false.
    token_refresh_extension_time float
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    token_store_enabled bool
    Should the Token Store configuration Enabled. Defaults to false
    token_store_path str
    The directory path in the App Filesystem in which the tokens will be stored.
    token_store_sas_setting_name str
    The name of the app setting which contains the SAS URL of the blob storage containing the tokens.
    validate_nonce bool
    Should the nonce be validated while completing the login flow. Defaults to true.
    allowedExternalRedirectUrls List<String>

    External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends.

    Note: URLs within the current domain are always implicitly allowed.

    cookieExpirationConvention String
    The method by which cookies expire. Possible values include: FixedTime, and IdentityProviderDerived. Defaults to FixedTime.
    cookieExpirationTime String
    The time after the request is made when the session cookie should expire. Defaults to 08:00:00.
    logoutEndpoint String
    The endpoint to which logout requests should be made.
    nonceExpirationTime String
    The time after the request is made when the nonce should expire. Defaults to 00:05:00.
    preserveUrlFragmentsForLogins Boolean
    Should the fragments from the request be preserved after the login request is made. Defaults to false.
    tokenRefreshExtensionTime Number
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72 hours.
    tokenStoreEnabled Boolean
    Should the Token Store configuration Enabled. Defaults to false
    tokenStorePath String
    The directory path in the App Filesystem in which the tokens will be stored.
    tokenStoreSasSettingName String
    The name of the app setting which contains the SAS URL of the blob storage containing the tokens.
    validateNonce Boolean
    Should the nonce be validated while completing the login flow. Defaults to true.

    WindowsWebAppSlotAuthSettingsV2MicrosoftV2, WindowsWebAppSlotAuthSettingsV2MicrosoftV2Args

    ClientId string
    The OAuth 2.0 client ID that was created for the app used for authentication.
    ClientSecretSettingName string

    The app sett