Share via


FunctionAppConfig Class

Definition

Function app configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.FunctionAppConfigTypeConverter))]
public class FunctionAppConfig : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IFunctionAppConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.FunctionAppConfigTypeConverter))>]
type FunctionAppConfig = class
    interface IFunctionAppConfig
    interface IJsonSerializable
Public Class FunctionAppConfig
Implements IFunctionAppConfig
Inheritance
FunctionAppConfig
Attributes
Implements

Constructors

FunctionAppConfig()

Creates an new FunctionAppConfig instance.

Properties

AuthenticationStorageAccountConnectionStringName

Use this property for StorageAccountConnectionString. Set the name of the app setting that has the storage account connection string. Do not set a value for this property when using other authentication type.

AuthenticationType

Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString.

AuthenticationUserAssignedIdentityResourceId

Use this property for UserAssignedIdentity. Set the resource ID of the identity. Do not set a value for this property when using other authentication type.

HttpPerInstanceConcurrency

The maximum number of concurrent HTTP trigger invocations per instance.

RuntimeName

Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom

RuntimeVersion

Function app runtime version. Example: 8 (for dotnet-isolated)

ScaleAndConcurrencyAlwaysReady

'Always Ready' configuration for the function app.

ScaleAndConcurrencyInstanceMemoryMb

Set the amount of memory allocated to each instance of the function app in MB. CPU and network bandwidth are allocated proportionally.

ScaleAndConcurrencyMaximumInstanceCount

The maximum number of instances for the function app.

StorageType

Property to select Azure Storage type. Available options: blobContainer.

StorageValue

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FunctionAppConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FunctionAppConfig.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IFunctionAppConfig.

FromJsonString(String)

Creates a new instance of FunctionAppConfig, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of FunctionAppConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to