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

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.appservice.getAppService

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

    Use this data source to access information about an existing App Service.

    !> Note: The azure.appservice.AppService data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the azure.appservice.LinuxWebApp and azure.appservice.WindowsWebApp data sources instead.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = azure.appservice.getAppService({
        name: "search-app-service",
        resourceGroupName: "search-service",
    });
    export const appServiceId = example.then(example => example.id);
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.appservice.get_app_service(name="search-app-service",
        resource_group_name="search-service")
    pulumi.export("appServiceId", example.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appservice"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := appservice.LookupAppService(ctx, &appservice.LookupAppServiceArgs{
    			Name:              "search-app-service",
    			ResourceGroupName: "search-service",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("appServiceId", example.Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Azure.AppService.GetAppService.Invoke(new()
        {
            Name = "search-app-service",
            ResourceGroupName = "search-service",
        });
    
        return new Dictionary<string, object?>
        {
            ["appServiceId"] = example.Apply(getAppServiceResult => getAppServiceResult.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.appservice.AppserviceFunctions;
    import com.pulumi.azure.appservice.inputs.GetAppServiceArgs;
    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) {
            final var example = AppserviceFunctions.getAppService(GetAppServiceArgs.builder()
                .name("search-app-service")
                .resourceGroupName("search-service")
                .build());
    
            ctx.export("appServiceId", example.applyValue(getAppServiceResult -> getAppServiceResult.id()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: azure:appservice:getAppService
          Arguments:
            name: search-app-service
            resourceGroupName: search-service
    outputs:
      appServiceId: ${example.id}
    

    Using getAppService

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAppService(args: GetAppServiceArgs, opts?: InvokeOptions): Promise<GetAppServiceResult>
    function getAppServiceOutput(args: GetAppServiceOutputArgs, opts?: InvokeOptions): Output<GetAppServiceResult>
    def get_app_service(name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAppServiceResult
    def get_app_service_output(name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAppServiceResult]
    func LookupAppService(ctx *Context, args *LookupAppServiceArgs, opts ...InvokeOption) (*LookupAppServiceResult, error)
    func LookupAppServiceOutput(ctx *Context, args *LookupAppServiceOutputArgs, opts ...InvokeOption) LookupAppServiceResultOutput

    > Note: This function is named LookupAppService in the Go SDK.

    public static class GetAppService 
    {
        public static Task<GetAppServiceResult> InvokeAsync(GetAppServiceArgs args, InvokeOptions? opts = null)
        public static Output<GetAppServiceResult> Invoke(GetAppServiceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppServiceResult> getAppService(GetAppServiceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:appservice/getAppService:getAppService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the App Service.
    ResourceGroupName string
    The Name of the Resource Group where the App Service exists.
    Name string
    The name of the App Service.
    ResourceGroupName string
    The Name of the Resource Group where the App Service exists.
    name String
    The name of the App Service.
    resourceGroupName String
    The Name of the Resource Group where the App Service exists.
    name string
    The name of the App Service.
    resourceGroupName string
    The Name of the Resource Group where the App Service exists.
    name str
    The name of the App Service.
    resource_group_name str
    The Name of the Resource Group where the App Service exists.
    name String
    The name of the App Service.
    resourceGroupName String
    The Name of the Resource Group where the App Service exists.

    getAppService Result

    The following output properties are available:

    AppServicePlanId string
    The ID of the App Service Plan within which the App Service exists.
    AppSettings Dictionary<string, string>
    A key-value pair of App Settings for the App Service.
    ClientAffinityEnabled bool
    Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
    ClientCertEnabled bool
    Does the App Service require client certificates for incoming requests?
    ConnectionStrings List<GetAppServiceConnectionString>
    An connection_string block as defined below.
    CustomDomainVerificationId string
    An identifier used by App Service to perform domain ownership verification via DNS TXT record.
    DefaultSiteHostname string
    The Default Hostname associated with the App Service - such as mysite.azurewebsites.net
    Enabled bool
    Is the App Service Enabled?
    HttpsOnly bool
    Can the App Service only be accessed via HTTPS?
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    The Azure location where the App Service exists.
    Name string
    The name for this IP Restriction.
    OutboundIpAddressLists List<string>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    OutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
    PossibleOutboundIpAddressLists List<string>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12", "52.143.43.17"] - not all of which are necessarily in use. Superset of outbound_ip_address_list.
    PossibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    ResourceGroupName string
    SiteConfigs List<GetAppServiceSiteConfig>
    A site_config block as defined below.
    SiteCredentials List<GetAppServiceSiteCredential>
    SourceControls List<GetAppServiceSourceControl>
    A source_control block as defined below.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AppServicePlanId string
    The ID of the App Service Plan within which the App Service exists.
    AppSettings map[string]string
    A key-value pair of App Settings for the App Service.
    ClientAffinityEnabled bool
    Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
    ClientCertEnabled bool
    Does the App Service require client certificates for incoming requests?
    ConnectionStrings []GetAppServiceConnectionString
    An connection_string block as defined below.
    CustomDomainVerificationId string
    An identifier used by App Service to perform domain ownership verification via DNS TXT record.
    DefaultSiteHostname string
    The Default Hostname associated with the App Service - such as mysite.azurewebsites.net
    Enabled bool
    Is the App Service Enabled?
    HttpsOnly bool
    Can the App Service only be accessed via HTTPS?
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    The Azure location where the App Service exists.
    Name string
    The name for this IP Restriction.
    OutboundIpAddressLists []string
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    OutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
    PossibleOutboundIpAddressLists []string
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12", "52.143.43.17"] - not all of which are necessarily in use. Superset of outbound_ip_address_list.
    PossibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    ResourceGroupName string
    SiteConfigs []GetAppServiceSiteConfig
    A site_config block as defined below.
    SiteCredentials []GetAppServiceSiteCredential
    SourceControls []GetAppServiceSourceControl
    A source_control block as defined below.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    appServicePlanId String
    The ID of the App Service Plan within which the App Service exists.
    appSettings Map<String,String>
    A key-value pair of App Settings for the App Service.
    clientAffinityEnabled Boolean
    Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
    clientCertEnabled Boolean
    Does the App Service require client certificates for incoming requests?
    connectionStrings List<GetAppServiceConnectionString>
    An connection_string block as defined below.
    customDomainVerificationId String
    An identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultSiteHostname String
    The Default Hostname associated with the App Service - such as mysite.azurewebsites.net
    enabled Boolean
    Is the App Service Enabled?
    httpsOnly Boolean
    Can the App Service only be accessed via HTTPS?
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    The Azure location where the App Service exists.
    name String
    The name for this IP Restriction.
    outboundIpAddressLists List<String>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
    possibleOutboundIpAddressLists List<String>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12", "52.143.43.17"] - not all of which are necessarily in use. Superset of outbound_ip_address_list.
    possibleOutboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    resourceGroupName String
    siteConfigs List<GetAppServiceSiteConfig>
    A site_config block as defined below.
    siteCredentials List<GetAppServiceSiteCredential>
    sourceControls List<GetAppServiceSourceControl>
    A source_control block as defined below.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    appServicePlanId string
    The ID of the App Service Plan within which the App Service exists.
    appSettings {[key: string]: string}
    A key-value pair of App Settings for the App Service.
    clientAffinityEnabled boolean
    Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
    clientCertEnabled boolean
    Does the App Service require client certificates for incoming requests?
    connectionStrings GetAppServiceConnectionString[]
    An connection_string block as defined below.
    customDomainVerificationId string
    An identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultSiteHostname string
    The Default Hostname associated with the App Service - such as mysite.azurewebsites.net
    enabled boolean
    Is the App Service Enabled?
    httpsOnly boolean
    Can the App Service only be accessed via HTTPS?
    id string
    The provider-assigned unique ID for this managed resource.
    location string
    The Azure location where the App Service exists.
    name string
    The name for this IP Restriction.
    outboundIpAddressLists string[]
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
    possibleOutboundIpAddressLists string[]
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12", "52.143.43.17"] - not all of which are necessarily in use. Superset of outbound_ip_address_list.
    possibleOutboundIpAddresses string
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    resourceGroupName string
    siteConfigs GetAppServiceSiteConfig[]
    A site_config block as defined below.
    siteCredentials GetAppServiceSiteCredential[]
    sourceControls GetAppServiceSourceControl[]
    A source_control block as defined below.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    app_service_plan_id str
    The ID of the App Service Plan within which the App Service exists.
    app_settings Mapping[str, str]
    A key-value pair of App Settings for the App Service.
    client_affinity_enabled bool
    Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
    client_cert_enabled bool
    Does the App Service require client certificates for incoming requests?
    connection_strings Sequence[GetAppServiceConnectionString]
    An connection_string block as defined below.
    custom_domain_verification_id str
    An identifier used by App Service to perform domain ownership verification via DNS TXT record.
    default_site_hostname str
    The Default Hostname associated with the App Service - such as mysite.azurewebsites.net
    enabled bool
    Is the App Service Enabled?
    https_only bool
    Can the App Service only be accessed via HTTPS?
    id str
    The provider-assigned unique ID for this managed resource.
    location str
    The Azure location where the App Service exists.
    name str
    The name for this IP Restriction.
    outbound_ip_address_lists Sequence[str]
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outbound_ip_addresses str
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
    possible_outbound_ip_address_lists Sequence[str]
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12", "52.143.43.17"] - not all of which are necessarily in use. Superset of outbound_ip_address_list.
    possible_outbound_ip_addresses str
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    resource_group_name str
    site_configs Sequence[GetAppServiceSiteConfig]
    A site_config block as defined below.
    site_credentials Sequence[GetAppServiceSiteCredential]
    source_controls Sequence[GetAppServiceSourceControl]
    A source_control block as defined below.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    appServicePlanId String
    The ID of the App Service Plan within which the App Service exists.
    appSettings Map<String>
    A key-value pair of App Settings for the App Service.
    clientAffinityEnabled Boolean
    Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
    clientCertEnabled Boolean
    Does the App Service require client certificates for incoming requests?
    connectionStrings List<Property Map>
    An connection_string block as defined below.
    customDomainVerificationId String
    An identifier used by App Service to perform domain ownership verification via DNS TXT record.
    defaultSiteHostname String
    The Default Hostname associated with the App Service - such as mysite.azurewebsites.net
    enabled Boolean
    Is the App Service Enabled?
    httpsOnly Boolean
    Can the App Service only be accessed via HTTPS?
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    The Azure location where the App Service exists.
    name String
    The name for this IP Restriction.
    outboundIpAddressLists List<String>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12"]
    outboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12
    possibleOutboundIpAddressLists List<String>
    A list of outbound IP addresses - such as ["52.23.25.3", "52.143.43.12", "52.143.43.17"] - not all of which are necessarily in use. Superset of outbound_ip_address_list.
    possibleOutboundIpAddresses String
    A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12,52.143.43.17 - not all of which are necessarily in use. Superset of outbound_ip_addresses.
    resourceGroupName String
    siteConfigs List<Property Map>
    A site_config block as defined below.
    siteCredentials List<Property Map>
    sourceControls List<Property Map>
    A source_control block as defined below.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Supporting Types

    GetAppServiceConnectionString

    Name string
    The name of the App Service.
    Type string
    The type of the Connection String.
    Value string
    The value for the Connection String.
    Name string
    The name of the App Service.
    Type string
    The type of the Connection String.
    Value string
    The value for the Connection String.
    name String
    The name of the App Service.
    type String
    The type of the Connection String.
    value String
    The value for the Connection String.
    name string
    The name of the App Service.
    type string
    The type of the Connection String.
    value string
    The value for the Connection String.
    name str
    The name of the App Service.
    type str
    The type of the Connection String.
    value str
    The value for the Connection String.
    name String
    The name of the App Service.
    type String
    The type of the Connection String.
    value String
    The value for the Connection String.

    GetAppServiceSiteConfig

    AcrUseManagedIdentityCredentials bool
    Are Managed Identity Credentials used for Azure Container Registry pull.
    AcrUserManagedIdentityClientId string
    The User Managed Identity Client Id.
    AlwaysOn bool
    Is the app loaded at all times?
    AppCommandLine string
    App command line to launch.
    Cors List<GetAppServiceSiteConfigCor>
    A cors block as defined above.
    DefaultDocuments List<string>
    The ordering of default documents to load, if an address isn't specified.
    DotnetFrameworkVersion string
    The version of the .NET framework's CLR used in this App Service.
    FtpsState string
    State of FTP / FTPS service for this AppService.
    HealthCheckPath string
    The health check path to be pinged by App Service.
    Http2Enabled bool
    Is HTTP2 Enabled on this App Service?
    IpRestrictions List<GetAppServiceSiteConfigIpRestriction>
    One or more ip_restriction blocks as defined above.
    JavaContainer string
    The Java Container in use.
    JavaContainerVersion string
    The version of the Java Container in use.
    JavaVersion string
    The version of Java in use.
    LinuxFxVersion string
    Linux App Framework and version for the AppService.
    LocalMysqlEnabled bool
    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
    ManagedPipelineMode string
    The Managed Pipeline Mode used in this App Service.
    MinTlsVersion string
    The minimum supported TLS version for this App Service.
    NumberOfWorkers int
    The scaled number of workers (for per site scaling) of this App Service.
    PhpVersion string
    The version of PHP used in this App Service.
    PythonVersion string
    The version of Python used in this App Service.
    RemoteDebuggingEnabled bool
    Is Remote Debugging Enabled in this App Service?
    RemoteDebuggingVersion string
    Which version of Visual Studio is the Remote Debugger compatible with?
    ScmIpRestrictions List<GetAppServiceSiteConfigScmIpRestriction>
    One or more scm_ip_restriction blocks as defined above.
    ScmType string
    The type of Source Control enabled for this App Service.
    ScmUseMainIpRestriction bool
    IP security restrictions for scm to use main.
    Use32BitWorkerProcess bool
    Does the App Service run in 32 bit mode, rather than 64 bit mode?
    VnetRouteAllEnabled bool
    (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
    WebsocketsEnabled bool
    Are WebSockets enabled for this App Service?
    WindowsFxVersion string
    Windows Container Docker Image for the AppService.
    AcrUseManagedIdentityCredentials bool
    Are Managed Identity Credentials used for Azure Container Registry pull.
    AcrUserManagedIdentityClientId string
    The User Managed Identity Client Id.
    AlwaysOn bool
    Is the app loaded at all times?
    AppCommandLine string
    App command line to launch.
    Cors []GetAppServiceSiteConfigCor
    A cors block as defined above.
    DefaultDocuments []string
    The ordering of default documents to load, if an address isn't specified.
    DotnetFrameworkVersion string
    The version of the .NET framework's CLR used in this App Service.
    FtpsState string
    State of FTP / FTPS service for this AppService.
    HealthCheckPath string
    The health check path to be pinged by App Service.
    Http2Enabled bool
    Is HTTP2 Enabled on this App Service?
    IpRestrictions []GetAppServiceSiteConfigIpRestriction
    One or more ip_restriction blocks as defined above.
    JavaContainer string
    The Java Container in use.
    JavaContainerVersion string
    The version of the Java Container in use.
    JavaVersion string
    The version of Java in use.
    LinuxFxVersion string
    Linux App Framework and version for the AppService.
    LocalMysqlEnabled bool
    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
    ManagedPipelineMode string
    The Managed Pipeline Mode used in this App Service.
    MinTlsVersion string
    The minimum supported TLS version for this App Service.
    NumberOfWorkers int
    The scaled number of workers (for per site scaling) of this App Service.
    PhpVersion string
    The version of PHP used in this App Service.
    PythonVersion string
    The version of Python used in this App Service.
    RemoteDebuggingEnabled bool
    Is Remote Debugging Enabled in this App Service?
    RemoteDebuggingVersion string
    Which version of Visual Studio is the Remote Debugger compatible with?
    ScmIpRestrictions []GetAppServiceSiteConfigScmIpRestriction
    One or more scm_ip_restriction blocks as defined above.
    ScmType string
    The type of Source Control enabled for this App Service.
    ScmUseMainIpRestriction bool
    IP security restrictions for scm to use main.
    Use32BitWorkerProcess bool
    Does the App Service run in 32 bit mode, rather than 64 bit mode?
    VnetRouteAllEnabled bool
    (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
    WebsocketsEnabled bool
    Are WebSockets enabled for this App Service?
    WindowsFxVersion string
    Windows Container Docker Image for the AppService.
    acrUseManagedIdentityCredentials Boolean
    Are Managed Identity Credentials used for Azure Container Registry pull.
    acrUserManagedIdentityClientId String
    The User Managed Identity Client Id.
    alwaysOn Boolean
    Is the app loaded at all times?
    appCommandLine String
    App command line to launch.
    cors List<GetAppServiceSiteConfigCor>
    A cors block as defined above.
    defaultDocuments List<String>
    The ordering of default documents to load, if an address isn't specified.
    dotnetFrameworkVersion String
    The version of the .NET framework's CLR used in this App Service.
    ftpsState String
    State of FTP / FTPS service for this AppService.
    healthCheckPath String
    The health check path to be pinged by App Service.
    http2Enabled Boolean
    Is HTTP2 Enabled on this App Service?
    ipRestrictions List<GetAppServiceSiteConfigIpRestriction>
    One or more ip_restriction blocks as defined above.
    javaContainer String
    The Java Container in use.
    javaContainerVersion String
    The version of the Java Container in use.
    javaVersion String
    The version of Java in use.
    linuxFxVersion String
    Linux App Framework and version for the AppService.
    localMysqlEnabled Boolean
    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
    managedPipelineMode String
    The Managed Pipeline Mode used in this App Service.
    minTlsVersion String
    The minimum supported TLS version for this App Service.
    numberOfWorkers Integer
    The scaled number of workers (for per site scaling) of this App Service.
    phpVersion String
    The version of PHP used in this App Service.
    pythonVersion String
    The version of Python used in this App Service.
    remoteDebuggingEnabled Boolean
    Is Remote Debugging Enabled in this App Service?
    remoteDebuggingVersion String
    Which version of Visual Studio is the Remote Debugger compatible with?
    scmIpRestrictions List<GetAppServiceSiteConfigScmIpRestriction>
    One or more scm_ip_restriction blocks as defined above.
    scmType String
    The type of Source Control enabled for this App Service.
    scmUseMainIpRestriction Boolean
    IP security restrictions for scm to use main.
    use32BitWorkerProcess Boolean
    Does the App Service run in 32 bit mode, rather than 64 bit mode?
    vnetRouteAllEnabled Boolean
    (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
    websocketsEnabled Boolean
    Are WebSockets enabled for this App Service?
    windowsFxVersion String
    Windows Container Docker Image for the AppService.
    acrUseManagedIdentityCredentials boolean
    Are Managed Identity Credentials used for Azure Container Registry pull.
    acrUserManagedIdentityClientId string
    The User Managed Identity Client Id.
    alwaysOn boolean
    Is the app loaded at all times?
    appCommandLine string
    App command line to launch.
    cors GetAppServiceSiteConfigCor[]
    A cors block as defined above.
    defaultDocuments string[]
    The ordering of default documents to load, if an address isn't specified.
    dotnetFrameworkVersion string
    The version of the .NET framework's CLR used in this App Service.
    ftpsState string
    State of FTP / FTPS service for this AppService.
    healthCheckPath string
    The health check path to be pinged by App Service.
    http2Enabled boolean
    Is HTTP2 Enabled on this App Service?
    ipRestrictions GetAppServiceSiteConfigIpRestriction[]
    One or more ip_restriction blocks as defined above.
    javaContainer string
    The Java Container in use.
    javaContainerVersion string
    The version of the Java Container in use.
    javaVersion string
    The version of Java in use.
    linuxFxVersion string
    Linux App Framework and version for the AppService.
    localMysqlEnabled boolean
    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
    managedPipelineMode string
    The Managed Pipeline Mode used in this App Service.
    minTlsVersion string
    The minimum supported TLS version for this App Service.
    numberOfWorkers number
    The scaled number of workers (for per site scaling) of this App Service.
    phpVersion string
    The version of PHP used in this App Service.
    pythonVersion string
    The version of Python used in this App Service.
    remoteDebuggingEnabled boolean
    Is Remote Debugging Enabled in this App Service?
    remoteDebuggingVersion string
    Which version of Visual Studio is the Remote Debugger compatible with?
    scmIpRestrictions GetAppServiceSiteConfigScmIpRestriction[]
    One or more scm_ip_restriction blocks as defined above.
    scmType string
    The type of Source Control enabled for this App Service.
    scmUseMainIpRestriction boolean
    IP security restrictions for scm to use main.
    use32BitWorkerProcess boolean
    Does the App Service run in 32 bit mode, rather than 64 bit mode?
    vnetRouteAllEnabled boolean
    (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
    websocketsEnabled boolean
    Are WebSockets enabled for this App Service?
    windowsFxVersion string
    Windows Container Docker Image for the AppService.
    acr_use_managed_identity_credentials bool
    Are Managed Identity Credentials used for Azure Container Registry pull.
    acr_user_managed_identity_client_id str
    The User Managed Identity Client Id.
    always_on bool
    Is the app loaded at all times?
    app_command_line str
    App command line to launch.
    cors Sequence[GetAppServiceSiteConfigCor]
    A cors block as defined above.
    default_documents Sequence[str]
    The ordering of default documents to load, if an address isn't specified.
    dotnet_framework_version str
    The version of the .NET framework's CLR used in this App Service.
    ftps_state str
    State of FTP / FTPS service for this AppService.
    health_check_path str
    The health check path to be pinged by App Service.
    http2_enabled bool
    Is HTTP2 Enabled on this App Service?
    ip_restrictions Sequence[GetAppServiceSiteConfigIpRestriction]
    One or more ip_restriction blocks as defined above.
    java_container str
    The Java Container in use.
    java_container_version str
    The version of the Java Container in use.
    java_version str
    The version of Java in use.
    linux_fx_version str
    Linux App Framework and version for the AppService.
    local_mysql_enabled bool
    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
    managed_pipeline_mode str
    The Managed Pipeline Mode used in this App Service.
    min_tls_version str
    The minimum supported TLS version for this App Service.
    number_of_workers int
    The scaled number of workers (for per site scaling) of this App Service.
    php_version str
    The version of PHP used in this App Service.
    python_version str
    The version of Python used in this App Service.
    remote_debugging_enabled bool
    Is Remote Debugging Enabled in this App Service?
    remote_debugging_version str
    Which version of Visual Studio is the Remote Debugger compatible with?
    scm_ip_restrictions Sequence[GetAppServiceSiteConfigScmIpRestriction]
    One or more scm_ip_restriction blocks as defined above.
    scm_type str
    The type of Source Control enabled for this App Service.
    scm_use_main_ip_restriction bool
    IP security restrictions for scm to use main.
    use32_bit_worker_process bool
    Does the App Service run in 32 bit mode, rather than 64 bit mode?
    vnet_route_all_enabled bool
    (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
    websockets_enabled bool
    Are WebSockets enabled for this App Service?
    windows_fx_version str
    Windows Container Docker Image for the AppService.
    acrUseManagedIdentityCredentials Boolean
    Are Managed Identity Credentials used for Azure Container Registry pull.
    acrUserManagedIdentityClientId String
    The User Managed Identity Client Id.
    alwaysOn Boolean
    Is the app loaded at all times?
    appCommandLine String
    App command line to launch.
    cors List<Property Map>
    A cors block as defined above.
    defaultDocuments List<String>
    The ordering of default documents to load, if an address isn't specified.
    dotnetFrameworkVersion String
    The version of the .NET framework's CLR used in this App Service.
    ftpsState String
    State of FTP / FTPS service for this AppService.
    healthCheckPath String
    The health check path to be pinged by App Service.
    http2Enabled Boolean
    Is HTTP2 Enabled on this App Service?
    ipRestrictions List<Property Map>
    One or more ip_restriction blocks as defined above.
    javaContainer String
    The Java Container in use.
    javaContainerVersion String
    The version of the Java Container in use.
    javaVersion String
    The version of Java in use.
    linuxFxVersion String
    Linux App Framework and version for the AppService.
    localMysqlEnabled Boolean
    Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
    managedPipelineMode String
    The Managed Pipeline Mode used in this App Service.
    minTlsVersion String
    The minimum supported TLS version for this App Service.
    numberOfWorkers Number
    The scaled number of workers (for per site scaling) of this App Service.
    phpVersion String
    The version of PHP used in this App Service.
    pythonVersion String
    The version of Python used in this App Service.
    remoteDebuggingEnabled Boolean
    Is Remote Debugging Enabled in this App Service?
    remoteDebuggingVersion String
    Which version of Visual Studio is the Remote Debugger compatible with?
    scmIpRestrictions List<Property Map>
    One or more scm_ip_restriction blocks as defined above.
    scmType String
    The type of Source Control enabled for this App Service.
    scmUseMainIpRestriction Boolean
    IP security restrictions for scm to use main.
    use32BitWorkerProcess Boolean
    Does the App Service run in 32 bit mode, rather than 64 bit mode?
    vnetRouteAllEnabled Boolean
    (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
    websocketsEnabled Boolean
    Are WebSockets enabled for this App Service?
    windowsFxVersion String
    Windows Container Docker Image for the AppService.

    GetAppServiceSiteConfigCor

    AllowedOrigins List<string>
    A list of origins which are able to make cross-origin calls.
    SupportCredentials bool
    Are credentials supported?
    AllowedOrigins []string
    A list of origins which are able to make cross-origin calls.
    SupportCredentials bool
    Are credentials supported?
    allowedOrigins List<String>
    A list of origins which are able to make cross-origin calls.
    supportCredentials Boolean
    Are credentials supported?
    allowedOrigins string[]
    A list of origins which are able to make cross-origin calls.
    supportCredentials boolean
    Are credentials supported?
    allowed_origins Sequence[str]
    A list of origins which are able to make cross-origin calls.
    support_credentials bool
    Are credentials supported?
    allowedOrigins List<String>
    A list of origins which are able to make cross-origin calls.
    supportCredentials Boolean
    Are credentials supported?

    GetAppServiceSiteConfigIpRestriction

    Action string
    Allow or Deny access for this IP range. Defaults to Allow.
    Headers GetAppServiceSiteConfigIpRestrictionHeaders
    IpAddress string
    The IP Address used for this IP Restriction in CIDR notation.
    Name string
    The name of the App Service.
    Priority int
    The priority for this IP Restriction.
    ServiceTag string
    The Service Tag used for this IP Restriction.
    VirtualNetworkSubnetId string
    The Virtual Network Subnet ID used for this IP Restriction.
    Action string
    Allow or Deny access for this IP range. Defaults to Allow.
    Headers GetAppServiceSiteConfigIpRestrictionHeaders
    IpAddress string
    The IP Address used for this IP Restriction in CIDR notation.
    Name string
    The name of the App Service.
    Priority int
    The priority for this IP Restriction.
    ServiceTag string
    The Service Tag used for this IP Restriction.
    VirtualNetworkSubnetId string
    The Virtual Network Subnet ID used for this IP Restriction.
    action String
    Allow or Deny access for this IP range. Defaults to Allow.
    headers GetAppServiceSiteConfigIpRestrictionHeaders
    ipAddress String
    The IP Address used for this IP Restriction in CIDR notation.
    name String
    The name of the App Service.
    priority Integer
    The priority for this IP Restriction.
    serviceTag String
    The Service Tag used for this IP Restriction.
    virtualNetworkSubnetId String
    The Virtual Network Subnet ID used for this IP Restriction.
    action string
    Allow or Deny access for this IP range. Defaults to Allow.
    headers GetAppServiceSiteConfigIpRestrictionHeaders
    ipAddress string
    The IP Address used for this IP Restriction in CIDR notation.
    name string
    The name of the App Service.
    priority number
    The priority for this IP Restriction.
    serviceTag string
    The Service Tag used for this IP Restriction.
    virtualNetworkSubnetId string
    The Virtual Network Subnet ID used for this IP Restriction.
    action str
    Allow or Deny access for this IP range. Defaults to Allow.
    headers GetAppServiceSiteConfigIpRestrictionHeaders
    ip_address str
    The IP Address used for this IP Restriction in CIDR notation.
    name str
    The name of the App Service.
    priority int
    The priority for this IP Restriction.
    service_tag str
    The Service Tag used for this IP Restriction.
    virtual_network_subnet_id str
    The Virtual Network Subnet ID used for this IP Restriction.
    action String
    Allow or Deny access for this IP range. Defaults to Allow.
    headers Property Map
    ipAddress String
    The IP Address used for this IP Restriction in CIDR notation.
    name String
    The name of the App Service.
    priority Number
    The priority for this IP Restriction.
    serviceTag String
    The Service Tag used for this IP Restriction.
    virtualNetworkSubnetId String
    The Virtual Network Subnet ID used for this IP Restriction.

    GetAppServiceSiteConfigIpRestrictionHeaders

    XAzureFdids List<string>
    XFdHealthProbes List<string>
    XForwardedFors List<string>
    XForwardedHosts List<string>
    xAzureFdids List<String>
    xFdHealthProbes List<String>
    xForwardedFors List<String>
    xForwardedHosts List<String>
    x_azure_fdids Sequence[str]
    x_fd_health_probes Sequence[str]
    x_forwarded_fors Sequence[str]
    x_forwarded_hosts Sequence[str]
    xAzureFdids List<String>
    xFdHealthProbes List<String>
    xForwardedFors List<String>
    xForwardedHosts List<String>

    GetAppServiceSiteConfigScmIpRestriction

    Action string
    Allow or Deny access for this IP range. Defaults to Allow.
    Headers GetAppServiceSiteConfigScmIpRestrictionHeaders
    IpAddress string
    The IP Address used for this IP Restriction in CIDR notation.
    Name string
    The name of the App Service.
    Priority int
    The priority for this IP Restriction.
    ServiceTag string
    The Service Tag used for this IP Restriction.
    VirtualNetworkSubnetId string
    The Virtual Network Subnet ID used for this IP Restriction.
    Action string
    Allow or Deny access for this IP range. Defaults to Allow.
    Headers GetAppServiceSiteConfigScmIpRestrictionHeaders
    IpAddress string
    The IP Address used for this IP Restriction in CIDR notation.
    Name string
    The name of the App Service.
    Priority int
    The priority for this IP Restriction.
    ServiceTag string
    The Service Tag used for this IP Restriction.
    VirtualNetworkSubnetId string
    The Virtual Network Subnet ID used for this IP Restriction.
    action String
    Allow or Deny access for this IP range. Defaults to Allow.
    headers GetAppServiceSiteConfigScmIpRestrictionHeaders
    ipAddress String
    The IP Address used for this IP Restriction in CIDR notation.
    name String
    The name of the App Service.
    priority Integer
    The priority for this IP Restriction.
    serviceTag String
    The Service Tag used for this IP Restriction.
    virtualNetworkSubnetId String
    The Virtual Network Subnet ID used for this IP Restriction.
    action string
    Allow or Deny access for this IP range. Defaults to Allow.
    headers GetAppServiceSiteConfigScmIpRestrictionHeaders
    ipAddress string
    The IP Address used for this IP Restriction in CIDR notation.
    name string
    The name of the App Service.
    priority number
    The priority for this IP Restriction.
    serviceTag string
    The Service Tag used for this IP Restriction.
    virtualNetworkSubnetId string
    The Virtual Network Subnet ID used for this IP Restriction.
    action str
    Allow or Deny access for this IP range. Defaults to Allow.
    headers GetAppServiceSiteConfigScmIpRestrictionHeaders
    ip_address str
    The IP Address used for this IP Restriction in CIDR notation.
    name str
    The name of the App Service.
    priority int
    The priority for this IP Restriction.
    service_tag str
    The Service Tag used for this IP Restriction.
    virtual_network_subnet_id str
    The Virtual Network Subnet ID used for this IP Restriction.
    action String
    Allow or Deny access for this IP range. Defaults to Allow.
    headers Property Map
    ipAddress String
    The IP Address used for this IP Restriction in CIDR notation.
    name String
    The name of the App Service.
    priority Number
    The priority for this IP Restriction.
    serviceTag String
    The Service Tag used for this IP Restriction.
    virtualNetworkSubnetId String
    The Virtual Network Subnet ID used for this IP Restriction.

    GetAppServiceSiteConfigScmIpRestrictionHeaders

    XAzureFdids List<string>
    XFdHealthProbes List<string>
    XForwardedFors List<string>
    XForwardedHosts List<string>
    xAzureFdids List<String>
    xFdHealthProbes List<String>
    xForwardedFors List<String>
    xForwardedHosts List<String>
    x_azure_fdids Sequence[str]
    x_fd_health_probes Sequence[str]
    x_forwarded_fors Sequence[str]
    x_forwarded_hosts Sequence[str]
    xAzureFdids List<String>
    xFdHealthProbes List<String>
    xForwardedFors List<String>
    xForwardedHosts List<String>

    GetAppServiceSiteCredential

    Password string
    Username string
    Password string
    Username string
    password String
    username String
    password string
    username string
    password String
    username String

    GetAppServiceSourceControl

    Branch string
    The branch of the remote repository in use.
    ManualIntegration bool
    Limits to manual integration.
    RepoUrl string
    The URL of the source code repository.
    RollbackEnabled bool
    Is roll-back enabled for the repository.
    UseMercurial bool
    Uses Mercurial if true, otherwise uses Git.
    Branch string
    The branch of the remote repository in use.
    ManualIntegration bool
    Limits to manual integration.
    RepoUrl string
    The URL of the source code repository.
    RollbackEnabled bool
    Is roll-back enabled for the repository.
    UseMercurial bool
    Uses Mercurial if true, otherwise uses Git.
    branch String
    The branch of the remote repository in use.
    manualIntegration Boolean
    Limits to manual integration.
    repoUrl String
    The URL of the source code repository.
    rollbackEnabled Boolean
    Is roll-back enabled for the repository.
    useMercurial Boolean
    Uses Mercurial if true, otherwise uses Git.
    branch string
    The branch of the remote repository in use.
    manualIntegration boolean
    Limits to manual integration.
    repoUrl string
    The URL of the source code repository.
    rollbackEnabled boolean
    Is roll-back enabled for the repository.
    useMercurial boolean
    Uses Mercurial if true, otherwise uses Git.
    branch str
    The branch of the remote repository in use.
    manual_integration bool
    Limits to manual integration.
    repo_url str
    The URL of the source code repository.
    rollback_enabled bool
    Is roll-back enabled for the repository.
    use_mercurial bool
    Uses Mercurial if true, otherwise uses Git.
    branch String
    The branch of the remote repository in use.
    manualIntegration Boolean
    Limits to manual integration.
    repoUrl String
    The URL of the source code repository.
    rollbackEnabled Boolean
    Is roll-back enabled for the repository.
    useMercurial Boolean
    Uses Mercurial if true, otherwise uses Git.

    Package Details

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

    We recommend using Azure Native.

    Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi