import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Function App Running on a Flex Consumption Plan. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleAccount = new azure.storage.Account("example", { * name: "examplelinuxfunctionappsa", * resourceGroupName: example.name, * location: example.location, * accountTier: "Standard", * accountReplicationType: "LRS", * }); * const exampleContainer = new azure.storage.Container("example", { * name: "example-flexcontainer", * storageAccountId: exampleAccount.id, * containerAccessType: "private", * }); * const exampleServicePlan = new azure.appservice.ServicePlan("example", { * name: "example-app-service-plan", * resourceGroupName: example.name, * location: example.location, * skuName: "FC1", * osType: "Linux", * }); * const exampleAppFlexConsumption = new azure.appservice.AppFlexConsumption("example", { * name: "example-linux-function-app", * resourceGroupName: example.name, * location: example.location, * servicePlanId: exampleServicePlan.id, * storageContainerType: "blobContainer", * storageContainerEndpoint: pulumi.interpolate`${exampleAccount.primaryBlobEndpoint}${exampleContainer.name}`, * storageAuthenticationType: "StorageAccountConnectionString", * storageAccessKey: exampleAccount.primaryAccessKey, * runtimeName: "node", * runtimeVersion: "20", * maximumInstanceCount: 50, * instanceMemoryInMb: 2048, * siteConfig: {}, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Web` - 2023-12-01, 2023-01-01 * * ## Import * * The Function Apps can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appservice/appFlexConsumption:AppFlexConsumption example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1 * ``` */ export declare class AppFlexConsumption extends pulumi.CustomResource { /** * Get an existing AppFlexConsumption resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AppFlexConsumptionState, opts?: pulumi.CustomResourceOptions): AppFlexConsumption; /** * Returns true if the given object is an instance of AppFlexConsumption. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AppFlexConsumption; /** * One or more `alwaysReady` blocks as defined below. */ readonly alwaysReadies: pulumi.Output; /** * A map of key-value pairs for [App Settings](https://docs.microsoft.com/azure/azure-functions/functions-app-settings) and custom values. * * > **Note:** For storage related settings, please use related properties that are available such as `storageAccessKey`, terraform will assign the value to keys such as `WEBSITE_CONTENTAZUREFILECONNECTIONSTRING`, `AzureWebJobsStorage` in app_setting. * * > **Note:** For application insight related settings, please use `applicationInsightsConnectionString` and `applicationInsightsKey`, terraform will assign the value to the key `APPINSIGHTS_INSTRUMENTATIONKEY` and `APPLICATIONINSIGHTS_CONNECTION_STRING` in app setting. * * > **Note:** For health check related settings, please use `healthCheckEvictionTimeInMin`, terraform will assign the value to the key `WEBSITE_HEALTHCHECK_MAXPINGFAILURES` in app setting. * * > **Note:** For those app settings that are deprecated or replaced by another properties for flex consumption function app, please check https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings. */ readonly appSettings: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A `authSettings` block as defined below. */ readonly authSettings: pulumi.Output; /** * An `authSettingsV2` block as defined below. */ readonly authSettingsV2: pulumi.Output; /** * Should the function app use Client Certificates. */ readonly clientCertificateEnabled: pulumi.Output; /** * Paths to exclude when using client certificates, separated by ; */ readonly clientCertificateExclusionPaths: pulumi.Output; /** * The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. Defaults to `Optional`. */ readonly clientCertificateMode: pulumi.Output; /** * One or more `connectionString` blocks as defined below. */ readonly connectionStrings: pulumi.Output; /** * The identifier used by App Service to perform domain ownership verification via DNS TXT record. */ readonly customDomainVerificationId: pulumi.Output; /** * The default hostname of the Linux Function App. */ readonly defaultHostname: pulumi.Output; /** * Is the Function App enabled? Defaults to `true`. */ readonly enabled: pulumi.Output; /** * The ID of the App Service Environment used by Function App. */ readonly hostingEnvironmentId: pulumi.Output; /** * The Http concurrency of the instances on which your app runs. The supported value are from `1` to `1000`. * * > **Note:** A value will be assigned by the system if `httpConcurrency` is not specified. */ readonly httpConcurrency: pulumi.Output; /** * Is Https Connection enforced to the function app. Defaults to `false` */ readonly httpsOnly: pulumi.Output; /** * A `identity` block as defined below. */ readonly identity: pulumi.Output; /** * The memory size of the instances on which your app runs. Reference the Microsoft Documentation for the [currently supported values](https://learn.microsoft.com/en-us/azure/azure-functions/flex-consumption-plan#instance-memory). Defaults to `2048`. */ readonly instanceMemoryInMb: pulumi.Output; /** * The Kind value for this Linux Function App. */ readonly kind: pulumi.Output; /** * The Azure Region where the Function App should exist. Changing this forces a new Function App to be created. */ readonly location: pulumi.Output; /** * The number of workers this function app can scale out to. The supported value are from `1` to `1000`. */ readonly maximumInstanceCount: pulumi.Output; /** * The name which should be used for this Function App. Changing this forces a new Function App to be created. Limit the function name to 32 characters to avoid naming collisions. For more information about [Function App naming rule](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftweb) and [Host ID Collisions](https://github.com/Azure/azure-functions-host/wiki/Host-IDs#host-id-collisions) */ readonly name: pulumi.Output; /** * A list of outbound IP addresses. For example `["52.23.25.3", "52.143.43.12"]` */ readonly outboundIpAddressLists: pulumi.Output; /** * A comma separated list of outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12`. */ readonly outboundIpAddresses: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * Should public network access be enabled for the Function App. Defaults to `true`. */ readonly publicNetworkAccessEnabled: pulumi.Output; /** * The name of the Resource Group where the Function App should exist. Changing this forces a new Linux Function App to be created. */ readonly resourceGroupName: pulumi.Output; /** * The Runtime of the Linux Function App. Possible values are `node`, `dotnet-isolated`, `powershell`, `python`, `java` and `custom`. */ readonly runtimeName: pulumi.Output; /** * The Runtime version of the Linux Function App. Accepted values varies with the value of `runtimeName`. * * > **Note:** To get the most up-to-date list of supported versions, use command `az functionapp list-runtimes` or visit [Supported languages in Azure Functions](https://learn.microsoft.com/en-us/azure/azure-functions/supported-languages) */ readonly runtimeVersion: pulumi.Output; /** * The ID of the App Service Plan within which to create this Function App. Changing this forces a new Linux Function App to be created. */ readonly servicePlanId: pulumi.Output; /** * A `siteConfig` block as defined below. */ readonly siteConfig: pulumi.Output; /** * A `siteCredential` block as defined below. */ readonly siteCredentials: pulumi.Output; /** * A `stickySettings` block as defined below. */ readonly stickySettings: pulumi.Output; /** * The access key which will be used to access the backend storage account for the Function App. * * > **Note:** The `storageAccessKey` must be specified when `storageAuthenticationType` is set to `StorageAccountConnectionString`. */ readonly storageAccessKey: pulumi.Output; /** * The authentication type which will be used to access the backend storage account for the Function App. Possible values are `StorageAccountConnectionString`, `SystemAssignedIdentity`, and `UserAssignedIdentity`. */ readonly storageAuthenticationType: pulumi.Output; /** * The backend storage container endpoint which will be used by this Function App. */ readonly storageContainerEndpoint: pulumi.Output; /** * The storage container type used for the Function App. The current supported type is `blobContainer`. */ readonly storageContainerType: pulumi.Output; /** * The user assigned Managed Identity to access the storage account. Conflicts with `storageAccessKey`. * * > **Note:** The `storageUserAssignedIdentityId` must be specified when `storageAuthenticationType` is set to `UserAssignedIdentity`. */ readonly storageUserAssignedIdentityId: pulumi.Output; /** * A mapping of tags which should be assigned to the Linux Function App. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The subnet id which will be used by this Function App for [regional virtual network integration](https://docs.microsoft.com/en-us/azure/app-service/overview-vnet-integration#regional-virtual-network-integration). * * > **Note:** The AzureRM Terraform provider provides regional virtual network integration via the standalone resource azure.appservice.VirtualNetworkSwiftConnection and in-line within this resource using the `virtualNetworkSubnetId` property. You cannot use both methods simultaneously. If the virtual network is set via the resource `appServiceVirtualNetworkSwiftConnection` then `ignoreChanges` should be used in the function app configuration. * * > **Note:** Assigning the `virtualNetworkSubnetId` property requires [RBAC permissions on the subnet](https://docs.microsoft.com/en-us/azure/app-service/overview-vnet-integration#permissions) */ readonly virtualNetworkSubnetId: pulumi.Output; /** * Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to `true`. * * > **Note:** Setting this value to true will disable the ability to use `zipDeployFile` which currently relies on the default publishing profile. */ readonly webdeployPublishBasicAuthenticationEnabled: pulumi.Output; /** * The local path and filename of the Zip packaged application to deploy to this Linux Function App. * * > **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `appSettings`. Refer to the [Azure docs](https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies) for further details. */ readonly zipDeployFile: pulumi.Output; /** * Create a AppFlexConsumption resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AppFlexConsumptionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AppFlexConsumption resources. */ export interface AppFlexConsumptionState { /** * One or more `alwaysReady` blocks as defined below. */ alwaysReadies?: pulumi.Input[]>; /** * A map of key-value pairs for [App Settings](https://docs.microsoft.com/azure/azure-functions/functions-app-settings) and custom values. * * > **Note:** For storage related settings, please use related properties that are available such as `storageAccessKey`, terraform will assign the value to keys such as `WEBSITE_CONTENTAZUREFILECONNECTIONSTRING`, `AzureWebJobsStorage` in app_setting. * * > **Note:** For application insight related settings, please use `applicationInsightsConnectionString` and `applicationInsightsKey`, terraform will assign the value to the key `APPINSIGHTS_INSTRUMENTATIONKEY` and `APPLICATIONINSIGHTS_CONNECTION_STRING` in app setting. * * > **Note:** For health check related settings, please use `healthCheckEvictionTimeInMin`, terraform will assign the value to the key `WEBSITE_HEALTHCHECK_MAXPINGFAILURES` in app setting. * * > **Note:** For those app settings that are deprecated or replaced by another properties for flex consumption function app, please check https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings. */ appSettings?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `authSettings` block as defined below. */ authSettings?: pulumi.Input; /** * An `authSettingsV2` block as defined below. */ authSettingsV2?: pulumi.Input; /** * Should the function app use Client Certificates. */ clientCertificateEnabled?: pulumi.Input; /** * Paths to exclude when using client certificates, separated by ; */ clientCertificateExclusionPaths?: pulumi.Input; /** * The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. Defaults to `Optional`. */ clientCertificateMode?: pulumi.Input; /** * One or more `connectionString` blocks as defined below. */ connectionStrings?: pulumi.Input[]>; /** * The identifier used by App Service to perform domain ownership verification via DNS TXT record. */ customDomainVerificationId?: pulumi.Input; /** * The default hostname of the Linux Function App. */ defaultHostname?: pulumi.Input; /** * Is the Function App enabled? Defaults to `true`. */ enabled?: pulumi.Input; /** * The ID of the App Service Environment used by Function App. */ hostingEnvironmentId?: pulumi.Input; /** * The Http concurrency of the instances on which your app runs. The supported value are from `1` to `1000`. * * > **Note:** A value will be assigned by the system if `httpConcurrency` is not specified. */ httpConcurrency?: pulumi.Input; /** * Is Https Connection enforced to the function app. Defaults to `false` */ httpsOnly?: pulumi.Input; /** * A `identity` block as defined below. */ identity?: pulumi.Input; /** * The memory size of the instances on which your app runs. Reference the Microsoft Documentation for the [currently supported values](https://learn.microsoft.com/en-us/azure/azure-functions/flex-consumption-plan#instance-memory). Defaults to `2048`. */ instanceMemoryInMb?: pulumi.Input; /** * The Kind value for this Linux Function App. */ kind?: pulumi.Input; /** * The Azure Region where the Function App should exist. Changing this forces a new Function App to be created. */ location?: pulumi.Input; /** * The number of workers this function app can scale out to. The supported value are from `1` to `1000`. */ maximumInstanceCount?: pulumi.Input; /** * The name which should be used for this Function App. Changing this forces a new Function App to be created. Limit the function name to 32 characters to avoid naming collisions. For more information about [Function App naming rule](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftweb) and [Host ID Collisions](https://github.com/Azure/azure-functions-host/wiki/Host-IDs#host-id-collisions) */ name?: pulumi.Input; /** * A list of outbound IP addresses. For example `["52.23.25.3", "52.143.43.12"]` */ outboundIpAddressLists?: pulumi.Input[]>; /** * A comma separated list of outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12`. */ outboundIpAddresses?: pulumi.Input; /** * 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"]`. */ possibleOutboundIpAddressLists?: pulumi.Input[]>; /** * 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`. */ possibleOutboundIpAddresses?: pulumi.Input; /** * Should public network access be enabled for the Function App. Defaults to `true`. */ publicNetworkAccessEnabled?: pulumi.Input; /** * The name of the Resource Group where the Function App should exist. Changing this forces a new Linux Function App to be created. */ resourceGroupName?: pulumi.Input; /** * The Runtime of the Linux Function App. Possible values are `node`, `dotnet-isolated`, `powershell`, `python`, `java` and `custom`. */ runtimeName?: pulumi.Input; /** * The Runtime version of the Linux Function App. Accepted values varies with the value of `runtimeName`. * * > **Note:** To get the most up-to-date list of supported versions, use command `az functionapp list-runtimes` or visit [Supported languages in Azure Functions](https://learn.microsoft.com/en-us/azure/azure-functions/supported-languages) */ runtimeVersion?: pulumi.Input; /** * The ID of the App Service Plan within which to create this Function App. Changing this forces a new Linux Function App to be created. */ servicePlanId?: pulumi.Input; /** * A `siteConfig` block as defined below. */ siteConfig?: pulumi.Input; /** * A `siteCredential` block as defined below. */ siteCredentials?: pulumi.Input[]>; /** * A `stickySettings` block as defined below. */ stickySettings?: pulumi.Input; /** * The access key which will be used to access the backend storage account for the Function App. * * > **Note:** The `storageAccessKey` must be specified when `storageAuthenticationType` is set to `StorageAccountConnectionString`. */ storageAccessKey?: pulumi.Input; /** * The authentication type which will be used to access the backend storage account for the Function App. Possible values are `StorageAccountConnectionString`, `SystemAssignedIdentity`, and `UserAssignedIdentity`. */ storageAuthenticationType?: pulumi.Input; /** * The backend storage container endpoint which will be used by this Function App. */ storageContainerEndpoint?: pulumi.Input; /** * The storage container type used for the Function App. The current supported type is `blobContainer`. */ storageContainerType?: pulumi.Input; /** * The user assigned Managed Identity to access the storage account. Conflicts with `storageAccessKey`. * * > **Note:** The `storageUserAssignedIdentityId` must be specified when `storageAuthenticationType` is set to `UserAssignedIdentity`. */ storageUserAssignedIdentityId?: pulumi.Input; /** * A mapping of tags which should be assigned to the Linux Function App. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The subnet id which will be used by this Function App for [regional virtual network integration](https://docs.microsoft.com/en-us/azure/app-service/overview-vnet-integration#regional-virtual-network-integration). * * > **Note:** The AzureRM Terraform provider provides regional virtual network integration via the standalone resource azure.appservice.VirtualNetworkSwiftConnection and in-line within this resource using the `virtualNetworkSubnetId` property. You cannot use both methods simultaneously. If the virtual network is set via the resource `appServiceVirtualNetworkSwiftConnection` then `ignoreChanges` should be used in the function app configuration. * * > **Note:** Assigning the `virtualNetworkSubnetId` property requires [RBAC permissions on the subnet](https://docs.microsoft.com/en-us/azure/app-service/overview-vnet-integration#permissions) */ virtualNetworkSubnetId?: pulumi.Input; /** * Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to `true`. * * > **Note:** Setting this value to true will disable the ability to use `zipDeployFile` which currently relies on the default publishing profile. */ webdeployPublishBasicAuthenticationEnabled?: pulumi.Input; /** * The local path and filename of the Zip packaged application to deploy to this Linux Function App. * * > **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `appSettings`. Refer to the [Azure docs](https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies) for further details. */ zipDeployFile?: pulumi.Input; } /** * The set of arguments for constructing a AppFlexConsumption resource. */ export interface AppFlexConsumptionArgs { /** * One or more `alwaysReady` blocks as defined below. */ alwaysReadies?: pulumi.Input[]>; /** * A map of key-value pairs for [App Settings](https://docs.microsoft.com/azure/azure-functions/functions-app-settings) and custom values. * * > **Note:** For storage related settings, please use related properties that are available such as `storageAccessKey`, terraform will assign the value to keys such as `WEBSITE_CONTENTAZUREFILECONNECTIONSTRING`, `AzureWebJobsStorage` in app_setting. * * > **Note:** For application insight related settings, please use `applicationInsightsConnectionString` and `applicationInsightsKey`, terraform will assign the value to the key `APPINSIGHTS_INSTRUMENTATIONKEY` and `APPLICATIONINSIGHTS_CONNECTION_STRING` in app setting. * * > **Note:** For health check related settings, please use `healthCheckEvictionTimeInMin`, terraform will assign the value to the key `WEBSITE_HEALTHCHECK_MAXPINGFAILURES` in app setting. * * > **Note:** For those app settings that are deprecated or replaced by another properties for flex consumption function app, please check https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings. */ appSettings?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `authSettings` block as defined below. */ authSettings?: pulumi.Input; /** * An `authSettingsV2` block as defined below. */ authSettingsV2?: pulumi.Input; /** * Should the function app use Client Certificates. */ clientCertificateEnabled?: pulumi.Input; /** * Paths to exclude when using client certificates, separated by ; */ clientCertificateExclusionPaths?: pulumi.Input; /** * The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. Defaults to `Optional`. */ clientCertificateMode?: pulumi.Input; /** * One or more `connectionString` blocks as defined below. */ connectionStrings?: pulumi.Input[]>; /** * Is the Function App enabled? Defaults to `true`. */ enabled?: pulumi.Input; /** * The Http concurrency of the instances on which your app runs. The supported value are from `1` to `1000`. * * > **Note:** A value will be assigned by the system if `httpConcurrency` is not specified. */ httpConcurrency?: pulumi.Input; /** * Is Https Connection enforced to the function app. Defaults to `false` */ httpsOnly?: pulumi.Input; /** * A `identity` block as defined below. */ identity?: pulumi.Input; /** * The memory size of the instances on which your app runs. Reference the Microsoft Documentation for the [currently supported values](https://learn.microsoft.com/en-us/azure/azure-functions/flex-consumption-plan#instance-memory). Defaults to `2048`. */ instanceMemoryInMb?: pulumi.Input; /** * The Azure Region where the Function App should exist. Changing this forces a new Function App to be created. */ location?: pulumi.Input; /** * The number of workers this function app can scale out to. The supported value are from `1` to `1000`. */ maximumInstanceCount?: pulumi.Input; /** * The name which should be used for this Function App. Changing this forces a new Function App to be created. Limit the function name to 32 characters to avoid naming collisions. For more information about [Function App naming rule](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftweb) and [Host ID Collisions](https://github.com/Azure/azure-functions-host/wiki/Host-IDs#host-id-collisions) */ name?: pulumi.Input; /** * Should public network access be enabled for the Function App. Defaults to `true`. */ publicNetworkAccessEnabled?: pulumi.Input; /** * The name of the Resource Group where the Function App should exist. Changing this forces a new Linux Function App to be created. */ resourceGroupName: pulumi.Input; /** * The Runtime of the Linux Function App. Possible values are `node`, `dotnet-isolated`, `powershell`, `python`, `java` and `custom`. */ runtimeName: pulumi.Input; /** * The Runtime version of the Linux Function App. Accepted values varies with the value of `runtimeName`. * * > **Note:** To get the most up-to-date list of supported versions, use command `az functionapp list-runtimes` or visit [Supported languages in Azure Functions](https://learn.microsoft.com/en-us/azure/azure-functions/supported-languages) */ runtimeVersion: pulumi.Input; /** * The ID of the App Service Plan within which to create this Function App. Changing this forces a new Linux Function App to be created. */ servicePlanId: pulumi.Input; /** * A `siteConfig` block as defined below. */ siteConfig: pulumi.Input; /** * A `stickySettings` block as defined below. */ stickySettings?: pulumi.Input; /** * The access key which will be used to access the backend storage account for the Function App. * * > **Note:** The `storageAccessKey` must be specified when `storageAuthenticationType` is set to `StorageAccountConnectionString`. */ storageAccessKey?: pulumi.Input; /** * The authentication type which will be used to access the backend storage account for the Function App. Possible values are `StorageAccountConnectionString`, `SystemAssignedIdentity`, and `UserAssignedIdentity`. */ storageAuthenticationType: pulumi.Input; /** * The backend storage container endpoint which will be used by this Function App. */ storageContainerEndpoint: pulumi.Input; /** * The storage container type used for the Function App. The current supported type is `blobContainer`. */ storageContainerType: pulumi.Input; /** * The user assigned Managed Identity to access the storage account. Conflicts with `storageAccessKey`. * * > **Note:** The `storageUserAssignedIdentityId` must be specified when `storageAuthenticationType` is set to `UserAssignedIdentity`. */ storageUserAssignedIdentityId?: pulumi.Input; /** * A mapping of tags which should be assigned to the Linux Function App. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The subnet id which will be used by this Function App for [regional virtual network integration](https://docs.microsoft.com/en-us/azure/app-service/overview-vnet-integration#regional-virtual-network-integration). * * > **Note:** The AzureRM Terraform provider provides regional virtual network integration via the standalone resource azure.appservice.VirtualNetworkSwiftConnection and in-line within this resource using the `virtualNetworkSubnetId` property. You cannot use both methods simultaneously. If the virtual network is set via the resource `appServiceVirtualNetworkSwiftConnection` then `ignoreChanges` should be used in the function app configuration. * * > **Note:** Assigning the `virtualNetworkSubnetId` property requires [RBAC permissions on the subnet](https://docs.microsoft.com/en-us/azure/app-service/overview-vnet-integration#permissions) */ virtualNetworkSubnetId?: pulumi.Input; /** * Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to `true`. * * > **Note:** Setting this value to true will disable the ability to use `zipDeployFile` which currently relies on the default publishing profile. */ webdeployPublishBasicAuthenticationEnabled?: pulumi.Input; /** * The local path and filename of the Zip packaged application to deploy to this Linux Function App. * * > **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `appSettings`. Refer to the [Azure docs](https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies) for further details. */ zipDeployFile?: pulumi.Input; }