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

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.appservice.getFunctionApp

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

Use this data source to access information about a Function App.

!> Note: The azure.appservice.FunctionApp 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.LinuxFunctionApp and azure.appservice.WindowsFunctionApp data sources instead.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.appservice.getFunctionApp({
    name: "test-azure-functions",
    resourceGroupName: exampleAzurermResourceGroup.name,
});
Copy
import pulumi
import pulumi_azure as azure

example = azure.appservice.get_function_app(name="test-azure-functions",
    resource_group_name=example_azurerm_resource_group["name"])
Copy
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 {
		_, err := appservice.LookupFunctionApp(ctx, &appservice.LookupFunctionAppArgs{
			Name:              "test-azure-functions",
			ResourceGroupName: exampleAzurermResourceGroup.Name,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = Azure.AppService.GetFunctionApp.Invoke(new()
    {
        Name = "test-azure-functions",
        ResourceGroupName = exampleAzurermResourceGroup.Name,
    });

});
Copy
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.GetFunctionAppArgs;
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.getFunctionApp(GetFunctionAppArgs.builder()
            .name("test-azure-functions")
            .resourceGroupName(exampleAzurermResourceGroup.name())
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:appservice:getFunctionApp
      arguments:
        name: test-azure-functions
        resourceGroupName: ${exampleAzurermResourceGroup.name}
Copy

Using getFunctionApp

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 getFunctionApp(args: GetFunctionAppArgs, opts?: InvokeOptions): Promise<GetFunctionAppResult>
function getFunctionAppOutput(args: GetFunctionAppOutputArgs, opts?: InvokeOptions): Output<GetFunctionAppResult>
Copy
def get_function_app(name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetFunctionAppResult
def get_function_app_output(name: Optional[pulumi.Input[str]] = None,
                     resource_group_name: Optional[pulumi.Input[str]] = None,
                     tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetFunctionAppResult]
Copy
func LookupFunctionApp(ctx *Context, args *LookupFunctionAppArgs, opts ...InvokeOption) (*LookupFunctionAppResult, error)
func LookupFunctionAppOutput(ctx *Context, args *LookupFunctionAppOutputArgs, opts ...InvokeOption) LookupFunctionAppResultOutput
Copy

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

public static class GetFunctionApp 
{
    public static Task<GetFunctionAppResult> InvokeAsync(GetFunctionAppArgs args, InvokeOptions? opts = null)
    public static Output<GetFunctionAppResult> Invoke(GetFunctionAppInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFunctionAppResult> getFunctionApp(GetFunctionAppArgs args, InvokeOptions options)
public static Output<GetFunctionAppResult> getFunctionApp(GetFunctionAppArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:appservice/getFunctionApp:getFunctionApp
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the Function App resource.
ResourceGroupName This property is required. string
The name of the Resource Group where the Function App exists.
Tags Dictionary<string, string>
Name This property is required. string
The name of the Function App resource.
ResourceGroupName This property is required. string
The name of the Resource Group where the Function App exists.
Tags map[string]string
name This property is required. String
The name of the Function App resource.
resourceGroupName This property is required. String
The name of the Resource Group where the Function App exists.
tags Map<String,String>
name This property is required. string
The name of the Function App resource.
resourceGroupName This property is required. string
The name of the Resource Group where the Function App exists.
tags {[key: string]: string}
name This property is required. str
The name of the Function App resource.
resource_group_name This property is required. str
The name of the Resource Group where the Function App exists.
tags Mapping[str, str]
name This property is required. String
The name of the Function App resource.
resourceGroupName This property is required. String
The name of the Resource Group where the Function App exists.
tags Map<String>

getFunctionApp Result

The following output properties are available:

AppServicePlanId string
The ID of the App Service Plan within which to create this Function App.
AppSettings Dictionary<string, string>
A key-value pair of App Settings.
ClientCertMode string
The mode of the Function App's client certificates requirement for incoming requests.
ConnectionStrings List<GetFunctionAppConnectionString>
An connection_string block as defined below.
CustomDomainVerificationId string
An identifier used by App Service to perform domain ownership verification via DNS TXT record.
DefaultHostname string
The default hostname associated with the Function App.
Enabled bool
Is the Function App enabled?
Id string
The provider-assigned unique ID for this managed resource.
Identities List<GetFunctionAppIdentity>
A identity block as defined below.
Location string
Name string
The name for this IP Restriction.
OsType string
A string indicating the Operating System type for this function app.
OutboundIpAddresses string
A comma separated list of outbound IP addresses.
PossibleOutboundIpAddresses string
A comma separated list of outbound IP addresses, not all of which are necessarily in use. Superset of outbound_ip_addresses.
ResourceGroupName string
SiteConfigs List<GetFunctionAppSiteConfig>
SiteCredentials List<GetFunctionAppSiteCredential>
A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service.
SourceControls List<GetFunctionAppSourceControl>
A source_control block as defined below.
Tags Dictionary<string, string>
AppServicePlanId string
The ID of the App Service Plan within which to create this Function App.
AppSettings map[string]string
A key-value pair of App Settings.
ClientCertMode string
The mode of the Function App's client certificates requirement for incoming requests.
ConnectionStrings []GetFunctionAppConnectionString
An connection_string block as defined below.
CustomDomainVerificationId string
An identifier used by App Service to perform domain ownership verification via DNS TXT record.
DefaultHostname string
The default hostname associated with the Function App.
Enabled bool
Is the Function App enabled?
Id string
The provider-assigned unique ID for this managed resource.
Identities []GetFunctionAppIdentity
A identity block as defined below.
Location string
Name string
The name for this IP Restriction.
OsType string
A string indicating the Operating System type for this function app.
OutboundIpAddresses string
A comma separated list of outbound IP addresses.
PossibleOutboundIpAddresses string
A comma separated list of outbound IP addresses, not all of which are necessarily in use. Superset of outbound_ip_addresses.
ResourceGroupName string
SiteConfigs []GetFunctionAppSiteConfig
SiteCredentials []GetFunctionAppSiteCredential
A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service.
SourceControls []GetFunctionAppSourceControl
A source_control block as defined below.
Tags map[string]string
appServicePlanId String
The ID of the App Service Plan within which to create this Function App.
appSettings Map<String,String>
A key-value pair of App Settings.
clientCertMode String
The mode of the Function App's client certificates requirement for incoming requests.
connectionStrings List<GetFunctionAppConnectionString>
An connection_string block as defined below.
customDomainVerificationId String
An identifier used by App Service to perform domain ownership verification via DNS TXT record.
defaultHostname String
The default hostname associated with the Function App.
enabled Boolean
Is the Function App enabled?
id String
The provider-assigned unique ID for this managed resource.
identities List<GetFunctionAppIdentity>
A identity block as defined below.
location String
name String
The name for this IP Restriction.
osType String
A string indicating the Operating System type for this function app.
outboundIpAddresses String
A comma separated list of outbound IP addresses.
possibleOutboundIpAddresses String
A comma separated list of outbound IP addresses, not all of which are necessarily in use. Superset of outbound_ip_addresses.
resourceGroupName String
siteConfigs List<GetFunctionAppSiteConfig>
siteCredentials List<GetFunctionAppSiteCredential>
A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service.
sourceControls List<GetFunctionAppSourceControl>
A source_control block as defined below.
tags Map<String,String>
appServicePlanId string
The ID of the App Service Plan within which to create this Function App.
appSettings {[key: string]: string}
A key-value pair of App Settings.
clientCertMode string
The mode of the Function App's client certificates requirement for incoming requests.
connectionStrings GetFunctionAppConnectionString[]
An connection_string block as defined below.
customDomainVerificationId string
An identifier used by App Service to perform domain ownership verification via DNS TXT record.
defaultHostname string
The default hostname associated with the Function App.
enabled boolean
Is the Function App enabled?
id string
The provider-assigned unique ID for this managed resource.
identities GetFunctionAppIdentity[]
A identity block as defined below.
location string
name string
The name for this IP Restriction.
osType string
A string indicating the Operating System type for this function app.
outboundIpAddresses string
A comma separated list of outbound IP addresses.
possibleOutboundIpAddresses string
A comma separated list of outbound IP addresses, not all of which are necessarily in use. Superset of outbound_ip_addresses.
resourceGroupName string
siteConfigs GetFunctionAppSiteConfig[]
siteCredentials GetFunctionAppSiteCredential[]
A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service.
sourceControls GetFunctionAppSourceControl[]
A source_control block as defined below.
tags {[key: string]: string}
app_service_plan_id str
The ID of the App Service Plan within which to create this Function App.
app_settings Mapping[str, str]
A key-value pair of App Settings.
client_cert_mode str
The mode of the Function App's client certificates requirement for incoming requests.
connection_strings Sequence[GetFunctionAppConnectionString]
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_hostname str
The default hostname associated with the Function App.
enabled bool
Is the Function App enabled?
id str
The provider-assigned unique ID for this managed resource.
identities Sequence[GetFunctionAppIdentity]
A identity block as defined below.
location str
name str
The name for this IP Restriction.
os_type str
A string indicating the Operating System type for this function app.
outbound_ip_addresses str
A comma separated list of outbound IP addresses.
possible_outbound_ip_addresses str
A comma separated list of outbound IP addresses, not all of which are necessarily in use. Superset of outbound_ip_addresses.
resource_group_name str
site_configs Sequence[GetFunctionAppSiteConfig]
site_credentials Sequence[GetFunctionAppSiteCredential]
A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service.
source_controls Sequence[GetFunctionAppSourceControl]
A source_control block as defined below.
tags Mapping[str, str]
appServicePlanId String
The ID of the App Service Plan within which to create this Function App.
appSettings Map<String>
A key-value pair of App Settings.
clientCertMode String
The mode of the Function App's client certificates requirement 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.
defaultHostname String
The default hostname associated with the Function App.
enabled Boolean
Is the Function App enabled?
id String
The provider-assigned unique ID for this managed resource.
identities List<Property Map>
A identity block as defined below.
location String
name String
The name for this IP Restriction.
osType String
A string indicating the Operating System type for this function app.
outboundIpAddresses String
A comma separated list of outbound IP addresses.
possibleOutboundIpAddresses String
A comma separated list of outbound IP addresses, not all of which are necessarily in use. Superset of outbound_ip_addresses.
resourceGroupName String
siteConfigs List<Property Map>
siteCredentials List<Property Map>
A site_credential block as defined below, which contains the site-level credentials used to publish to this App Service.
sourceControls List<Property Map>
A source_control block as defined below.
tags Map<String>

Supporting Types

GetFunctionAppConnectionString

Name This property is required. string
The name of the Function App resource.
Type This property is required. string
The identity type of the Managed Identity assigned to the Function App.
Value This property is required. string
The value for the Connection String.
Name This property is required. string
The name of the Function App resource.
Type This property is required. string
The identity type of the Managed Identity assigned to the Function App.
Value This property is required. string
The value for the Connection String.
name This property is required. String
The name of the Function App resource.
type This property is required. String
The identity type of the Managed Identity assigned to the Function App.
value This property is required. String
The value for the Connection String.
name This property is required. string
The name of the Function App resource.
type This property is required. string
The identity type of the Managed Identity assigned to the Function App.
value This property is required. string
The value for the Connection String.
name This property is required. str
The name of the Function App resource.
type This property is required. str
The identity type of the Managed Identity assigned to the Function App.
value This property is required. str
The value for the Connection String.
name This property is required. String
The name of the Function App resource.
type This property is required. String
The identity type of the Managed Identity assigned to the Function App.
value This property is required. String
The value for the Connection String.

GetFunctionAppIdentity

IdentityIds This property is required. List<string>
A list of User Assigned Identity IDs assigned to the Function App.
PrincipalId This property is required. string
The ID of the Managed Identity assigned to the Function App.
TenantId This property is required. string
The ID of the Tenant where the Managed Identity assigned to the Function App is located.
Type This property is required. string
The identity type of the Managed Identity assigned to the Function App.
IdentityIds This property is required. []string
A list of User Assigned Identity IDs assigned to the Function App.
PrincipalId This property is required. string
The ID of the Managed Identity assigned to the Function App.
TenantId This property is required. string
The ID of the Tenant where the Managed Identity assigned to the Function App is located.
Type This property is required. string
The identity type of the Managed Identity assigned to the Function App.
identityIds This property is required. List<String>
A list of User Assigned Identity IDs assigned to the Function App.
principalId This property is required. String
The ID of the Managed Identity assigned to the Function App.
tenantId This property is required. String
The ID of the Tenant where the Managed Identity assigned to the Function App is located.
type This property is required. String
The identity type of the Managed Identity assigned to the Function App.
identityIds This property is required. string[]
A list of User Assigned Identity IDs assigned to the Function App.
principalId This property is required. string
The ID of the Managed Identity assigned to the Function App.
tenantId This property is required. string
The ID of the Tenant where the Managed Identity assigned to the Function App is located.
type This property is required. string
The identity type of the Managed Identity assigned to the Function App.
identity_ids This property is required. Sequence[str]
A list of User Assigned Identity IDs assigned to the Function App.
principal_id This property is required. str
The ID of the Managed Identity assigned to the Function App.
tenant_id This property is required. str
The ID of the Tenant where the Managed Identity assigned to the Function App is located.
type This property is required. str
The identity type of the Managed Identity assigned to the Function App.
identityIds This property is required. List<String>
A list of User Assigned Identity IDs assigned to the Function App.
principalId This property is required. String
The ID of the Managed Identity assigned to the Function App.
tenantId This property is required. String
The ID of the Tenant where the Managed Identity assigned to the Function App is located.
type This property is required. String
The identity type of the Managed Identity assigned to the Function App.

GetFunctionAppSiteConfig

AlwaysOn This property is required. bool
Is the app loaded at all times?
AppScaleLimit This property is required. int
The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
AutoSwapSlotName This property is required. string
Cors This property is required. GetFunctionAppSiteConfigCors
A cors block as defined above.
DotnetFrameworkVersion This property is required. string
The version of the .NET framework's CLR used in this App Service.
ElasticInstanceMinimum This property is required. int
The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
FtpsState This property is required. string
State of FTP / FTPS service for this AppService.
HealthCheckPath This property is required. string
Http2Enabled This property is required. bool
Is HTTP2 Enabled on this App Service?
IpRestrictions This property is required. List<GetFunctionAppSiteConfigIpRestriction>
One or more ip_restriction blocks as defined above.
JavaVersion This property is required. string
Java version hosted by the function app in Azure.
LinuxFxVersion This property is required. string
Linux App Framework and version for the AppService.
MinTlsVersion This property is required. string
The minimum supported TLS version for this App Service.
PreWarmedInstanceCount This property is required. int
The number of pre-warmed instances for this function app. Only applicable to apps on the Premium plan.
RuntimeScaleMonitoringEnabled This property is required. bool
Is Runtime Scale Monitoring Enabled on this function app?
ScmIpRestrictions This property is required. List<GetFunctionAppSiteConfigScmIpRestriction>
One or more scm_ip_restriction blocks as defined above.
ScmType This property is required. string
The type of Source Control enabled for this App Service.
ScmUseMainIpRestriction This property is required. bool
IP security restrictions for scm to use main.
Use32BitWorkerProcess This property is required. bool
Does the App Service run in 32 bit mode, rather than 64 bit mode?
VnetRouteAllEnabled This property is required. bool
(Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
WebsocketsEnabled This property is required. bool
Are WebSockets enabled for this App Service?
AlwaysOn This property is required. bool
Is the app loaded at all times?
AppScaleLimit This property is required. int
The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
AutoSwapSlotName This property is required. string
Cors This property is required. GetFunctionAppSiteConfigCors
A cors block as defined above.
DotnetFrameworkVersion This property is required. string
The version of the .NET framework's CLR used in this App Service.
ElasticInstanceMinimum This property is required. int
The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
FtpsState This property is required. string
State of FTP / FTPS service for this AppService.
HealthCheckPath This property is required. string
Http2Enabled This property is required. bool
Is HTTP2 Enabled on this App Service?
IpRestrictions This property is required. []GetFunctionAppSiteConfigIpRestriction
One or more ip_restriction blocks as defined above.
JavaVersion This property is required. string
Java version hosted by the function app in Azure.
LinuxFxVersion This property is required. string
Linux App Framework and version for the AppService.
MinTlsVersion This property is required. string
The minimum supported TLS version for this App Service.
PreWarmedInstanceCount This property is required. int
The number of pre-warmed instances for this function app. Only applicable to apps on the Premium plan.
RuntimeScaleMonitoringEnabled This property is required. bool
Is Runtime Scale Monitoring Enabled on this function app?
ScmIpRestrictions This property is required. []GetFunctionAppSiteConfigScmIpRestriction
One or more scm_ip_restriction blocks as defined above.
ScmType This property is required. string
The type of Source Control enabled for this App Service.
ScmUseMainIpRestriction This property is required. bool
IP security restrictions for scm to use main.
Use32BitWorkerProcess This property is required. bool
Does the App Service run in 32 bit mode, rather than 64 bit mode?
VnetRouteAllEnabled This property is required. bool
(Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
WebsocketsEnabled This property is required. bool
Are WebSockets enabled for this App Service?
alwaysOn This property is required. Boolean
Is the app loaded at all times?
appScaleLimit This property is required. Integer
The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
autoSwapSlotName This property is required. String
cors This property is required. GetFunctionAppSiteConfigCors
A cors block as defined above.
dotnetFrameworkVersion This property is required. String
The version of the .NET framework's CLR used in this App Service.
elasticInstanceMinimum This property is required. Integer
The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
ftpsState This property is required. String
State of FTP / FTPS service for this AppService.
healthCheckPath This property is required. String
http2Enabled This property is required. Boolean
Is HTTP2 Enabled on this App Service?
ipRestrictions This property is required. List<GetFunctionAppSiteConfigIpRestriction>
One or more ip_restriction blocks as defined above.
javaVersion This property is required. String
Java version hosted by the function app in Azure.
linuxFxVersion This property is required. String
Linux App Framework and version for the AppService.
minTlsVersion This property is required. String
The minimum supported TLS version for this App Service.
preWarmedInstanceCount This property is required. Integer
The number of pre-warmed instances for this function app. Only applicable to apps on the Premium plan.
runtimeScaleMonitoringEnabled This property is required. Boolean
Is Runtime Scale Monitoring Enabled on this function app?
scmIpRestrictions This property is required. List<GetFunctionAppSiteConfigScmIpRestriction>
One or more scm_ip_restriction blocks as defined above.
scmType This property is required. String
The type of Source Control enabled for this App Service.
scmUseMainIpRestriction This property is required. Boolean
IP security restrictions for scm to use main.
use32BitWorkerProcess This property is required. Boolean
Does the App Service run in 32 bit mode, rather than 64 bit mode?
vnetRouteAllEnabled This property is required. Boolean
(Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
websocketsEnabled This property is required. Boolean
Are WebSockets enabled for this App Service?
alwaysOn This property is required. boolean
Is the app loaded at all times?
appScaleLimit This property is required. number
The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
autoSwapSlotName This property is required. string
cors This property is required. GetFunctionAppSiteConfigCors
A cors block as defined above.
dotnetFrameworkVersion This property is required. string
The version of the .NET framework's CLR used in this App Service.
elasticInstanceMinimum This property is required. number
The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
ftpsState This property is required. string
State of FTP / FTPS service for this AppService.
healthCheckPath This property is required. string
http2Enabled This property is required. boolean
Is HTTP2 Enabled on this App Service?
ipRestrictions This property is required. GetFunctionAppSiteConfigIpRestriction[]
One or more ip_restriction blocks as defined above.
javaVersion This property is required. string
Java version hosted by the function app in Azure.
linuxFxVersion This property is required. string
Linux App Framework and version for the AppService.
minTlsVersion This property is required. string
The minimum supported TLS version for this App Service.
preWarmedInstanceCount This property is required. number
The number of pre-warmed instances for this function app. Only applicable to apps on the Premium plan.
runtimeScaleMonitoringEnabled This property is required. boolean
Is Runtime Scale Monitoring Enabled on this function app?
scmIpRestrictions This property is required. GetFunctionAppSiteConfigScmIpRestriction[]
One or more scm_ip_restriction blocks as defined above.
scmType This property is required. string
The type of Source Control enabled for this App Service.
scmUseMainIpRestriction This property is required. boolean
IP security restrictions for scm to use main.
use32BitWorkerProcess This property is required. boolean
Does the App Service run in 32 bit mode, rather than 64 bit mode?
vnetRouteAllEnabled This property is required. boolean
(Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
websocketsEnabled This property is required. boolean
Are WebSockets enabled for this App Service?
always_on This property is required. bool
Is the app loaded at all times?
app_scale_limit This property is required. int
The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
auto_swap_slot_name This property is required. str
cors This property is required. GetFunctionAppSiteConfigCors
A cors block as defined above.
dotnet_framework_version This property is required. str
The version of the .NET framework's CLR used in this App Service.
elastic_instance_minimum This property is required. int
The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
ftps_state This property is required. str
State of FTP / FTPS service for this AppService.
health_check_path This property is required. str
http2_enabled This property is required. bool
Is HTTP2 Enabled on this App Service?
ip_restrictions This property is required. Sequence[GetFunctionAppSiteConfigIpRestriction]
One or more ip_restriction blocks as defined above.
java_version This property is required. str
Java version hosted by the function app in Azure.
linux_fx_version This property is required. str
Linux App Framework and version for the AppService.
min_tls_version This property is required. str
The minimum supported TLS version for this App Service.
pre_warmed_instance_count This property is required. int
The number of pre-warmed instances for this function app. Only applicable to apps on the Premium plan.
runtime_scale_monitoring_enabled This property is required. bool
Is Runtime Scale Monitoring Enabled on this function app?
scm_ip_restrictions This property is required. Sequence[GetFunctionAppSiteConfigScmIpRestriction]
One or more scm_ip_restriction blocks as defined above.
scm_type This property is required. str
The type of Source Control enabled for this App Service.
scm_use_main_ip_restriction This property is required. bool
IP security restrictions for scm to use main.
use32_bit_worker_process This property is required. bool
Does the App Service run in 32 bit mode, rather than 64 bit mode?
vnet_route_all_enabled This property is required. bool
(Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
websockets_enabled This property is required. bool
Are WebSockets enabled for this App Service?
alwaysOn This property is required. Boolean
Is the app loaded at all times?
appScaleLimit This property is required. Number
The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.
autoSwapSlotName This property is required. String
cors This property is required. Property Map
A cors block as defined above.
dotnetFrameworkVersion This property is required. String
The version of the .NET framework's CLR used in this App Service.
elasticInstanceMinimum This property is required. Number
The number of minimum instances for this function app. Only applicable to apps on the Premium plan.
ftpsState This property is required. String
State of FTP / FTPS service for this AppService.
healthCheckPath This property is required. String
http2Enabled This property is required. Boolean
Is HTTP2 Enabled on this App Service?
ipRestrictions This property is required. List<Property Map>
One or more ip_restriction blocks as defined above.
javaVersion This property is required. String
Java version hosted by the function app in Azure.
linuxFxVersion This property is required. String
Linux App Framework and version for the AppService.
minTlsVersion This property is required. String
The minimum supported TLS version for this App Service.
preWarmedInstanceCount This property is required. Number
The number of pre-warmed instances for this function app. Only applicable to apps on the Premium plan.
runtimeScaleMonitoringEnabled This property is required. Boolean
Is Runtime Scale Monitoring Enabled on this function app?
scmIpRestrictions This property is required. List<Property Map>
One or more scm_ip_restriction blocks as defined above.
scmType This property is required. String
The type of Source Control enabled for this App Service.
scmUseMainIpRestriction This property is required. Boolean
IP security restrictions for scm to use main.
use32BitWorkerProcess This property is required. Boolean
Does the App Service run in 32 bit mode, rather than 64 bit mode?
vnetRouteAllEnabled This property is required. Boolean
(Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
websocketsEnabled This property is required. Boolean
Are WebSockets enabled for this App Service?

GetFunctionAppSiteConfigCors

AllowedOrigins This property is required. List<string>
SupportCredentials bool
AllowedOrigins This property is required. []string
SupportCredentials bool
allowedOrigins This property is required. List<String>
supportCredentials Boolean
allowedOrigins This property is required. string[]
supportCredentials boolean
allowed_origins This property is required. Sequence[str]
support_credentials bool
allowedOrigins This property is required. List<String>
supportCredentials Boolean

GetFunctionAppSiteConfigIpRestriction

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

GetFunctionAppSiteConfigIpRestrictionHeaders

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

GetFunctionAppSiteConfigScmIpRestriction

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

GetFunctionAppSiteConfigScmIpRestrictionHeaders

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

GetFunctionAppSiteCredential

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

GetFunctionAppSourceControl

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

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi