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