1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. getWebAppFunction
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.web.getWebAppFunction

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Description for Get function information by its ID for web site, or a deployment slot.

Uses Azure REST API version 2024-04-01.

Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]. See the version guide for details.

Using getWebAppFunction

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 getWebAppFunction(args: GetWebAppFunctionArgs, opts?: InvokeOptions): Promise<GetWebAppFunctionResult>
function getWebAppFunctionOutput(args: GetWebAppFunctionOutputArgs, opts?: InvokeOptions): Output<GetWebAppFunctionResult>
Copy
def get_web_app_function(function_name: Optional[str] = None,
                         name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetWebAppFunctionResult
def get_web_app_function_output(function_name: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetWebAppFunctionResult]
Copy
func LookupWebAppFunction(ctx *Context, args *LookupWebAppFunctionArgs, opts ...InvokeOption) (*LookupWebAppFunctionResult, error)
func LookupWebAppFunctionOutput(ctx *Context, args *LookupWebAppFunctionOutputArgs, opts ...InvokeOption) LookupWebAppFunctionResultOutput
Copy

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

public static class GetWebAppFunction 
{
    public static Task<GetWebAppFunctionResult> InvokeAsync(GetWebAppFunctionArgs args, InvokeOptions? opts = null)
    public static Output<GetWebAppFunctionResult> Invoke(GetWebAppFunctionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetWebAppFunctionResult> getWebAppFunction(GetWebAppFunctionArgs args, InvokeOptions options)
public static Output<GetWebAppFunctionResult> getWebAppFunction(GetWebAppFunctionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:web:getWebAppFunction
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FunctionName
This property is required.
Changes to this property will trigger replacement.
string
Function name.
Name
This property is required.
Changes to this property will trigger replacement.
string
Site name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
FunctionName
This property is required.
Changes to this property will trigger replacement.
string
Function name.
Name
This property is required.
Changes to this property will trigger replacement.
string
Site name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
functionName
This property is required.
Changes to this property will trigger replacement.
String
Function name.
name
This property is required.
Changes to this property will trigger replacement.
String
Site name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
functionName
This property is required.
Changes to this property will trigger replacement.
string
Function name.
name
This property is required.
Changes to this property will trigger replacement.
string
Site name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
function_name
This property is required.
Changes to this property will trigger replacement.
str
Function name.
name
This property is required.
Changes to this property will trigger replacement.
str
Site name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group to which the resource belongs.
functionName
This property is required.
Changes to this property will trigger replacement.
String
Function name.
name
This property is required.
Changes to this property will trigger replacement.
String
Site name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.

getWebAppFunction Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Resource Id.
Name string
Resource Name.
Type string
Resource type.
Config object
Config information.
ConfigHref string
Config URI.
Files Dictionary<string, string>
File list.
FunctionAppId string
Function App ID.
Href string
Function URI.
InvokeUrlTemplate string
The invocation URL
IsDisabled bool
Gets or sets a value indicating whether the function is disabled
Kind string
Kind of resource.
Language string
The function language
ScriptHref string
Script URI.
ScriptRootPathHref string
Script root path URI.
SecretsFileHref string
Secrets file URI.
TestData string
Test data used when testing via the Azure Portal.
TestDataHref string
Test data URI.
AzureApiVersion string
The Azure API version of the resource.
Id string
Resource Id.
Name string
Resource Name.
Type string
Resource type.
Config interface{}
Config information.
ConfigHref string
Config URI.
Files map[string]string
File list.
FunctionAppId string
Function App ID.
Href string
Function URI.
InvokeUrlTemplate string
The invocation URL
IsDisabled bool
Gets or sets a value indicating whether the function is disabled
Kind string
Kind of resource.
Language string
The function language
ScriptHref string
Script URI.
ScriptRootPathHref string
Script root path URI.
SecretsFileHref string
Secrets file URI.
TestData string
Test data used when testing via the Azure Portal.
TestDataHref string
Test data URI.
azureApiVersion String
The Azure API version of the resource.
id String
Resource Id.
name String
Resource Name.
type String
Resource type.
config Object
Config information.
configHref String
Config URI.
files Map<String,String>
File list.
functionAppId String
Function App ID.
href String
Function URI.
invokeUrlTemplate String
The invocation URL
isDisabled Boolean
Gets or sets a value indicating whether the function is disabled
kind String
Kind of resource.
language String
The function language
scriptHref String
Script URI.
scriptRootPathHref String
Script root path URI.
secretsFileHref String
Secrets file URI.
testData String
Test data used when testing via the Azure Portal.
testDataHref String
Test data URI.
azureApiVersion string
The Azure API version of the resource.
id string
Resource Id.
name string
Resource Name.
type string
Resource type.
config any
Config information.
configHref string
Config URI.
files {[key: string]: string}
File list.
functionAppId string
Function App ID.
href string
Function URI.
invokeUrlTemplate string
The invocation URL
isDisabled boolean
Gets or sets a value indicating whether the function is disabled
kind string
Kind of resource.
language string
The function language
scriptHref string
Script URI.
scriptRootPathHref string
Script root path URI.
secretsFileHref string
Secrets file URI.
testData string
Test data used when testing via the Azure Portal.
testDataHref string
Test data URI.
azure_api_version str
The Azure API version of the resource.
id str
Resource Id.
name str
Resource Name.
type str
Resource type.
config Any
Config information.
config_href str
Config URI.
files Mapping[str, str]
File list.
function_app_id str
Function App ID.
href str
Function URI.
invoke_url_template str
The invocation URL
is_disabled bool
Gets or sets a value indicating whether the function is disabled
kind str
Kind of resource.
language str
The function language
script_href str
Script URI.
script_root_path_href str
Script root path URI.
secrets_file_href str
Secrets file URI.
test_data str
Test data used when testing via the Azure Portal.
test_data_href str
Test data URI.
azureApiVersion String
The Azure API version of the resource.
id String
Resource Id.
name String
Resource Name.
type String
Resource type.
config Any
Config information.
configHref String
Config URI.
files Map<String>
File list.
functionAppId String
Function App ID.
href String
Function URI.
invokeUrlTemplate String
The invocation URL
isDisabled Boolean
Gets or sets a value indicating whether the function is disabled
kind String
Kind of resource.
language String
The function language
scriptHref String
Script URI.
scriptRootPathHref String
Script root path URI.
secretsFileHref String
Secrets file URI.
testData String
Test data used when testing via the Azure Portal.
testDataHref String
Test data URI.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi