你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmAppServiceModelFactory.FunctionAppRuntimeSettings 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
函数应用堆栈次要版本 (运行时仅) 。
- appInsightsSettings
- AppInsightsWebAppStackSettings
与次要版本关联的 Application Insights 设置。
- gitHubActionSettings
- GitHubActionWebAppStackSettings
GitHub Actions与次要版本关联的设置。
- appSettingsDictionary
- IReadOnlyDictionary<String,String>
与次要版本关联的应用程序设置。
- siteConfigPropertiesDictionary
- SiteConfigPropertiesDictionary
与次要版本关联的配置设置。
- supportedFunctionsExtensionVersions
- IEnumerable<String>
支持的 Functions 扩展版本列表。
- endOfLifeOn
- Nullable<DateTimeOffset>
次要版本的生命周期结束日期。
返回
用于模拟的新 FunctionAppRuntimeSettings 实例。