UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

125 lines (124 loc) 3.68 kB
import * as pulumi from "@pulumi/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, 2024-11-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppFunction(args: GetWebAppFunctionArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAppFunctionResult>; export interface GetWebAppFunctionArgs { /** * Function name. */ functionName: string; /** * Site name. */ name: string; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: string; } /** * Function information. */ export interface GetWebAppFunctionResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Config information. */ readonly config?: any; /** * Config URI. */ readonly configHref?: string; /** * File list. */ readonly files?: { [key: string]: string; }; /** * Function App ID. */ readonly functionAppId?: string; /** * Function URI. */ readonly href?: string; /** * Resource Id. */ readonly id: string; /** * The invocation URL */ readonly invokeUrlTemplate?: string; /** * Gets or sets a value indicating whether the function is disabled */ readonly isDisabled?: boolean; /** * Kind of resource. */ readonly kind?: string; /** * The function language */ readonly language?: string; /** * Resource Name. */ readonly name: string; /** * Script URI. */ readonly scriptHref?: string; /** * Script root path URI. */ readonly scriptRootPathHref?: string; /** * Secrets file URI. */ readonly secretsFileHref?: string; /** * Test data used when testing via the Azure Portal. */ readonly testData?: string; /** * Test data URI. */ readonly testDataHref?: string; /** * Resource type. */ readonly type: string; } /** * 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, 2024-11-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppFunctionOutput(args: GetWebAppFunctionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAppFunctionResult>; export interface GetWebAppFunctionOutputArgs { /** * Function name. */ functionName: pulumi.Input<string>; /** * Site name. */ name: pulumi.Input<string>; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: pulumi.Input<string>; }