你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmAppServiceModelFactory.FunctionAppRuntimeSettings 方法

定义

初始化 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

参数

runtimeVersion
String

函数应用堆栈次要版本 (运行时仅) 。

isRemoteDebuggingSupported
Nullable<Boolean>

<如果堆栈支持远程调试,则为代码 true/code>;否则为 <false<>/code>。<>

appInsightsSettings
AppInsightsWebAppStackSettings

与次要版本关联的 Application Insights 设置。

gitHubActionSettings
GitHubActionWebAppStackSettings

GitHub Actions与次要版本关联的设置。

appSettingsDictionary
IReadOnlyDictionary<String,String>

与次要版本关联的应用程序设置。

siteConfigPropertiesDictionary
SiteConfigPropertiesDictionary

与次要版本关联的配置设置。

supportedFunctionsExtensionVersions
IEnumerable<String>

支持的 Functions 扩展版本列表。

isPreview
Nullable<Boolean>

<如果堆栈处于预览状态,则为代码 true/code>;否则为 <false<>/code>。<>

isDeprecated
Nullable<Boolean>

<如果堆栈已弃用,则为代码>true/code>;否则为<代码>false</code><。

isHidden
Nullable<Boolean>

<如果应隐藏堆栈,则为代码>true/code>;否则为 <false></code><。

endOfLifeOn
Nullable<DateTimeOffset>

次要版本的生命周期结束日期。

isAutoUpdate
Nullable<Boolean>

<如果堆栈版本自动更新,则为代码 true/code>;否则为 <false<>/code>。<>

isEarlyAccess
Nullable<Boolean>

<如果次要版本是早期访问,则为代码>true/code>;否则为 <false></code><。

isDefault
Nullable<Boolean>

<如果次要版本为默认值,则为代码 true/code>;否则为 <false<>/code>。<>

返回

用于模拟的新 FunctionAppRuntimeSettings 实例。

适用于