We recommend using Azure Native.
azure.appservice.FunctionAppSlot
Explore with Pulumi AI
Manages a Function App deployment Slot.
!> NOTE: This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use azure.appservice.LinuxFunctionAppSlot and azure.appservice.WindowsFunctionAppSlot resources instead.
Example Usage
With App Service Plan)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "azure-functions-test-rg",
    location: "West Europe",
});
const exampleAccount = new azure.storage.Account("example", {
    name: "functionsapptestsa",
    resourceGroupName: example.name,
    location: example.location,
    accountTier: "Standard",
    accountReplicationType: "LRS",
});
const examplePlan = new azure.appservice.Plan("example", {
    name: "azure-functions-test-service-plan",
    location: example.location,
    resourceGroupName: example.name,
    sku: {
        tier: "Standard",
        size: "S1",
    },
});
const exampleFunctionApp = new azure.appservice.FunctionApp("example", {
    name: "test-azure-functions",
    location: example.location,
    resourceGroupName: example.name,
    appServicePlanId: examplePlan.id,
    storageAccountName: exampleAccount.name,
    storageAccountAccessKey: exampleAccount.primaryAccessKey,
});
const exampleFunctionAppSlot = new azure.appservice.FunctionAppSlot("example", {
    name: "test-azure-functions_slot",
    location: example.location,
    resourceGroupName: example.name,
    appServicePlanId: examplePlan.id,
    functionAppName: exampleFunctionApp.name,
    storageAccountName: exampleAccount.name,
    storageAccountAccessKey: exampleAccount.primaryAccessKey,
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="azure-functions-test-rg",
    location="West Europe")
example_account = azure.storage.Account("example",
    name="functionsapptestsa",
    resource_group_name=example.name,
    location=example.location,
    account_tier="Standard",
    account_replication_type="LRS")
example_plan = azure.appservice.Plan("example",
    name="azure-functions-test-service-plan",
    location=example.location,
    resource_group_name=example.name,
    sku={
        "tier": "Standard",
        "size": "S1",
    })
example_function_app = azure.appservice.FunctionApp("example",
    name="test-azure-functions",
    location=example.location,
    resource_group_name=example.name,
    app_service_plan_id=example_plan.id,
    storage_account_name=example_account.name,
    storage_account_access_key=example_account.primary_access_key)
example_function_app_slot = azure.appservice.FunctionAppSlot("example",
    name="test-azure-functions_slot",
    location=example.location,
    resource_group_name=example.name,
    app_service_plan_id=example_plan.id,
    function_app_name=example_function_app.name,
    storage_account_name=example_account.name,
    storage_account_access_key=example_account.primary_access_key)
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-azure/sdk/v6/go/azure/storage"
	"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("azure-functions-test-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("functionsapptestsa"),
			ResourceGroupName:      example.Name,
			Location:               example.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		examplePlan, err := appservice.NewPlan(ctx, "example", &appservice.PlanArgs{
			Name:              pulumi.String("azure-functions-test-service-plan"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku: &appservice.PlanSkuArgs{
				Tier: pulumi.String("Standard"),
				Size: pulumi.String("S1"),
			},
		})
		if err != nil {
			return err
		}
		exampleFunctionApp, err := appservice.NewFunctionApp(ctx, "example", &appservice.FunctionAppArgs{
			Name:                    pulumi.String("test-azure-functions"),
			Location:                example.Location,
			ResourceGroupName:       example.Name,
			AppServicePlanId:        examplePlan.ID(),
			StorageAccountName:      exampleAccount.Name,
			StorageAccountAccessKey: exampleAccount.PrimaryAccessKey,
		})
		if err != nil {
			return err
		}
		_, err = appservice.NewFunctionAppSlot(ctx, "example", &appservice.FunctionAppSlotArgs{
			Name:                    pulumi.String("test-azure-functions_slot"),
			Location:                example.Location,
			ResourceGroupName:       example.Name,
			AppServicePlanId:        examplePlan.ID(),
			FunctionAppName:         exampleFunctionApp.Name,
			StorageAccountName:      exampleAccount.Name,
			StorageAccountAccessKey: exampleAccount.PrimaryAccessKey,
		})
		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 = "azure-functions-test-rg",
        Location = "West Europe",
    });
    var exampleAccount = new Azure.Storage.Account("example", new()
    {
        Name = "functionsapptestsa",
        ResourceGroupName = example.Name,
        Location = example.Location,
        AccountTier = "Standard",
        AccountReplicationType = "LRS",
    });
    var examplePlan = new Azure.AppService.Plan("example", new()
    {
        Name = "azure-functions-test-service-plan",
        Location = example.Location,
        ResourceGroupName = example.Name,
        Sku = new Azure.AppService.Inputs.PlanSkuArgs
        {
            Tier = "Standard",
            Size = "S1",
        },
    });
    var exampleFunctionApp = new Azure.AppService.FunctionApp("example", new()
    {
        Name = "test-azure-functions",
        Location = example.Location,
        ResourceGroupName = example.Name,
        AppServicePlanId = examplePlan.Id,
        StorageAccountName = exampleAccount.Name,
        StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,
    });
    var exampleFunctionAppSlot = new Azure.AppService.FunctionAppSlot("example", new()
    {
        Name = "test-azure-functions_slot",
        Location = example.Location,
        ResourceGroupName = example.Name,
        AppServicePlanId = examplePlan.Id,
        FunctionAppName = exampleFunctionApp.Name,
        StorageAccountName = exampleAccount.Name,
        StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,
    });
});
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.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.appservice.Plan;
import com.pulumi.azure.appservice.PlanArgs;
import com.pulumi.azure.appservice.inputs.PlanSkuArgs;
import com.pulumi.azure.appservice.FunctionApp;
import com.pulumi.azure.appservice.FunctionAppArgs;
import com.pulumi.azure.appservice.FunctionAppSlot;
import com.pulumi.azure.appservice.FunctionAppSlotArgs;
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("azure-functions-test-rg")
            .location("West Europe")
            .build());
        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("functionsapptestsa")
            .resourceGroupName(example.name())
            .location(example.location())
            .accountTier("Standard")
            .accountReplicationType("LRS")
            .build());
        var examplePlan = new Plan("examplePlan", PlanArgs.builder()
            .name("azure-functions-test-service-plan")
            .location(example.location())
            .resourceGroupName(example.name())
            .sku(PlanSkuArgs.builder()
                .tier("Standard")
                .size("S1")
                .build())
            .build());
        var exampleFunctionApp = new FunctionApp("exampleFunctionApp", FunctionAppArgs.builder()
            .name("test-azure-functions")
            .location(example.location())
            .resourceGroupName(example.name())
            .appServicePlanId(examplePlan.id())
            .storageAccountName(exampleAccount.name())
            .storageAccountAccessKey(exampleAccount.primaryAccessKey())
            .build());
        var exampleFunctionAppSlot = new FunctionAppSlot("exampleFunctionAppSlot", FunctionAppSlotArgs.builder()
            .name("test-azure-functions_slot")
            .location(example.location())
            .resourceGroupName(example.name())
            .appServicePlanId(examplePlan.id())
            .functionAppName(exampleFunctionApp.name())
            .storageAccountName(exampleAccount.name())
            .storageAccountAccessKey(exampleAccount.primaryAccessKey())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: azure-functions-test-rg
      location: West Europe
  exampleAccount:
    type: azure:storage:Account
    name: example
    properties:
      name: functionsapptestsa
      resourceGroupName: ${example.name}
      location: ${example.location}
      accountTier: Standard
      accountReplicationType: LRS
  examplePlan:
    type: azure:appservice:Plan
    name: example
    properties:
      name: azure-functions-test-service-plan
      location: ${example.location}
      resourceGroupName: ${example.name}
      sku:
        tier: Standard
        size: S1
  exampleFunctionApp:
    type: azure:appservice:FunctionApp
    name: example
    properties:
      name: test-azure-functions
      location: ${example.location}
      resourceGroupName: ${example.name}
      appServicePlanId: ${examplePlan.id}
      storageAccountName: ${exampleAccount.name}
      storageAccountAccessKey: ${exampleAccount.primaryAccessKey}
  exampleFunctionAppSlot:
    type: azure:appservice:FunctionAppSlot
    name: example
    properties:
      name: test-azure-functions_slot
      location: ${example.location}
      resourceGroupName: ${example.name}
      appServicePlanId: ${examplePlan.id}
      functionAppName: ${exampleFunctionApp.name}
      storageAccountName: ${exampleAccount.name}
      storageAccountAccessKey: ${exampleAccount.primaryAccessKey}
Create FunctionAppSlot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FunctionAppSlot(name: string, args: FunctionAppSlotArgs, opts?: CustomResourceOptions);@overload
def FunctionAppSlot(resource_name: str,
                    args: FunctionAppSlotArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def FunctionAppSlot(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    function_app_name: Optional[str] = None,
                    storage_account_name: Optional[str] = None,
                    storage_account_access_key: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    app_service_plan_id: Optional[str] = None,
                    https_only: Optional[bool] = None,
                    os_type: Optional[str] = None,
                    enable_builtin_logging: Optional[bool] = None,
                    daily_memory_time_quota: Optional[int] = None,
                    identity: Optional[FunctionAppSlotIdentityArgs] = None,
                    location: Optional[str] = None,
                    name: Optional[str] = None,
                    enabled: Optional[bool] = None,
                    connection_strings: Optional[Sequence[FunctionAppSlotConnectionStringArgs]] = None,
                    site_config: Optional[FunctionAppSlotSiteConfigArgs] = None,
                    auth_settings: Optional[FunctionAppSlotAuthSettingsArgs] = None,
                    app_settings: Optional[Mapping[str, str]] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    version: Optional[str] = None)func NewFunctionAppSlot(ctx *Context, name string, args FunctionAppSlotArgs, opts ...ResourceOption) (*FunctionAppSlot, error)public FunctionAppSlot(string name, FunctionAppSlotArgs args, CustomResourceOptions? opts = null)
public FunctionAppSlot(String name, FunctionAppSlotArgs args)
public FunctionAppSlot(String name, FunctionAppSlotArgs args, CustomResourceOptions options)
type: azure:appservice:FunctionAppSlot
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 FunctionAppSlotArgs
- 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 FunctionAppSlotArgs
- 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 FunctionAppSlotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FunctionAppSlotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FunctionAppSlotArgs
- 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 functionAppSlotResource = new Azure.AppService.FunctionAppSlot("functionAppSlotResource", new()
{
    FunctionAppName = "string",
    StorageAccountName = "string",
    StorageAccountAccessKey = "string",
    ResourceGroupName = "string",
    AppServicePlanId = "string",
    HttpsOnly = false,
    OsType = "string",
    EnableBuiltinLogging = false,
    DailyMemoryTimeQuota = 0,
    Identity = new Azure.AppService.Inputs.FunctionAppSlotIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    Location = "string",
    Name = "string",
    Enabled = false,
    ConnectionStrings = new[]
    {
        new Azure.AppService.Inputs.FunctionAppSlotConnectionStringArgs
        {
            Name = "string",
            Type = "string",
            Value = "string",
        },
    },
    SiteConfig = new Azure.AppService.Inputs.FunctionAppSlotSiteConfigArgs
    {
        AlwaysOn = false,
        AppScaleLimit = 0,
        AutoSwapSlotName = "string",
        Cors = new Azure.AppService.Inputs.FunctionAppSlotSiteConfigCorsArgs
        {
            AllowedOrigins = new[]
            {
                "string",
            },
            SupportCredentials = false,
        },
        DotnetFrameworkVersion = "string",
        ElasticInstanceMinimum = 0,
        FtpsState = "string",
        HealthCheckPath = "string",
        Http2Enabled = false,
        IpRestrictions = new[]
        {
            new Azure.AppService.Inputs.FunctionAppSlotSiteConfigIpRestrictionArgs
            {
                Action = "string",
                Headers = new Azure.AppService.Inputs.FunctionAppSlotSiteConfigIpRestrictionHeadersArgs
                {
                    XAzureFdids = new[]
                    {
                        "string",
                    },
                    XFdHealthProbe = "string",
                    XForwardedFors = new[]
                    {
                        "string",
                    },
                    XForwardedHosts = new[]
                    {
                        "string",
                    },
                },
                IpAddress = "string",
                Name = "string",
                Priority = 0,
                ServiceTag = "string",
                VirtualNetworkSubnetId = "string",
            },
        },
        JavaVersion = "string",
        LinuxFxVersion = "string",
        MinTlsVersion = "string",
        PreWarmedInstanceCount = 0,
        RuntimeScaleMonitoringEnabled = false,
        ScmIpRestrictions = new[]
        {
            new Azure.AppService.Inputs.FunctionAppSlotSiteConfigScmIpRestrictionArgs
            {
                Action = "string",
                Headers = new Azure.AppService.Inputs.FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs
                {
                    XAzureFdids = new[]
                    {
                        "string",
                    },
                    XFdHealthProbe = "string",
                    XForwardedFors = new[]
                    {
                        "string",
                    },
                    XForwardedHosts = new[]
                    {
                        "string",
                    },
                },
                IpAddress = "string",
                Name = "string",
                Priority = 0,
                ServiceTag = "string",
                VirtualNetworkSubnetId = "string",
            },
        },
        ScmType = "string",
        ScmUseMainIpRestriction = false,
        Use32BitWorkerProcess = false,
        VnetRouteAllEnabled = false,
        WebsocketsEnabled = false,
    },
    AuthSettings = new Azure.AppService.Inputs.FunctionAppSlotAuthSettingsArgs
    {
        Enabled = false,
        Google = new Azure.AppService.Inputs.FunctionAppSlotAuthSettingsGoogleArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            OauthScopes = new[]
            {
                "string",
            },
        },
        AllowedExternalRedirectUrls = new[]
        {
            "string",
        },
        DefaultProvider = "string",
        AdditionalLoginParams = 
        {
            { "string", "string" },
        },
        Facebook = new Azure.AppService.Inputs.FunctionAppSlotAuthSettingsFacebookArgs
        {
            AppId = "string",
            AppSecret = "string",
            OauthScopes = new[]
            {
                "string",
            },
        },
        ActiveDirectory = new Azure.AppService.Inputs.FunctionAppSlotAuthSettingsActiveDirectoryArgs
        {
            ClientId = "string",
            AllowedAudiences = new[]
            {
                "string",
            },
            ClientSecret = "string",
        },
        Issuer = "string",
        Microsoft = new Azure.AppService.Inputs.FunctionAppSlotAuthSettingsMicrosoftArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            OauthScopes = new[]
            {
                "string",
            },
        },
        RuntimeVersion = "string",
        TokenRefreshExtensionHours = 0,
        TokenStoreEnabled = false,
        Twitter = new Azure.AppService.Inputs.FunctionAppSlotAuthSettingsTwitterArgs
        {
            ConsumerKey = "string",
            ConsumerSecret = "string",
        },
        UnauthenticatedClientAction = "string",
    },
    AppSettings = 
    {
        { "string", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
    Version = "string",
});
example, err := appservice.NewFunctionAppSlot(ctx, "functionAppSlotResource", &appservice.FunctionAppSlotArgs{
	FunctionAppName:         pulumi.String("string"),
	StorageAccountName:      pulumi.String("string"),
	StorageAccountAccessKey: pulumi.String("string"),
	ResourceGroupName:       pulumi.String("string"),
	AppServicePlanId:        pulumi.String("string"),
	HttpsOnly:               pulumi.Bool(false),
	OsType:                  pulumi.String("string"),
	EnableBuiltinLogging:    pulumi.Bool(false),
	DailyMemoryTimeQuota:    pulumi.Int(0),
	Identity: &appservice.FunctionAppSlotIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	Enabled:  pulumi.Bool(false),
	ConnectionStrings: appservice.FunctionAppSlotConnectionStringArray{
		&appservice.FunctionAppSlotConnectionStringArgs{
			Name:  pulumi.String("string"),
			Type:  pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	SiteConfig: &appservice.FunctionAppSlotSiteConfigArgs{
		AlwaysOn:         pulumi.Bool(false),
		AppScaleLimit:    pulumi.Int(0),
		AutoSwapSlotName: pulumi.String("string"),
		Cors: &appservice.FunctionAppSlotSiteConfigCorsArgs{
			AllowedOrigins: pulumi.StringArray{
				pulumi.String("string"),
			},
			SupportCredentials: pulumi.Bool(false),
		},
		DotnetFrameworkVersion: pulumi.String("string"),
		ElasticInstanceMinimum: pulumi.Int(0),
		FtpsState:              pulumi.String("string"),
		HealthCheckPath:        pulumi.String("string"),
		Http2Enabled:           pulumi.Bool(false),
		IpRestrictions: appservice.FunctionAppSlotSiteConfigIpRestrictionArray{
			&appservice.FunctionAppSlotSiteConfigIpRestrictionArgs{
				Action: pulumi.String("string"),
				Headers: &appservice.FunctionAppSlotSiteConfigIpRestrictionHeadersArgs{
					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"),
			},
		},
		JavaVersion:                   pulumi.String("string"),
		LinuxFxVersion:                pulumi.String("string"),
		MinTlsVersion:                 pulumi.String("string"),
		PreWarmedInstanceCount:        pulumi.Int(0),
		RuntimeScaleMonitoringEnabled: pulumi.Bool(false),
		ScmIpRestrictions: appservice.FunctionAppSlotSiteConfigScmIpRestrictionArray{
			&appservice.FunctionAppSlotSiteConfigScmIpRestrictionArgs{
				Action: pulumi.String("string"),
				Headers: &appservice.FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs{
					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"),
			},
		},
		ScmType:                 pulumi.String("string"),
		ScmUseMainIpRestriction: pulumi.Bool(false),
		Use32BitWorkerProcess:   pulumi.Bool(false),
		VnetRouteAllEnabled:     pulumi.Bool(false),
		WebsocketsEnabled:       pulumi.Bool(false),
	},
	AuthSettings: &appservice.FunctionAppSlotAuthSettingsArgs{
		Enabled: pulumi.Bool(false),
		Google: &appservice.FunctionAppSlotAuthSettingsGoogleArgs{
			ClientId:     pulumi.String("string"),
			ClientSecret: pulumi.String("string"),
			OauthScopes: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		AllowedExternalRedirectUrls: pulumi.StringArray{
			pulumi.String("string"),
		},
		DefaultProvider: pulumi.String("string"),
		AdditionalLoginParams: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Facebook: &appservice.FunctionAppSlotAuthSettingsFacebookArgs{
			AppId:     pulumi.String("string"),
			AppSecret: pulumi.String("string"),
			OauthScopes: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		ActiveDirectory: &appservice.FunctionAppSlotAuthSettingsActiveDirectoryArgs{
			ClientId: pulumi.String("string"),
			AllowedAudiences: pulumi.StringArray{
				pulumi.String("string"),
			},
			ClientSecret: pulumi.String("string"),
		},
		Issuer: pulumi.String("string"),
		Microsoft: &appservice.FunctionAppSlotAuthSettingsMicrosoftArgs{
			ClientId:     pulumi.String("string"),
			ClientSecret: pulumi.String("string"),
			OauthScopes: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		RuntimeVersion:             pulumi.String("string"),
		TokenRefreshExtensionHours: pulumi.Float64(0),
		TokenStoreEnabled:          pulumi.Bool(false),
		Twitter: &appservice.FunctionAppSlotAuthSettingsTwitterArgs{
			ConsumerKey:    pulumi.String("string"),
			ConsumerSecret: pulumi.String("string"),
		},
		UnauthenticatedClientAction: pulumi.String("string"),
	},
	AppSettings: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Version: pulumi.String("string"),
})
var functionAppSlotResource = new FunctionAppSlot("functionAppSlotResource", FunctionAppSlotArgs.builder()
    .functionAppName("string")
    .storageAccountName("string")
    .storageAccountAccessKey("string")
    .resourceGroupName("string")
    .appServicePlanId("string")
    .httpsOnly(false)
    .osType("string")
    .enableBuiltinLogging(false)
    .dailyMemoryTimeQuota(0)
    .identity(FunctionAppSlotIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .location("string")
    .name("string")
    .enabled(false)
    .connectionStrings(FunctionAppSlotConnectionStringArgs.builder()
        .name("string")
        .type("string")
        .value("string")
        .build())
    .siteConfig(FunctionAppSlotSiteConfigArgs.builder()
        .alwaysOn(false)
        .appScaleLimit(0)
        .autoSwapSlotName("string")
        .cors(FunctionAppSlotSiteConfigCorsArgs.builder()
            .allowedOrigins("string")
            .supportCredentials(false)
            .build())
        .dotnetFrameworkVersion("string")
        .elasticInstanceMinimum(0)
        .ftpsState("string")
        .healthCheckPath("string")
        .http2Enabled(false)
        .ipRestrictions(FunctionAppSlotSiteConfigIpRestrictionArgs.builder()
            .action("string")
            .headers(FunctionAppSlotSiteConfigIpRestrictionHeadersArgs.builder()
                .xAzureFdids("string")
                .xFdHealthProbe("string")
                .xForwardedFors("string")
                .xForwardedHosts("string")
                .build())
            .ipAddress("string")
            .name("string")
            .priority(0)
            .serviceTag("string")
            .virtualNetworkSubnetId("string")
            .build())
        .javaVersion("string")
        .linuxFxVersion("string")
        .minTlsVersion("string")
        .preWarmedInstanceCount(0)
        .runtimeScaleMonitoringEnabled(false)
        .scmIpRestrictions(FunctionAppSlotSiteConfigScmIpRestrictionArgs.builder()
            .action("string")
            .headers(FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs.builder()
                .xAzureFdids("string")
                .xFdHealthProbe("string")
                .xForwardedFors("string")
                .xForwardedHosts("string")
                .build())
            .ipAddress("string")
            .name("string")
            .priority(0)
            .serviceTag("string")
            .virtualNetworkSubnetId("string")
            .build())
        .scmType("string")
        .scmUseMainIpRestriction(false)
        .use32BitWorkerProcess(false)
        .vnetRouteAllEnabled(false)
        .websocketsEnabled(false)
        .build())
    .authSettings(FunctionAppSlotAuthSettingsArgs.builder()
        .enabled(false)
        .google(FunctionAppSlotAuthSettingsGoogleArgs.builder()
            .clientId("string")
            .clientSecret("string")
            .oauthScopes("string")
            .build())
        .allowedExternalRedirectUrls("string")
        .defaultProvider("string")
        .additionalLoginParams(Map.of("string", "string"))
        .facebook(FunctionAppSlotAuthSettingsFacebookArgs.builder()
            .appId("string")
            .appSecret("string")
            .oauthScopes("string")
            .build())
        .activeDirectory(FunctionAppSlotAuthSettingsActiveDirectoryArgs.builder()
            .clientId("string")
            .allowedAudiences("string")
            .clientSecret("string")
            .build())
        .issuer("string")
        .microsoft(FunctionAppSlotAuthSettingsMicrosoftArgs.builder()
            .clientId("string")
            .clientSecret("string")
            .oauthScopes("string")
            .build())
        .runtimeVersion("string")
        .tokenRefreshExtensionHours(0)
        .tokenStoreEnabled(false)
        .twitter(FunctionAppSlotAuthSettingsTwitterArgs.builder()
            .consumerKey("string")
            .consumerSecret("string")
            .build())
        .unauthenticatedClientAction("string")
        .build())
    .appSettings(Map.of("string", "string"))
    .tags(Map.of("string", "string"))
    .version("string")
    .build());
function_app_slot_resource = azure.appservice.FunctionAppSlot("functionAppSlotResource",
    function_app_name="string",
    storage_account_name="string",
    storage_account_access_key="string",
    resource_group_name="string",
    app_service_plan_id="string",
    https_only=False,
    os_type="string",
    enable_builtin_logging=False,
    daily_memory_time_quota=0,
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    location="string",
    name="string",
    enabled=False,
    connection_strings=[{
        "name": "string",
        "type": "string",
        "value": "string",
    }],
    site_config={
        "always_on": False,
        "app_scale_limit": 0,
        "auto_swap_slot_name": "string",
        "cors": {
            "allowed_origins": ["string"],
            "support_credentials": False,
        },
        "dotnet_framework_version": "string",
        "elastic_instance_minimum": 0,
        "ftps_state": "string",
        "health_check_path": "string",
        "http2_enabled": False,
        "ip_restrictions": [{
            "action": "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",
        }],
        "java_version": "string",
        "linux_fx_version": "string",
        "min_tls_version": "string",
        "pre_warmed_instance_count": 0,
        "runtime_scale_monitoring_enabled": False,
        "scm_ip_restrictions": [{
            "action": "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_type": "string",
        "scm_use_main_ip_restriction": False,
        "use32_bit_worker_process": False,
        "vnet_route_all_enabled": False,
        "websockets_enabled": False,
    },
    auth_settings={
        "enabled": False,
        "google": {
            "client_id": "string",
            "client_secret": "string",
            "oauth_scopes": ["string"],
        },
        "allowed_external_redirect_urls": ["string"],
        "default_provider": "string",
        "additional_login_params": {
            "string": "string",
        },
        "facebook": {
            "app_id": "string",
            "app_secret": "string",
            "oauth_scopes": ["string"],
        },
        "active_directory": {
            "client_id": "string",
            "allowed_audiences": ["string"],
            "client_secret": "string",
        },
        "issuer": "string",
        "microsoft": {
            "client_id": "string",
            "client_secret": "string",
            "oauth_scopes": ["string"],
        },
        "runtime_version": "string",
        "token_refresh_extension_hours": 0,
        "token_store_enabled": False,
        "twitter": {
            "consumer_key": "string",
            "consumer_secret": "string",
        },
        "unauthenticated_client_action": "string",
    },
    app_settings={
        "string": "string",
    },
    tags={
        "string": "string",
    },
    version="string")
const functionAppSlotResource = new azure.appservice.FunctionAppSlot("functionAppSlotResource", {
    functionAppName: "string",
    storageAccountName: "string",
    storageAccountAccessKey: "string",
    resourceGroupName: "string",
    appServicePlanId: "string",
    httpsOnly: false,
    osType: "string",
    enableBuiltinLogging: false,
    dailyMemoryTimeQuota: 0,
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    location: "string",
    name: "string",
    enabled: false,
    connectionStrings: [{
        name: "string",
        type: "string",
        value: "string",
    }],
    siteConfig: {
        alwaysOn: false,
        appScaleLimit: 0,
        autoSwapSlotName: "string",
        cors: {
            allowedOrigins: ["string"],
            supportCredentials: false,
        },
        dotnetFrameworkVersion: "string",
        elasticInstanceMinimum: 0,
        ftpsState: "string",
        healthCheckPath: "string",
        http2Enabled: false,
        ipRestrictions: [{
            action: "string",
            headers: {
                xAzureFdids: ["string"],
                xFdHealthProbe: "string",
                xForwardedFors: ["string"],
                xForwardedHosts: ["string"],
            },
            ipAddress: "string",
            name: "string",
            priority: 0,
            serviceTag: "string",
            virtualNetworkSubnetId: "string",
        }],
        javaVersion: "string",
        linuxFxVersion: "string",
        minTlsVersion: "string",
        preWarmedInstanceCount: 0,
        runtimeScaleMonitoringEnabled: false,
        scmIpRestrictions: [{
            action: "string",
            headers: {
                xAzureFdids: ["string"],
                xFdHealthProbe: "string",
                xForwardedFors: ["string"],
                xForwardedHosts: ["string"],
            },
            ipAddress: "string",
            name: "string",
            priority: 0,
            serviceTag: "string",
            virtualNetworkSubnetId: "string",
        }],
        scmType: "string",
        scmUseMainIpRestriction: false,
        use32BitWorkerProcess: false,
        vnetRouteAllEnabled: false,
        websocketsEnabled: false,
    },
    authSettings: {
        enabled: false,
        google: {
            clientId: "string",
            clientSecret: "string",
            oauthScopes: ["string"],
        },
        allowedExternalRedirectUrls: ["string"],
        defaultProvider: "string",
        additionalLoginParams: {
            string: "string",
        },
        facebook: {
            appId: "string",
            appSecret: "string",
            oauthScopes: ["string"],
        },
        activeDirectory: {
            clientId: "string",
            allowedAudiences: ["string"],
            clientSecret: "string",
        },
        issuer: "string",
        microsoft: {
            clientId: "string",
            clientSecret: "string",
            oauthScopes: ["string"],
        },
        runtimeVersion: "string",
        tokenRefreshExtensionHours: 0,
        tokenStoreEnabled: false,
        twitter: {
            consumerKey: "string",
            consumerSecret: "string",
        },
        unauthenticatedClientAction: "string",
    },
    appSettings: {
        string: "string",
    },
    tags: {
        string: "string",
    },
    version: "string",
});
type: azure:appservice:FunctionAppSlot
properties:
    appServicePlanId: string
    appSettings:
        string: string
    authSettings:
        activeDirectory:
            allowedAudiences:
                - string
            clientId: string
            clientSecret: string
        additionalLoginParams:
            string: string
        allowedExternalRedirectUrls:
            - string
        defaultProvider: string
        enabled: false
        facebook:
            appId: string
            appSecret: string
            oauthScopes:
                - string
        google:
            clientId: string
            clientSecret: string
            oauthScopes:
                - string
        issuer: string
        microsoft:
            clientId: string
            clientSecret: string
            oauthScopes:
                - string
        runtimeVersion: string
        tokenRefreshExtensionHours: 0
        tokenStoreEnabled: false
        twitter:
            consumerKey: string
            consumerSecret: string
        unauthenticatedClientAction: string
    connectionStrings:
        - name: string
          type: string
          value: string
    dailyMemoryTimeQuota: 0
    enableBuiltinLogging: false
    enabled: false
    functionAppName: string
    httpsOnly: false
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    location: string
    name: string
    osType: string
    resourceGroupName: string
    siteConfig:
        alwaysOn: false
        appScaleLimit: 0
        autoSwapSlotName: string
        cors:
            allowedOrigins:
                - string
            supportCredentials: false
        dotnetFrameworkVersion: string
        elasticInstanceMinimum: 0
        ftpsState: string
        healthCheckPath: string
        http2Enabled: false
        ipRestrictions:
            - action: string
              headers:
                xAzureFdids:
                    - string
                xFdHealthProbe: string
                xForwardedFors:
                    - string
                xForwardedHosts:
                    - string
              ipAddress: string
              name: string
              priority: 0
              serviceTag: string
              virtualNetworkSubnetId: string
        javaVersion: string
        linuxFxVersion: string
        minTlsVersion: string
        preWarmedInstanceCount: 0
        runtimeScaleMonitoringEnabled: false
        scmIpRestrictions:
            - action: string
              headers:
                xAzureFdids:
                    - string
                xFdHealthProbe: string
                xForwardedFors:
                    - string
                xForwardedHosts:
                    - string
              ipAddress: string
              name: string
              priority: 0
              serviceTag: string
              virtualNetworkSubnetId: string
        scmType: string
        scmUseMainIpRestriction: false
        use32BitWorkerProcess: false
        vnetRouteAllEnabled: false
        websocketsEnabled: false
    storageAccountAccessKey: string
    storageAccountName: string
    tags:
        string: string
    version: string
FunctionAppSlot 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 FunctionAppSlot resource accepts the following input properties:
- AppService stringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- FunctionApp stringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- StorageAccount stringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- StorageAccount stringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- AppSettings Dictionary<string, string>
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- AuthSettings FunctionApp Slot Auth Settings 
- An auth_settingsblock as defined below.
- ConnectionStrings List<FunctionApp Slot Connection String> 
- A connection_stringblock as defined below.
- DailyMemory intTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- EnableBuiltin boolLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- Enabled bool
- Is the Function App enabled? Defaults to true.
- HttpsOnly bool
- Can the Function App only be accessed via HTTPS? Defaults to false.
- Identity
FunctionApp Slot Identity 
- An identityblock as defined below.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- OsType string
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- SiteConfig FunctionApp Slot Site Config 
- A site_configobject as defined below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Version string
- The runtime version associated with the Function App. Defaults to ~1.
- AppService stringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- FunctionApp stringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- StorageAccount stringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- StorageAccount stringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- AppSettings map[string]string
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- AuthSettings FunctionApp Slot Auth Settings Args 
- An auth_settingsblock as defined below.
- ConnectionStrings []FunctionApp Slot Connection String Args 
- A connection_stringblock as defined below.
- DailyMemory intTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- EnableBuiltin boolLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- Enabled bool
- Is the Function App enabled? Defaults to true.
- HttpsOnly bool
- Can the Function App only be accessed via HTTPS? Defaults to false.
- Identity
FunctionApp Slot Identity Args 
- An identityblock as defined below.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- OsType string
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- SiteConfig FunctionApp Slot Site Config Args 
- A site_configobject as defined below.
- map[string]string
- A mapping of tags to assign to the resource.
- Version string
- The runtime version associated with the Function App. Defaults to ~1.
- appService StringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- functionApp StringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- storageAccount StringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- storageAccount StringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- appSettings Map<String,String>
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- authSettings FunctionApp Slot Auth Settings 
- An auth_settingsblock as defined below.
- connectionStrings List<FunctionApp Slot Connection String> 
- A connection_stringblock as defined below.
- dailyMemory IntegerTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- enableBuiltin BooleanLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- enabled Boolean
- Is the Function App enabled? Defaults to true.
- httpsOnly Boolean
- Can the Function App only be accessed via HTTPS? Defaults to false.
- identity
FunctionApp Slot Identity 
- An identityblock as defined below.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- osType String
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- siteConfig FunctionApp Slot Site Config 
- A site_configobject as defined below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- version String
- The runtime version associated with the Function App. Defaults to ~1.
- appService stringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- functionApp stringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- resourceGroup stringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- storageAccount stringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- storageAccount stringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- appSettings {[key: string]: string}
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- authSettings FunctionApp Slot Auth Settings 
- An auth_settingsblock as defined below.
- connectionStrings FunctionApp Slot Connection String[] 
- A connection_stringblock as defined below.
- dailyMemory numberTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- enableBuiltin booleanLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- enabled boolean
- Is the Function App enabled? Defaults to true.
- httpsOnly boolean
- Can the Function App only be accessed via HTTPS? Defaults to false.
- identity
FunctionApp Slot Identity 
- An identityblock as defined below.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- osType string
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- siteConfig FunctionApp Slot Site Config 
- A site_configobject as defined below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- version string
- The runtime version associated with the Function App. Defaults to ~1.
- app_service_ strplan_ id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- function_app_ strname 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- resource_group_ strname 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- storage_account_ straccess_ key 
- The access key which will be used to access the backend storage account for the Function App.
- storage_account_ strname 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- app_settings Mapping[str, str]
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- auth_settings FunctionApp Slot Auth Settings Args 
- An auth_settingsblock as defined below.
- connection_strings Sequence[FunctionApp Slot Connection String Args] 
- A connection_stringblock as defined below.
- daily_memory_ inttime_ quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- enable_builtin_ boollogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- enabled bool
- Is the Function App enabled? Defaults to true.
- https_only bool
- Can the Function App only be accessed via HTTPS? Defaults to false.
- identity
FunctionApp Slot Identity Args 
- An identityblock as defined below.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- os_type str
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- site_config FunctionApp Slot Site Config Args 
- A site_configobject as defined below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- version str
- The runtime version associated with the Function App. Defaults to ~1.
- appService StringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- functionApp StringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- storageAccount StringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- storageAccount StringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- appSettings Map<String>
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- authSettings Property Map
- An auth_settingsblock as defined below.
- connectionStrings List<Property Map>
- A connection_stringblock as defined below.
- dailyMemory NumberTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- enableBuiltin BooleanLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- enabled Boolean
- Is the Function App enabled? Defaults to true.
- httpsOnly Boolean
- Can the Function App only be accessed via HTTPS? Defaults to false.
- identity Property Map
- An identityblock as defined below.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- osType String
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- siteConfig Property Map
- A site_configobject as defined below.
- Map<String>
- A mapping of tags to assign to the resource.
- version String
- The runtime version associated with the Function App. Defaults to ~1.
Outputs
All input properties are implicitly available as output properties. Additionally, the FunctionAppSlot resource produces the following output properties:
- DefaultHostname string
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The Function App kind - such as functionapp,linux,container
- OutboundIp stringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- PossibleOutbound stringIp Addresses 
- 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 ofoutbound_ip_addresses.
- SiteCredentials List<FunctionApp Slot Site Credential> 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- DefaultHostname string
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The Function App kind - such as functionapp,linux,container
- OutboundIp stringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- PossibleOutbound stringIp Addresses 
- 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 ofoutbound_ip_addresses.
- SiteCredentials []FunctionApp Slot Site Credential 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- defaultHostname String
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The Function App kind - such as functionapp,linux,container
- outboundIp StringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- possibleOutbound StringIp Addresses 
- 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 ofoutbound_ip_addresses.
- siteCredentials List<FunctionApp Slot Site Credential> 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- defaultHostname string
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- The Function App kind - such as functionapp,linux,container
- outboundIp stringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- possibleOutbound stringIp Addresses 
- 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 ofoutbound_ip_addresses.
- siteCredentials FunctionApp Slot Site Credential[] 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- default_hostname str
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- The Function App kind - such as functionapp,linux,container
- outbound_ip_ straddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- possible_outbound_ strip_ addresses 
- 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 ofoutbound_ip_addresses.
- site_credentials Sequence[FunctionApp Slot Site Credential] 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- defaultHostname String
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The Function App kind - such as functionapp,linux,container
- outboundIp StringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- possibleOutbound StringIp Addresses 
- 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 ofoutbound_ip_addresses.
- siteCredentials List<Property Map>
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
Look up Existing FunctionAppSlot Resource
Get an existing FunctionAppSlot 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?: FunctionAppSlotState, opts?: CustomResourceOptions): FunctionAppSlot@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_service_plan_id: Optional[str] = None,
        app_settings: Optional[Mapping[str, str]] = None,
        auth_settings: Optional[FunctionAppSlotAuthSettingsArgs] = None,
        connection_strings: Optional[Sequence[FunctionAppSlotConnectionStringArgs]] = None,
        daily_memory_time_quota: Optional[int] = None,
        default_hostname: Optional[str] = None,
        enable_builtin_logging: Optional[bool] = None,
        enabled: Optional[bool] = None,
        function_app_name: Optional[str] = None,
        https_only: Optional[bool] = None,
        identity: Optional[FunctionAppSlotIdentityArgs] = None,
        kind: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        os_type: Optional[str] = None,
        outbound_ip_addresses: Optional[str] = None,
        possible_outbound_ip_addresses: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        site_config: Optional[FunctionAppSlotSiteConfigArgs] = None,
        site_credentials: Optional[Sequence[FunctionAppSlotSiteCredentialArgs]] = None,
        storage_account_access_key: Optional[str] = None,
        storage_account_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        version: Optional[str] = None) -> FunctionAppSlotfunc GetFunctionAppSlot(ctx *Context, name string, id IDInput, state *FunctionAppSlotState, opts ...ResourceOption) (*FunctionAppSlot, error)public static FunctionAppSlot Get(string name, Input<string> id, FunctionAppSlotState? state, CustomResourceOptions? opts = null)public static FunctionAppSlot get(String name, Output<String> id, FunctionAppSlotState state, CustomResourceOptions options)resources:  _:    type: azure:appservice:FunctionAppSlot    get:      id: ${id}- 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.
- AppService stringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- AppSettings Dictionary<string, string>
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- AuthSettings FunctionApp Slot Auth Settings 
- An auth_settingsblock as defined below.
- ConnectionStrings List<FunctionApp Slot Connection String> 
- A connection_stringblock as defined below.
- DailyMemory intTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- DefaultHostname string
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- EnableBuiltin boolLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- Enabled bool
- Is the Function App enabled? Defaults to true.
- FunctionApp stringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- HttpsOnly bool
- Can the Function App only be accessed via HTTPS? Defaults to false.
- Identity
FunctionApp Slot Identity 
- An identityblock as defined below.
- Kind string
- The Function App kind - such as functionapp,linux,container
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- OsType string
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- OutboundIp stringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- PossibleOutbound stringIp Addresses 
- 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 ofoutbound_ip_addresses.
- ResourceGroup stringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- SiteConfig FunctionApp Slot Site Config 
- A site_configobject as defined below.
- SiteCredentials List<FunctionApp Slot Site Credential> 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- StorageAccount stringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- StorageAccount stringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Version string
- The runtime version associated with the Function App. Defaults to ~1.
- AppService stringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- AppSettings map[string]string
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- AuthSettings FunctionApp Slot Auth Settings Args 
- An auth_settingsblock as defined below.
- ConnectionStrings []FunctionApp Slot Connection String Args 
- A connection_stringblock as defined below.
- DailyMemory intTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- DefaultHostname string
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- EnableBuiltin boolLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- Enabled bool
- Is the Function App enabled? Defaults to true.
- FunctionApp stringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- HttpsOnly bool
- Can the Function App only be accessed via HTTPS? Defaults to false.
- Identity
FunctionApp Slot Identity Args 
- An identityblock as defined below.
- Kind string
- The Function App kind - such as functionapp,linux,container
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- OsType string
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- OutboundIp stringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- PossibleOutbound stringIp Addresses 
- 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 ofoutbound_ip_addresses.
- ResourceGroup stringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- SiteConfig FunctionApp Slot Site Config Args 
- A site_configobject as defined below.
- SiteCredentials []FunctionApp Slot Site Credential Args 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- StorageAccount stringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- StorageAccount stringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- Version string
- The runtime version associated with the Function App. Defaults to ~1.
- appService StringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- appSettings Map<String,String>
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- authSettings FunctionApp Slot Auth Settings 
- An auth_settingsblock as defined below.
- connectionStrings List<FunctionApp Slot Connection String> 
- A connection_stringblock as defined below.
- dailyMemory IntegerTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- defaultHostname String
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- enableBuiltin BooleanLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- enabled Boolean
- Is the Function App enabled? Defaults to true.
- functionApp StringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- httpsOnly Boolean
- Can the Function App only be accessed via HTTPS? Defaults to false.
- identity
FunctionApp Slot Identity 
- An identityblock as defined below.
- kind String
- The Function App kind - such as functionapp,linux,container
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- osType String
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- outboundIp StringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- possibleOutbound StringIp Addresses 
- 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 ofoutbound_ip_addresses.
- resourceGroup StringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- siteConfig FunctionApp Slot Site Config 
- A site_configobject as defined below.
- siteCredentials List<FunctionApp Slot Site Credential> 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- storageAccount StringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- storageAccount StringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- version String
- The runtime version associated with the Function App. Defaults to ~1.
- appService stringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- appSettings {[key: string]: string}
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- authSettings FunctionApp Slot Auth Settings 
- An auth_settingsblock as defined below.
- connectionStrings FunctionApp Slot Connection String[] 
- A connection_stringblock as defined below.
- dailyMemory numberTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- defaultHostname string
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- enableBuiltin booleanLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- enabled boolean
- Is the Function App enabled? Defaults to true.
- functionApp stringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- httpsOnly boolean
- Can the Function App only be accessed via HTTPS? Defaults to false.
- identity
FunctionApp Slot Identity 
- An identityblock as defined below.
- kind string
- The Function App kind - such as functionapp,linux,container
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- osType string
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- outboundIp stringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- possibleOutbound stringIp Addresses 
- 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 ofoutbound_ip_addresses.
- resourceGroup stringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- siteConfig FunctionApp Slot Site Config 
- A site_configobject as defined below.
- siteCredentials FunctionApp Slot Site Credential[] 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- storageAccount stringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- storageAccount stringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- version string
- The runtime version associated with the Function App. Defaults to ~1.
- app_service_ strplan_ id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- app_settings Mapping[str, str]
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- auth_settings FunctionApp Slot Auth Settings Args 
- An auth_settingsblock as defined below.
- connection_strings Sequence[FunctionApp Slot Connection String Args] 
- A connection_stringblock as defined below.
- daily_memory_ inttime_ quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- default_hostname str
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- enable_builtin_ boollogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- enabled bool
- Is the Function App enabled? Defaults to true.
- function_app_ strname 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- https_only bool
- Can the Function App only be accessed via HTTPS? Defaults to false.
- identity
FunctionApp Slot Identity Args 
- An identityblock as defined below.
- kind str
- The Function App kind - such as functionapp,linux,container
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- os_type str
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- outbound_ip_ straddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- possible_outbound_ strip_ addresses 
- 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 ofoutbound_ip_addresses.
- resource_group_ strname 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- site_config FunctionApp Slot Site Config Args 
- A site_configobject as defined below.
- site_credentials Sequence[FunctionApp Slot Site Credential Args] 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- storage_account_ straccess_ key 
- The access key which will be used to access the backend storage account for the Function App.
- storage_account_ strname 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- version str
- The runtime version associated with the Function App. Defaults to ~1.
- appService StringPlan Id 
- The ID of the App Service Plan within which to create this Function App Slot. Changing this forces a new resource to be created.
- appSettings Map<String>
- A key-value pair of App Settings. - Note: When integrating a - CI/CD pipelineand expecting to run from a deployed package in- Azureyou must seed your- app settingsas part of the application code for function app to be successfully deployed.- Important Default key pairs: (- "WEBSITE_RUN_FROM_PACKAGE" = "",- "FUNCTIONS_WORKER_RUNTIME" = "node"(or python, etc),- "WEBSITE_NODE_DEFAULT_VERSION" = "10.14.1",- "APPINSIGHTS_INSTRUMENTATIONKEY" = "").- NOTE: The values for - AzureWebJobsStorageand- FUNCTIONS_EXTENSION_VERSIONwill be filled by other input arguments and shouldn't be configured separately.- AzureWebJobsStorageis filled based on- storage_account_nameand- storage_account_access_key.- FUNCTIONS_EXTENSION_VERSIONis filled based on- version.- Note: When using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- authSettings Property Map
- An auth_settingsblock as defined below.
- connectionStrings List<Property Map>
- A connection_stringblock as defined below.
- dailyMemory NumberTime Quota 
- The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps under the consumption plan.
- defaultHostname String
- The default hostname associated with the Function App - such as mysite.azurewebsites.net
- enableBuiltin BooleanLogging 
- Should the built-in logging of the Function App be enabled? Defaults to true.
- enabled Boolean
- Is the Function App enabled? Defaults to true.
- functionApp StringName 
- The name of the Function App within which to create the Function App Slot. Changing this forces a new resource to be created.
- httpsOnly Boolean
- Can the Function App only be accessed via HTTPS? Defaults to false.
- identity Property Map
- An identityblock as defined below.
- kind String
- The Function App kind - such as functionapp,linux,container
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Function App. Changing this forces a new resource to be created.
- osType String
- A string indicating the Operating System type for this function app. The only possible value is - linux. Changing this forces a new resource to be created.- NOTE: This value will be - linuxfor Linux Derivatives or an empty string for Windows (default).
- outboundIp StringAddresses 
- A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
- possibleOutbound StringIp Addresses 
- 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 ofoutbound_ip_addresses.
- resourceGroup StringName 
- The name of the resource group in which to create the Function App Slot. Changing this forces a new resource to be created.
- siteConfig Property Map
- A site_configobject as defined below.
- siteCredentials List<Property Map>
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this Function App Slot.
- storageAccount StringAccess Key 
- The access key which will be used to access the backend storage account for the Function App.
- storageAccount StringName 
- The backend storage account name which will be used by the Function App (such as the dashboard, logs). Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource.
- version String
- The runtime version associated with the Function App. Defaults to ~1.
Supporting Types
FunctionAppSlotAuthSettings, FunctionAppSlotAuthSettingsArgs          
- Enabled bool
- Is Authentication enabled?
- ActiveDirectory FunctionApp Slot Auth Settings Active Directory 
- An active_directoryblock as defined below.
- AdditionalLogin Dictionary<string, string>Params 
- login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- AllowedExternal List<string>Redirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- DefaultProvider string
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- Facebook
FunctionApp Slot Auth Settings Facebook 
- A facebookblock as defined below.
- Google
FunctionApp Slot Auth Settings Google 
- A googleblock as defined below.
- Issuer string
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- Microsoft
FunctionApp Slot Auth Settings Microsoft 
- A microsoftblock as defined below.
- RuntimeVersion string
- The runtime version of the Authentication/Authorization module.
- TokenRefresh doubleExtension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- TokenStore boolEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- Twitter
FunctionApp Slot Auth Settings Twitter 
- A twitterblock as defined below.
- UnauthenticatedClient stringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- Enabled bool
- Is Authentication enabled?
- ActiveDirectory FunctionApp Slot Auth Settings Active Directory 
- An active_directoryblock as defined below.
- AdditionalLogin map[string]stringParams 
- login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- AllowedExternal []stringRedirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- DefaultProvider string
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- Facebook
FunctionApp Slot Auth Settings Facebook 
- A facebookblock as defined below.
- Google
FunctionApp Slot Auth Settings Google 
- A googleblock as defined below.
- Issuer string
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- Microsoft
FunctionApp Slot Auth Settings Microsoft 
- A microsoftblock as defined below.
- RuntimeVersion string
- The runtime version of the Authentication/Authorization module.
- TokenRefresh float64Extension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- TokenStore boolEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- Twitter
FunctionApp Slot Auth Settings Twitter 
- A twitterblock as defined below.
- UnauthenticatedClient stringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- enabled Boolean
- Is Authentication enabled?
- activeDirectory FunctionApp Slot Auth Settings Active Directory 
- An active_directoryblock as defined below.
- additionalLogin Map<String,String>Params 
- login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowedExternal List<String>Redirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- defaultProvider String
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- facebook
FunctionApp Slot Auth Settings Facebook 
- A facebookblock as defined below.
- google
FunctionApp Slot Auth Settings Google 
- A googleblock as defined below.
- issuer String
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- microsoft
FunctionApp Slot Auth Settings Microsoft 
- A microsoftblock as defined below.
- runtimeVersion String
- The runtime version of the Authentication/Authorization module.
- tokenRefresh DoubleExtension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- tokenStore BooleanEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- twitter
FunctionApp Slot Auth Settings Twitter 
- A twitterblock as defined below.
- unauthenticatedClient StringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- enabled boolean
- Is Authentication enabled?
- activeDirectory FunctionApp Slot Auth Settings Active Directory 
- An active_directoryblock as defined below.
- additionalLogin {[key: string]: string}Params 
- login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowedExternal string[]Redirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- defaultProvider string
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- facebook
FunctionApp Slot Auth Settings Facebook 
- A facebookblock as defined below.
- google
FunctionApp Slot Auth Settings Google 
- A googleblock as defined below.
- issuer string
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- microsoft
FunctionApp Slot Auth Settings Microsoft 
- A microsoftblock as defined below.
- runtimeVersion string
- The runtime version of the Authentication/Authorization module.
- tokenRefresh numberExtension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- tokenStore booleanEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- twitter
FunctionApp Slot Auth Settings Twitter 
- A twitterblock as defined below.
- unauthenticatedClient stringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- enabled bool
- Is Authentication enabled?
- active_directory FunctionApp Slot Auth Settings Active Directory 
- An active_directoryblock as defined below.
- additional_login_ Mapping[str, str]params 
- login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowed_external_ Sequence[str]redirect_ urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- default_provider str
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- facebook
FunctionApp Slot Auth Settings Facebook 
- A facebookblock as defined below.
- google
FunctionApp Slot Auth Settings Google 
- A googleblock as defined below.
- issuer str
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- microsoft
FunctionApp Slot Auth Settings Microsoft 
- A microsoftblock as defined below.
- runtime_version str
- The runtime version of the Authentication/Authorization module.
- token_refresh_ floatextension_ hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- token_store_ boolenabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- twitter
FunctionApp Slot Auth Settings Twitter 
- A twitterblock as defined below.
- unauthenticated_client_ straction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- enabled Boolean
- Is Authentication enabled?
- activeDirectory Property Map
- An active_directoryblock as defined below.
- additionalLogin Map<String>Params 
- login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowedExternal List<String>Redirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- defaultProvider String
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- facebook Property Map
- A facebookblock as defined below.
- google Property Map
- A googleblock as defined below.
- issuer String
- Issuer URI. 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 microsoftblock as defined below.
- runtimeVersion String
- The runtime version of the Authentication/Authorization module.
- tokenRefresh NumberExtension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- tokenStore BooleanEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- twitter Property Map
- A twitterblock as defined below.
- unauthenticatedClient StringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
FunctionAppSlotAuthSettingsActiveDirectory, FunctionAppSlotAuthSettingsActiveDirectoryArgs              
- ClientId string
- The Client ID of this relying party application. Enables OpenIDConnection authentication with Azure Active Directory.
- AllowedAudiences List<string>
- Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
- ClientSecret string
- The Client Secret of this relying party application. If no secret is provided, implicit flow will be used.
- ClientId string
- The Client ID of this relying party application. Enables OpenIDConnection authentication with Azure Active Directory.
- AllowedAudiences []string
- Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
- ClientSecret string
- The Client Secret of this relying party application. If no secret is provided, implicit flow will be used.
- clientId String
- The Client ID of this relying party application. Enables OpenIDConnection authentication with Azure Active Directory.
- allowedAudiences List<String>
- Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
- clientSecret String
- The Client Secret of this relying party application. If no secret is provided, implicit flow will be used.
- clientId string
- The Client ID of this relying party application. Enables OpenIDConnection authentication with Azure Active Directory.
- allowedAudiences string[]
- Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
- clientSecret string
- The Client Secret of this relying party application. If no secret is provided, implicit flow will be used.
- client_id str
- The Client ID of this relying party application. Enables OpenIDConnection authentication with Azure Active Directory.
- allowed_audiences Sequence[str]
- Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
- client_secret str
- The Client Secret of this relying party application. If no secret is provided, implicit flow will be used.
- clientId String
- The Client ID of this relying party application. Enables OpenIDConnection authentication with Azure Active Directory.
- allowedAudiences List<String>
- Allowed audience values to consider when validating JWTs issued by Azure Active Directory.
- clientSecret String
- The Client Secret of this relying party application. If no secret is provided, implicit flow will be used.
FunctionAppSlotAuthSettingsFacebook, FunctionAppSlotAuthSettingsFacebookArgs            
- 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.
- OauthScopes List<string>
- The OAuth 2.0 scopes that will be requested as part of Facebook login authentication. https://developers.facebook.com/docs/facebook-login
- 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.
- OauthScopes []string
- The OAuth 2.0 scopes that will be requested as part of Facebook login authentication. https://developers.facebook.com/docs/facebook-login
- 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.
- oauthScopes List<String>
- The OAuth 2.0 scopes that will be requested as part of Facebook login authentication. https://developers.facebook.com/docs/facebook-login
- 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.
- oauthScopes string[]
- The OAuth 2.0 scopes that will be requested as part of Facebook login authentication. https://developers.facebook.com/docs/facebook-login
- 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.
- oauth_scopes Sequence[str]
- The OAuth 2.0 scopes that will be requested as part of Facebook login authentication. https://developers.facebook.com/docs/facebook-login
- 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.
- oauthScopes List<String>
- The OAuth 2.0 scopes that will be requested as part of Facebook login authentication. https://developers.facebook.com/docs/facebook-login
FunctionAppSlotAuthSettingsGoogle, FunctionAppSlotAuthSettingsGoogleArgs            
- ClientId string
- The OpenID Connect Client ID for the Google web application.
- ClientSecret string
- The client secret associated with the Google web application.
- OauthScopes List<string>
- The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. https://developers.google.com/identity/sign-in/web/
- ClientId string
- The OpenID Connect Client ID for the Google web application.
- ClientSecret string
- The client secret associated with the Google web application.
- OauthScopes []string
- The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. https://developers.google.com/identity/sign-in/web/
- clientId String
- The OpenID Connect Client ID for the Google web application.
- clientSecret String
- The client secret associated with the Google web application.
- oauthScopes List<String>
- The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. https://developers.google.com/identity/sign-in/web/
- clientId string
- The OpenID Connect Client ID for the Google web application.
- clientSecret string
- The client secret associated with the Google web application.
- oauthScopes string[]
- The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. https://developers.google.com/identity/sign-in/web/
- 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.
- oauth_scopes Sequence[str]
- The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. https://developers.google.com/identity/sign-in/web/
- clientId String
- The OpenID Connect Client ID for the Google web application.
- clientSecret String
- The client secret associated with the Google web application.
- oauthScopes List<String>
- The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. https://developers.google.com/identity/sign-in/web/
FunctionAppSlotAuthSettingsMicrosoft, FunctionAppSlotAuthSettingsMicrosoftArgs            
- 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.
- OauthScopes List<string>
- The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. https://msdn.microsoft.com/en-us/library/dn631845.aspx
- 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.
- OauthScopes []string
- The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. https://msdn.microsoft.com/en-us/library/dn631845.aspx
- 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.
- oauthScopes List<String>
- The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. https://msdn.microsoft.com/en-us/library/dn631845.aspx
- 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.
- oauthScopes string[]
- The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. https://msdn.microsoft.com/en-us/library/dn631845.aspx
- 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.
- oauth_scopes Sequence[str]
- The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. https://msdn.microsoft.com/en-us/library/dn631845.aspx
- 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.
- oauthScopes List<String>
- The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. https://msdn.microsoft.com/en-us/library/dn631845.aspx
FunctionAppSlotAuthSettingsTwitter, FunctionAppSlotAuthSettingsTwitterArgs            
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
FunctionAppSlotConnectionString, FunctionAppSlotConnectionStringArgs          
FunctionAppSlotIdentity, FunctionAppSlotIdentityArgs        
- Type string
- Specifies the identity type of the Function App. Possible values are - SystemAssigned(where Azure will generate a Service Principal for you),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the Function App has been created. More details are available below.
- IdentityIds List<string>
- Specifies a list of user managed identity ids to be assigned. Required if typeisUserAssigned.
- PrincipalId string
- The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service.
- TenantId string
- The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service.
- Type string
- Specifies the identity type of the Function App. Possible values are - SystemAssigned(where Azure will generate a Service Principal for you),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the Function App has been created. More details are available below.
- IdentityIds []string
- Specifies a list of user managed identity ids to be assigned. Required if typeisUserAssigned.
- PrincipalId string
- The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service.
- TenantId string
- The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service.
- type String
- Specifies the identity type of the Function App. Possible values are - SystemAssigned(where Azure will generate a Service Principal for you),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the Function App has been created. More details are available below.
- identityIds List<String>
- Specifies a list of user managed identity ids to be assigned. Required if typeisUserAssigned.
- principalId String
- The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service.
- tenantId String
- The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service.
- type string
- Specifies the identity type of the Function App. Possible values are - SystemAssigned(where Azure will generate a Service Principal for you),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the Function App has been created. More details are available below.
- identityIds string[]
- Specifies a list of user managed identity ids to be assigned. Required if typeisUserAssigned.
- principalId string
- The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service.
- tenantId string
- The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service.
- type str
- Specifies the identity type of the Function App. Possible values are - SystemAssigned(where Azure will generate a Service Principal for you),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the Function App has been created. More details are available below.
- identity_ids Sequence[str]
- Specifies a list of user managed identity ids to be assigned. Required if typeisUserAssigned.
- principal_id str
- The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service.
- tenant_id str
- The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service.
- type String
- Specifies the identity type of the Function App. Possible values are - SystemAssigned(where Azure will generate a Service Principal for you),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the Function App has been created. More details are available below.
- identityIds List<String>
- Specifies a list of user managed identity ids to be assigned. Required if typeisUserAssigned.
- principalId String
- The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service.
- tenantId String
- The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service.
FunctionAppSlotSiteConfig, FunctionAppSlotSiteConfigArgs          
- AlwaysOn bool
- Should the Function App be loaded at all times? Defaults to false.
- AppScale intLimit 
- The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
- AutoSwap stringSlot Name 
- The name of the slot to automatically swap to during deployment
- Cors
FunctionApp Slot Site Config Cors 
- A corsblock as defined below.
- DotnetFramework stringVersion 
- The version of the .NET framework's CLR used in this function app. Possible values are v4.0(including .NET Core 2.1 and 3.1),v5.0andv6.0. For more information on which .NET Framework version to use based on the runtime version you're targeting - please see this table. Defaults tov4.0.
- ElasticInstance intMinimum 
- The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
- FtpsState string
- State of FTP / FTPS service for this function app. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- HealthCheck stringPath 
- Path which will be checked for this function app health.
- Http2Enabled bool
- Specifies whether or not the HTTP2 protocol should be enabled. Defaults to false.
- IpRestrictions List<FunctionApp Slot Site Config Ip Restriction> 
- A list of ip_restrictionobjects representing IP restrictions as defined below.
- JavaVersion string
- Java version hosted by the function app in Azure. Possible values are 1.8,11&17(In-Preview).
- LinuxFx stringVersion 
- Linux App Framework and version for the AppService, e.g. DOCKER|(golang:latest).
- MinTls stringVersion 
- The minimum supported TLS version for the function app. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new function apps.
- PreWarmed intInstance Count 
- The number of pre-warmed instances for this function app. Only affects apps on the Premium plan.
- RuntimeScale boolMonitoring Enabled 
- Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to false.
- ScmIp List<FunctionRestrictions App Slot Site Config Scm Ip Restriction> 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- ScmType string
- The type of Source Control used by this function App. Valid values include: - BitBucketGit,- BitBucketHg,- CodePlexGit,- CodePlexHg,- Dropbox,- ExternalGit,- ExternalHg,- GitHub,- LocalGit,- None(default),- OneDrive,- Tfs,- VSO, and- VSTSRM.- NOTE: This setting is incompatible with the - source_controlblock which updates this value based on the setting provided.
- ScmUse boolMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- Use32BitWorker boolProcess 
- Should the Function App run in 32 bit mode, rather than 64 bit mode? Defaults to - true.- Note: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- VnetRoute boolAll Enabled 
- WebsocketsEnabled bool
- Should WebSockets be enabled?
- AlwaysOn bool
- Should the Function App be loaded at all times? Defaults to false.
- AppScale intLimit 
- The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
- AutoSwap stringSlot Name 
- The name of the slot to automatically swap to during deployment
- Cors
FunctionApp Slot Site Config Cors 
- A corsblock as defined below.
- DotnetFramework stringVersion 
- The version of the .NET framework's CLR used in this function app. Possible values are v4.0(including .NET Core 2.1 and 3.1),v5.0andv6.0. For more information on which .NET Framework version to use based on the runtime version you're targeting - please see this table. Defaults tov4.0.
- ElasticInstance intMinimum 
- The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
- FtpsState string
- State of FTP / FTPS service for this function app. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- HealthCheck stringPath 
- Path which will be checked for this function app health.
- Http2Enabled bool
- Specifies whether or not the HTTP2 protocol should be enabled. Defaults to false.
- IpRestrictions []FunctionApp Slot Site Config Ip Restriction 
- A list of ip_restrictionobjects representing IP restrictions as defined below.
- JavaVersion string
- Java version hosted by the function app in Azure. Possible values are 1.8,11&17(In-Preview).
- LinuxFx stringVersion 
- Linux App Framework and version for the AppService, e.g. DOCKER|(golang:latest).
- MinTls stringVersion 
- The minimum supported TLS version for the function app. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new function apps.
- PreWarmed intInstance Count 
- The number of pre-warmed instances for this function app. Only affects apps on the Premium plan.
- RuntimeScale boolMonitoring Enabled 
- Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to false.
- ScmIp []FunctionRestrictions App Slot Site Config Scm Ip Restriction 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- ScmType string
- The type of Source Control used by this function App. Valid values include: - BitBucketGit,- BitBucketHg,- CodePlexGit,- CodePlexHg,- Dropbox,- ExternalGit,- ExternalHg,- GitHub,- LocalGit,- None(default),- OneDrive,- Tfs,- VSO, and- VSTSRM.- NOTE: This setting is incompatible with the - source_controlblock which updates this value based on the setting provided.
- ScmUse boolMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- Use32BitWorker boolProcess 
- Should the Function App run in 32 bit mode, rather than 64 bit mode? Defaults to - true.- Note: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- VnetRoute boolAll Enabled 
- WebsocketsEnabled bool
- Should WebSockets be enabled?
- alwaysOn Boolean
- Should the Function App be loaded at all times? Defaults to false.
- appScale IntegerLimit 
- The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
- autoSwap StringSlot Name 
- The name of the slot to automatically swap to during deployment
- cors
FunctionApp Slot Site Config Cors 
- A corsblock as defined below.
- dotnetFramework StringVersion 
- The version of the .NET framework's CLR used in this function app. Possible values are v4.0(including .NET Core 2.1 and 3.1),v5.0andv6.0. For more information on which .NET Framework version to use based on the runtime version you're targeting - please see this table. Defaults tov4.0.
- elasticInstance IntegerMinimum 
- The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
- ftpsState String
- State of FTP / FTPS service for this function app. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- healthCheck StringPath 
- Path which will be checked for this function app health.
- http2Enabled Boolean
- Specifies whether or not the HTTP2 protocol should be enabled. Defaults to false.
- ipRestrictions List<FunctionApp Slot Site Config Ip Restriction> 
- A list of ip_restrictionobjects representing IP restrictions as defined below.
- javaVersion String
- Java version hosted by the function app in Azure. Possible values are 1.8,11&17(In-Preview).
- linuxFx StringVersion 
- Linux App Framework and version for the AppService, e.g. DOCKER|(golang:latest).
- minTls StringVersion 
- The minimum supported TLS version for the function app. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new function apps.
- preWarmed IntegerInstance Count 
- The number of pre-warmed instances for this function app. Only affects apps on the Premium plan.
- runtimeScale BooleanMonitoring Enabled 
- Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to false.
- scmIp List<FunctionRestrictions App Slot Site Config Scm Ip Restriction> 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- scmType String
- The type of Source Control used by this function App. Valid values include: - BitBucketGit,- BitBucketHg,- CodePlexGit,- CodePlexHg,- Dropbox,- ExternalGit,- ExternalHg,- GitHub,- LocalGit,- None(default),- OneDrive,- Tfs,- VSO, and- VSTSRM.- NOTE: This setting is incompatible with the - source_controlblock which updates this value based on the setting provided.
- scmUse BooleanMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- use32BitWorker BooleanProcess 
- Should the Function App run in 32 bit mode, rather than 64 bit mode? Defaults to - true.- Note: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- vnetRoute BooleanAll Enabled 
- websocketsEnabled Boolean
- Should WebSockets be enabled?
- alwaysOn boolean
- Should the Function App be loaded at all times? Defaults to false.
- appScale numberLimit 
- The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
- autoSwap stringSlot Name 
- The name of the slot to automatically swap to during deployment
- cors
FunctionApp Slot Site Config Cors 
- A corsblock as defined below.
- dotnetFramework stringVersion 
- The version of the .NET framework's CLR used in this function app. Possible values are v4.0(including .NET Core 2.1 and 3.1),v5.0andv6.0. For more information on which .NET Framework version to use based on the runtime version you're targeting - please see this table. Defaults tov4.0.
- elasticInstance numberMinimum 
- The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
- ftpsState string
- State of FTP / FTPS service for this function app. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- healthCheck stringPath 
- Path which will be checked for this function app health.
- http2Enabled boolean
- Specifies whether or not the HTTP2 protocol should be enabled. Defaults to false.
- ipRestrictions FunctionApp Slot Site Config Ip Restriction[] 
- A list of ip_restrictionobjects representing IP restrictions as defined below.
- javaVersion string
- Java version hosted by the function app in Azure. Possible values are 1.8,11&17(In-Preview).
- linuxFx stringVersion 
- Linux App Framework and version for the AppService, e.g. DOCKER|(golang:latest).
- minTls stringVersion 
- The minimum supported TLS version for the function app. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new function apps.
- preWarmed numberInstance Count 
- The number of pre-warmed instances for this function app. Only affects apps on the Premium plan.
- runtimeScale booleanMonitoring Enabled 
- Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to false.
- scmIp FunctionRestrictions App Slot Site Config Scm Ip Restriction[] 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- scmType string
- The type of Source Control used by this function App. Valid values include: - BitBucketGit,- BitBucketHg,- CodePlexGit,- CodePlexHg,- Dropbox,- ExternalGit,- ExternalHg,- GitHub,- LocalGit,- None(default),- OneDrive,- Tfs,- VSO, and- VSTSRM.- NOTE: This setting is incompatible with the - source_controlblock which updates this value based on the setting provided.
- scmUse booleanMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- use32BitWorker booleanProcess 
- Should the Function App run in 32 bit mode, rather than 64 bit mode? Defaults to - true.- Note: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- vnetRoute booleanAll Enabled 
- websocketsEnabled boolean
- Should WebSockets be enabled?
- always_on bool
- Should the Function App be loaded at all times? Defaults to false.
- app_scale_ intlimit 
- The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
- auto_swap_ strslot_ name 
- The name of the slot to automatically swap to during deployment
- cors
FunctionApp Slot Site Config Cors 
- A corsblock as defined below.
- dotnet_framework_ strversion 
- The version of the .NET framework's CLR used in this function app. Possible values are v4.0(including .NET Core 2.1 and 3.1),v5.0andv6.0. For more information on which .NET Framework version to use based on the runtime version you're targeting - please see this table. Defaults tov4.0.
- elastic_instance_ intminimum 
- The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
- ftps_state str
- State of FTP / FTPS service for this function app. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- health_check_ strpath 
- Path which will be checked for this function app health.
- http2_enabled bool
- Specifies whether or not the HTTP2 protocol should be enabled. Defaults to false.
- ip_restrictions Sequence[FunctionApp Slot Site Config Ip Restriction] 
- A list of ip_restrictionobjects representing IP restrictions as defined below.
- java_version str
- Java version hosted by the function app in Azure. Possible values are 1.8,11&17(In-Preview).
- linux_fx_ strversion 
- Linux App Framework and version for the AppService, e.g. DOCKER|(golang:latest).
- min_tls_ strversion 
- The minimum supported TLS version for the function app. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new function apps.
- pre_warmed_ intinstance_ count 
- The number of pre-warmed instances for this function app. Only affects apps on the Premium plan.
- runtime_scale_ boolmonitoring_ enabled 
- Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to false.
- scm_ip_ Sequence[Functionrestrictions App Slot Site Config Scm Ip Restriction] 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- scm_type str
- The type of Source Control used by this function App. Valid values include: - BitBucketGit,- BitBucketHg,- CodePlexGit,- CodePlexHg,- Dropbox,- ExternalGit,- ExternalHg,- GitHub,- LocalGit,- None(default),- OneDrive,- Tfs,- VSO, and- VSTSRM.- NOTE: This setting is incompatible with the - source_controlblock which updates this value based on the setting provided.
- scm_use_ boolmain_ ip_ restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- use32_bit_ boolworker_ process 
- Should the Function App run in 32 bit mode, rather than 64 bit mode? Defaults to - true.- Note: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- vnet_route_ boolall_ enabled 
- websockets_enabled bool
- Should WebSockets be enabled?
- alwaysOn Boolean
- Should the Function App be loaded at all times? Defaults to false.
- appScale NumberLimit 
- The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
- autoSwap StringSlot Name 
- The name of the slot to automatically swap to during deployment
- cors Property Map
- A corsblock as defined below.
- dotnetFramework StringVersion 
- The version of the .NET framework's CLR used in this function app. Possible values are v4.0(including .NET Core 2.1 and 3.1),v5.0andv6.0. For more information on which .NET Framework version to use based on the runtime version you're targeting - please see this table. Defaults tov4.0.
- elasticInstance NumberMinimum 
- The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
- ftpsState String
- State of FTP / FTPS service for this function app. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- healthCheck StringPath 
- Path which will be checked for this function app health.
- http2Enabled Boolean
- Specifies whether or not the HTTP2 protocol should be enabled. Defaults to false.
- ipRestrictions List<Property Map>
- A list of ip_restrictionobjects representing IP restrictions as defined below.
- javaVersion String
- Java version hosted by the function app in Azure. Possible values are 1.8,11&17(In-Preview).
- linuxFx StringVersion 
- Linux App Framework and version for the AppService, e.g. DOCKER|(golang:latest).
- minTls StringVersion 
- The minimum supported TLS version for the function app. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new function apps.
- preWarmed NumberInstance Count 
- The number of pre-warmed instances for this function app. Only affects apps on the Premium plan.
- runtimeScale BooleanMonitoring Enabled 
- Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to false.
- scmIp List<Property Map>Restrictions 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- scmType String
- The type of Source Control used by this function App. Valid values include: - BitBucketGit,- BitBucketHg,- CodePlexGit,- CodePlexHg,- Dropbox,- ExternalGit,- ExternalHg,- GitHub,- LocalGit,- None(default),- OneDrive,- Tfs,- VSO, and- VSTSRM.- NOTE: This setting is incompatible with the - source_controlblock which updates this value based on the setting provided.
- scmUse BooleanMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- use32BitWorker BooleanProcess 
- Should the Function App run in 32 bit mode, rather than 64 bit mode? Defaults to - true.- Note: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- vnetRoute BooleanAll Enabled 
- websocketsEnabled Boolean
- Should WebSockets be enabled?
FunctionAppSlotSiteConfigCors, FunctionAppSlotSiteConfigCorsArgs            
- AllowedOrigins List<string>
- A list of origins which should be able to make cross-origin calls. *can be used to allow all calls.
- SupportCredentials bool
- Are credentials supported?
- AllowedOrigins []string
- A list of origins which should be able to make cross-origin calls. *can be used to allow all calls.
- SupportCredentials bool
- Are credentials supported?
- allowedOrigins List<String>
- A list of origins which should be able to make cross-origin calls. *can be used to allow all calls.
- supportCredentials Boolean
- Are credentials supported?
- allowedOrigins string[]
- A list of origins which should be able to make cross-origin calls. *can be used to allow all calls.
- supportCredentials boolean
- Are credentials supported?
- allowed_origins Sequence[str]
- A list of origins which should be able to make cross-origin calls. *can be used to allow all calls.
- support_credentials bool
- Are credentials supported?
- allowedOrigins List<String>
- A list of origins which should be able to make cross-origin calls. *can be used to allow all calls.
- supportCredentials Boolean
- Are credentials supported?
FunctionAppSlotSiteConfigIpRestriction, FunctionAppSlotSiteConfigIpRestrictionArgs              
- Action string
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- Headers
FunctionApp Slot Site Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas defined below.
- IpAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- Name string
- The name for this IP Restriction.
- Priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- ServiceTag string
- The Service Tag used for this IP Restriction.
- VirtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- Action string
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- Headers
FunctionApp Slot Site Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas defined below.
- IpAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- Name string
- The name for this IP Restriction.
- Priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- ServiceTag string
- The Service Tag used for this IP Restriction.
- VirtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action String
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- headers
FunctionApp Slot Site Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas defined below.
- ipAddress String
- The IP Address used for this IP Restriction in CIDR notation.
- name String
- The name for this IP Restriction.
- priority Integer
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag String
- The Service Tag used for this IP Restriction.
- virtualNetwork StringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action string
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- headers
FunctionApp Slot Site Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas defined below.
- ipAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- name string
- The name for this IP Restriction.
- priority number
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag string
- The Service Tag used for this IP Restriction.
- virtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action str
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- headers
FunctionApp Slot Site Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas defined below.
- ip_address str
- The IP Address used for this IP Restriction in CIDR notation.
- name str
- The name for this IP Restriction.
- priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- service_tag str
- The Service Tag used for this IP Restriction.
- virtual_network_ strsubnet_ id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action String
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- headers Property Map
- The headersblock for this specificip_restrictionas defined below.
- ipAddress String
- The IP Address used for this IP Restriction in CIDR notation.
- name String
- The name for this IP Restriction.
- priority Number
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag String
- The Service Tag used for this IP Restriction.
- virtualNetwork StringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
FunctionAppSlotSiteConfigIpRestrictionHeaders, FunctionAppSlotSiteConfigIpRestrictionHeadersArgs                
- XAzureFdids List<string>
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- XFdHealth stringProbe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- XForwardedFors List<string>
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- XForwardedHosts List<string>
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- XAzureFdids []string
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- XFdHealth stringProbe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- XForwardedFors []string
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- XForwardedHosts []string
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure List<String>Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd StringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded List<String>Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded List<String>Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure string[]Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd stringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded string[]Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded string[]Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- x_azure_ Sequence[str]fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- x_fd_ strhealth_ probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- x_forwarded_ Sequence[str]fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- x_forwarded_ Sequence[str]hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure List<String>Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd StringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded List<String>Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded List<String>Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
FunctionAppSlotSiteConfigScmIpRestriction, FunctionAppSlotSiteConfigScmIpRestrictionArgs                
- Action string
- Allow or Deny access for this IP range. Defaults to Allow.
- Headers
FunctionApp Slot Site Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- IpAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- Name string
- The name for this IP Restriction.
- Priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- ServiceTag string
- The Service Tag used for this IP Restriction.
- VirtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- Action string
- Allow or Deny access for this IP range. Defaults to Allow.
- Headers
FunctionApp Slot Site Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- IpAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- Name string
- The name for this IP Restriction.
- Priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- ServiceTag string
- The Service Tag used for this IP Restriction.
- VirtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action String
- Allow or Deny access for this IP range. Defaults to Allow.
- headers
FunctionApp Slot Site Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- ipAddress String
- The IP Address used for this IP Restriction in CIDR notation.
- name String
- The name for this IP Restriction.
- priority Integer
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag String
- The Service Tag used for this IP Restriction.
- virtualNetwork StringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action string
- Allow or Deny access for this IP range. Defaults to Allow.
- headers
FunctionApp Slot Site Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- ipAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- name string
- The name for this IP Restriction.
- priority number
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag string
- The Service Tag used for this IP Restriction.
- virtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action str
- Allow or Deny access for this IP range. Defaults to Allow.
- headers
FunctionApp Slot Site Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- ip_address str
- The IP Address used for this IP Restriction in CIDR notation.
- name str
- The name for this IP Restriction.
- priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- service_tag str
- The Service Tag used for this IP Restriction.
- virtual_network_ strsubnet_ id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action String
- Allow or Deny access for this IP range. Defaults to Allow.
- headers Property Map
- The headersblock for this specificscm_ip_restrictionas defined below.
- ipAddress String
- The IP Address used for this IP Restriction in CIDR notation.
- name String
- The name for this IP Restriction.
- priority Number
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag String
- The Service Tag used for this IP Restriction.
- virtualNetwork StringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
FunctionAppSlotSiteConfigScmIpRestrictionHeaders, FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs                  
- XAzureFdids List<string>
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- XFdHealth stringProbe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- XForwardedFors List<string>
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- XForwardedHosts List<string>
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- XAzureFdids []string
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- XFdHealth stringProbe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- XForwardedFors []string
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- XForwardedHosts []string
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure List<String>Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd StringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded List<String>Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded List<String>Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure string[]Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd stringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded string[]Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded string[]Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- x_azure_ Sequence[str]fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- x_fd_ strhealth_ probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- x_forwarded_ Sequence[str]fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- x_forwarded_ Sequence[str]hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure List<String>Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd StringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded List<String>Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded List<String>Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
FunctionAppSlotSiteCredential, FunctionAppSlotSiteCredentialArgs          
Import
Function Apps Deployment Slots can be imported using the resource id, e.g.
$ pulumi import azure:appservice/functionAppSlot:FunctionAppSlot functionapp1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/functionapp1/slots/staging
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.