We recommend using Azure Native.
azure.appservice.Slot
Explore with Pulumi AI
Manages an App Service Slot (within an App Service).
!> NOTE: This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use azure.appservice.LinuxWebAppSlot and azure.appservice.WindowsWebAppSlot resources instead.
Note: When using Slots - the
app_settings,connection_stringandsite_configblocks on theazure.appservice.AppServiceresource will be overwritten when promoting a Slot using theazure.appservice.ActiveSlotresource.
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={
        "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={
        "dotnet_framework_version": "v4.0",
    },
    app_settings={
        "SOME_KEY": "some-value",
    },
    connection_strings=[{
        "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={
        "dotnet_framework_version": "v4.0",
    },
    app_settings={
        "SOME_KEY": "some-value",
    },
    connection_strings=[{
        "name": "Database",
        "type": "SQLServer",
        "value": "Server=some-server.mydomain.com;Integrated Security=SSPI",
    }])
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appservice"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-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={
        "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={
        "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={
        "java_version": "1.8",
        "java_container": "JETTY",
        "java_container_version": "9.3",
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appservice"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Slot(name: string, args: SlotArgs, opts?: CustomResourceOptions);@overload
def Slot(resource_name: str,
         args: SlotArgs,
         opts: Optional[ResourceOptions] = None)
@overload
def Slot(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         app_service_name: Optional[str] = None,
         app_service_plan_id: Optional[str] = None,
         resource_group_name: Optional[str] = None,
         identity: Optional[SlotIdentityArgs] = None,
         location: Optional[str] = None,
         connection_strings: Optional[Sequence[SlotConnectionStringArgs]] = None,
         enabled: Optional[bool] = None,
         https_only: Optional[bool] = None,
         auth_settings: Optional[SlotAuthSettingsArgs] = None,
         key_vault_reference_identity_id: Optional[str] = None,
         client_affinity_enabled: Optional[bool] = None,
         logs: Optional[SlotLogsArgs] = None,
         name: Optional[str] = None,
         app_settings: Optional[Mapping[str, str]] = None,
         site_config: Optional[SlotSiteConfigArgs] = None,
         storage_accounts: Optional[Sequence[SlotStorageAccountArgs]] = None,
         tags: Optional[Mapping[str, str]] = None)func NewSlot(ctx *Context, name string, args SlotArgs, opts ...ResourceOption) (*Slot, error)public Slot(string name, SlotArgs args, CustomResourceOptions? opts = null)type: azure:appservice:Slot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var slotResource = new Azure.AppService.Slot("slotResource", new()
{
    AppServiceName = "string",
    AppServicePlanId = "string",
    ResourceGroupName = "string",
    Identity = new Azure.AppService.Inputs.SlotIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    Location = "string",
    ConnectionStrings = new[]
    {
        new Azure.AppService.Inputs.SlotConnectionStringArgs
        {
            Name = "string",
            Type = "string",
            Value = "string",
        },
    },
    Enabled = false,
    HttpsOnly = false,
    AuthSettings = new Azure.AppService.Inputs.SlotAuthSettingsArgs
    {
        Enabled = false,
        Google = new Azure.AppService.Inputs.SlotAuthSettingsGoogleArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            OauthScopes = new[]
            {
                "string",
            },
        },
        AllowedExternalRedirectUrls = new[]
        {
            "string",
        },
        DefaultProvider = "string",
        AdditionalLoginParams = 
        {
            { "string", "string" },
        },
        Facebook = new Azure.AppService.Inputs.SlotAuthSettingsFacebookArgs
        {
            AppId = "string",
            AppSecret = "string",
            OauthScopes = new[]
            {
                "string",
            },
        },
        ActiveDirectory = new Azure.AppService.Inputs.SlotAuthSettingsActiveDirectoryArgs
        {
            ClientId = "string",
            AllowedAudiences = new[]
            {
                "string",
            },
            ClientSecret = "string",
        },
        Issuer = "string",
        Microsoft = new Azure.AppService.Inputs.SlotAuthSettingsMicrosoftArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            OauthScopes = new[]
            {
                "string",
            },
        },
        RuntimeVersion = "string",
        TokenRefreshExtensionHours = 0,
        TokenStoreEnabled = false,
        Twitter = new Azure.AppService.Inputs.SlotAuthSettingsTwitterArgs
        {
            ConsumerKey = "string",
            ConsumerSecret = "string",
        },
        UnauthenticatedClientAction = "string",
    },
    KeyVaultReferenceIdentityId = "string",
    ClientAffinityEnabled = false,
    Logs = new Azure.AppService.Inputs.SlotLogsArgs
    {
        ApplicationLogs = new Azure.AppService.Inputs.SlotLogsApplicationLogsArgs
        {
            AzureBlobStorage = new Azure.AppService.Inputs.SlotLogsApplicationLogsAzureBlobStorageArgs
            {
                Level = "string",
                RetentionInDays = 0,
                SasUrl = "string",
            },
            FileSystemLevel = "string",
        },
        DetailedErrorMessagesEnabled = false,
        FailedRequestTracingEnabled = false,
        HttpLogs = new Azure.AppService.Inputs.SlotLogsHttpLogsArgs
        {
            AzureBlobStorage = new Azure.AppService.Inputs.SlotLogsHttpLogsAzureBlobStorageArgs
            {
                RetentionInDays = 0,
                SasUrl = "string",
            },
            FileSystem = new Azure.AppService.Inputs.SlotLogsHttpLogsFileSystemArgs
            {
                RetentionInDays = 0,
                RetentionInMb = 0,
            },
        },
    },
    Name = "string",
    AppSettings = 
    {
        { "string", "string" },
    },
    SiteConfig = new Azure.AppService.Inputs.SlotSiteConfigArgs
    {
        AcrUseManagedIdentityCredentials = false,
        AcrUserManagedIdentityClientId = "string",
        AlwaysOn = false,
        AppCommandLine = "string",
        AutoSwapSlotName = "string",
        Cors = new Azure.AppService.Inputs.SlotSiteConfigCorsArgs
        {
            AllowedOrigins = new[]
            {
                "string",
            },
            SupportCredentials = false,
        },
        DefaultDocuments = new[]
        {
            "string",
        },
        DotnetFrameworkVersion = "string",
        FtpsState = "string",
        HealthCheckPath = "string",
        Http2Enabled = false,
        IpRestrictions = new[]
        {
            new Azure.AppService.Inputs.SlotSiteConfigIpRestrictionArgs
            {
                Action = "string",
                Headers = new Azure.AppService.Inputs.SlotSiteConfigIpRestrictionHeadersArgs
                {
                    XAzureFdids = new[]
                    {
                        "string",
                    },
                    XFdHealthProbe = "string",
                    XForwardedFors = new[]
                    {
                        "string",
                    },
                    XForwardedHosts = new[]
                    {
                        "string",
                    },
                },
                IpAddress = "string",
                Name = "string",
                Priority = 0,
                ServiceTag = "string",
                VirtualNetworkSubnetId = "string",
            },
        },
        JavaContainer = "string",
        JavaContainerVersion = "string",
        JavaVersion = "string",
        LinuxFxVersion = "string",
        LocalMysqlEnabled = false,
        ManagedPipelineMode = "string",
        MinTlsVersion = "string",
        NumberOfWorkers = 0,
        PhpVersion = "string",
        PythonVersion = "string",
        RemoteDebuggingEnabled = false,
        RemoteDebuggingVersion = "string",
        ScmIpRestrictions = new[]
        {
            new Azure.AppService.Inputs.SlotSiteConfigScmIpRestrictionArgs
            {
                Action = "string",
                Headers = new Azure.AppService.Inputs.SlotSiteConfigScmIpRestrictionHeadersArgs
                {
                    XAzureFdids = new[]
                    {
                        "string",
                    },
                    XFdHealthProbe = "string",
                    XForwardedFors = new[]
                    {
                        "string",
                    },
                    XForwardedHosts = new[]
                    {
                        "string",
                    },
                },
                IpAddress = "string",
                Name = "string",
                Priority = 0,
                ServiceTag = "string",
                VirtualNetworkSubnetId = "string",
            },
        },
        ScmType = "string",
        ScmUseMainIpRestriction = false,
        Use32BitWorkerProcess = false,
        VnetRouteAllEnabled = false,
        WebsocketsEnabled = false,
        WindowsFxVersion = "string",
    },
    StorageAccounts = new[]
    {
        new Azure.AppService.Inputs.SlotStorageAccountArgs
        {
            AccessKey = "string",
            AccountName = "string",
            Name = "string",
            ShareName = "string",
            Type = "string",
            MountPath = "string",
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := appservice.NewSlot(ctx, "slotResource", &appservice.SlotArgs{
	AppServiceName:    pulumi.String("string"),
	AppServicePlanId:  pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	Identity: &appservice.SlotIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	ConnectionStrings: appservice.SlotConnectionStringArray{
		&appservice.SlotConnectionStringArgs{
			Name:  pulumi.String("string"),
			Type:  pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	Enabled:   pulumi.Bool(false),
	HttpsOnly: pulumi.Bool(false),
	AuthSettings: &appservice.SlotAuthSettingsArgs{
		Enabled: pulumi.Bool(false),
		Google: &appservice.SlotAuthSettingsGoogleArgs{
			ClientId:     pulumi.String("string"),
			ClientSecret: pulumi.String("string"),
			OauthScopes: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		AllowedExternalRedirectUrls: pulumi.StringArray{
			pulumi.String("string"),
		},
		DefaultProvider: pulumi.String("string"),
		AdditionalLoginParams: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Facebook: &appservice.SlotAuthSettingsFacebookArgs{
			AppId:     pulumi.String("string"),
			AppSecret: pulumi.String("string"),
			OauthScopes: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		ActiveDirectory: &appservice.SlotAuthSettingsActiveDirectoryArgs{
			ClientId: pulumi.String("string"),
			AllowedAudiences: pulumi.StringArray{
				pulumi.String("string"),
			},
			ClientSecret: pulumi.String("string"),
		},
		Issuer: pulumi.String("string"),
		Microsoft: &appservice.SlotAuthSettingsMicrosoftArgs{
			ClientId:     pulumi.String("string"),
			ClientSecret: pulumi.String("string"),
			OauthScopes: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		RuntimeVersion:             pulumi.String("string"),
		TokenRefreshExtensionHours: pulumi.Float64(0),
		TokenStoreEnabled:          pulumi.Bool(false),
		Twitter: &appservice.SlotAuthSettingsTwitterArgs{
			ConsumerKey:    pulumi.String("string"),
			ConsumerSecret: pulumi.String("string"),
		},
		UnauthenticatedClientAction: pulumi.String("string"),
	},
	KeyVaultReferenceIdentityId: pulumi.String("string"),
	ClientAffinityEnabled:       pulumi.Bool(false),
	Logs: &appservice.SlotLogsArgs{
		ApplicationLogs: &appservice.SlotLogsApplicationLogsArgs{
			AzureBlobStorage: &appservice.SlotLogsApplicationLogsAzureBlobStorageArgs{
				Level:           pulumi.String("string"),
				RetentionInDays: pulumi.Int(0),
				SasUrl:          pulumi.String("string"),
			},
			FileSystemLevel: pulumi.String("string"),
		},
		DetailedErrorMessagesEnabled: pulumi.Bool(false),
		FailedRequestTracingEnabled:  pulumi.Bool(false),
		HttpLogs: &appservice.SlotLogsHttpLogsArgs{
			AzureBlobStorage: &appservice.SlotLogsHttpLogsAzureBlobStorageArgs{
				RetentionInDays: pulumi.Int(0),
				SasUrl:          pulumi.String("string"),
			},
			FileSystem: &appservice.SlotLogsHttpLogsFileSystemArgs{
				RetentionInDays: pulumi.Int(0),
				RetentionInMb:   pulumi.Int(0),
			},
		},
	},
	Name: pulumi.String("string"),
	AppSettings: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	SiteConfig: &appservice.SlotSiteConfigArgs{
		AcrUseManagedIdentityCredentials: pulumi.Bool(false),
		AcrUserManagedIdentityClientId:   pulumi.String("string"),
		AlwaysOn:                         pulumi.Bool(false),
		AppCommandLine:                   pulumi.String("string"),
		AutoSwapSlotName:                 pulumi.String("string"),
		Cors: &appservice.SlotSiteConfigCorsArgs{
			AllowedOrigins: pulumi.StringArray{
				pulumi.String("string"),
			},
			SupportCredentials: pulumi.Bool(false),
		},
		DefaultDocuments: pulumi.StringArray{
			pulumi.String("string"),
		},
		DotnetFrameworkVersion: pulumi.String("string"),
		FtpsState:              pulumi.String("string"),
		HealthCheckPath:        pulumi.String("string"),
		Http2Enabled:           pulumi.Bool(false),
		IpRestrictions: appservice.SlotSiteConfigIpRestrictionArray{
			&appservice.SlotSiteConfigIpRestrictionArgs{
				Action: pulumi.String("string"),
				Headers: &appservice.SlotSiteConfigIpRestrictionHeadersArgs{
					XAzureFdids: pulumi.StringArray{
						pulumi.String("string"),
					},
					XFdHealthProbe: pulumi.String("string"),
					XForwardedFors: pulumi.StringArray{
						pulumi.String("string"),
					},
					XForwardedHosts: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				IpAddress:              pulumi.String("string"),
				Name:                   pulumi.String("string"),
				Priority:               pulumi.Int(0),
				ServiceTag:             pulumi.String("string"),
				VirtualNetworkSubnetId: pulumi.String("string"),
			},
		},
		JavaContainer:          pulumi.String("string"),
		JavaContainerVersion:   pulumi.String("string"),
		JavaVersion:            pulumi.String("string"),
		LinuxFxVersion:         pulumi.String("string"),
		LocalMysqlEnabled:      pulumi.Bool(false),
		ManagedPipelineMode:    pulumi.String("string"),
		MinTlsVersion:          pulumi.String("string"),
		NumberOfWorkers:        pulumi.Int(0),
		PhpVersion:             pulumi.String("string"),
		PythonVersion:          pulumi.String("string"),
		RemoteDebuggingEnabled: pulumi.Bool(false),
		RemoteDebuggingVersion: pulumi.String("string"),
		ScmIpRestrictions: appservice.SlotSiteConfigScmIpRestrictionArray{
			&appservice.SlotSiteConfigScmIpRestrictionArgs{
				Action: pulumi.String("string"),
				Headers: &appservice.SlotSiteConfigScmIpRestrictionHeadersArgs{
					XAzureFdids: pulumi.StringArray{
						pulumi.String("string"),
					},
					XFdHealthProbe: pulumi.String("string"),
					XForwardedFors: pulumi.StringArray{
						pulumi.String("string"),
					},
					XForwardedHosts: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				IpAddress:              pulumi.String("string"),
				Name:                   pulumi.String("string"),
				Priority:               pulumi.Int(0),
				ServiceTag:             pulumi.String("string"),
				VirtualNetworkSubnetId: pulumi.String("string"),
			},
		},
		ScmType:                 pulumi.String("string"),
		ScmUseMainIpRestriction: pulumi.Bool(false),
		Use32BitWorkerProcess:   pulumi.Bool(false),
		VnetRouteAllEnabled:     pulumi.Bool(false),
		WebsocketsEnabled:       pulumi.Bool(false),
		WindowsFxVersion:        pulumi.String("string"),
	},
	StorageAccounts: appservice.SlotStorageAccountArray{
		&appservice.SlotStorageAccountArgs{
			AccessKey:   pulumi.String("string"),
			AccountName: pulumi.String("string"),
			Name:        pulumi.String("string"),
			ShareName:   pulumi.String("string"),
			Type:        pulumi.String("string"),
			MountPath:   pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var slotResource = new Slot("slotResource", SlotArgs.builder()
    .appServiceName("string")
    .appServicePlanId("string")
    .resourceGroupName("string")
    .identity(SlotIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .location("string")
    .connectionStrings(SlotConnectionStringArgs.builder()
        .name("string")
        .type("string")
        .value("string")
        .build())
    .enabled(false)
    .httpsOnly(false)
    .authSettings(SlotAuthSettingsArgs.builder()
        .enabled(false)
        .google(SlotAuthSettingsGoogleArgs.builder()
            .clientId("string")
            .clientSecret("string")
            .oauthScopes("string")
            .build())
        .allowedExternalRedirectUrls("string")
        .defaultProvider("string")
        .additionalLoginParams(Map.of("string", "string"))
        .facebook(SlotAuthSettingsFacebookArgs.builder()
            .appId("string")
            .appSecret("string")
            .oauthScopes("string")
            .build())
        .activeDirectory(SlotAuthSettingsActiveDirectoryArgs.builder()
            .clientId("string")
            .allowedAudiences("string")
            .clientSecret("string")
            .build())
        .issuer("string")
        .microsoft(SlotAuthSettingsMicrosoftArgs.builder()
            .clientId("string")
            .clientSecret("string")
            .oauthScopes("string")
            .build())
        .runtimeVersion("string")
        .tokenRefreshExtensionHours(0)
        .tokenStoreEnabled(false)
        .twitter(SlotAuthSettingsTwitterArgs.builder()
            .consumerKey("string")
            .consumerSecret("string")
            .build())
        .unauthenticatedClientAction("string")
        .build())
    .keyVaultReferenceIdentityId("string")
    .clientAffinityEnabled(false)
    .logs(SlotLogsArgs.builder()
        .applicationLogs(SlotLogsApplicationLogsArgs.builder()
            .azureBlobStorage(SlotLogsApplicationLogsAzureBlobStorageArgs.builder()
                .level("string")
                .retentionInDays(0)
                .sasUrl("string")
                .build())
            .fileSystemLevel("string")
            .build())
        .detailedErrorMessagesEnabled(false)
        .failedRequestTracingEnabled(false)
        .httpLogs(SlotLogsHttpLogsArgs.builder()
            .azureBlobStorage(SlotLogsHttpLogsAzureBlobStorageArgs.builder()
                .retentionInDays(0)
                .sasUrl("string")
                .build())
            .fileSystem(SlotLogsHttpLogsFileSystemArgs.builder()
                .retentionInDays(0)
                .retentionInMb(0)
                .build())
            .build())
        .build())
    .name("string")
    .appSettings(Map.of("string", "string"))
    .siteConfig(SlotSiteConfigArgs.builder()
        .acrUseManagedIdentityCredentials(false)
        .acrUserManagedIdentityClientId("string")
        .alwaysOn(false)
        .appCommandLine("string")
        .autoSwapSlotName("string")
        .cors(SlotSiteConfigCorsArgs.builder()
            .allowedOrigins("string")
            .supportCredentials(false)
            .build())
        .defaultDocuments("string")
        .dotnetFrameworkVersion("string")
        .ftpsState("string")
        .healthCheckPath("string")
        .http2Enabled(false)
        .ipRestrictions(SlotSiteConfigIpRestrictionArgs.builder()
            .action("string")
            .headers(SlotSiteConfigIpRestrictionHeadersArgs.builder()
                .xAzureFdids("string")
                .xFdHealthProbe("string")
                .xForwardedFors("string")
                .xForwardedHosts("string")
                .build())
            .ipAddress("string")
            .name("string")
            .priority(0)
            .serviceTag("string")
            .virtualNetworkSubnetId("string")
            .build())
        .javaContainer("string")
        .javaContainerVersion("string")
        .javaVersion("string")
        .linuxFxVersion("string")
        .localMysqlEnabled(false)
        .managedPipelineMode("string")
        .minTlsVersion("string")
        .numberOfWorkers(0)
        .phpVersion("string")
        .pythonVersion("string")
        .remoteDebuggingEnabled(false)
        .remoteDebuggingVersion("string")
        .scmIpRestrictions(SlotSiteConfigScmIpRestrictionArgs.builder()
            .action("string")
            .headers(SlotSiteConfigScmIpRestrictionHeadersArgs.builder()
                .xAzureFdids("string")
                .xFdHealthProbe("string")
                .xForwardedFors("string")
                .xForwardedHosts("string")
                .build())
            .ipAddress("string")
            .name("string")
            .priority(0)
            .serviceTag("string")
            .virtualNetworkSubnetId("string")
            .build())
        .scmType("string")
        .scmUseMainIpRestriction(false)
        .use32BitWorkerProcess(false)
        .vnetRouteAllEnabled(false)
        .websocketsEnabled(false)
        .windowsFxVersion("string")
        .build())
    .storageAccounts(SlotStorageAccountArgs.builder()
        .accessKey("string")
        .accountName("string")
        .name("string")
        .shareName("string")
        .type("string")
        .mountPath("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
slot_resource = azure.appservice.Slot("slotResource",
    app_service_name="string",
    app_service_plan_id="string",
    resource_group_name="string",
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    location="string",
    connection_strings=[{
        "name": "string",
        "type": "string",
        "value": "string",
    }],
    enabled=False,
    https_only=False,
    auth_settings={
        "enabled": False,
        "google": {
            "client_id": "string",
            "client_secret": "string",
            "oauth_scopes": ["string"],
        },
        "allowed_external_redirect_urls": ["string"],
        "default_provider": "string",
        "additional_login_params": {
            "string": "string",
        },
        "facebook": {
            "app_id": "string",
            "app_secret": "string",
            "oauth_scopes": ["string"],
        },
        "active_directory": {
            "client_id": "string",
            "allowed_audiences": ["string"],
            "client_secret": "string",
        },
        "issuer": "string",
        "microsoft": {
            "client_id": "string",
            "client_secret": "string",
            "oauth_scopes": ["string"],
        },
        "runtime_version": "string",
        "token_refresh_extension_hours": 0,
        "token_store_enabled": False,
        "twitter": {
            "consumer_key": "string",
            "consumer_secret": "string",
        },
        "unauthenticated_client_action": "string",
    },
    key_vault_reference_identity_id="string",
    client_affinity_enabled=False,
    logs={
        "application_logs": {
            "azure_blob_storage": {
                "level": "string",
                "retention_in_days": 0,
                "sas_url": "string",
            },
            "file_system_level": "string",
        },
        "detailed_error_messages_enabled": False,
        "failed_request_tracing_enabled": False,
        "http_logs": {
            "azure_blob_storage": {
                "retention_in_days": 0,
                "sas_url": "string",
            },
            "file_system": {
                "retention_in_days": 0,
                "retention_in_mb": 0,
            },
        },
    },
    name="string",
    app_settings={
        "string": "string",
    },
    site_config={
        "acr_use_managed_identity_credentials": False,
        "acr_user_managed_identity_client_id": "string",
        "always_on": False,
        "app_command_line": "string",
        "auto_swap_slot_name": "string",
        "cors": {
            "allowed_origins": ["string"],
            "support_credentials": False,
        },
        "default_documents": ["string"],
        "dotnet_framework_version": "string",
        "ftps_state": "string",
        "health_check_path": "string",
        "http2_enabled": False,
        "ip_restrictions": [{
            "action": "string",
            "headers": {
                "x_azure_fdids": ["string"],
                "x_fd_health_probe": "string",
                "x_forwarded_fors": ["string"],
                "x_forwarded_hosts": ["string"],
            },
            "ip_address": "string",
            "name": "string",
            "priority": 0,
            "service_tag": "string",
            "virtual_network_subnet_id": "string",
        }],
        "java_container": "string",
        "java_container_version": "string",
        "java_version": "string",
        "linux_fx_version": "string",
        "local_mysql_enabled": False,
        "managed_pipeline_mode": "string",
        "min_tls_version": "string",
        "number_of_workers": 0,
        "php_version": "string",
        "python_version": "string",
        "remote_debugging_enabled": False,
        "remote_debugging_version": "string",
        "scm_ip_restrictions": [{
            "action": "string",
            "headers": {
                "x_azure_fdids": ["string"],
                "x_fd_health_probe": "string",
                "x_forwarded_fors": ["string"],
                "x_forwarded_hosts": ["string"],
            },
            "ip_address": "string",
            "name": "string",
            "priority": 0,
            "service_tag": "string",
            "virtual_network_subnet_id": "string",
        }],
        "scm_type": "string",
        "scm_use_main_ip_restriction": False,
        "use32_bit_worker_process": False,
        "vnet_route_all_enabled": False,
        "websockets_enabled": False,
        "windows_fx_version": "string",
    },
    storage_accounts=[{
        "access_key": "string",
        "account_name": "string",
        "name": "string",
        "share_name": "string",
        "type": "string",
        "mount_path": "string",
    }],
    tags={
        "string": "string",
    })
const slotResource = new azure.appservice.Slot("slotResource", {
    appServiceName: "string",
    appServicePlanId: "string",
    resourceGroupName: "string",
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    location: "string",
    connectionStrings: [{
        name: "string",
        type: "string",
        value: "string",
    }],
    enabled: false,
    httpsOnly: false,
    authSettings: {
        enabled: false,
        google: {
            clientId: "string",
            clientSecret: "string",
            oauthScopes: ["string"],
        },
        allowedExternalRedirectUrls: ["string"],
        defaultProvider: "string",
        additionalLoginParams: {
            string: "string",
        },
        facebook: {
            appId: "string",
            appSecret: "string",
            oauthScopes: ["string"],
        },
        activeDirectory: {
            clientId: "string",
            allowedAudiences: ["string"],
            clientSecret: "string",
        },
        issuer: "string",
        microsoft: {
            clientId: "string",
            clientSecret: "string",
            oauthScopes: ["string"],
        },
        runtimeVersion: "string",
        tokenRefreshExtensionHours: 0,
        tokenStoreEnabled: false,
        twitter: {
            consumerKey: "string",
            consumerSecret: "string",
        },
        unauthenticatedClientAction: "string",
    },
    keyVaultReferenceIdentityId: "string",
    clientAffinityEnabled: false,
    logs: {
        applicationLogs: {
            azureBlobStorage: {
                level: "string",
                retentionInDays: 0,
                sasUrl: "string",
            },
            fileSystemLevel: "string",
        },
        detailedErrorMessagesEnabled: false,
        failedRequestTracingEnabled: false,
        httpLogs: {
            azureBlobStorage: {
                retentionInDays: 0,
                sasUrl: "string",
            },
            fileSystem: {
                retentionInDays: 0,
                retentionInMb: 0,
            },
        },
    },
    name: "string",
    appSettings: {
        string: "string",
    },
    siteConfig: {
        acrUseManagedIdentityCredentials: false,
        acrUserManagedIdentityClientId: "string",
        alwaysOn: false,
        appCommandLine: "string",
        autoSwapSlotName: "string",
        cors: {
            allowedOrigins: ["string"],
            supportCredentials: false,
        },
        defaultDocuments: ["string"],
        dotnetFrameworkVersion: "string",
        ftpsState: "string",
        healthCheckPath: "string",
        http2Enabled: false,
        ipRestrictions: [{
            action: "string",
            headers: {
                xAzureFdids: ["string"],
                xFdHealthProbe: "string",
                xForwardedFors: ["string"],
                xForwardedHosts: ["string"],
            },
            ipAddress: "string",
            name: "string",
            priority: 0,
            serviceTag: "string",
            virtualNetworkSubnetId: "string",
        }],
        javaContainer: "string",
        javaContainerVersion: "string",
        javaVersion: "string",
        linuxFxVersion: "string",
        localMysqlEnabled: false,
        managedPipelineMode: "string",
        minTlsVersion: "string",
        numberOfWorkers: 0,
        phpVersion: "string",
        pythonVersion: "string",
        remoteDebuggingEnabled: false,
        remoteDebuggingVersion: "string",
        scmIpRestrictions: [{
            action: "string",
            headers: {
                xAzureFdids: ["string"],
                xFdHealthProbe: "string",
                xForwardedFors: ["string"],
                xForwardedHosts: ["string"],
            },
            ipAddress: "string",
            name: "string",
            priority: 0,
            serviceTag: "string",
            virtualNetworkSubnetId: "string",
        }],
        scmType: "string",
        scmUseMainIpRestriction: false,
        use32BitWorkerProcess: false,
        vnetRouteAllEnabled: false,
        websocketsEnabled: false,
        windowsFxVersion: "string",
    },
    storageAccounts: [{
        accessKey: "string",
        accountName: "string",
        name: "string",
        shareName: "string",
        type: "string",
        mountPath: "string",
    }],
    tags: {
        string: "string",
    },
});
type: azure:appservice:Slot
properties:
    appServiceName: string
    appServicePlanId: string
    appSettings:
        string: string
    authSettings:
        activeDirectory:
            allowedAudiences:
                - string
            clientId: string
            clientSecret: string
        additionalLoginParams:
            string: string
        allowedExternalRedirectUrls:
            - string
        defaultProvider: string
        enabled: false
        facebook:
            appId: string
            appSecret: string
            oauthScopes:
                - string
        google:
            clientId: string
            clientSecret: string
            oauthScopes:
                - string
        issuer: string
        microsoft:
            clientId: string
            clientSecret: string
            oauthScopes:
                - string
        runtimeVersion: string
        tokenRefreshExtensionHours: 0
        tokenStoreEnabled: false
        twitter:
            consumerKey: string
            consumerSecret: string
        unauthenticatedClientAction: string
    clientAffinityEnabled: false
    connectionStrings:
        - name: string
          type: string
          value: string
    enabled: false
    httpsOnly: false
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    keyVaultReferenceIdentityId: string
    location: string
    logs:
        applicationLogs:
            azureBlobStorage:
                level: string
                retentionInDays: 0
                sasUrl: string
            fileSystemLevel: string
        detailedErrorMessagesEnabled: false
        failedRequestTracingEnabled: false
        httpLogs:
            azureBlobStorage:
                retentionInDays: 0
                sasUrl: string
            fileSystem:
                retentionInDays: 0
                retentionInMb: 0
    name: string
    resourceGroupName: string
    siteConfig:
        acrUseManagedIdentityCredentials: false
        acrUserManagedIdentityClientId: string
        alwaysOn: false
        appCommandLine: string
        autoSwapSlotName: string
        cors:
            allowedOrigins:
                - string
            supportCredentials: false
        defaultDocuments:
            - string
        dotnetFrameworkVersion: string
        ftpsState: string
        healthCheckPath: string
        http2Enabled: false
        ipRestrictions:
            - action: string
              headers:
                xAzureFdids:
                    - string
                xFdHealthProbe: string
                xForwardedFors:
                    - string
                xForwardedHosts:
                    - string
              ipAddress: string
              name: string
              priority: 0
              serviceTag: string
              virtualNetworkSubnetId: string
        javaContainer: string
        javaContainerVersion: string
        javaVersion: string
        linuxFxVersion: string
        localMysqlEnabled: false
        managedPipelineMode: string
        minTlsVersion: string
        numberOfWorkers: 0
        phpVersion: string
        pythonVersion: string
        remoteDebuggingEnabled: false
        remoteDebuggingVersion: string
        scmIpRestrictions:
            - action: string
              headers:
                xAzureFdids:
                    - string
                xFdHealthProbe: string
                xForwardedFors:
                    - string
                xForwardedHosts:
                    - string
              ipAddress: string
              name: string
              priority: 0
              serviceTag: string
              virtualNetworkSubnetId: string
        scmType: string
        scmUseMainIpRestriction: false
        use32BitWorkerProcess: false
        vnetRouteAllEnabled: false
        websocketsEnabled: false
        windowsFxVersion: string
    storageAccounts:
        - accessKey: string
          accountName: string
          mountPath: string
          name: string
          shareName: string
          type: string
    tags:
        string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Slot resource accepts the following input properties:
- AppService stringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- AppService stringPlan Id 
- The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- 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 SlotAuth Settings 
- A auth_settingsblock as defined below.
- ClientAffinity boolEnabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- ConnectionStrings List<SlotConnection String> 
- An connection_stringblock 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 identityblock as defined below.
- KeyVault stringReference Identity Id 
- 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 logsblock as defined below.
- Name string
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- SiteConfig SlotSite Config 
- A site_configobject as defined below.
- StorageAccounts List<SlotStorage Account> 
- One or more storage_accountblocks as defined below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- AppService stringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- AppService stringPlan Id 
- The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- 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 SlotAuth Settings Args 
- A auth_settingsblock as defined below.
- ClientAffinity boolEnabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- ConnectionStrings []SlotConnection String Args 
- An connection_stringblock 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 Args 
- An identityblock as defined below.
- KeyVault stringReference Identity Id 
- 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 Args 
- A logsblock as defined below.
- Name string
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- SiteConfig SlotSite Config Args 
- A site_configobject as defined below.
- StorageAccounts []SlotStorage Account Args 
- One or more storage_accountblocks as defined below.
- map[string]string
- A mapping of tags to assign to the resource.
- appService StringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- appService StringPlan Id 
- The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
- resourceGroup StringName 
- 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 SlotAuth Settings 
- A auth_settingsblock as defined below.
- clientAffinity BooleanEnabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- connectionStrings List<SlotConnection String> 
- An connection_stringblock 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 identityblock as defined below.
- keyVault StringReference Identity Id 
- 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 logsblock as defined below.
- name String
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- siteConfig SlotSite Config 
- A site_configobject as defined below.
- storageAccounts List<SlotStorage Account> 
- One or more storage_accountblocks as defined below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- appService stringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- appService stringPlan Id 
- The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
- resourceGroup stringName 
- 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 SlotAuth Settings 
- A auth_settingsblock as defined below.
- clientAffinity booleanEnabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- connectionStrings SlotConnection String[] 
- An connection_stringblock 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 identityblock as defined below.
- keyVault stringReference Identity Id 
- 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 logsblock as defined below.
- name string
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- siteConfig SlotSite Config 
- A site_configobject as defined below.
- storageAccounts SlotStorage Account[] 
- One or more storage_accountblocks as defined below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- app_service_ strname 
- 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_ strplan_ id 
- 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_ strname 
- 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 SlotAuth Settings Args 
- A auth_settingsblock as defined below.
- client_affinity_ boolenabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- connection_strings Sequence[SlotConnection String Args] 
- An connection_stringblock 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
SlotIdentity Args 
- An identityblock as defined below.
- key_vault_ strreference_ identity_ id 
- 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
SlotLogs Args 
- A logsblock 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 SlotSite Config Args 
- A site_configobject as defined below.
- storage_accounts Sequence[SlotStorage Account Args] 
- One or more storage_accountblocks as defined below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- appService StringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- appService StringPlan Id 
- The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
- resourceGroup StringName 
- 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_settingsblock as defined below.
- clientAffinity BooleanEnabled 
- 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_stringblock 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 identityblock as defined below.
- keyVault StringReference Identity Id 
- 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 logsblock 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_configobject as defined below.
- storageAccounts List<Property Map>
- One or more storage_accountblocks as defined below.
- 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:
- DefaultSite stringHostname 
- 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<SlotSite Credential> 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- DefaultSite stringHostname 
- 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 []SlotSite Credential 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- defaultSite StringHostname 
- 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<SlotSite Credential> 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- defaultSite stringHostname 
- 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 SlotSite Credential[] 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- default_site_ strhostname 
- 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[SlotSite Credential] 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- defaultSite StringHostname 
- 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_credentialblock 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) -> Slotfunc 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)resources:  _:    type: azure:appservice:Slot    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AppService stringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- AppService stringPlan Id 
- 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 SlotAuth Settings 
- A auth_settingsblock as defined below.
- ClientAffinity boolEnabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- ConnectionStrings List<SlotConnection String> 
- An connection_stringblock as defined below.
- DefaultSite stringHostname 
- 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 identityblock as defined below.
- KeyVault stringReference Identity Id 
- 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 logsblock as defined below.
- Name string
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- 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 SlotSite Config 
- A site_configobject as defined below.
- SiteCredentials List<SlotSite Credential> 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- StorageAccounts List<SlotStorage Account> 
- One or more storage_accountblocks as defined below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- AppService stringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- AppService stringPlan Id 
- 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 SlotAuth Settings Args 
- A auth_settingsblock as defined below.
- ClientAffinity boolEnabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- ConnectionStrings []SlotConnection String Args 
- An connection_stringblock as defined below.
- DefaultSite stringHostname 
- 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 Args 
- An identityblock as defined below.
- KeyVault stringReference Identity Id 
- 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 Args 
- A logsblock as defined below.
- Name string
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- 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 SlotSite Config Args 
- A site_configobject as defined below.
- SiteCredentials []SlotSite Credential Args 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- StorageAccounts []SlotStorage Account Args 
- One or more storage_accountblocks as defined below.
- map[string]string
- A mapping of tags to assign to the resource.
- appService StringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- appService StringPlan Id 
- 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 SlotAuth Settings 
- A auth_settingsblock as defined below.
- clientAffinity BooleanEnabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- connectionStrings List<SlotConnection String> 
- An connection_stringblock as defined below.
- defaultSite StringHostname 
- 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 identityblock as defined below.
- keyVault StringReference Identity Id 
- 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 logsblock as defined below.
- name String
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- resourceGroup StringName 
- 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 SlotSite Config 
- A site_configobject as defined below.
- siteCredentials List<SlotSite Credential> 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- storageAccounts List<SlotStorage Account> 
- One or more storage_accountblocks as defined below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- appService stringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- appService stringPlan Id 
- 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 SlotAuth Settings 
- A auth_settingsblock as defined below.
- clientAffinity booleanEnabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- connectionStrings SlotConnection String[] 
- An connection_stringblock as defined below.
- defaultSite stringHostname 
- 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 identityblock as defined below.
- keyVault stringReference Identity Id 
- 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 logsblock as defined below.
- name string
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- resourceGroup stringName 
- 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 SlotSite Config 
- A site_configobject as defined below.
- siteCredentials SlotSite Credential[] 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- storageAccounts SlotStorage Account[] 
- One or more storage_accountblocks as defined below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- app_service_ strname 
- 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_ strplan_ id 
- 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 SlotAuth Settings Args 
- A auth_settingsblock as defined below.
- client_affinity_ boolenabled 
- Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
- connection_strings Sequence[SlotConnection String Args] 
- An connection_stringblock as defined below.
- default_site_ strhostname 
- 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
SlotIdentity Args 
- An identityblock as defined below.
- key_vault_ strreference_ identity_ id 
- 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
SlotLogs Args 
- A logsblock 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_ strname 
- 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 SlotSite Config Args 
- A site_configobject as defined below.
- site_credentials Sequence[SlotSite Credential Args] 
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- storage_accounts Sequence[SlotStorage Account Args] 
- One or more storage_accountblocks as defined below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- appService StringName 
- The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.
- appService StringPlan Id 
- 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_settingsblock as defined below.
- clientAffinity BooleanEnabled 
- 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_stringblock as defined below.
- defaultSite StringHostname 
- 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 identityblock as defined below.
- keyVault StringReference Identity Id 
- 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 logsblock as defined below.
- name String
- Specifies the name of the App Service Slot component. Changing this forces a new resource to be created.
- resourceGroup StringName 
- 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_configobject as defined below.
- siteCredentials List<Property Map>
- A site_credentialblock as defined below, which contains the site-level credentials used to publish to this App Service slot.
- storageAccounts List<Property Map>
- One or more storage_accountblocks as defined below.
- Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
SlotAuthSettings, SlotAuthSettingsArgs      
- Enabled bool
- Is Authentication enabled?
- ActiveDirectory SlotAuth Settings Active Directory 
- A active_directoryblock as defined below.
- AdditionalLogin Dictionary<string, string>Params 
- Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- AllowedExternal List<string>Redirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- DefaultProvider string
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- Facebook
SlotAuth Settings Facebook 
- A facebookblock as defined below.
- Google
SlotAuth Settings Google 
- A googleblock as defined below.
- Issuer string
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- Microsoft
SlotAuth Settings Microsoft 
- A microsoftblock as defined below.
- RuntimeVersion string
- The runtime version of the Authentication/Authorization module.
- TokenRefresh doubleExtension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- TokenStore boolEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- Twitter
SlotAuth Settings Twitter 
- A twitterblock as defined below.
- UnauthenticatedClient stringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- Enabled bool
- Is Authentication enabled?
- ActiveDirectory SlotAuth Settings Active Directory 
- A active_directoryblock as defined below.
- AdditionalLogin map[string]stringParams 
- Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- AllowedExternal []stringRedirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- DefaultProvider string
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- Facebook
SlotAuth Settings Facebook 
- A facebookblock as defined below.
- Google
SlotAuth Settings Google 
- A googleblock as defined below.
- Issuer string
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- Microsoft
SlotAuth Settings Microsoft 
- A microsoftblock as defined below.
- RuntimeVersion string
- The runtime version of the Authentication/Authorization module.
- TokenRefresh float64Extension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- TokenStore boolEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- Twitter
SlotAuth Settings Twitter 
- A twitterblock as defined below.
- UnauthenticatedClient stringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- enabled Boolean
- Is Authentication enabled?
- activeDirectory SlotAuth Settings Active Directory 
- A active_directoryblock as defined below.
- additionalLogin Map<String,String>Params 
- Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowedExternal List<String>Redirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- defaultProvider String
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- facebook
SlotAuth Settings Facebook 
- A facebookblock as defined below.
- google
SlotAuth Settings Google 
- A googleblock as defined below.
- issuer String
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- microsoft
SlotAuth Settings Microsoft 
- A microsoftblock as defined below.
- runtimeVersion String
- The runtime version of the Authentication/Authorization module.
- tokenRefresh DoubleExtension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- tokenStore BooleanEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- twitter
SlotAuth Settings Twitter 
- A twitterblock as defined below.
- unauthenticatedClient StringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- enabled boolean
- Is Authentication enabled?
- activeDirectory SlotAuth Settings Active Directory 
- A active_directoryblock as defined below.
- additionalLogin {[key: string]: string}Params 
- Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowedExternal string[]Redirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- defaultProvider string
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- facebook
SlotAuth Settings Facebook 
- A facebookblock as defined below.
- google
SlotAuth Settings Google 
- A googleblock as defined below.
- issuer string
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- microsoft
SlotAuth Settings Microsoft 
- A microsoftblock as defined below.
- runtimeVersion string
- The runtime version of the Authentication/Authorization module.
- tokenRefresh numberExtension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- tokenStore booleanEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- twitter
SlotAuth Settings Twitter 
- A twitterblock as defined below.
- unauthenticatedClient stringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- enabled bool
- Is Authentication enabled?
- active_directory SlotAuth Settings Active Directory 
- A active_directoryblock as defined below.
- additional_login_ Mapping[str, str]params 
- Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowed_external_ Sequence[str]redirect_ urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- default_provider str
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- facebook
SlotAuth Settings Facebook 
- A facebookblock as defined below.
- google
SlotAuth Settings Google 
- A googleblock as defined below.
- issuer str
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- microsoft
SlotAuth Settings Microsoft 
- A microsoftblock as defined below.
- runtime_version str
- The runtime version of the Authentication/Authorization module.
- token_refresh_ floatextension_ hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- token_store_ boolenabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- twitter
SlotAuth Settings Twitter 
- A twitterblock as defined below.
- unauthenticated_client_ straction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
- enabled Boolean
- Is Authentication enabled?
- activeDirectory Property Map
- A active_directoryblock as defined below.
- additionalLogin Map<String>Params 
- Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowedExternal List<String>Redirect Urls 
- External URLs that can be redirected to as part of logging in or logging out of the app.
- defaultProvider String
- The default provider to use when multiple providers have been set up. Possible values are - AzureActiveDirectory,- Facebook,- Google,- MicrosoftAccountand- Twitter.- NOTE: When using multiple providers, the default provider must be set for settings like - unauthenticated_client_actionto work.
- facebook Property Map
- A facebookblock as defined below.
- google Property Map
- A googleblock as defined below.
- issuer String
- Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
- microsoft Property Map
- A microsoftblock as defined below.
- runtimeVersion String
- The runtime version of the Authentication/Authorization module.
- tokenRefresh NumberExtension Hours 
- The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.
- tokenStore BooleanEnabled 
- If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.
- twitter Property Map
- A twitterblock as defined below.
- unauthenticatedClient StringAction 
- The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymousandRedirectToLoginPage.
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      
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),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the 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 typeisUserAssigned.
- 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),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the 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 typeisUserAssigned.
- 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),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the 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 typeisUserAssigned.
- 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),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the 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 typeisUserAssigned.
- 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),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the 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 typeisUserAssigned.
- 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),- UserAssignedwhere you can specify the Service Principal IDs in the- identity_idsfield, and- SystemAssigned, UserAssignedwhich assigns both a system managed identity as well as the specified user assigned identities.- NOTE: When - typeis set to- SystemAssigned, The assigned- principal_idand- tenant_idcan be retrieved after the 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 typeisUserAssigned.
- 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 SlotLogs Application Logs 
- An application_logsblock as defined below.
- DetailedError boolMessages Enabled 
- Should Detailed error messagesbe enabled on this App Service slot? Defaults tofalse.
- FailedRequest boolTracing Enabled 
- Should Failed request tracingbe enabled on this App Service slot? Defaults tofalse.
- HttpLogs SlotLogs Http Logs 
- An http_logsblock as defined below.
- ApplicationLogs SlotLogs Application Logs 
- An application_logsblock as defined below.
- DetailedError boolMessages Enabled 
- Should Detailed error messagesbe enabled on this App Service slot? Defaults tofalse.
- FailedRequest boolTracing Enabled 
- Should Failed request tracingbe enabled on this App Service slot? Defaults tofalse.
- HttpLogs SlotLogs Http Logs 
- An http_logsblock as defined below.
- applicationLogs SlotLogs Application Logs 
- An application_logsblock as defined below.
- detailedError BooleanMessages Enabled 
- Should Detailed error messagesbe enabled on this App Service slot? Defaults tofalse.
- failedRequest BooleanTracing Enabled 
- Should Failed request tracingbe enabled on this App Service slot? Defaults tofalse.
- httpLogs SlotLogs Http Logs 
- An http_logsblock as defined below.
- applicationLogs SlotLogs Application Logs 
- An application_logsblock as defined below.
- detailedError booleanMessages Enabled 
- Should Detailed error messagesbe enabled on this App Service slot? Defaults tofalse.
- failedRequest booleanTracing Enabled 
- Should Failed request tracingbe enabled on this App Service slot? Defaults tofalse.
- httpLogs SlotLogs Http Logs 
- An http_logsblock as defined below.
- application_logs SlotLogs Application Logs 
- An application_logsblock as defined below.
- detailed_error_ boolmessages_ enabled 
- Should Detailed error messagesbe enabled on this App Service slot? Defaults tofalse.
- failed_request_ booltracing_ enabled 
- Should Failed request tracingbe enabled on this App Service slot? Defaults tofalse.
- http_logs SlotLogs Http Logs 
- An http_logsblock as defined below.
- applicationLogs Property Map
- An application_logsblock as defined below.
- detailedError BooleanMessages Enabled 
- Should Detailed error messagesbe enabled on this App Service slot? Defaults tofalse.
- failedRequest BooleanTracing Enabled 
- Should Failed request tracingbe enabled on this App Service slot? Defaults tofalse.
- httpLogs Property Map
- An http_logsblock as defined below.
SlotLogsApplicationLogs, SlotLogsApplicationLogsArgs        
- AzureBlob SlotStorage Logs Application Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- FileSystem stringLevel 
- The file system log level. Possible values are Off,Error,Warning,Information, andVerbose. Defaults toOff.
- AzureBlob SlotStorage Logs Application Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- FileSystem stringLevel 
- The file system log level. Possible values are Off,Error,Warning,Information, andVerbose. Defaults toOff.
- azureBlob SlotStorage Logs Application Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- fileSystem StringLevel 
- The file system log level. Possible values are Off,Error,Warning,Information, andVerbose. Defaults toOff.
- azureBlob SlotStorage Logs Application Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- fileSystem stringLevel 
- The file system log level. Possible values are Off,Error,Warning,Information, andVerbose. Defaults toOff.
- azure_blob_ Slotstorage Logs Application Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- file_system_ strlevel 
- The file system log level. Possible values are Off,Error,Warning,Information, andVerbose. Defaults toOff.
- azureBlob Property MapStorage 
- An azure_blob_storageblock as defined below.
- fileSystem StringLevel 
- The file system log level. Possible values are Off,Error,Warning,Information, andVerbose. Defaults toOff.
SlotLogsApplicationLogsAzureBlobStorage, SlotLogsApplicationLogsAzureBlobStorageArgs              
- Level string
- The level at which to log. Possible values include Error,Warning,Information,VerboseandOff. NOTE: this field is not available forhttp_logs
- RetentionIn intDays 
- 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 azurermprovider.
- Level string
- The level at which to log. Possible values include Error,Warning,Information,VerboseandOff. NOTE: this field is not available forhttp_logs
- RetentionIn intDays 
- 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 azurermprovider.
- level String
- The level at which to log. Possible values include Error,Warning,Information,VerboseandOff. NOTE: this field is not available forhttp_logs
- retentionIn IntegerDays 
- 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 azurermprovider.
- level string
- The level at which to log. Possible values include Error,Warning,Information,VerboseandOff. NOTE: this field is not available forhttp_logs
- retentionIn numberDays 
- 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 azurermprovider.
- level str
- The level at which to log. Possible values include Error,Warning,Information,VerboseandOff. NOTE: this field is not available forhttp_logs
- retention_in_ intdays 
- 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 azurermprovider.
- level String
- The level at which to log. Possible values include Error,Warning,Information,VerboseandOff. NOTE: this field is not available forhttp_logs
- retentionIn NumberDays 
- 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 azurermprovider.
SlotLogsHttpLogs, SlotLogsHttpLogsArgs        
- AzureBlob SlotStorage Logs Http Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- FileSystem SlotLogs Http Logs File System 
- A file_systemblock as defined below.
- AzureBlob SlotStorage Logs Http Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- FileSystem SlotLogs Http Logs File System 
- A file_systemblock as defined below.
- azureBlob SlotStorage Logs Http Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- fileSystem SlotLogs Http Logs File System 
- A file_systemblock as defined below.
- azureBlob SlotStorage Logs Http Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- fileSystem SlotLogs Http Logs File System 
- A file_systemblock as defined below.
- azure_blob_ Slotstorage Logs Http Logs Azure Blob Storage 
- An azure_blob_storageblock as defined below.
- file_system SlotLogs Http Logs File System 
- A file_systemblock as defined below.
- azureBlob Property MapStorage 
- An azure_blob_storageblock as defined below.
- fileSystem Property Map
- A file_systemblock as defined below.
SlotLogsHttpLogsAzureBlobStorage, SlotLogsHttpLogsAzureBlobStorageArgs              
- RetentionIn intDays 
- 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 azurermprovider.
- RetentionIn intDays 
- 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 azurermprovider.
- retentionIn IntegerDays 
- 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 azurermprovider.
- retentionIn numberDays 
- 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 azurermprovider.
- retention_in_ intdays 
- 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 azurermprovider.
- retentionIn NumberDays 
- 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 azurermprovider.
SlotLogsHttpLogsFileSystem, SlotLogsHttpLogsFileSystemArgs            
- RetentionIn intDays 
- The number of days to retain logs for.
- RetentionIn intMb 
- The maximum size in megabytes that HTTP log files can use before being removed.
- RetentionIn intDays 
- The number of days to retain logs for.
- RetentionIn intMb 
- The maximum size in megabytes that HTTP log files can use before being removed.
- retentionIn IntegerDays 
- The number of days to retain logs for.
- retentionIn IntegerMb 
- The maximum size in megabytes that HTTP log files can use before being removed.
- retentionIn numberDays 
- The number of days to retain logs for.
- retentionIn numberMb 
- The maximum size in megabytes that HTTP log files can use before being removed.
- retention_in_ intdays 
- The number of days to retain logs for.
- retention_in_ intmb 
- The maximum size in megabytes that HTTP log files can use before being removed.
- retentionIn NumberDays 
- The number of days to retain logs for.
- retentionIn NumberMb 
- The maximum size in megabytes that HTTP log files can use before being removed.
SlotSiteConfig, SlotSiteConfigArgs      
- AcrUse boolManaged Identity Credentials 
- Are Managed Identity Credentials used for Azure Container Registry pull
- AcrUser stringManaged Identity Client Id 
- 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 - Freeor- SharedTiers- always_onmust be set to- false.
- AppCommand stringLine 
- App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
- AutoSwap stringSlot Name 
- The name of the slot to automatically swap to during deployment
- Cors
SlotSite Config Cors 
- A corsblock as defined below.
- DefaultDocuments List<string>
- The ordering of default documents to load, if an address isn't specified.
- DotnetFramework stringVersion 
- 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.0andv6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults tov4.0.
- FtpsState string
- State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- HealthCheck stringPath 
- 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<SlotSite Config Ip Restriction> 
- A list of objects representing ip restrictions as defined below. - NOTE User has to explicitly set - ip_restrictionto empty slice (- []) to remove it.
- JavaContainer string
- The Java Container to use. If specified java_versionandjava_container_versionmust also be specified. Possible values areJAVA,JETTY, andTOMCAT.
- JavaContainer stringVersion 
- The version of the Java Container to use. If specified java_versionandjava_containermust also be specified.
- JavaVersion string
- The version of Java to use. If specified java_containerandjava_container_versionmust also be specified. Possible values are1.7,1.8, and11and their specific versions - except for Java 11 (e.g.1.7.0_80,1.8.0_181,11)
- LinuxFx stringVersion 
- 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 = trueor the API will reject any value supplied.
- LocalMysql boolEnabled 
- 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. 
- ManagedPipeline stringMode 
- The Managed Pipeline Mode. Possible values are IntegratedandClassic. Defaults toIntegrated.
- MinTls stringVersion 
- The minimum supported TLS version for the app service. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new app services.
- NumberOf intWorkers 
- The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scalingis enabled on theazure.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, and7.4.
- PythonVersion string
- The version of Python to use in this App Service Slot. Possible values are 2.7and3.4.
- RemoteDebugging boolEnabled 
- Is Remote Debugging Enabled? Defaults to false.
- RemoteDebugging stringVersion 
- Which version of Visual Studio should the Remote Debugger be compatible with? Currently only VS2022is supported.
- ScmIp List<SlotRestrictions Site Config Scm Ip Restriction> 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- ScmType string
- The type of Source Control 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, andVSTSRM
- ScmUse boolMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- Use32BitWorker boolProcess 
- Should the App Service Slot run in 32 bit mode, rather than 64 bit mode? - NOTE: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- VnetRoute boolAll Enabled 
- WebsocketsEnabled bool
- Should WebSockets be enabled?
- WindowsFx stringVersion 
- The Windows Docker container image ( - DOCKER|<user/image:tag>)- Additional examples of how to run Containers via the - azure.appservice.Slotresource can be found in the- ./examples/app-servicedirectory within the GitHub Repository.
- AcrUse boolManaged Identity Credentials 
- Are Managed Identity Credentials used for Azure Container Registry pull
- AcrUser stringManaged Identity Client Id 
- 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 - Freeor- SharedTiers- always_onmust be set to- false.
- AppCommand stringLine 
- App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
- AutoSwap stringSlot Name 
- The name of the slot to automatically swap to during deployment
- Cors
SlotSite Config Cors 
- A corsblock as defined below.
- DefaultDocuments []string
- The ordering of default documents to load, if an address isn't specified.
- DotnetFramework stringVersion 
- 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.0andv6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults tov4.0.
- FtpsState string
- State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- HealthCheck stringPath 
- 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 []SlotSite Config Ip Restriction 
- A list of objects representing ip restrictions as defined below. - NOTE User has to explicitly set - ip_restrictionto empty slice (- []) to remove it.
- JavaContainer string
- The Java Container to use. If specified java_versionandjava_container_versionmust also be specified. Possible values areJAVA,JETTY, andTOMCAT.
- JavaContainer stringVersion 
- The version of the Java Container to use. If specified java_versionandjava_containermust also be specified.
- JavaVersion string
- The version of Java to use. If specified java_containerandjava_container_versionmust also be specified. Possible values are1.7,1.8, and11and their specific versions - except for Java 11 (e.g.1.7.0_80,1.8.0_181,11)
- LinuxFx stringVersion 
- 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 = trueor the API will reject any value supplied.
- LocalMysql boolEnabled 
- 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. 
- ManagedPipeline stringMode 
- The Managed Pipeline Mode. Possible values are IntegratedandClassic. Defaults toIntegrated.
- MinTls stringVersion 
- The minimum supported TLS version for the app service. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new app services.
- NumberOf intWorkers 
- The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scalingis enabled on theazure.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, and7.4.
- PythonVersion string
- The version of Python to use in this App Service Slot. Possible values are 2.7and3.4.
- RemoteDebugging boolEnabled 
- Is Remote Debugging Enabled? Defaults to false.
- RemoteDebugging stringVersion 
- Which version of Visual Studio should the Remote Debugger be compatible with? Currently only VS2022is supported.
- ScmIp []SlotRestrictions Site Config Scm Ip Restriction 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- ScmType string
- The type of Source Control 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, andVSTSRM
- ScmUse boolMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- Use32BitWorker boolProcess 
- Should the App Service Slot run in 32 bit mode, rather than 64 bit mode? - NOTE: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- VnetRoute boolAll Enabled 
- WebsocketsEnabled bool
- Should WebSockets be enabled?
- WindowsFx stringVersion 
- The Windows Docker container image ( - DOCKER|<user/image:tag>)- Additional examples of how to run Containers via the - azure.appservice.Slotresource can be found in the- ./examples/app-servicedirectory within the GitHub Repository.
- acrUse BooleanManaged Identity Credentials 
- Are Managed Identity Credentials used for Azure Container Registry pull
- acrUser StringManaged Identity Client Id 
- 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 - Freeor- SharedTiers- always_onmust be set to- false.
- appCommand StringLine 
- App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
- autoSwap StringSlot Name 
- The name of the slot to automatically swap to during deployment
- cors
SlotSite Config Cors 
- A corsblock as defined below.
- defaultDocuments List<String>
- The ordering of default documents to load, if an address isn't specified.
- dotnetFramework StringVersion 
- 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.0andv6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults tov4.0.
- ftpsState String
- State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- healthCheck StringPath 
- 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<SlotSite Config Ip Restriction> 
- A list of objects representing ip restrictions as defined below. - NOTE User has to explicitly set - ip_restrictionto empty slice (- []) to remove it.
- javaContainer String
- The Java Container to use. If specified java_versionandjava_container_versionmust also be specified. Possible values areJAVA,JETTY, andTOMCAT.
- javaContainer StringVersion 
- The version of the Java Container to use. If specified java_versionandjava_containermust also be specified.
- javaVersion String
- The version of Java to use. If specified java_containerandjava_container_versionmust also be specified. Possible values are1.7,1.8, and11and their specific versions - except for Java 11 (e.g.1.7.0_80,1.8.0_181,11)
- linuxFx StringVersion 
- 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 = trueor the API will reject any value supplied.
- localMysql BooleanEnabled 
- 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. 
- managedPipeline StringMode 
- The Managed Pipeline Mode. Possible values are IntegratedandClassic. Defaults toIntegrated.
- minTls StringVersion 
- The minimum supported TLS version for the app service. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new app services.
- numberOf IntegerWorkers 
- The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scalingis enabled on theazure.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, and7.4.
- pythonVersion String
- The version of Python to use in this App Service Slot. Possible values are 2.7and3.4.
- remoteDebugging BooleanEnabled 
- Is Remote Debugging Enabled? Defaults to false.
- remoteDebugging StringVersion 
- Which version of Visual Studio should the Remote Debugger be compatible with? Currently only VS2022is supported.
- scmIp List<SlotRestrictions Site Config Scm Ip Restriction> 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- scmType String
- The type of Source Control 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, andVSTSRM
- scmUse BooleanMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- use32BitWorker BooleanProcess 
- Should the App Service Slot run in 32 bit mode, rather than 64 bit mode? - NOTE: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- vnetRoute BooleanAll Enabled 
- websocketsEnabled Boolean
- Should WebSockets be enabled?
- windowsFx StringVersion 
- The Windows Docker container image ( - DOCKER|<user/image:tag>)- Additional examples of how to run Containers via the - azure.appservice.Slotresource can be found in the- ./examples/app-servicedirectory within the GitHub Repository.
- acrUse booleanManaged Identity Credentials 
- Are Managed Identity Credentials used for Azure Container Registry pull
- acrUser stringManaged Identity Client Id 
- 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 - Freeor- SharedTiers- always_onmust be set to- false.
- appCommand stringLine 
- App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
- autoSwap stringSlot Name 
- The name of the slot to automatically swap to during deployment
- cors
SlotSite Config Cors 
- A corsblock as defined below.
- defaultDocuments string[]
- The ordering of default documents to load, if an address isn't specified.
- dotnetFramework stringVersion 
- 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.0andv6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults tov4.0.
- ftpsState string
- State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- healthCheck stringPath 
- 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 SlotSite Config Ip Restriction[] 
- A list of objects representing ip restrictions as defined below. - NOTE User has to explicitly set - ip_restrictionto empty slice (- []) to remove it.
- javaContainer string
- The Java Container to use. If specified java_versionandjava_container_versionmust also be specified. Possible values areJAVA,JETTY, andTOMCAT.
- javaContainer stringVersion 
- The version of the Java Container to use. If specified java_versionandjava_containermust also be specified.
- javaVersion string
- The version of Java to use. If specified java_containerandjava_container_versionmust also be specified. Possible values are1.7,1.8, and11and their specific versions - except for Java 11 (e.g.1.7.0_80,1.8.0_181,11)
- linuxFx stringVersion 
- 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 = trueor the API will reject any value supplied.
- localMysql booleanEnabled 
- 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. 
- managedPipeline stringMode 
- The Managed Pipeline Mode. Possible values are IntegratedandClassic. Defaults toIntegrated.
- minTls stringVersion 
- The minimum supported TLS version for the app service. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new app services.
- numberOf numberWorkers 
- The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scalingis enabled on theazure.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, and7.4.
- pythonVersion string
- The version of Python to use in this App Service Slot. Possible values are 2.7and3.4.
- remoteDebugging booleanEnabled 
- Is Remote Debugging Enabled? Defaults to false.
- remoteDebugging stringVersion 
- Which version of Visual Studio should the Remote Debugger be compatible with? Currently only VS2022is supported.
- scmIp SlotRestrictions Site Config Scm Ip Restriction[] 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- scmType string
- The type of Source Control 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, andVSTSRM
- scmUse booleanMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- use32BitWorker booleanProcess 
- Should the App Service Slot run in 32 bit mode, rather than 64 bit mode? - NOTE: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- vnetRoute booleanAll Enabled 
- websocketsEnabled boolean
- Should WebSockets be enabled?
- windowsFx stringVersion 
- The Windows Docker container image ( - DOCKER|<user/image:tag>)- Additional examples of how to run Containers via the - azure.appservice.Slotresource can be found in the- ./examples/app-servicedirectory within the GitHub Repository.
- acr_use_ boolmanaged_ identity_ credentials 
- Are Managed Identity Credentials used for Azure Container Registry pull
- acr_user_ strmanaged_ identity_ client_ id 
- 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 - Freeor- SharedTiers- always_onmust be set to- false.
- app_command_ strline 
- App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
- auto_swap_ strslot_ name 
- The name of the slot to automatically swap to during deployment
- cors
SlotSite Config Cors 
- A corsblock as defined below.
- default_documents Sequence[str]
- The ordering of default documents to load, if an address isn't specified.
- dotnet_framework_ strversion 
- 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.0andv6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults tov4.0.
- ftps_state str
- State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- health_check_ strpath 
- 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[SlotSite Config Ip Restriction] 
- A list of objects representing ip restrictions as defined below. - NOTE User has to explicitly set - ip_restrictionto empty slice (- []) to remove it.
- java_container str
- The Java Container to use. If specified java_versionandjava_container_versionmust also be specified. Possible values areJAVA,JETTY, andTOMCAT.
- java_container_ strversion 
- The version of the Java Container to use. If specified java_versionandjava_containermust also be specified.
- java_version str
- The version of Java to use. If specified java_containerandjava_container_versionmust also be specified. Possible values are1.7,1.8, and11and their specific versions - except for Java 11 (e.g.1.7.0_80,1.8.0_181,11)
- linux_fx_ strversion 
- 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 = trueor the API will reject any value supplied.
- local_mysql_ boolenabled 
- 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_ strmode 
- The Managed Pipeline Mode. Possible values are IntegratedandClassic. Defaults toIntegrated.
- min_tls_ strversion 
- The minimum supported TLS version for the app service. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new app services.
- number_of_ intworkers 
- The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scalingis enabled on theazure.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, and7.4.
- python_version str
- The version of Python to use in this App Service Slot. Possible values are 2.7and3.4.
- remote_debugging_ boolenabled 
- Is Remote Debugging Enabled? Defaults to false.
- remote_debugging_ strversion 
- Which version of Visual Studio should the Remote Debugger be compatible with? Currently only VS2022is supported.
- scm_ip_ Sequence[Slotrestrictions Site Config Scm Ip Restriction] 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- scm_type str
- The type of Source Control 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, andVSTSRM
- scm_use_ boolmain_ ip_ restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- use32_bit_ boolworker_ process 
- Should the App Service Slot run in 32 bit mode, rather than 64 bit mode? - NOTE: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- vnet_route_ boolall_ enabled 
- websockets_enabled bool
- Should WebSockets be enabled?
- windows_fx_ strversion 
- The Windows Docker container image ( - DOCKER|<user/image:tag>)- Additional examples of how to run Containers via the - azure.appservice.Slotresource can be found in the- ./examples/app-servicedirectory within the GitHub Repository.
- acrUse BooleanManaged Identity Credentials 
- Are Managed Identity Credentials used for Azure Container Registry pull
- acrUser StringManaged Identity Client Id 
- 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 - Freeor- SharedTiers- always_onmust be set to- false.
- appCommand StringLine 
- App command line to launch, e.g. /sbin/myserver -b 0.0.0.0.
- autoSwap StringSlot Name 
- The name of the slot to automatically swap to during deployment
- cors Property Map
- A corsblock as defined below.
- defaultDocuments List<String>
- The ordering of default documents to load, if an address isn't specified.
- dotnetFramework StringVersion 
- 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.0andv6.0. For more information on which .NET CLR version to use based on the .NET framework you're targeting - please see this table. Defaults tov4.0.
- ftpsState String
- State of FTP / FTPS service for this App Service Slot. Possible values include: AllAllowed,FtpsOnlyandDisabled.
- healthCheck StringPath 
- 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_restrictionto empty slice (- []) to remove it.
- javaContainer String
- The Java Container to use. If specified java_versionandjava_container_versionmust also be specified. Possible values areJAVA,JETTY, andTOMCAT.
- javaContainer StringVersion 
- The version of the Java Container to use. If specified java_versionandjava_containermust also be specified.
- javaVersion String
- The version of Java to use. If specified java_containerandjava_container_versionmust also be specified. Possible values are1.7,1.8, and11and their specific versions - except for Java 11 (e.g.1.7.0_80,1.8.0_181,11)
- linuxFx StringVersion 
- 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 = trueor the API will reject any value supplied.
- localMysql BooleanEnabled 
- 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. 
- managedPipeline StringMode 
- The Managed Pipeline Mode. Possible values are IntegratedandClassic. Defaults toIntegrated.
- minTls StringVersion 
- The minimum supported TLS version for the app service. Possible values are 1.0,1.1, and1.2. Defaults to1.2for new app services.
- numberOf NumberWorkers 
- The scaled number of workers (for per site scaling) of this App Service Slot. Requires that per_site_scalingis enabled on theazure.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, and7.4.
- pythonVersion String
- The version of Python to use in this App Service Slot. Possible values are 2.7and3.4.
- remoteDebugging BooleanEnabled 
- Is Remote Debugging Enabled? Defaults to false.
- remoteDebugging StringVersion 
- Which version of Visual Studio should the Remote Debugger be compatible with? Currently only VS2022is supported.
- scmIp List<Property Map>Restrictions 
- A list of - scm_ip_restrictionobjects representing IP restrictions as defined below.- NOTE User has to explicitly set - scm_ip_restrictionto empty slice (- []) to remove it.
- scmType String
- The type of Source Control 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, andVSTSRM
- scmUse BooleanMain Ip Restriction 
- IP security restrictions for scm to use main. Defaults to - false.- NOTE Any - scm_ip_restrictionblocks configured are ignored by the service when- scm_use_main_ip_restrictionis set to- true. Any scm restrictions will become active if this is subsequently set to- falseor removed.
- use32BitWorker BooleanProcess 
- Should the App Service Slot run in 32 bit mode, rather than 64 bit mode? - NOTE: when using an App Service Plan in the - Freeor- SharedTiers- use_32_bit_worker_processmust be set to- true.
- vnetRoute BooleanAll Enabled 
- websocketsEnabled Boolean
- Should WebSockets be enabled?
- windowsFx StringVersion 
- The Windows Docker container image ( - DOCKER|<user/image:tag>)- Additional examples of how to run Containers via the - azure.appservice.Slotresource can be found in the- ./examples/app-servicedirectory 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 AlloworDenyaccess for this IP range. Defaults toAllow.
- Headers
SlotSite Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas 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.
- VirtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- Action string
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- Headers
SlotSite Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas 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.
- VirtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action String
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- headers
SlotSite Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas 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.
- virtualNetwork StringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action string
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- headers
SlotSite Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas 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.
- virtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action str
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- headers
SlotSite Config Ip Restriction Headers 
- The headersblock for this specificip_restrictionas 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_ strsubnet_ id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action String
- Does this restriction AlloworDenyaccess for this IP range. Defaults toAllow.
- headers Property Map
- The headersblock for this specificip_restrictionas defined below. 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.
- virtualNetwork StringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
SlotSiteConfigIpRestrictionHeaders, SlotSiteConfigIpRestrictionHeadersArgs            
- XAzureFdids List<string>
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- XFdHealth stringProbe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- XForwardedFors List<string>
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- XForwardedHosts List<string>
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- XAzureFdids []string
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- XFdHealth stringProbe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- XForwardedFors []string
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- XForwardedHosts []string
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure List<String>Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd StringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded List<String>Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded List<String>Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure string[]Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd stringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded string[]Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded string[]Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- x_azure_ Sequence[str]fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- x_fd_ strhealth_ probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- x_forwarded_ Sequence[str]fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- x_forwarded_ Sequence[str]hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure List<String>Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd StringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded List<String>Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded List<String>Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
SlotSiteConfigScmIpRestriction, SlotSiteConfigScmIpRestrictionArgs            
- Action string
- Allow or Deny access for this IP range. Defaults to Allow.
- Headers
SlotSite Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- IpAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- Name string
- The name for this IP Restriction.
- Priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- ServiceTag string
- The Service Tag used for this IP Restriction.
- VirtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- Action string
- Allow or Deny access for this IP range. Defaults to Allow.
- Headers
SlotSite Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- IpAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- Name string
- The name for this IP Restriction.
- Priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- ServiceTag string
- The Service Tag used for this IP Restriction.
- VirtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action String
- Allow or Deny access for this IP range. Defaults to Allow.
- headers
SlotSite Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- ipAddress String
- The IP Address used for this IP Restriction in CIDR notation.
- name String
- The name for this IP Restriction.
- priority Integer
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag String
- The Service Tag used for this IP Restriction.
- virtualNetwork StringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action string
- Allow or Deny access for this IP range. Defaults to Allow.
- headers
SlotSite Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- ipAddress string
- The IP Address used for this IP Restriction in CIDR notation.
- name string
- The name for this IP Restriction.
- priority number
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag string
- The Service Tag used for this IP Restriction.
- virtualNetwork stringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action str
- Allow or Deny access for this IP range. Defaults to Allow.
- headers
SlotSite Config Scm Ip Restriction Headers 
- The headersblock for this specificscm_ip_restrictionas defined below.
- ip_address str
- The IP Address used for this IP Restriction in CIDR notation.
- name str
- The name for this IP Restriction.
- priority int
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- service_tag str
- The Service Tag used for this IP Restriction.
- virtual_network_ strsubnet_ id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
- action String
- Allow or Deny access for this IP range. Defaults to Allow.
- headers Property Map
- The headersblock for this specificscm_ip_restrictionas defined below.
- ipAddress String
- The IP Address used for this IP Restriction in CIDR notation.
- name String
- The name for this IP Restriction.
- priority Number
- The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified.
- serviceTag String
- The Service Tag used for this IP Restriction.
- virtualNetwork StringSubnet Id 
- The Virtual Network Subnet ID used for this IP Restriction. - NOTE: One of either - ip_address,- service_tagor- virtual_network_subnet_idmust be specified
SlotSiteConfigScmIpRestrictionHeaders, SlotSiteConfigScmIpRestrictionHeadersArgs              
- XAzureFdids List<string>
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- XFdHealth stringProbe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- XForwardedFors List<string>
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- XForwardedHosts List<string>
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- XAzureFdids []string
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- XFdHealth stringProbe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- XForwardedFors []string
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- XForwardedHosts []string
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure List<String>Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd StringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded List<String>Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded List<String>Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure string[]Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd stringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded string[]Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded string[]Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- x_azure_ Sequence[str]fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- x_fd_ strhealth_ probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- x_forwarded_ Sequence[str]fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- x_forwarded_ Sequence[str]hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
- xAzure List<String>Fdids 
- A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
- xFd StringHealth Probe 
- A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
- xForwarded List<String>Fors 
- A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
- xForwarded List<String>Hosts 
- A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
SlotSiteCredential, SlotSiteCredentialArgs      
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.
- string
- The name of the file share (container name, for Blob storage).
- Type string
- The type of storage. Possible values are AzureBlobandAzureFiles.
- 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.
- string
- The name of the file share (container name, for Blob storage).
- Type string
- The type of storage. Possible values are AzureBlobandAzureFiles.
- 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.
- String
- The name of the file share (container name, for Blob storage).
- type String
- The type of storage. Possible values are AzureBlobandAzureFiles.
- 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.
- string
- The name of the file share (container name, for Blob storage).
- type string
- The type of storage. Possible values are AzureBlobandAzureFiles.
- 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.
- str
- The name of the file share (container name, for Blob storage).
- type str
- The type of storage. Possible values are AzureBlobandAzureFiles.
- 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.
- String
- The name of the file share (container name, for Blob storage).
- type String
- The type of storage. Possible values are AzureBlobandAzureFiles.
- 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.