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

ArmAppServiceModelFactory.WebAppRuntimeSettings 方法

定义

初始化 WebAppRuntimeSettings 的新实例。

public static Azure.ResourceManager.AppService.Models.WebAppRuntimeSettings WebAppRuntimeSettings (string runtimeVersion = default, bool? isRemoteDebuggingSupported = default, Azure.ResourceManager.AppService.Models.AppInsightsWebAppStackSettings appInsightsSettings = default, Azure.ResourceManager.AppService.Models.GitHubActionWebAppStackSettings gitHubActionSettings = default, bool? isPreview = default, bool? isDeprecated = default, bool? isHidden = default, DateTimeOffset? endOfLifeOn = default, bool? isAutoUpdate = default, bool? isEarlyAccess = default);
static member WebAppRuntimeSettings : string * Nullable<bool> * Azure.ResourceManager.AppService.Models.AppInsightsWebAppStackSettings * Azure.ResourceManager.AppService.Models.GitHubActionWebAppStackSettings * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.AppService.Models.WebAppRuntimeSettings
Public Shared Function WebAppRuntimeSettings (Optional runtimeVersion As String = Nothing, Optional isRemoteDebuggingSupported As Nullable(Of Boolean) = Nothing, Optional appInsightsSettings As AppInsightsWebAppStackSettings = Nothing, Optional gitHubActionSettings As GitHubActionWebAppStackSettings = 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) As WebAppRuntimeSettings

参数

runtimeVersion
String

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

isRemoteDebuggingSupported
Nullable<Boolean>

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

appInsightsSettings
AppInsightsWebAppStackSettings

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

gitHubActionSettings
GitHubActionWebAppStackSettings

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

isPreview
Nullable<Boolean>

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

isDeprecated
Nullable<Boolean>

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

isHidden
Nullable<Boolean>

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

endOfLifeOn
Nullable<DateTimeOffset>

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

isAutoUpdate
Nullable<Boolean>

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

isEarlyAccess
Nullable<Boolean>

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

返回

用于模拟的新 WebAppRuntimeSettings 实例。

适用于