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

StackMajorVersion 构造函数

定义

重载

StackMajorVersion()

初始化 StackMajorVersion 类的新实例。

StackMajorVersion(String, String, Nullable<Boolean>, IList<StackMinorVersion>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IDictionary<String,Object>, IDictionary<String,Object>)

初始化 StackMajorVersion 类的新实例。

StackMajorVersion()

初始化 StackMajorVersion 类的新实例。

public StackMajorVersion ();
Public Sub New ()

适用于

StackMajorVersion(String, String, Nullable<Boolean>, IList<StackMinorVersion>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IDictionary<String,Object>, IDictionary<String,Object>)

初始化 StackMajorVersion 类的新实例。

public StackMajorVersion (string displayVersion = default, string runtimeVersion = default, bool? isDefault = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.StackMinorVersion> minorVersions = default, bool? applicationInsights = default, bool? isPreview = default, bool? isDeprecated = default, bool? isHidden = default, System.Collections.Generic.IDictionary<string,object> appSettingsDictionary = default, System.Collections.Generic.IDictionary<string,object> siteConfigPropertiesDictionary = default);
new Microsoft.Azure.Management.WebSites.Models.StackMajorVersion : string * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.StackMinorVersion> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.Azure.Management.WebSites.Models.StackMajorVersion
Public Sub New (Optional displayVersion As String = Nothing, Optional runtimeVersion As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional minorVersions As IList(Of StackMinorVersion) = Nothing, Optional applicationInsights As Nullable(Of Boolean) = Nothing, Optional isPreview As Nullable(Of Boolean) = Nothing, Optional isDeprecated As Nullable(Of Boolean) = Nothing, Optional isHidden As Nullable(Of Boolean) = Nothing, Optional appSettingsDictionary As IDictionary(Of String, Object) = Nothing, Optional siteConfigPropertiesDictionary As IDictionary(Of String, Object) = Nothing)

参数

displayVersion
String

应用程序堆栈主版本 (仅显示) 。

runtimeVersion
String

应用程序堆栈主版本 (运行时仅) 。

isDefault
Nullable<Boolean>

<如果这是默认的主版本,则为代码>true/code>;否则为 <false></code><。

minorVersions
IList<StackMinorVersion>

与主版本关联的次要版本。

applicationInsights
Nullable<Boolean>

<如果这支持 Application Insights,则为代码>true/code>;否则为<代码>false</code><。

isPreview
Nullable<Boolean>

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

isDeprecated
Nullable<Boolean>

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

isHidden
Nullable<Boolean>

<如果此堆栈应隐藏在门户中的新客户,则 code 为 true</code>,否则<为>false</code>。>

appSettingsDictionary
IDictionary<String,Object>

<appSettings><appSetting name=“FUNCTIONS_WORKER_RUNTIME” value=“dotnet” /></appSettings> 示例:所有函数应用都需要 AppSetting:“FUNCTIONS_WORKER_RUNTIME”才能设置堆栈名称

siteConfigPropertiesDictionary
IDictionary<String,Object>

<siteConfigProperties siteConfigProperty><name=“Use32BitWorkerProcess” value=“false” /></siteConfigProperties> 示例:所有 Linux 函数应用,需要 Use32BitWorkerProcess 设置为 0

适用于