import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Windows Function App. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.appservice.getWindowsFunctionApp({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Web` - 2023-12-01 */ export declare function getWindowsFunctionApp(args: GetWindowsFunctionAppArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWindowsFunctionApp. */ export interface GetWindowsFunctionAppArgs { /** * The name of this Windows Function App. */ name: string; /** * The name of the Resource Group where the Windows Function App exists. */ resourceGroupName: string; } /** * A collection of values returned by getWindowsFunctionApp. */ export interface GetWindowsFunctionAppResult { /** * A `map of key-value pairs for App Settings and custom values. */ readonly appSettings: { [key: string]: string; }; /** * A `authSettings` block as defined below. */ readonly authSettings: outputs.appservice.GetWindowsFunctionAppAuthSetting[]; /** * A `authSettingsV2` block as defined below. */ readonly authSettingsV2s: outputs.appservice.GetWindowsFunctionAppAuthSettingsV2[]; /** * A `backup` block as defined below. */ readonly backups: outputs.appservice.GetWindowsFunctionAppBackup[]; /** * Is the built-in logging enabled? */ readonly builtinLoggingEnabled: boolean; /** * Is the use of Client Certificates enabled? */ readonly clientCertificateEnabled: boolean; /** * Paths to exclude when using client certificates, separated by ; */ readonly clientCertificateExclusionPaths: string; /** * The mode of the Function App's client certificates requirement for incoming requests. */ readonly clientCertificateMode: string; /** * One or more `connectionString` blocks as defined below. */ readonly connectionStrings: outputs.appservice.GetWindowsFunctionAppConnectionString[]; /** * Are Content Share Settings disabled? */ readonly contentShareForceDisabled: boolean; /** * The identifier used by App Service to perform domain ownership verification via DNS TXT record. */ readonly customDomainVerificationId: string; /** * The amount of memory in gigabyte-seconds that your application is allowed to consume per day. */ readonly dailyMemoryTimeQuota: number; /** * The default hostname of the Windows Function App. */ readonly defaultHostname: string; /** * Is the Backup Job enabled? */ readonly enabled: boolean; /** * Are the default FTP Basic Authentication publishing credentials enabled. */ readonly ftpPublishBasicAuthenticationEnabled: boolean; /** * The runtime version associated with the Function App. */ readonly functionsExtensionVersion: string; /** * The ID of the App Service Environment used by Function App. */ readonly hostingEnvironmentId: string; /** * Is the Function App only accessible via HTTPS? */ readonly httpsOnly: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A `identity` block as defined below. */ readonly identities: outputs.appservice.GetWindowsFunctionAppIdentity[]; /** * The Kind value for this Windows Function App. */ readonly kind: string; /** * The Azure Region where the Windows Function App exists. */ readonly location: string; /** * The Site Credentials Username used for publishing. */ readonly name: string; /** * A list of outbound IP addresses. For example `["52.23.25.3", "52.143.43.12"]` */ readonly outboundIpAddressLists: string[]; /** * A comma separated list of outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12`. */ readonly outboundIpAddresses: string; /** * A list of possible outbound IP addresses, not all of which are necessarily in use. This is a superset of `outboundIpAddressList`. For example `["52.23.25.3", "52.143.43.12"]`. */ readonly possibleOutboundIpAddressLists: string[]; /** * A comma separated list of possible outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12,52.143.43.17`. This is a superset of `outboundIpAddresses`. */ readonly possibleOutboundIpAddresses: string; /** * Is Public Network Access enabled for the Windows Function App. */ readonly publicNetworkAccessEnabled: boolean; readonly resourceGroupName: string; /** * The ID of the App Service Plan. */ readonly servicePlanId: string; /** * A `siteConfig` block as defined below. */ readonly siteConfigs: outputs.appservice.GetWindowsFunctionAppSiteConfig[]; /** * A `siteCredential` block as defined below. */ readonly siteCredentials: outputs.appservice.GetWindowsFunctionAppSiteCredential[]; /** * A `stickySettings` block as defined below. */ readonly stickySettings: outputs.appservice.GetWindowsFunctionAppStickySetting[]; /** * The access key which is used to access the backend storage account for the Function App. */ readonly storageAccountAccessKey: string; /** * The backend storage account name which is used by this Function App. */ readonly storageAccountName: string; /** * The Key Vault Secret ID, including version, that contains the Connection String used to connect to the storage account for this Function App. */ readonly storageKeyVaultSecretId: string; /** * Is the Function App using a Managed Identity to access the storage account? */ readonly storageUsesManagedIdentity: boolean; /** * A mapping of tags assigned to the Windows Function App. */ readonly tags: { [key: string]: string; }; /** * Whether backup and restore operations over the linked virtual network are enabled. */ readonly virtualNetworkBackupRestoreEnabled: boolean; /** * The subnet id which the Windows Function App is vNet Integrated with. */ readonly virtualNetworkSubnetId: string; /** * Are the default WebDeploy Basic Authentication publishing credentials enabled. */ readonly webdeployPublishBasicAuthenticationEnabled: boolean; } /** * Use this data source to access information about an existing Windows Function App. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.appservice.getWindowsFunctionApp({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Web` - 2023-12-01 */ export declare function getWindowsFunctionAppOutput(args: GetWindowsFunctionAppOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWindowsFunctionApp. */ export interface GetWindowsFunctionAppOutputArgs { /** * The name of this Windows Function App. */ name: pulumi.Input; /** * The name of the Resource Group where the Windows Function App exists. */ resourceGroupName: pulumi.Input; }