Sdílet prostřednictvím


ArmAppServiceModelFactory.FunctionAppRuntimeSettings Method

Definition

Initializes a new instance of FunctionAppRuntimeSettings.

public static Azure.ResourceManager.AppService.Models.FunctionAppRuntimeSettings FunctionAppRuntimeSettings (string runtimeVersion = default, bool? isRemoteDebuggingSupported = default, Azure.ResourceManager.AppService.Models.AppInsightsWebAppStackSettings appInsightsSettings = default, Azure.ResourceManager.AppService.Models.GitHubActionWebAppStackSettings gitHubActionSettings = default, System.Collections.Generic.IReadOnlyDictionary<string,string> appSettingsDictionary = default, Azure.ResourceManager.AppService.Models.SiteConfigPropertiesDictionary siteConfigPropertiesDictionary = default, System.Collections.Generic.IEnumerable<string> supportedFunctionsExtensionVersions = default, bool? isPreview = default, bool? isDeprecated = default, bool? isHidden = default, DateTimeOffset? endOfLifeOn = default, bool? isAutoUpdate = default, bool? isEarlyAccess = default, bool? isDefault = default);
static member FunctionAppRuntimeSettings : string * Nullable<bool> * Azure.ResourceManager.AppService.Models.AppInsightsWebAppStackSettings * Azure.ResourceManager.AppService.Models.GitHubActionWebAppStackSettings * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResourceManager.AppService.Models.SiteConfigPropertiesDictionary * seq<string> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.AppService.Models.FunctionAppRuntimeSettings
Public Shared Function FunctionAppRuntimeSettings (Optional runtimeVersion As String = Nothing, Optional isRemoteDebuggingSupported As Nullable(Of Boolean) = Nothing, Optional appInsightsSettings As AppInsightsWebAppStackSettings = Nothing, Optional gitHubActionSettings As GitHubActionWebAppStackSettings = Nothing, Optional appSettingsDictionary As IReadOnlyDictionary(Of String, String) = Nothing, Optional siteConfigPropertiesDictionary As SiteConfigPropertiesDictionary = Nothing, Optional supportedFunctionsExtensionVersions As IEnumerable(Of String) = Nothing, Optional isPreview As Nullable(Of Boolean) = Nothing, Optional isDeprecated As Nullable(Of Boolean) = Nothing, Optional isHidden As Nullable(Of Boolean) = Nothing, Optional endOfLifeOn As Nullable(Of DateTimeOffset) = Nothing, Optional isAutoUpdate As Nullable(Of Boolean) = Nothing, Optional isEarlyAccess As Nullable(Of Boolean) = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing) As FunctionAppRuntimeSettings

Parameters

runtimeVersion
String

Function App stack minor version (runtime only).

isRemoteDebuggingSupported
Nullable<Boolean>

<code>true</code> if remote debugging is supported for the stack; otherwise, <code>false</code>.

appInsightsSettings
AppInsightsWebAppStackSettings

Application Insights settings associated with the minor version.

gitHubActionSettings
GitHubActionWebAppStackSettings

GitHub Actions settings associated with the minor version.

appSettingsDictionary
IReadOnlyDictionary<String,String>

Application settings associated with the minor version.

siteConfigPropertiesDictionary
SiteConfigPropertiesDictionary

Configuration settings associated with the minor version.

supportedFunctionsExtensionVersions
IEnumerable<String>

List of supported Functions extension versions.

isPreview
Nullable<Boolean>

<code>true</code> if the stack is in preview; otherwise, <code>false</code>.

isDeprecated
Nullable<Boolean>

<code>true</code> if the stack is deprecated; otherwise, <code>false</code>.

isHidden
Nullable<Boolean>

<code>true</code> if the stack should be hidden; otherwise, <code>false</code>.

endOfLifeOn
Nullable<DateTimeOffset>

End-of-life date for the minor version.

isAutoUpdate
Nullable<Boolean>

<code>true</code> if the stack version is auto-updated; otherwise, <code>false</code>.

isEarlyAccess
Nullable<Boolean>

<code>true</code> if the minor version is early-access; otherwise, <code>false</code>.

isDefault
Nullable<Boolean>

<code>true</code> if the minor version the default; otherwise, <code>false</code>.

Returns

A new FunctionAppRuntimeSettings instance for mocking.

Applies to