共用方式為


ArmAppServiceModelFactory.WebAppRuntimeSettings Method

Definition

Initializes a new instance of 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

Parameters

runtimeVersion
String

Web 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.

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>.

Returns

A new WebAppRuntimeSettings instance for mocking.

Applies to