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

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.appservice.Slot

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Manages an App Service Slot (within an App Service).

    !> NOTE: This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use azure.appservice.LinuxWebAppSlot resources instead.

    Note: When using Slots - the app_settings, connection_string and site_config blocks on the azure.appservice.AppService resource will be overwritten when promoting a Slot using the azure.appservice.ActiveSlot resource.

    Example Usage

    NET 4.X)

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as random from "@pulumi/random";
    
    const server = new random.RandomId("server", {
        keepers: {
            azi_id: "1",
        },
        byteLength: 8,
    });
    const example = new azure.core.ResourceGroup("example", {
        name: "some-resource-group",
        location: "West Europe",
    });
    const examplePlan = new azure.appservice.Plan("example", {
        name: "some-app-service-plan",
        location: example.location,
        resourceGroupName: example.name,
        sku: {
            tier: "Standard",
            size: "S1",
        },
    });
    const exampleAppService = new azure.appservice.AppService("example", {
        name: server.hex,
        location: example.location,
        resourceGroupName: example.name,
        appServicePlanId: examplePlan.id,
        siteConfig: {
            dotnetFrameworkVersion: "v4.0",
        },
        appSettings: {
            SOME_KEY: "some-value",
        },
        connectionStrings: [{
            name: "Database",
            type: "SQLServer",
            value: "Server=some-server.mydomain.com;Integrated Security=SSPI",
        }],
    });
    const exampleSlot = new azure.appservice.Slot("example", {
        name: server.hex,
        appServiceName: exampleAppService.name,
        location: example.location,
        resourceGroupName: example.name,
        appServicePlanId: examplePlan.id,
        siteConfig: {
            dotnetFrameworkVersion: "v4.0",
        },
        appSettings: {
            SOME_KEY: "some-value",
        },
        connectionStrings: [{
            name: "Database",
            type: "SQLServer",
            value: "Server=some-server.mydomain.com;Integrated Security=SSPI",
        }],
    });
    
    import pulumi
    import pulumi_azure as azure
    import pulumi_random as random
    
    server = random.RandomId("server",
        keepers={
            "azi_id": "1",
        },
        byte_length=8)
    example = azure.core.ResourceGroup("example",
        name="some-resource-group",
        location="West Europe")
    example_plan = azure.appservice.Plan("example",
        name="some-app-service-plan",
        location=example.location,
        resource_group_name=example.name,
        sku=azure.appservice.PlanSkuArgs(
            tier="Standard",
            size="S1",
        ))
    example_app_service = azure.appservice.AppService("example",
        name=server.hex,
        location=example.location,
        resource_group_name=example.name,
        app_service_plan_id=example_plan.id,
        site_config=azure.appservice.AppServiceSiteConfigArgs(
            dotnet_framework_version="v4.0",
        ),
        app_settings={
            "SOME_KEY": "some-value",
        },
        connection_strings=[azure.appservice.AppServiceConnectionStringArgs(
            name="Database",
            type="SQLServer",
            value="Server=some-server.mydomain.com;Integrated Security=SSPI",
        )])
    example_slot = azure.appservice.Slot("example",
        name=server.hex,
        app_service_name=example_app_service.name,
        location=example.location,
        resource_group_name=example.name,
        app_service_plan_id=example_plan.id,
        site_config=azure.appservice.SlotSiteConfigArgs(
            dotnet_framework_version="v4.0",
        ),
        app_settings={
            "SOME_KEY": "some-value",
        },
        connection_strings=[azure.appservice.SlotConnectionStringArgs(
            name="Database",
            type="SQLServer",
            value="Server=some-server.mydomain.com;Integrated Security=SSPI",
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		server, err := random.NewRandomId(ctx, "server", &random.RandomIdArgs{
    			Keepers: pulumi.StringMap{
    				"azi_id": pulumi.String("1"),
    			},
    			ByteLength: pulumi.Int(8),
    		})
    		if err != nil {
    			return err
    		}
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("some-resource-group"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		examplePlan, err := appservice.NewPlan(ctx, "example", &appservice.PlanArgs{
    			Name:              pulumi.String("some-app-service-plan"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			Sku: &appservice.PlanSkuArgs{
    				Tier: pulumi.String("Standard"),
    				Size: pulumi.String("S1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleAppService, err := appservice.NewAppService(ctx, "example", &appservice.AppServiceArgs{
    			Name:              server.Hex,
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			AppServicePlanId:  examplePlan.ID(),
    			SiteConfig: &appservice.AppServiceSiteConfigArgs{
    				DotnetFrameworkVersion: pulumi.String("v4.0"),
    			},
    			AppSettings: pulumi.StringMap{
    				"SOME_KEY": pulumi.String("some-value"),
    			},
    			ConnectionStrings: appservice.AppServiceConnectionStringArray{
    				&appservice.AppServiceConnectionStringArgs{
    					Name:  pulumi.String("Database"),
    					Type:  pulumi.String("SQLServer"),
    					Value: pulumi.String("Server=some-server.mydomain.com;Integrated Security=SSPI"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appservice.NewSlot(ctx, "example", &appservice.SlotArgs{
    			Name:              server.Hex,
    			AppServiceName:    exampleAppService.Name,
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			AppServicePlanId:  examplePlan.ID(),
    			SiteConfig: &appservice.SlotSiteConfigArgs{
    				DotnetFrameworkVersion: pulumi.String("v4.0"),
    			},
    			AppSettings: pulumi.StringMap{
    				"SOME_KEY": pulumi.String("some-value"),
    			},
    			ConnectionStrings: appservice.SlotConnectionStringArray{
    				&appservice.SlotConnectionStringArgs{
    					Name:  pulumi.String("Database"),
    					Type:  pulumi.String("SQLServer"),
    					Value: pulumi.String("Server=some-server.mydomain.com;Integrated Security=SSPI"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new Random.RandomId("server", new()
        {
            Keepers = 
            {
                { "azi_id", "1" },
            },
            ByteLength = 8,
        });
    
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "some-resource-group",
            Location = "West Europe",
        });
    
        var examplePlan = new Azure.AppService.Plan("example", new()
        {
            Name = "some-app-service-plan",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Sku = new Azure.AppService.Inputs.PlanSkuArgs
            {
                Tier = "Standard",
                Size = "S1",
            },
        });
    
        var exampleAppService = new Azure.AppService.AppService("example", new()
        {
            Name = server.Hex,
            Location = example.Location,
            ResourceGroupName = example.Name,
            AppServicePlanId = examplePlan.Id,
            SiteConfig = new Azure.AppService.Inputs.AppServiceSiteConfigArgs
            {
                DotnetFrameworkVersion = "v4.0",
            },
            AppSettings = 
            {
                { "SOME_KEY", "some-value" },
            },
            ConnectionStrings = new[]
            {
                new Azure.AppService.Inputs.AppServiceConnectionStringArgs
                {
                    Name = "Database",
                    Type = "SQLServer",
                    Value = "Server=some-server.mydomain.com;Integrated Security=SSPI",
                },
            },
        });
    
        var exampleSlot = new Azure.AppService.Slot("example", new()
        {
            Name = server.Hex,
            AppServiceName = exampleAppService.Name,
            Location = example.Location,
            ResourceGroupName = example.Name,
            AppServicePlanId = examplePlan.Id,
            SiteConfig = new Azure.AppService.Inputs.SlotSiteConfigArgs
            {
                DotnetFrameworkVersion = "v4.0",
            },
            AppSettings = 
            {
                { "SOME_KEY", "some-value" },
            },
            ConnectionStrings = new[]
            {
                new Azure.AppService.Inputs.SlotConnectionStringArgs
                {
                    Name = "Database",
                    Type = "SQLServer",
                    Value = "Server=some-server.mydomain.com;Integrated Security=SSPI",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.RandomId;
    import com.pulumi.random.RandomIdArgs;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.appservice.Plan;
    import com.pulumi.azure.appservice.PlanArgs;
    import com.pulumi.azure.appservice.inputs.PlanSkuArgs;
    import com.pulumi.azure.appservice.AppService;
    import com.pulumi.azure.appservice.AppServiceArgs;
    import com.pulumi.azure.appservice.inputs.AppServiceSiteConfigArgs;
    import com.pulumi.azure.appservice.inputs.AppServiceConnectionStringArgs;
    import com.pulumi.azure.appservice.Slot;
    import com.pulumi.azure.appservice.SlotArgs;
    import com.pulumi.azure.appservice.inputs.SlotSiteConfigArgs;
    import com.pulumi.azure.appservice.inputs.SlotConnectionStringArgs;
    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 server = new RandomId("server", RandomIdArgs.builder()        
                .keepers(Map.of("azi_id", 1))
                .byteLength(8)
                .build());
    
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("some-resource-group")
                .location("West Europe")
                .build());
    
            var examplePlan = new Plan("examplePlan", PlanArgs.builder()        
                .name("some-app-service-plan")
                .location(example.location())
                .resourceGroupName(example.name())
                .sku(PlanSkuArgs.builder()
                    .tier("Standard")
                    .size("S1")
                    .build())
                .build());
    
            var exampleAppService = new AppService("exampleAppService", AppServiceArgs.builder()        
                .name(server.hex())
                .location(example.location())
                .resourceGroupName(example.name())
                .appServicePlanId(examplePlan.id())
                .siteConfig(AppServiceSiteConfigArgs.builder()
                    .dotnetFrameworkVersion("v4.0")
                    .build())
                .appSettings(Map.of("SOME_KEY", "some-value"))
                .connectionStrings(AppServiceConnectionStringArgs.builder()
                    .name("Database")
                    .type("SQLServer")
                    .value("Server=some-server.mydomain.com;Integrated Security=SSPI")
                    .build())
                .build());
    
            var exampleSlot = new Slot("exampleSlot", SlotArgs.builder()        
                .name(server.hex())
                .appServiceName(exampleAppService.name())
                .location(example.location())
                .resourceGroupName(example.name())
                .appServicePlanId(examplePlan.id())
                .siteConfig(SlotSiteConfigArgs.builder()
                    .dotnetFrameworkVersion("v4.0")
                    .build())
                .appSettings(Map.of("SOME_KEY", "some-value"))
                .connectionStrings(SlotConnectionStringArgs.builder()
                    .name("Database")
                    .type("SQLServer")
                    .value("Server=some-server.mydomain.com;Integrated Security=SSPI")
                    .build())
                .build());
    
        }
    }
    
    resources:
      server:
        type: random:RandomId
        properties:
          keepers:
            azi_id: 1
          byteLength: 8
      example:
        type: azure:core:ResourceGroup
        properties:
          name: some-resource-group
          location: West Europe
      examplePlan:
        type: azure:appservice:Plan
        name: example
        properties:
          name: some-app-service-plan
          location: ${example.location}
          resourceGroupName: ${example.name}
          sku:
            tier: Standard
            size: S1
      exampleAppService:
        type: azure:appservice:AppService
        name: example
        properties:
          name: ${server.hex}
          location: ${example.location}
          resourceGroupName: ${example.name}
          appServicePlanId: ${examplePlan.id}
          siteConfig:
            dotnetFrameworkVersion: v4.0
          appSettings:
            SOME_KEY: some-value
          connectionStrings:
            - name: Database
              type: SQLServer
              value: Server=some-server.mydomain.com;Integrated Security=SSPI
      exampleSlot:
        type: azure:appservice:Slot
        name: example
        properties:
          name: ${server.hex}
          appServiceName: ${exampleAppService.name}
          location: ${example.location}
          resourceGroupName: ${example.name}
          appServicePlanId: ${examplePlan.id}
          siteConfig:
            dotnetFrameworkVersion: v4.0
          appSettings:
            SOME_KEY: some-value
          connectionStrings:
            - name: Database
              type: SQLServer
              value: Server=some-server.mydomain.com;Integrated Security=SSPI
    

    Java 1.8)

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as random from "@pulumi/random";
    
    const server = new random.RandomId("server", {
        keepers: {
            azi_id: "1",
        },
        byteLength: 8,
    });
    const example = new azure.core.ResourceGroup("example", {
        name: "some-resource-group",
        location: "West Europe",
    });
    const examplePlan = new azure.appservice.Plan("example", {
        name: "some-app-service-plan",
        location: example.location,
        resourceGroupName: example.name,
        sku: {
            tier: "Standard",
            size: "S1",
        },
    });
    const exampleAppService = new azure.appservice.AppService("example", {
        name: server.hex,
        location: example.location,
        resourceGroupName: example.name,
        appServicePlanId: examplePlan.id,
        siteConfig: {
            javaVersion: "1.8",
            javaContainer: "JETTY",
            javaContainerVersion: "9.3",
        },
    });
    const exampleSlot = new azure.appservice.Slot("example", {
        name: server.hex,
        appServiceName: exampleAppService.name,
        location: example.location,
        resourceGroupName: example.name,
        appServicePlanId: examplePlan.id,
        siteConfig: {
            javaVersion: "1.8",
            javaContainer: "JETTY",
            javaContainerVersion: "9.3",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    import pulumi_random as random
    
    server = random.RandomId("server",
        keepers={
            "azi_id": "1",
        },
        byte_length=8)
    example = azure.core.ResourceGroup("example",
        name="some-resource-group",
        location="West Europe")
    example_plan = azure.appservice.Plan("example",
        name="some-app-service-plan",
        location=example.location,
        resource_group_name=example.name,
        sku=azure.appservice.PlanSkuArgs(
            tier="Standard",
            size="S1",
        ))
    example_app_service = azure.appservice.AppService("example",
        name=server.hex,
        location=example.location,
        resource_group_name=example.name,
        app_service_plan_id=example_plan.id,
        site_config=azure.appservice.AppServiceSiteConfigArgs(
            java_version="1.8",
            java_container="JETTY",
            java_container_version="9.3",
        ))
    example_slot = azure.appservice.Slot("example",
        name=server.hex,
        app_service_name=example_app_service.name,
        location=example.location,
        resource_group_name=example.name,
        app_service_plan_id=example_plan.id,
        site_config=azure.appservice.SlotSiteConfigArgs(
            java_version="1.8",
            java_container="JETTY",
            java_container_version="9.3",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		server, err := random.NewRandomId(ctx, "server", &random.RandomIdArgs{
    			Keepers: pulumi.StringMap{
    				"azi_id": pulumi.String("1"),
    			},
    			ByteLength: pulumi.Int(8),
    		})
    		if err != nil {
    			return err
    		}
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("some-resource-group"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		examplePlan, err := appservice.NewPlan(ctx, "example", &appservice.PlanArgs{
    			Name:              pulumi.String("some-app-service-plan"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			Sku: &appservice.PlanSkuArgs{
    				Tier: pulumi.String("Standard"),
    				Size: pulumi.String("S1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleAppService, err := appservice.NewAppService(ctx, "example", &appservice.AppServiceArgs{
    			Name:              server.Hex,
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			AppServicePlanId:  examplePlan.ID(),
    			SiteConfig: &appservice.AppServiceSiteConfigArgs{
    				JavaVersion:          pulumi.String("1.8"),
    				JavaContainer:        pulumi.String("JETTY"),
    				JavaContainerVersion: pulumi.String("9.3"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appservice.NewSlot(ctx, "example", &appservice.SlotArgs{
    			Name:              server.Hex,
    			AppServiceName:    exampleAppService.Name,
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			AppServicePlanId:  examplePlan.ID(),
    			SiteConfig: &appservice.SlotSiteConfigArgs{
    				JavaVersion:          pulumi.String("1.8"),
    				JavaContainer:        pulumi.String("JETTY"),
    				JavaContainerVersion: pulumi.String("9.3"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new Random.RandomId("server", new()
        {
            Keepers = 
            {
                { "azi_id", "1" },
            },
            ByteLength = 8,
        });
    
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "some-resource-group",
            Location = "West Europe",
        });
    
        var examplePlan = new Azure.AppService.Plan("example", new()
        {
            Name = "some-app-service-plan",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Sku = new Azure.AppService.Inputs.PlanSkuArgs
            {
                Tier = "Standard",
                Size = "S1",
            },
        });
    
        var exampleAppService = new Azure.AppService.AppService("example", new()
        {
            Name = server.Hex,
            Location = example.Location,
            ResourceGroupName = example.Name,
            AppServicePlanId = examplePlan.Id,
            SiteConfig = new Azure.AppService.Inputs.AppServiceSiteConfigArgs
            {
                JavaVersion = "1.8",
                JavaContainer = "JETTY",
                JavaContainerVersion = "9.3",
            },
        });
    
        var exampleSlot = new Azure.AppService.Slot("example", new()
        {
            Name = server.Hex,
            AppServiceName = exampleAppService.Name,
            Location = example.Location,
            ResourceGroupName = example.Name,
            AppServicePlanId = examplePlan.Id,
            SiteConfig = new Azure.AppService.Inputs.SlotSiteConfigArgs
            {
                JavaVersion = "1.8",
                JavaContainer = "JETTY",
                JavaContainerVersion = "9.3",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.RandomId;
    import com.pulumi.random.RandomIdArgs;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.appservice.Plan;
    import com.pulumi.azure.appservice.PlanArgs;
    import com.pulumi.azure.appservice.inputs.PlanSkuArgs;
    import com.pulumi.azure.appservice.AppService;
    import com.pulumi.azure.appservice.AppServiceArgs;
    import com.pulumi.azure.appservice.inputs.AppServiceSiteConfigArgs;
    import com.pulumi.azure.appservice.Slot;
    import com.pulumi.azure.appservice.SlotArgs;
    import com.pulumi.azure.appservice.inputs.SlotSiteConfigArgs;
    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 server = new RandomId("server", RandomIdArgs.builder()        
                .keepers(Map.of("azi_id", 1))
                .byteLength(8)
                .build());
    
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("some-resource-group")
                .location("West Europe")
                .build());
    
            var examplePlan = new Plan("examplePlan", PlanArgs.builder()        
                .name("some-app-service-plan")
                .location(example.location())
                .resourceGroupName(example.name())
                .sku(PlanSkuArgs.builder()
                    .tier("Standard")
                    .size("S1")
                    .build())
                .build());
    
            var exampleAppService = new AppService("exampleAppService", AppServiceArgs.builder()        
                .name(server.hex())
                .location(example.location())
                .resourceGroupName(example.name())
                .appServicePlanId(examplePlan.id())
                .siteConfig(AppServiceSiteConfigArgs.builder()
                    .javaVersion("1.8")
                    .javaContainer("JETTY")
                    .javaContainerVersion("9.3")
                    .build())
                .build());
    
            var exampleSlot = new Slot("exampleSlot", SlotArgs.builder()        
                .name(server.hex())
                .appServiceName(exampleAppService.name())
                .location(example.location())
                .resourceGroupName(example.name())
                .appServicePlanId(examplePlan.id())
                .siteConfig(SlotSiteConfigArgs.builder()
                    .javaVersion("1.8")
                    .javaContainer("JETTY")
                    .javaContainerVersion("9.3")
                    .build())
                .build());
    
        }
    }
    
    resources:
      server:
        type: random:RandomId
        properties:
          keepers:
            azi_id: 1
          byteLength: 8
      example:
        type: azure:core:ResourceGroup
        properties:
          name: some-resource-group
          location: West Europe
      examplePlan:
        type: azure:appservice:Plan
        name: example
        properties:
          name: some-app-service-plan
          location: ${example.location}
          resourceGroupName: ${example.name}
          sku:
            tier: Standard
            size: S1
      exampleAppService:
        type: azure:appservice:AppService
        name: example
        properties:
          name: ${server.hex}
          location: ${example.location}
          resourceGroupName: ${example.name}
          appServicePlanId: ${examplePlan.id}
          siteConfig:
            javaVersion: '1.8'
            javaContainer: JETTY
            javaContainerVersion: '9.3'
      exampleSlot:
        type: azure:appservice:Slot
        name: example
        properties:
          name: ${server.hex}
          appServiceName: ${exampleAppService.name}
          location: ${example.location}
          resourceGroupName: ${example.name}
          appServicePlanId: ${examplePlan.id}
          siteConfig:
            javaVersion: '1.8'
            javaContainer: JETTY
            javaContainerVersion: '9.3'
    

    Create Slot Resource

    new Slot(name: string, args: SlotArgs, opts?: CustomResourceOptions);
    @overload
    def Slot(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             app_service_name: Optional[str] = None,
             app_service_plan_id: Optional[str] = None,
             app_settings: Optional[Mapping[str, str]] = None,
             auth_settings: Optional[SlotAuthSettingsArgs] = None,
             client_affinity_enabled: Optional[bool] = None,
             connection_strings: Optional[Sequence[SlotConnectionStringArgs]] = None,
             enabled: Optional[bool] = None,
             https_only: Optional[bool] = None,
             identity: Optional[SlotIdentityArgs] = None,
             key_vault_reference_identity_id: Optional[str] = None,
             location: Optional[str] = None,
             logs: Optional[SlotLogsArgs] = None,
             name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             site_config: Optional[SlotSiteConfigArgs] = None,
             storage_accounts: Optional[Sequence[SlotStorageAccountArgs]] = None,
             tags: Optional[Mapping[str, str]] = None)
    @overload
    def Slot(resource_name: str,
             args: SlotArgs,
             opts: Optional[ResourceOptions] = None)
    func NewSlot(ctx *Context, name string, args SlotArgs, opts ...ResourceOption) (*Slot, error)
    public Slot(string name, SlotArgs args, CustomResourceOptions? opts = null)
    public Slot(String name, SlotArgs args)
    public Slot(String name, SlotArgs args, CustomResourceOptions options)
    
    type: azure:appservice:Slot
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SlotArgs
    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 SlotArgs
    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 SlotArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SlotArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SlotArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Slot Resource Properties

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

    Inputs

    The Slot resource accepts the following input properties:

    AppServiceName string
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    AppServicePlanId string
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    AppSettings Dictionary<string, string>
    A key-value pair of App Settings.
    AuthSettings SlotAuthSettings
    A auth_settings block as defined below.
    ClientAffinityEnabled bool
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    ConnectionStrings List<SlotConnectionString>
    An connection_string block as defined below.
    Enabled bool
    Is the App Service Slot Enabled? Defaults to true.
    HttpsOnly bool
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    Identity SlotIdentity
    An identity block as defined below.
    KeyVaultReferenceIdentityId string
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Logs SlotLogs
    A logs block as defined below.
    Name string
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    SiteConfig SlotSiteConfig
    A site_config object as defined below.
    StorageAccounts List<SlotStorageAccount>
    One or more storage_account blocks as defined below.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AppServiceName string
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    AppServicePlanId string
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    AppSettings map[string]string
    A key-value pair of App Settings.
    AuthSettings SlotAuthSettingsArgs
    A auth_settings block as defined below.
    ClientAffinityEnabled bool
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    ConnectionStrings []SlotConnectionStringArgs
    An connection_string block as defined below.
    Enabled bool
    Is the App Service Slot Enabled? Defaults to true.
    HttpsOnly bool
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    Identity SlotIdentityArgs
    An identity block as defined below.
    KeyVaultReferenceIdentityId string
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Logs SlotLogsArgs
    A logs block as defined below.
    Name string
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    SiteConfig SlotSiteConfigArgs
    A site_config object as defined below.
    StorageAccounts []SlotStorageAccountArgs
    One or more storage_account blocks as defined below.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    appServiceName String
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    appServicePlanId String
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    appSettings Map<String,String>
    A key-value pair of App Settings.
    authSettings SlotAuthSettings
    A auth_settings block as defined below.
    clientAffinityEnabled Boolean
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    connectionStrings List<SlotConnectionString>
    An connection_string block as defined below.
    enabled Boolean
    Is the App Service Slot Enabled? Defaults to true.
    httpsOnly Boolean
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    identity SlotIdentity
    An identity block as defined below.
    keyVaultReferenceIdentityId String
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    logs SlotLogs
    A logs block as defined below.
    name String
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    siteConfig SlotSiteConfig
    A site_config object as defined below.
    storageAccounts List<SlotStorageAccount>
    One or more storage_account blocks as defined below.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    appServiceName string
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    appServicePlanId string
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    appSettings {[key: string]: string}
    A key-value pair of App Settings.
    authSettings SlotAuthSettings
    A auth_settings block as defined below.
    clientAffinityEnabled boolean
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    connectionStrings SlotConnectionString[]
    An connection_string block as defined below.
    enabled boolean
    Is the App Service Slot Enabled? Defaults to true.
    httpsOnly boolean
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    identity SlotIdentity
    An identity block as defined below.
    keyVaultReferenceIdentityId string
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    logs SlotLogs
    A logs block as defined below.
    name string
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    siteConfig SlotSiteConfig
    A site_config object as defined below.
    storageAccounts SlotStorageAccount[]
    One or more storage_account blocks as defined below.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    app_service_name str
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    app_service_plan_id str
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    app_settings Mapping[str, str]
    A key-value pair of App Settings.
    auth_settings SlotAuthSettingsArgs
    A auth_settings block as defined below.
    client_affinity_enabled bool
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    connection_strings Sequence[SlotConnectionStringArgs]
    An connection_string block as defined below.
    enabled bool
    Is the App Service Slot Enabled? Defaults to true.
    https_only bool
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    identity SlotIdentityArgs
    An identity block as defined below.
    key_vault_reference_identity_id str
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    logs SlotLogsArgs
    A logs block as defined below.
    name str
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    site_config SlotSiteConfigArgs
    A site_config object as defined below.
    storage_accounts Sequence[SlotStorageAccountArgs]
    One or more storage_account blocks as defined below.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    appServiceName String
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    appServicePlanId String
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    appSettings Map<String>
    A key-value pair of App Settings.
    authSettings Property Map
    A auth_settings block as defined below.
    clientAffinityEnabled Boolean
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    connectionStrings List<Property Map>
    An connection_string block as defined below.
    enabled Boolean
    Is the App Service Slot Enabled? Defaults to true.
    httpsOnly Boolean
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    identity Property Map
    An identity block as defined below.
    keyVaultReferenceIdentityId String
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    logs Property Map
    A logs block as defined below.
    name String
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    siteConfig Property Map
    A site_config object as defined below.
    storageAccounts List<Property Map>
    One or more storage_account blocks as defined below.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Outputs

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

    DefaultSiteHostname string
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    Id string
    The provider-assigned unique ID for this managed resource.
    SiteCredentials List<SlotSiteCredential>
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    DefaultSiteHostname string
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    Id string
    The provider-assigned unique ID for this managed resource.
    SiteCredentials []SlotSiteCredential
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    defaultSiteHostname String
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    id String
    The provider-assigned unique ID for this managed resource.
    siteCredentials List<SlotSiteCredential>
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    defaultSiteHostname string
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    id string
    The provider-assigned unique ID for this managed resource.
    siteCredentials SlotSiteCredential[]
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    default_site_hostname str
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    id str
    The provider-assigned unique ID for this managed resource.
    site_credentials Sequence[SlotSiteCredential]
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    defaultSiteHostname String
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    id String
    The provider-assigned unique ID for this managed resource.
    siteCredentials List<Property Map>
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.

    Look up Existing Slot Resource

    Get an existing Slot 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?: SlotState, opts?: CustomResourceOptions): Slot
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_service_name: Optional[str] = None,
            app_service_plan_id: Optional[str] = None,
            app_settings: Optional[Mapping[str, str]] = None,
            auth_settings: Optional[SlotAuthSettingsArgs] = None,
            client_affinity_enabled: Optional[bool] = None,
            connection_strings: Optional[Sequence[SlotConnectionStringArgs]] = None,
            default_site_hostname: Optional[str] = None,
            enabled: Optional[bool] = None,
            https_only: Optional[bool] = None,
            identity: Optional[SlotIdentityArgs] = None,
            key_vault_reference_identity_id: Optional[str] = None,
            location: Optional[str] = None,
            logs: Optional[SlotLogsArgs] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            site_config: Optional[SlotSiteConfigArgs] = None,
            site_credentials: Optional[Sequence[SlotSiteCredentialArgs]] = None,
            storage_accounts: Optional[Sequence[SlotStorageAccountArgs]] = None,
            tags: Optional[Mapping[str, str]] = None) -> Slot
    func GetSlot(ctx *Context, name string, id IDInput, state *SlotState, opts ...ResourceOption) (*Slot, error)
    public static Slot Get(string name, Input<string> id, SlotState? state, CustomResourceOptions? opts = null)
    public static Slot get(String name, Output<String> id, SlotState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppServiceName string
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    AppServicePlanId string
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    AppSettings Dictionary<string, string>
    A key-value pair of App Settings.
    AuthSettings SlotAuthSettings
    A auth_settings block as defined below.
    ClientAffinityEnabled bool
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    ConnectionStrings List<SlotConnectionString>
    An connection_string block as defined below.
    DefaultSiteHostname string
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    Enabled bool
    Is the App Service Slot Enabled? Defaults to true.
    HttpsOnly bool
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    Identity SlotIdentity
    An identity block as defined below.
    KeyVaultReferenceIdentityId string
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Logs SlotLogs
    A logs block as defined below.
    Name string
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    SiteConfig SlotSiteConfig
    A site_config object as defined below.
    SiteCredentials List<SlotSiteCredential>
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    StorageAccounts List<SlotStorageAccount>
    One or more storage_account blocks as defined below.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AppServiceName string
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    AppServicePlanId string
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    AppSettings map[string]string
    A key-value pair of App Settings.
    AuthSettings SlotAuthSettingsArgs
    A auth_settings block as defined below.
    ClientAffinityEnabled bool
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    ConnectionStrings []SlotConnectionStringArgs
    An connection_string block as defined below.
    DefaultSiteHostname string
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    Enabled bool
    Is the App Service Slot Enabled? Defaults to true.
    HttpsOnly bool
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    Identity SlotIdentityArgs
    An identity block as defined below.
    KeyVaultReferenceIdentityId string
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Logs SlotLogsArgs
    A logs block as defined below.
    Name string
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    SiteConfig SlotSiteConfigArgs
    A site_config object as defined below.
    SiteCredentials []SlotSiteCredentialArgs
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    StorageAccounts []SlotStorageAccountArgs
    One or more storage_account blocks as defined below.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    appServiceName String
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    appServicePlanId String
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    appSettings Map<String,String>
    A key-value pair of App Settings.
    authSettings SlotAuthSettings
    A auth_settings block as defined below.
    clientAffinityEnabled Boolean
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    connectionStrings List<SlotConnectionString>
    An connection_string block as defined below.
    defaultSiteHostname String
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    enabled Boolean
    Is the App Service Slot Enabled? Defaults to true.
    httpsOnly Boolean
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    identity SlotIdentity
    An identity block as defined below.
    keyVaultReferenceIdentityId String
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    logs SlotLogs
    A logs block as defined below.
    name String
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    siteConfig SlotSiteConfig
    A site_config object as defined below.
    siteCredentials List<SlotSiteCredential>
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    storageAccounts List<SlotStorageAccount>
    One or more storage_account blocks as defined below.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    appServiceName string
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    appServicePlanId string
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    appSettings {[key: string]: string}
    A key-value pair of App Settings.
    authSettings SlotAuthSettings
    A auth_settings block as defined below.
    clientAffinityEnabled boolean
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    connectionStrings SlotConnectionString[]
    An connection_string block as defined below.
    defaultSiteHostname string
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    enabled boolean
    Is the App Service Slot Enabled? Defaults to true.
    httpsOnly boolean
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    identity SlotIdentity
    An identity block as defined below.
    keyVaultReferenceIdentityId string
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    logs SlotLogs
    A logs block as defined below.
    name string
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    siteConfig SlotSiteConfig
    A site_config object as defined below.
    siteCredentials SlotSiteCredential[]
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    storageAccounts SlotStorageAccount[]
    One or more storage_account blocks as defined below.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    app_service_name str
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    app_service_plan_id str
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    app_settings Mapping[str, str]
    A key-value pair of App Settings.
    auth_settings SlotAuthSettingsArgs
    A auth_settings block as defined below.
    client_affinity_enabled bool
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    connection_strings Sequence[SlotConnectionStringArgs]
    An connection_string block as defined below.
    default_site_hostname str
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    enabled bool
    Is the App Service Slot Enabled? Defaults to true.
    https_only bool
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    identity SlotIdentityArgs
    An identity block as defined below.
    key_vault_reference_identity_id str
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    logs SlotLogsArgs
    A logs block as defined below.
    name str
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    site_config SlotSiteConfigArgs
    A site_config object as defined below.
    site_credentials Sequence[SlotSiteCredentialArgs]
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    storage_accounts Sequence[SlotStorageAccountArgs]
    One or more storage_account blocks as defined below.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    appServiceName String
    The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
    appServicePlanId String
    The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
    appSettings Map<String>
    A key-value pair of App Settings.
    authSettings Property Map
    A auth_settings block as defined below.
    clientAffinityEnabled Boolean
    Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
    connectionStrings List<Property Map>
    An connection_string block as defined below.
    defaultSiteHostname String
    The Default Hostname associated with the App Service Slot - such as mysite.azurewebsites.net
    enabled Boolean
    Is the App Service Slot Enabled? Defaults to true.
    httpsOnly Boolean
    Can the App Service Slot only be accessed via HTTPS? Defaults to false.
    identity Property Map
    An identity block as defined below.
    keyVaultReferenceIdentityId String
    The User Assigned Identity Id used for looking up KeyVault secrets. The identity must be assigned to the application. See Access vaults with a user-assigned identity for more information.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    logs Property Map
    A logs block as defined below.
    name String
    Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the App Service Slot component. Changing this forces a new resource to be created.
    siteConfig Property Map
    A site_config object as defined below.
    siteCredentials List<Property Map>
    A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service slot.
    storageAccounts List<Property Map>
    One or more storage_account blocks as defined below.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Supporting Types

    SlotAuthSettings, SlotAuthSettingsArgs

    Enabled bool
    Is Authentication enabled?
    ActiveDirectory SlotAuthSettingsActiveDirectory
    A active_directory block as defined below.
    AdditionalLoginParams Dictionary<string, string>
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    AllowedExternalRedirectUrls List<string>
    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, MicrosoftAccount and Twitter.

    NOTE: When using multiple providers, the default provider must be set for settings like unauthenticated_client_action to work.

    Facebook SlotAuthSettingsFacebook
    A facebook block as defined below.
    Google SlotAuthSettingsGoogle
    A google block 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 SlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    RuntimeVersion string
    The runtime version of the Authentication/Authorization module.
    TokenRefreshExtensionHours double
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
    TokenStoreEnabled bool
    If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
    Twitter SlotAuthSettingsTwitter
    A twitter block as defined below.
    UnauthenticatedClientAction string
    The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymous and RedirectToLoginPage.
    Enabled bool
    Is Authentication enabled?
    ActiveDirectory SlotAuthSettingsActiveDirectory
    A active_directory block as defined below.
    AdditionalLoginParams map[string]string
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    AllowedExternalRedirectUrls []string
    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, MicrosoftAccount and Twitter.

    NOTE: When using multiple providers, the default provider must be set for settings like unauthenticated_client_action to work.

    Facebook SlotAuthSettingsFacebook
    A facebook block as defined below.
    Google SlotAuthSettingsGoogle
    A google block 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 SlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    RuntimeVersion string
    The runtime version of the Authentication/Authorization module.
    TokenRefreshExtensionHours float64
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
    TokenStoreEnabled bool
    If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
    Twitter SlotAuthSettingsTwitter
    A twitter block as defined below.
    UnauthenticatedClientAction string
    The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymous and RedirectToLoginPage.
    enabled Boolean
    Is Authentication enabled?
    activeDirectory SlotAuthSettingsActiveDirectory
    A active_directory block as defined below.
    additionalLoginParams Map<String,String>
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    allowedExternalRedirectUrls List<String>
    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, MicrosoftAccount and Twitter.

    NOTE: When using multiple providers, the default provider must be set for settings like unauthenticated_client_action to work.

    facebook SlotAuthSettingsFacebook
    A facebook block as defined below.
    google SlotAuthSettingsGoogle
    A google block 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 SlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    runtimeVersion String
    The runtime version of the Authentication/Authorization module.
    tokenRefreshExtensionHours Double
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
    tokenStoreEnabled Boolean
    If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
    twitter SlotAuthSettingsTwitter
    A twitter block as defined below.
    unauthenticatedClientAction String
    The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymous and RedirectToLoginPage.
    enabled boolean
    Is Authentication enabled?
    activeDirectory SlotAuthSettingsActiveDirectory
    A active_directory block as defined below.
    additionalLoginParams {[key: string]: string}
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    allowedExternalRedirectUrls string[]
    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, MicrosoftAccount and Twitter.

    NOTE: When using multiple providers, the default provider must be set for settings like unauthenticated_client_action to work.

    facebook SlotAuthSettingsFacebook
    A facebook block as defined below.
    google SlotAuthSettingsGoogle
    A google block 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 SlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    runtimeVersion string
    The runtime version of the Authentication/Authorization module.
    tokenRefreshExtensionHours number
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
    tokenStoreEnabled boolean
    If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
    twitter SlotAuthSettingsTwitter
    A twitter block as defined below.
    unauthenticatedClientAction string
    The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymous and RedirectToLoginPage.
    enabled bool
    Is Authentication enabled?
    active_directory SlotAuthSettingsActiveDirectory
    A active_directory block as defined below.
    additional_login_params Mapping[str, str]
    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_redirect_urls Sequence[str]
    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, MicrosoftAccount and Twitter.

    NOTE: When using multiple providers, the default provider must be set for settings like unauthenticated_client_action to work.

    facebook SlotAuthSettingsFacebook
    A facebook block as defined below.
    google SlotAuthSettingsGoogle
    A google block 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 SlotAuthSettingsMicrosoft
    A microsoft block as defined below.
    runtime_version str
    The runtime version of the Authentication/Authorization module.
    token_refresh_extension_hours float
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
    token_store_enabled bool
    If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
    twitter SlotAuthSettingsTwitter
    A twitter block as defined below.
    unauthenticated_client_action str
    The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymous and RedirectToLoginPage.
    enabled Boolean
    Is Authentication enabled?
    activeDirectory Property Map
    A active_directory block as defined below.
    additionalLoginParams Map<String>
    Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
    allowedExternalRedirectUrls List<String>
    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, MicrosoftAccount and Twitter.

    NOTE: When using multiple providers, the default provider must be set for settings like unauthenticated_client_action to work.

    facebook Property Map
    A facebook block as defined below.
    google Property Map
    A google block 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 microsoft block as defined below.
    runtimeVersion String
    The runtime version of the Authentication/Authorization module.
    tokenRefreshExtensionHours Number
    The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
    tokenStoreEnabled Boolean
    If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
    twitter Property Map
    A twitter block as defined below.
    unauthenticatedClientAction String
    The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymous and RedirectToLoginPage.

    SlotAuthSettingsActiveDirectory, SlotAuthSettingsActiveDirectoryArgs

    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.

    SlotAuthSettingsFacebook, SlotAuthSettingsFacebookArgs

    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

    SlotAuthSettingsGoogle, SlotAuthSettingsGoogleArgs

    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/

    SlotAuthSettingsMicrosoft, SlotAuthSettingsMicrosoftArgs

    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

    SlotAuthSettingsTwitter, SlotAuthSettingsTwitterArgs

    ConsumerKey string
    The consumer key of the Twitter app used for login
    ConsumerSecret string
    The consumer secret of the Twitter app used for login.
    ConsumerKey string
    The consumer key of the Twitter app used for login
    ConsumerSecret string
    The consumer secret of the Twitter app used for login.
    consumerKey String
    The consumer key of the Twitter app used for login
    consumerSecret String
    The consumer secret of the Twitter app used for login.
    consumerKey string
    The consumer key of the Twitter app used for login
    consumerSecret string
    The consumer secret of the Twitter app used for login.
    consumer_key str
    The consumer key of the Twitter app used for login
    consumer_secret str
    The consumer secret of the Twitter app used for login.
    consumerKey String
    The consumer key of the Twitter app used for login
    consumerSecret String
    The consumer secret of the Twitter app used for login.

    SlotConnectionString, SlotConnectionStringArgs

    Name string
    The name of the Connection String.
    Type string
    The type of the Connection String. Possible values are APIHub, Custom, DocDb, EventHub, MySQL, NotificationHub, PostgreSQL, RedisCache, ServiceBus, SQLAzure, and SQLServer.
    Value string
    The value for the Connection String.
    Name string
    The name of the Connection String.
    Type string
    The type of the Connection String. Possible values are APIHub, Custom, DocDb, EventHub, MySQL, NotificationHub, PostgreSQL, RedisCache, ServiceBus, SQLAzure, and SQLServer.
    Value string
    The value for the Connection String.
    name String
    The name of the Connection String.
    type String
    The type of the Connection String. Possible values are APIHub, Custom, DocDb, EventHub, MySQL, NotificationHub, PostgreSQL, RedisCache, ServiceBus, SQLAzure, and SQLServer.
    value String
    The value for the Connection String.
    name string
    The name of the Connection String.
    type string
    The type of the Connection String. Possible values are APIHub, Custom, DocDb, EventHub, MySQL, NotificationHub, PostgreSQL, RedisCache, ServiceBus, SQLAzure, and SQLServer.
    value string
    The value for the Connection String.
    name str
    The name of the Connection String.
    type str
    The type of the Connection String. Possible values are APIHub, Custom, DocDb, EventHub, MySQL, NotificationHub, PostgreSQL, RedisCache, ServiceBus, SQLAzure, and SQLServer.
    value str
    The value for the Connection String.
    name String
    The name of the Connection String.
    type String
    The type of the Connection String. Possible values are APIHub, Custom, DocDb, EventHub, MySQL, NotificationHub, PostgreSQL, RedisCache, ServiceBus, SQLAzure, and SQLServer.
    value String
    The value for the Connection String.

    SlotIdentity, SlotIdentityArgs

    Type string

    Specifies the identity type of the App Service. Possible values are SystemAssigned (where Azure will generate a Service Principal for you), UserAssigned where you can specify the Service Principal IDs in the identity_ids field, and SystemAssigned, UserAssigned which assigns both a system managed identity as well as the specified user assigned identities.

    NOTE: When type is set to SystemAssigned, The assigned principal_id and tenant_id can be retrieved after the App Service has been created. More details are available below.

    IdentityIds List<string>
    Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.
    PrincipalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    TenantId string
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    Type string

    Specifies the identity type of the App Service. Possible values are SystemAssigned (where Azure will generate a Service Principal for you), UserAssigned where you can specify the Service Principal IDs in the identity_ids field, and SystemAssigned, UserAssigned which assigns both a system managed identity as well as the specified user assigned identities.

    NOTE: When type is set to SystemAssigned, The assigned principal_id and tenant_id can be retrieved after the App Service has been created. More details are available below.

    IdentityIds []string
    Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.
    PrincipalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    TenantId string
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    type String

    Specifies the identity type of the App Service. Possible values are SystemAssigned (where Azure will generate a Service Principal for you), UserAssigned where you can specify the Service Principal IDs in the identity_ids field, and SystemAssigned, UserAssigned which assigns both a system managed identity as well as the specified user assigned identities.

    NOTE: When type is set to SystemAssigned, The assigned principal_id and tenant_id can be retrieved after the App Service has been created. More details are available below.

    identityIds List<String>
    Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.
    principalId String
    The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    tenantId String
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    type string

    Specifies the identity type of the App Service. Possible values are SystemAssigned (where Azure will generate a Service Principal for you), UserAssigned where you can specify the Service Principal IDs in the identity_ids field, and SystemAssigned, UserAssigned which assigns both a system managed identity as well as the specified user assigned identities.

    NOTE: When type is set to SystemAssigned, The assigned principal_id and tenant_id can be retrieved after the App Service has been created. More details are available below.

    identityIds string[]
    Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.
    principalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    tenantId string
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    type str

    Specifies the identity type of the App Service. Possible values are SystemAssigned (where Azure will generate a Service Principal for you), UserAssigned where you can specify the Service Principal IDs in the identity_ids field, and SystemAssigned, UserAssigned which assigns both a system managed identity as well as the specified user assigned identities.

    NOTE: When type is set to SystemAssigned, The assigned principal_id and tenant_id can be retrieved after the App Service 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 type is UserAssigned.
    principal_id str
    The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    tenant_id str
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    type String

    Specifies the identity type of the App Service. Possible values are SystemAssigned (where Azure will generate a Service Principal for you), UserAssigned where you can specify the Service Principal IDs in the identity_ids field, and SystemAssigned, UserAssigned which assigns both a system managed identity as well as the specified user assigned identities.

    NOTE: When type is set to SystemAssigned, The assigned principal_id and tenant_id can be retrieved after the App Service has been created. More details are available below.

    identityIds List<String>
    Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.
    principalId String
    The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
    tenantId String
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service slot.

    SlotLogs, SlotLogsArgs

    ApplicationLogs SlotLogsApplicationLogs
    An application_logs block as defined below.
    DetailedErrorMessagesEnabled bool
    Should Detailed error messages be enabled on this App Service slot? Defaults to false.
    FailedRequestTracingEnabled bool
    Should Failed request tracing be enabled on this App Service slot? Defaults to false.
    HttpLogs SlotLogsHttpLogs
    An http_logs block as defined below.
    ApplicationLogs SlotLogsApplicationLogs
    An application_logs block as defined below.
    DetailedErrorMessagesEnabled bool
    Should Detailed error messages be enabled on this App Service slot? Defaults to false.
    FailedRequestTracingEnabled bool
    Should Failed request tracing be enabled on this App Service slot? Defaults to false.
    HttpLogs SlotLogsHttpLogs
    An http_logs block as defined below.
    applicationLogs SlotLogsApplicationLogs
    An application_logs block as defined below.
    detailedErrorMessagesEnabled Boolean
    Should Detailed error messages be enabled on this App Service slot? Defaults to false.
    failedRequestTracingEnabled Boolean
    Should Failed request tracing be enabled on this App Service slot? Defaults to false.
    httpLogs SlotLogsHttpLogs
    An http_logs block as defined below.
    applicationLogs SlotLogsApplicationLogs
    An application_logs block as defined below.
    detailedErrorMessagesEnabled boolean
    Should Detailed error messages be enabled on this App Service slot? Defaults to false.
    failedRequestTracingEnabled boolean
    Should Failed request tracing be enabled on this App Service slot? Defaults to false.
    httpLogs SlotLogsHttpLogs
    An http_logs block as defined below.
    application_logs SlotLogsApplicationLogs
    An application_logs block as defined below.
    detailed_error_messages_enabled bool
    Should Detailed error messages be enabled on this App Service slot? Defaults to false.
    failed_request_tracing_enabled bool
    Should Failed request tracing be enabled on this App Service slot? Defaults to false.
    http_logs SlotLogsHttpLogs
    An http_logs block as defined below.
    applicationLogs Property Map
    An application_logs block as defined below.
    detailedErrorMessagesEnabled Boolean
    Should Detailed error messages be enabled on this App Service slot? Defaults to false.
    failedRequestTracingEnabled Boolean
    Should Failed request tracing be enabled on this App Service slot? Defaults to false.
    httpLogs Property Map
    An http_logs block as defined below.

    SlotLogsApplicationLogs, SlotLogsApplicationLogsArgs

    AzureBlobStorage SlotLogsApplicationLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    FileSystemLevel string
    The file system log level. Possible values are Off, Error, Warning, Information, and Verbose. Defaults to Off.
    AzureBlobStorage SlotLogsApplicationLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    FileSystemLevel string
    The file system log level. Possible values are Off, Error, Warning, Information, and Verbose. Defaults to Off.
    azureBlobStorage SlotLogsApplicationLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    fileSystemLevel String
    The file system log level. Possible values are Off, Error, Warning, Information, and Verbose. Defaults to Off.
    azureBlobStorage SlotLogsApplicationLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    fileSystemLevel string
    The file system log level. Possible values are Off, Error, Warning, Information, and Verbose. Defaults to Off.
    azure_blob_storage SlotLogsApplicationLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    file_system_level str
    The file system log level. Possible values are Off, Error, Warning, Information, and Verbose. Defaults to Off.
    azureBlobStorage Property Map
    An azure_blob_storage block as defined below.
    fileSystemLevel String
    The file system log level. Possible values are Off, Error, Warning, Information, and Verbose. Defaults to Off.

    SlotLogsApplicationLogsAzureBlobStorage, SlotLogsApplicationLogsAzureBlobStorageArgs

    Level string
    The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
    RetentionInDays int
    The number of days to retain logs for.
    SasUrl string
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    Level string
    The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
    RetentionInDays int
    The number of days to retain logs for.
    SasUrl string
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    level String
    The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
    retentionInDays Integer
    The number of days to retain logs for.
    sasUrl String
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    level string
    The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
    retentionInDays number
    The number of days to retain logs for.
    sasUrl string
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    level str
    The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
    retention_in_days int
    The number of days to retain logs for.
    sas_url str
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    level String
    The level at which to log. Possible values include Error, Warning, Information, Verbose and Off. NOTE: this field is not available for http_logs
    retentionInDays Number
    The number of days to retain logs for.
    sasUrl String
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.

    SlotLogsHttpLogs, SlotLogsHttpLogsArgs

    AzureBlobStorage SlotLogsHttpLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    FileSystem SlotLogsHttpLogsFileSystem
    A file_system block as defined below.
    AzureBlobStorage SlotLogsHttpLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    FileSystem SlotLogsHttpLogsFileSystem
    A file_system block as defined below.
    azureBlobStorage SlotLogsHttpLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    fileSystem SlotLogsHttpLogsFileSystem
    A file_system block as defined below.
    azureBlobStorage SlotLogsHttpLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    fileSystem SlotLogsHttpLogsFileSystem
    A file_system block as defined below.
    azure_blob_storage SlotLogsHttpLogsAzureBlobStorage
    An azure_blob_storage block as defined below.
    file_system SlotLogsHttpLogsFileSystem
    A file_system block as defined below.
    azureBlobStorage Property Map
    An azure_blob_storage block as defined below.
    fileSystem Property Map
    A file_system block as defined below.

    SlotLogsHttpLogsAzureBlobStorage, SlotLogsHttpLogsAzureBlobStorageArgs

    RetentionInDays int
    The number of days to retain logs for.
    SasUrl string
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    RetentionInDays int
    The number of days to retain logs for.
    SasUrl string
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    retentionInDays Integer
    The number of days to retain logs for.
    sasUrl String
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    retentionInDays number
    The number of days to retain logs for.
    sasUrl string
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    retention_in_days int
    The number of days to retain logs for.
    sas_url str
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.
    retentionInDays Number
    The number of days to retain logs for.
    sasUrl String
    The URL to the storage container, with a Service SAS token appended. NOTE: there is currently no means of generating Service SAS tokens with the azurerm provider.

    SlotLogsHttpLogsFileSystem, SlotLogsHttpLogsFileSystemArgs

    RetentionInDays int
    The number of days to retain logs for.
    RetentionInMb int
    The maximum size in megabytes that HTTP log files can use before being removed.
    RetentionInDays int
    The number of days to retain logs for.
    RetentionInMb int
    The maximum size in megabytes that HTTP log files can use before being removed.
    retentionInDays Integer
    The number of days to retain logs for.
    retentionInMb Integer
    The maximum size in megabytes that HTTP log files can use before being removed.
    retentionInDays number
    The number of days to retain logs for.
    retentionInMb number
    The maximum size in megabytes that HTTP log files can use before being removed.
    retention_in_days int
    The number of days to retain logs for.
    retention_in_mb int
    The maximum size in megabytes that HTTP log files can use before being removed.
    retentionInDays Number
    The number of days to retain logs for.
    retentionInMb Number
    The maximum size in megabytes that HTTP log files can use before being removed.

    SlotSiteConfig, SlotSiteConfigArgs

    AcrUseManagedIdentityCredentials bool
    Are Managed Identity Credentials used for Azure Container Registry pull
    AcrUserManagedIdentityClientId string

    If using User Managed Identity, the User Managed Identity Client Id

    NOTE: When using User Managed Identity with Azure Container Registry the Identity will need to have the ACRPull role assigned

    AlwaysOn bool

    Should the slot be loaded at all times? Defaults to false.

    NOTE: when using an App Service Plan in the Free or Shared Tiers always_on must be set to false.

    AppCommandLine string
    App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
    AutoSwapSlotName string
    The name of the slot to automatically swap to during deployment
    Cors SlotSiteConfigCors
    A cors block as defined below.
    DefaultDocuments List<string>
    The ordering of default documents to load, if an address isn't specified.
    DotnetFrameworkVersion string
    The version of the .NET framework's CLR used in this App Service Slot. Possible values are v2.0 (which will use the latest version of the .NET framework for the .NET CLR v2 - currently .net 3.5), v4.0 (which corresponds to the latest version of the .NET CLR v4 - which at the time of writing is .net 4.7.1), v5.0 and v6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults to v4.0.
    FtpsState string
    State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed, FtpsOnly and Disabled.
    HealthCheckPath string
    The health check path to be pinged by App Service Slot. For more information - please see App Service health check announcement.
    Http2Enabled bool
    Is HTTP2 Enabled on this App Service? Defaults to false.
    IpRestrictions List<SlotSiteConfigIpRestriction>

    A list of objects representing ip restrictions as defined below.

    NOTE User has to explicitly set ip_restriction to empty slice ([]) to remove it.

    JavaContainer string
    The Java Container to use. If specified java_version and java_container_version must also be specified. Possible values are JAVA, JETTY, and TOMCAT.
    JavaContainerVersion string
    The version of the Java Container to use. If specified java_version and java_container must also be specified.
    JavaVersion string
    The version of Java to use. If specified java_container and java_container_version must also be specified. Possible values are 1.7, 1.8, and 11 and their specific versions - except for Java 11 (e.g. 1.7.0_80, 1.8.0_181, 11)
    LinuxFxVersion string

    Linux App Framework and version for the App Service Slot. Possible options are a Docker container (DOCKER|<user/image:tag>), a base-64 encoded Docker Compose file (COMPOSE|${filebase64("compose.yml")}) or a base-64 encoded Kubernetes Manifest (KUBE|${filebase64("kubernetes.yml")}).

    NOTE: To set this property the App Service Plan to which the App belongs must be configured with kind = "Linux", and reserved = true or the API will reject any value supplied.

    LocalMysqlEnabled bool

    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.

    NOTE: MySQL In App is not intended for production environments and will not scale beyond a single instance. Instead you may wish to use Azure Database for MySQL.

    ManagedPipelineMode string
    The Managed Pipeline Mode. Possible values are Integrated and Classic. Defaults to Integrated.
    MinTlsVersion string
    The minimum supported TLS version for the app service. Possible values are 1.0, 1.1, and 1.2. Defaults to 1.2 for new app services.
    NumberOfWorkers int
    The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scaling is enabled on the azure.appservice.Plan. For more information - please see Microsoft documentation on high-density hosting.
    PhpVersion string
    The version of PHP to use in this App Service Slot. Possible values are 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, and 7.4.
    PythonVersion string
    The version of Python to use in this App Service Slot. Possible values are 2.7 and 3.4.
    RemoteDebuggingEnabled bool
    Is Remote Debugging Enabled? Defaults to false.
    RemoteDebuggingVersion string
    Which version of Visual Studio should the Remote Debugger be compatible with? Possible values are VS2017 and VS2019.
    ScmIpRestrictions List<SlotSiteConfigScmIpRestriction>

    A list of scm_ip_restriction objects representing IP restrictions as defined below.

    NOTE User has to explicitly set scm_ip_restriction to empty slice ([]) to remove it.

    ScmType string
    The type of Source Control enabled for this App Service Slot. Defaults to None. Possible values are: BitbucketGit, BitbucketHg, CodePlexGit, CodePlexHg, Dropbox, ExternalGit, ExternalHg, GitHub, LocalGit, None, OneDrive, Tfs, VSO, and VSTSRM
    ScmUseMainIpRestriction bool

    IP security restrictions for scm to use main. Defaults to false.

    NOTE Any scm_ip_restriction blocks configured are ignored by the service when scm_use_main_ip_restriction is set to true. Any scm restrictions will become active if this is subsequently set to false or removed.

    Use32BitWorkerProcess bool

    Should the App Service Slot run in 32 bit mode, rather than 64 bit mode?

    NOTE: when using an App Service Plan in the Free or Shared Tiers use_32_bit_worker_process must be set to true.

    VnetRouteAllEnabled bool
    WebsocketsEnabled bool
    Should WebSockets be enabled?
    WindowsFxVersion string

    The Windows Docker container image (DOCKER|<user/image:tag>)

    Additional examples of how to run Containers via the azure.appservice.Slot resource can be found in the ./examples/app-service directory within the GitHub Repository.

    AcrUseManagedIdentityCredentials bool
    Are Managed Identity Credentials used for Azure Container Registry pull
    AcrUserManagedIdentityClientId string

    If using User Managed Identity, the User Managed Identity Client Id

    NOTE: When using User Managed Identity with Azure Container Registry the Identity will need to have the ACRPull role assigned

    AlwaysOn bool

    Should the slot be loaded at all times? Defaults to false.

    NOTE: when using an App Service Plan in the Free or Shared Tiers always_on must be set to false.

    AppCommandLine string
    App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
    AutoSwapSlotName string
    The name of the slot to automatically swap to during deployment
    Cors SlotSiteConfigCors
    A cors block as defined below.
    DefaultDocuments []string
    The ordering of default documents to load, if an address isn't specified.
    DotnetFrameworkVersion string
    The version of the .NET framework's CLR used in this App Service Slot. Possible values are v2.0 (which will use the latest version of the .NET framework for the .NET CLR v2 - currently .net 3.5), v4.0 (which corresponds to the latest version of the .NET CLR v4 - which at the time of writing is .net 4.7.1), v5.0 and v6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults to v4.0.
    FtpsState string
    State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed, FtpsOnly and Disabled.
    HealthCheckPath string
    The health check path to be pinged by App Service Slot. For more information - please see App Service health check announcement.
    Http2Enabled bool
    Is HTTP2 Enabled on this App Service? Defaults to false.
    IpRestrictions []SlotSiteConfigIpRestriction

    A list of objects representing ip restrictions as defined below.

    NOTE User has to explicitly set ip_restriction to empty slice ([]) to remove it.

    JavaContainer string
    The Java Container to use. If specified java_version and java_container_version must also be specified. Possible values are JAVA, JETTY, and TOMCAT.
    JavaContainerVersion string
    The version of the Java Container to use. If specified java_version and java_container must also be specified.
    JavaVersion string
    The version of Java to use. If specified java_container and java_container_version must also be specified. Possible values are 1.7, 1.8, and 11 and their specific versions - except for Java 11 (e.g. 1.7.0_80, 1.8.0_181, 11)
    LinuxFxVersion string

    Linux App Framework and version for the App Service Slot. Possible options are a Docker container (DOCKER|<user/image:tag>), a base-64 encoded Docker Compose file (COMPOSE|${filebase64("compose.yml")}) or a base-64 encoded Kubernetes Manifest (KUBE|${filebase64("kubernetes.yml")}).

    NOTE: To set this property the App Service Plan to which the App belongs must be configured with kind = "Linux", and reserved = true or the API will reject any value supplied.

    LocalMysqlEnabled bool

    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.

    NOTE: MySQL In App is not intended for production environments and will not scale beyond a single instance. Instead you may wish to use Azure Database for MySQL.

    ManagedPipelineMode string
    The Managed Pipeline Mode. Possible values are Integrated and Classic. Defaults to Integrated.
    MinTlsVersion string
    The minimum supported TLS version for the app service. Possible values are 1.0, 1.1, and 1.2. Defaults to 1.2 for new app services.
    NumberOfWorkers int
    The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scaling is enabled on the azure.appservice.Plan. For more information - please see Microsoft documentation on high-density hosting.
    PhpVersion string
    The version of PHP to use in this App Service Slot. Possible values are 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, and 7.4.
    PythonVersion string
    The version of Python to use in this App Service Slot. Possible values are 2.7 and 3.4.
    RemoteDebuggingEnabled bool
    Is Remote Debugging Enabled? Defaults to false.
    RemoteDebuggingVersion string
    Which version of Visual Studio should the Remote Debugger be compatible with? Possible values are VS2017 and VS2019.
    ScmIpRestrictions []SlotSiteConfigScmIpRestriction

    A list of scm_ip_restriction objects representing IP restrictions as defined below.

    NOTE User has to explicitly set scm_ip_restriction to empty slice ([]) to remove it.

    ScmType string
    The type of Source Control enabled for this App Service Slot. Defaults to None. Possible values are: BitbucketGit, BitbucketHg, CodePlexGit, CodePlexHg, Dropbox, ExternalGit, ExternalHg, GitHub, LocalGit, None, OneDrive, Tfs, VSO, and VSTSRM
    ScmUseMainIpRestriction bool

    IP security restrictions for scm to use main. Defaults to false.

    NOTE Any scm_ip_restriction blocks configured are ignored by the service when scm_use_main_ip_restriction is set to true. Any scm restrictions will become active if this is subsequently set to false or removed.

    Use32BitWorkerProcess bool

    Should the App Service Slot run in 32 bit mode, rather than 64 bit mode?

    NOTE: when using an App Service Plan in the Free or Shared Tiers use_32_bit_worker_process must be set to true.

    VnetRouteAllEnabled bool
    WebsocketsEnabled bool
    Should WebSockets be enabled?
    WindowsFxVersion string

    The Windows Docker container image (DOCKER|<user/image:tag>)

    Additional examples of how to run Containers via the azure.appservice.Slot resource can be found in the ./examples/app-service directory within the GitHub Repository.

    acrUseManagedIdentityCredentials Boolean
    Are Managed Identity Credentials used for Azure Container Registry pull
    acrUserManagedIdentityClientId String

    If using User Managed Identity, the User Managed Identity Client Id

    NOTE: When using User Managed Identity with Azure Container Registry the Identity will need to have the ACRPull role assigned

    alwaysOn Boolean

    Should the slot be loaded at all times? Defaults to false.

    NOTE: when using an App Service Plan in the Free or Shared Tiers always_on must be set to false.

    appCommandLine String
    App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
    autoSwapSlotName String
    The name of the slot to automatically swap to during deployment
    cors SlotSiteConfigCors
    A cors block as defined below.
    defaultDocuments List<String>
    The ordering of default documents to load, if an address isn't specified.
    dotnetFrameworkVersion String
    The version of the .NET framework's CLR used in this App Service Slot. Possible values are v2.0 (which will use the latest version of the .NET framework for the .NET CLR v2 - currently .net 3.5), v4.0 (which corresponds to the latest version of the .NET CLR v4 - which at the time of writing is .net 4.7.1), v5.0 and v6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults to v4.0.
    ftpsState String
    State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed, FtpsOnly and Disabled.
    healthCheckPath String
    The health check path to be pinged by App Service Slot. For more information - please see App Service health check announcement.
    http2Enabled Boolean
    Is HTTP2 Enabled on this App Service? Defaults to false.
    ipRestrictions List<SlotSiteConfigIpRestriction>

    A list of objects representing ip restrictions as defined below.

    NOTE User has to explicitly set ip_restriction to empty slice ([]) to remove it.

    javaContainer String
    The Java Container to use. If specified java_version and java_container_version must also be specified. Possible values are JAVA, JETTY, and TOMCAT.
    javaContainerVersion String
    The version of the Java Container to use. If specified java_version and java_container must also be specified.
    javaVersion String
    The version of Java to use. If specified java_container and java_container_version must also be specified. Possible values are 1.7, 1.8, and 11 and their specific versions - except for Java 11 (e.g. 1.7.0_80, 1.8.0_181, 11)
    linuxFxVersion String

    Linux App Framework and version for the App Service Slot. Possible options are a Docker container (DOCKER|<user/image:tag>), a base-64 encoded Docker Compose file (COMPOSE|${filebase64("compose.yml")}) or a base-64 encoded Kubernetes Manifest (KUBE|${filebase64("kubernetes.yml")}).

    NOTE: To set this property the App Service Plan to which the App belongs must be configured with kind = "Linux", and reserved = true or the API will reject any value supplied.

    localMysqlEnabled Boolean

    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.

    NOTE: MySQL In App is not intended for production environments and will not scale beyond a single instance. Instead you may wish to use Azure Database for MySQL.

    managedPipelineMode String
    The Managed Pipeline Mode. Possible values are Integrated and Classic. Defaults to Integrated.
    minTlsVersion String
    The minimum supported TLS version for the app service. Possible values are 1.0, 1.1, and 1.2. Defaults to 1.2 for new app services.
    numberOfWorkers Integer
    The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scaling is enabled on the azure.appservice.Plan. For more information - please see Microsoft documentation on high-density hosting.
    phpVersion String
    The version of PHP to use in this App Service Slot. Possible values are 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, and 7.4.
    pythonVersion String
    The version of Python to use in this App Service Slot. Possible values are 2.7 and 3.4.
    remoteDebuggingEnabled Boolean
    Is Remote Debugging Enabled? Defaults to false.
    remoteDebuggingVersion String
    Which version of Visual Studio should the Remote Debugger be compatible with? Possible values are VS2017 and VS2019.
    scmIpRestrictions List<SlotSiteConfigScmIpRestriction>

    A list of scm_ip_restriction objects representing IP restrictions as defined below.

    NOTE User has to explicitly set scm_ip_restriction to empty slice ([]) to remove it.

    scmType String
    The type of Source Control enabled for this App Service Slot. Defaults to None. Possible values are: BitbucketGit, BitbucketHg, CodePlexGit, CodePlexHg, Dropbox, ExternalGit, ExternalHg, GitHub, LocalGit, None, OneDrive, Tfs, VSO, and VSTSRM
    scmUseMainIpRestriction Boolean

    IP security restrictions for scm to use main. Defaults to false.

    NOTE Any scm_ip_restriction blocks configured are ignored by the service when scm_use_main_ip_restriction is set to true. Any scm restrictions will become active if this is subsequently set to false or removed.

    use32BitWorkerProcess Boolean

    Should the App Service Slot run in 32 bit mode, rather than 64 bit mode?

    NOTE: when using an App Service Plan in the Free or Shared Tiers use_32_bit_worker_process must be set to true.

    vnetRouteAllEnabled Boolean
    websocketsEnabled Boolean
    Should WebSockets be enabled?
    windowsFxVersion String

    The Windows Docker container image (DOCKER|<user/image:tag>)

    Additional examples of how to run Containers via the azure.appservice.Slot resource can be found in the ./examples/app-service directory within the GitHub Repository.

    acrUseManagedIdentityCredentials boolean
    Are Managed Identity Credentials used for Azure Container Registry pull
    acrUserManagedIdentityClientId string

    If using User Managed Identity, the User Managed Identity Client Id

    NOTE: When using User Managed Identity with Azure Container Registry the Identity will need to have the ACRPull role assigned

    alwaysOn boolean

    Should the slot be loaded at all times? Defaults to false.

    NOTE: when using an App Service Plan in the Free or Shared Tiers always_on must be set to false.

    appCommandLine string
    App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
    autoSwapSlotName string
    The name of the slot to automatically swap to during deployment
    cors SlotSiteConfigCors
    A cors block as defined below.
    defaultDocuments string[]
    The ordering of default documents to load, if an address isn't specified.
    dotnetFrameworkVersion string
    The version of the .NET framework's CLR used in this App Service Slot. Possible values are v2.0 (which will use the latest version of the .NET framework for the .NET CLR v2 - currently .net 3.5), v4.0 (which corresponds to the latest version of the .NET CLR v4 - which at the time of writing is .net 4.7.1), v5.0 and v6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults to v4.0.
    ftpsState string
    State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed, FtpsOnly and Disabled.
    healthCheckPath string
    The health check path to be pinged by App Service Slot. For more information - please see App Service health check announcement.
    http2Enabled boolean
    Is HTTP2 Enabled on this App Service? Defaults to false.
    ipRestrictions SlotSiteConfigIpRestriction[]

    A list of objects representing ip restrictions as defined below.

    NOTE User has to explicitly set ip_restriction to empty slice ([]) to remove it.

    javaContainer string
    The Java Container to use. If specified java_version and java_container_version must also be specified. Possible values are JAVA, JETTY, and TOMCAT.
    javaContainerVersion string
    The version of the Java Container to use. If specified java_version and java_container must also be specified.
    javaVersion string
    The version of Java to use. If specified java_container and java_container_version must also be specified. Possible values are 1.7, 1.8, and 11 and their specific versions - except for Java 11 (e.g. 1.7.0_80, 1.8.0_181, 11)
    linuxFxVersion string

    Linux App Framework and version for the App Service Slot. Possible options are a Docker container (DOCKER|<user/image:tag>), a base-64 encoded Docker Compose file (COMPOSE|${filebase64("compose.yml")}) or a base-64 encoded Kubernetes Manifest (KUBE|${filebase64("kubernetes.yml")}).

    NOTE: To set this property the App Service Plan to which the App belongs must be configured with kind = "Linux", and reserved = true or the API will reject any value supplied.

    localMysqlEnabled boolean

    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.

    NOTE: MySQL In App is not intended for production environments and will not scale beyond a single instance. Instead you may wish to use Azure Database for MySQL.

    managedPipelineMode string
    The Managed Pipeline Mode. Possible values are Integrated and Classic. Defaults to Integrated.
    minTlsVersion string
    The minimum supported TLS version for the app service. Possible values are 1.0, 1.1, and 1.2. Defaults to 1.2 for new app services.
    numberOfWorkers number
    The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scaling is enabled on the azure.appservice.Plan. For more information - please see Microsoft documentation on high-density hosting.
    phpVersion string
    The version of PHP to use in this App Service Slot. Possible values are 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, and 7.4.
    pythonVersion string
    The version of Python to use in this App Service Slot. Possible values are 2.7 and 3.4.
    remoteDebuggingEnabled boolean
    Is Remote Debugging Enabled? Defaults to false.
    remoteDebuggingVersion string
    Which version of Visual Studio should the Remote Debugger be compatible with? Possible values are VS2017 and VS2019.
    scmIpRestrictions SlotSiteConfigScmIpRestriction[]

    A list of scm_ip_restriction objects representing IP restrictions as defined below.

    NOTE User has to explicitly set scm_ip_restriction to empty slice ([]) to remove it.

    scmType string
    The type of Source Control enabled for this App Service Slot. Defaults to None. Possible values are: BitbucketGit, BitbucketHg, CodePlexGit, CodePlexHg, Dropbox, ExternalGit, ExternalHg, GitHub, LocalGit, None, OneDrive, Tfs, VSO, and VSTSRM
    scmUseMainIpRestriction boolean

    IP security restrictions for scm to use main. Defaults to false.

    NOTE Any scm_ip_restriction blocks configured are ignored by the service when scm_use_main_ip_restriction is set to true. Any scm restrictions will become active if this is subsequently set to false or removed.

    use32BitWorkerProcess boolean

    Should the App Service Slot run in 32 bit mode, rather than 64 bit mode?

    NOTE: when using an App Service Plan in the Free or Shared Tiers use_32_bit_worker_process must be set to true.

    vnetRouteAllEnabled boolean
    websocketsEnabled boolean
    Should WebSockets be enabled?
    windowsFxVersion string

    The Windows Docker container image (DOCKER|<user/image:tag>)

    Additional examples of how to run Containers via the azure.appservice.Slot resource can be found in the ./examples/app-service directory within the GitHub Repository.

    acr_use_managed_identity_credentials bool
    Are Managed Identity Credentials used for Azure Container Registry pull
    acr_user_managed_identity_client_id str

    If using User Managed Identity, the User Managed Identity Client Id

    NOTE: When using User Managed Identity with Azure Container Registry the Identity will need to have the ACRPull role assigned

    always_on bool

    Should the slot be loaded at all times? Defaults to false.

    NOTE: when using an App Service Plan in the Free or Shared Tiers always_on must be set to false.

    app_command_line str
    App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
    auto_swap_slot_name str
    The name of the slot to automatically swap to during deployment
    cors SlotSiteConfigCors
    A cors block as defined below.
    default_documents Sequence[str]
    The ordering of default documents to load, if an address isn't specified.
    dotnet_framework_version str
    The version of the .NET framework's CLR used in this App Service Slot. Possible values are v2.0 (which will use the latest version of the .NET framework for the .NET CLR v2 - currently .net 3.5), v4.0 (which corresponds to the latest version of the .NET CLR v4 - which at the time of writing is .net 4.7.1), v5.0 and v6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults to v4.0.
    ftps_state str
    State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed, FtpsOnly and Disabled.
    health_check_path str
    The health check path to be pinged by App Service Slot. For more information - please see App Service health check announcement.
    http2_enabled bool
    Is HTTP2 Enabled on this App Service? Defaults to false.
    ip_restrictions Sequence[SlotSiteConfigIpRestriction]

    A list of objects representing ip restrictions as defined below.

    NOTE User has to explicitly set ip_restriction to empty slice ([]) to remove it.

    java_container str
    The Java Container to use. If specified java_version and java_container_version must also be specified. Possible values are JAVA, JETTY, and TOMCAT.
    java_container_version str
    The version of the Java Container to use. If specified java_version and java_container must also be specified.
    java_version str
    The version of Java to use. If specified java_container and java_container_version must also be specified. Possible values are 1.7, 1.8, and 11 and their specific versions - except for Java 11 (e.g. 1.7.0_80, 1.8.0_181, 11)
    linux_fx_version str

    Linux App Framework and version for the App Service Slot. Possible options are a Docker container (DOCKER|<user/image:tag>), a base-64 encoded Docker Compose file (COMPOSE|${filebase64("compose.yml")}) or a base-64 encoded Kubernetes Manifest (KUBE|${filebase64("kubernetes.yml")}).

    NOTE: To set this property the App Service Plan to which the App belongs must be configured with kind = "Linux", and reserved = true or the API will reject any value supplied.

    local_mysql_enabled bool

    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.

    NOTE: MySQL In App is not intended for production environments and will not scale beyond a single instance. Instead you may wish to use Azure Database for MySQL.

    managed_pipeline_mode str
    The Managed Pipeline Mode. Possible values are Integrated and Classic. Defaults to Integrated.
    min_tls_version str
    The minimum supported TLS version for the app service. Possible values are 1.0, 1.1, and 1.2. Defaults to 1.2 for new app services.
    number_of_workers int
    The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scaling is enabled on the azure.appservice.Plan. For more information - please see Microsoft documentation on high-density hosting.
    php_version str
    The version of PHP to use in this App Service Slot. Possible values are 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, and 7.4.
    python_version str
    The version of Python to use in this App Service Slot. Possible values are 2.7 and 3.4.
    remote_debugging_enabled bool
    Is Remote Debugging Enabled? Defaults to false.
    remote_debugging_version str
    Which version of Visual Studio should the Remote Debugger be compatible with? Possible values are VS2017 and VS2019.
    scm_ip_restrictions Sequence[SlotSiteConfigScmIpRestriction]

    A list of scm_ip_restriction objects representing IP restrictions as defined below.

    NOTE User has to explicitly set scm_ip_restriction to empty slice ([]) to remove it.

    scm_type str
    The type of Source Control enabled for this App Service Slot. Defaults to None. Possible values are: BitbucketGit, BitbucketHg, CodePlexGit, CodePlexHg, Dropbox, ExternalGit, ExternalHg, GitHub, LocalGit, None, OneDrive, Tfs, VSO, and VSTSRM
    scm_use_main_ip_restriction bool

    IP security restrictions for scm to use main. Defaults to false.

    NOTE Any scm_ip_restriction blocks configured are ignored by the service when scm_use_main_ip_restriction is set to true. Any scm restrictions will become active if this is subsequently set to false or removed.

    use32_bit_worker_process bool

    Should the App Service Slot run in 32 bit mode, rather than 64 bit mode?

    NOTE: when using an App Service Plan in the Free or Shared Tiers use_32_bit_worker_process must be set to true.

    vnet_route_all_enabled bool
    websockets_enabled bool
    Should WebSockets be enabled?
    windows_fx_version str

    The Windows Docker container image (DOCKER|<user/image:tag>)

    Additional examples of how to run Containers via the azure.appservice.Slot resource can be found in the ./examples/app-service directory within the GitHub Repository.

    acrUseManagedIdentityCredentials Boolean
    Are Managed Identity Credentials used for Azure Container Registry pull
    acrUserManagedIdentityClientId String

    If using User Managed Identity, the User Managed Identity Client Id

    NOTE: When using User Managed Identity with Azure Container Registry the Identity will need to have the ACRPull role assigned

    alwaysOn Boolean

    Should the slot be loaded at all times? Defaults to false.

    NOTE: when using an App Service Plan in the Free or Shared Tiers always_on must be set to false.

    appCommandLine String
    App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
    autoSwapSlotName String
    The name of the slot to automatically swap to during deployment
    cors Property Map
    A cors block as defined below.
    defaultDocuments List<String>
    The ordering of default documents to load, if an address isn't specified.
    dotnetFrameworkVersion String
    The version of the .NET framework's CLR used in this App Service Slot. Possible values are v2.0 (which will use the latest version of the .NET framework for the .NET CLR v2 - currently .net 3.5), v4.0 (which corresponds to the latest version of the .NET CLR v4 - which at the time of writing is .net 4.7.1), v5.0 and v6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults to v4.0.
    ftpsState String
    State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed, FtpsOnly and Disabled.
    healthCheckPath String
    The health check path to be pinged by App Service Slot. For more information - please see App Service health check announcement.
    http2Enabled Boolean
    Is HTTP2 Enabled on this App Service? Defaults to false.
    ipRestrictions List<Property Map>

    A list of objects representing ip restrictions as defined below.

    NOTE User has to explicitly set ip_restriction to empty slice ([]) to remove it.

    javaContainer String
    The Java Container to use. If specified java_version and java_container_version must also be specified. Possible values are JAVA, JETTY, and TOMCAT.
    javaContainerVersion String
    The version of the Java Container to use. If specified java_version and java_container must also be specified.
    javaVersion String
    The version of Java to use. If specified java_container and java_container_version must also be specified. Possible values are 1.7, 1.8, and 11 and their specific versions - except for Java 11 (e.g. 1.7.0_80, 1.8.0_181, 11)
    linuxFxVersion String

    Linux App Framework and version for the App Service Slot. Possible options are a Docker container (DOCKER|<user/image:tag>), a base-64 encoded Docker Compose file (COMPOSE|${filebase64("compose.yml")}) or a base-64 encoded Kubernetes Manifest (KUBE|${filebase64("kubernetes.yml")}).

    NOTE: To set this property the App Service Plan to which the App belongs must be configured with kind = "Linux", and reserved = true or the API will reject any value supplied.

    localMysqlEnabled Boolean

    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.

    NOTE: MySQL In App is not intended for production environments and will not scale beyond a single instance. Instead you may wish to use Azure Database for MySQL.

    managedPipelineMode String
    The Managed Pipeline Mode. Possible values are Integrated and Classic. Defaults to Integrated.
    minTlsVersion String
    The minimum supported TLS version for the app service. Possible values are 1.0, 1.1, and 1.2. Defaults to 1.2 for new app services.
    numberOfWorkers Number
    The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scaling is enabled on the azure.appservice.Plan. For more information - please see Microsoft documentation on high-density hosting.
    phpVersion String
    The version of PHP to use in this App Service Slot. Possible values are 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, and 7.4.
    pythonVersion String
    The version of Python to use in this App Service Slot. Possible values are 2.7 and 3.4.
    remoteDebuggingEnabled Boolean
    Is Remote Debugging Enabled? Defaults to false.
    remoteDebuggingVersion String
    Which version of Visual Studio should the Remote Debugger be compatible with? Possible values are VS2017 and VS2019.
    scmIpRestrictions List<Property Map>

    A list of scm_ip_restriction objects representing IP restrictions as defined below.

    NOTE User has to explicitly set scm_ip_restriction to empty slice ([]) to remove it.

    scmType String
    The type of Source Control enabled for this App Service Slot. Defaults to None. Possible values are: BitbucketGit, BitbucketHg, CodePlexGit, CodePlexHg, Dropbox, ExternalGit, ExternalHg, GitHub, LocalGit, None, OneDrive, Tfs, VSO, and VSTSRM
    scmUseMainIpRestriction Boolean

    IP security restrictions for scm to use main. Defaults to false.

    NOTE Any scm_ip_restriction blocks configured are ignored by the service when scm_use_main_ip_restriction is set to true. Any scm restrictions will become active if this is subsequently set to false or removed.

    use32BitWorkerProcess Boolean

    Should the App Service Slot run in 32 bit mode, rather than 64 bit mode?

    NOTE: when using an App Service Plan in the Free or Shared Tiers use_32_bit_worker_process must be set to true.

    vnetRouteAllEnabled Boolean
    websocketsEnabled Boolean
    Should WebSockets be enabled?
    windowsFxVersion String

    The Windows Docker container image (DOCKER|<user/image:tag>)

    Additional examples of how to run Containers via the azure.appservice.Slot resource can be found in the ./examples/app-service directory within the GitHub Repository.

    SlotSiteConfigCors, SlotSiteConfigCorsArgs

    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?

    SlotSiteConfigIpRestriction, SlotSiteConfigIpRestrictionArgs

    Action string
    Does this restriction Allow or Deny access for this IP range. Defaults to Allow.
    Headers SlotSiteConfigIpRestrictionHeaders
    The headers block for this specific ip_restriction as defined below. The HTTP header filters are evaluated after the rule itself and both conditions must be true for the rule to apply.
    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.
    VirtualNetworkSubnetId string

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    Action string
    Does this restriction Allow or Deny access for this IP range. Defaults to Allow.
    Headers SlotSiteConfigIpRestrictionHeaders
    The headers block for this specific ip_restriction as defined below. The HTTP header filters are evaluated after the rule itself and both conditions must be true for the rule to apply.
    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.
    VirtualNetworkSubnetId string

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    action String
    Does this restriction Allow or Deny access for this IP range. Defaults to Allow.
    headers SlotSiteConfigIpRestrictionHeaders
    The headers block for this specific ip_restriction as defined below. The HTTP header filters are evaluated after the rule itself and both conditions must be true for the rule to apply.
    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.
    virtualNetworkSubnetId String

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    action string
    Does this restriction Allow or Deny access for this IP range. Defaults to Allow.
    headers SlotSiteConfigIpRestrictionHeaders
    The headers block for this specific ip_restriction as defined below. The HTTP header filters are evaluated after the rule itself and both conditions must be true for the rule to apply.
    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.
    virtualNetworkSubnetId string

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    action str
    Does this restriction Allow or Deny access for this IP range. Defaults to Allow.
    headers SlotSiteConfigIpRestrictionHeaders
    The headers block for this specific ip_restriction as defined below. The HTTP header filters are evaluated after the rule itself and both conditions must be true for the rule to apply.
    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_subnet_id str

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    action String
    Does this restriction Allow or Deny access for this IP range. Defaults to Allow.
    headers Property Map
    The headers block for this specific ip_restriction as defined below. The HTTP header filters are evaluated after the rule itself and both conditions must be true for the rule to apply.
    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.
    virtualNetworkSubnetId String

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    SlotSiteConfigIpRestrictionHeaders, SlotSiteConfigIpRestrictionHeadersArgs

    XAzureFdids List<string>
    A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
    XFdHealthProbe string
    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.
    XFdHealthProbe string
    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.
    xAzureFdids List<String>
    A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
    xFdHealthProbe String
    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.
    xFdHealthProbe string
    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.
    x_azure_fdids Sequence[str]
    A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
    x_fd_health_probe str
    A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
    x_forwarded_fors Sequence[str]
    A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
    x_forwarded_hosts Sequence[str]
    A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
    xAzureFdids List<String>
    A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
    xFdHealthProbe String
    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.

    SlotSiteConfigScmIpRestriction, SlotSiteConfigScmIpRestrictionArgs

    Action string
    Allow or Deny access for this IP range. Defaults to Allow.
    Headers SlotSiteConfigScmIpRestrictionHeaders
    The headers block for this specific scm_ip_restriction as 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.
    VirtualNetworkSubnetId string

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    Action string
    Allow or Deny access for this IP range. Defaults to Allow.
    Headers SlotSiteConfigScmIpRestrictionHeaders
    The headers block for this specific scm_ip_restriction as 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.
    VirtualNetworkSubnetId string

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    action String
    Allow or Deny access for this IP range. Defaults to Allow.
    headers SlotSiteConfigScmIpRestrictionHeaders
    The headers block for this specific scm_ip_restriction as 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.
    virtualNetworkSubnetId String

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    action string
    Allow or Deny access for this IP range. Defaults to Allow.
    headers SlotSiteConfigScmIpRestrictionHeaders
    The headers block for this specific scm_ip_restriction as 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.
    virtualNetworkSubnetId string

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    action str
    Allow or Deny access for this IP range. Defaults to Allow.
    headers SlotSiteConfigScmIpRestrictionHeaders
    The headers block for this specific scm_ip_restriction as 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_subnet_id str

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    action String
    Allow or Deny access for this IP range. Defaults to Allow.
    headers Property Map
    The headers block for this specific scm_ip_restriction as 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.
    virtualNetworkSubnetId String

    The Virtual Network Subnet ID used for this IP Restriction.

    NOTE: One of either ip_address, service_tag or virtual_network_subnet_id must be specified

    SlotSiteConfigScmIpRestrictionHeaders, SlotSiteConfigScmIpRestrictionHeadersArgs

    XAzureFdids List<string>
    A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
    XFdHealthProbe string
    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.
    XFdHealthProbe string
    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.
    xAzureFdids List<String>
    A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
    xFdHealthProbe String
    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.
    xFdHealthProbe string
    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.
    x_azure_fdids Sequence[str]
    A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
    x_fd_health_probe str
    A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
    x_forwarded_fors Sequence[str]
    A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
    x_forwarded_hosts Sequence[str]
    A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
    xAzureFdids List<String>
    A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
    xFdHealthProbe String
    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.

    SlotSiteCredential, SlotSiteCredentialArgs

    Password string
    The password associated with the username, which can be used to publish to this App Service.
    Username string
    The username which can be used to publish to this App Service
    Password string
    The password associated with the username, which can be used to publish to this App Service.
    Username string
    The username which can be used to publish to this App Service
    password String
    The password associated with the username, which can be used to publish to this App Service.
    username String
    The username which can be used to publish to this App Service
    password string
    The password associated with the username, which can be used to publish to this App Service.
    username string
    The username which can be used to publish to this App Service
    password str
    The password associated with the username, which can be used to publish to this App Service.
    username str
    The username which can be used to publish to this App Service
    password String
    The password associated with the username, which can be used to publish to this App Service.
    username String
    The username which can be used to publish to this App Service

    SlotStorageAccount, SlotStorageAccountArgs

    AccessKey string
    The access key for the storage account.
    AccountName string
    The name of the storage account.
    Name string
    The name of the storage account identifier.
    ShareName string
    The name of the file share (container name, for Blob storage).
    Type string
    The type of storage. Possible values are AzureBlob and AzureFiles.
    MountPath string
    The path to mount the storage within the site's runtime environment.
    AccessKey string
    The access key for the storage account.
    AccountName string
    The name of the storage account.
    Name string
    The name of the storage account identifier.
    ShareName string
    The name of the file share (container name, for Blob storage).
    Type string
    The type of storage. Possible values are AzureBlob and AzureFiles.
    MountPath string
    The path to mount the storage within the site's runtime environment.
    accessKey String
    The access key for the storage account.
    accountName String
    The name of the storage account.
    name String
    The name of the storage account identifier.
    shareName String
    The name of the file share (container name, for Blob storage).
    type String
    The type of storage. Possible values are AzureBlob and AzureFiles.
    mountPath String
    The path to mount the storage within the site's runtime environment.
    accessKey string
    The access key for the storage account.
    accountName string
    The name of the storage account.
    name string
    The name of the storage account identifier.
    shareName string
    The name of the file share (container name, for Blob storage).
    type string
    The type of storage. Possible values are AzureBlob and AzureFiles.
    mountPath string
    The path to mount the storage within the site's runtime environment.
    access_key str
    The access key for the storage account.
    account_name str
    The name of the storage account.
    name str
    The name of the storage account identifier.
    share_name str
    The name of the file share (container name, for Blob storage).
    type str
    The type of storage. Possible values are AzureBlob and AzureFiles.
    mount_path str
    The path to mount the storage within the site's runtime environment.
    accessKey String
    The access key for the storage account.
    accountName String
    The name of the storage account.
    name String
    The name of the storage account identifier.
    shareName String
    The name of the file share (container name, for Blob storage).
    type String
    The type of storage. Possible values are AzureBlob and AzureFiles.
    mountPath String
    The path to mount the storage within the site's runtime environment.

    Import

    App Service Slots can be imported using the resource id, e.g.

    $ pulumi import azure:appservice/slot:Slot instance1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/website1/slots/instance1
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi