StackMajorVersion Constructors

Definition

Overloads

StackMajorVersion()

Initializes a new instance of the StackMajorVersion class.

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

Initializes a new instance of the StackMajorVersion class.

StackMajorVersion()

Initializes a new instance of the StackMajorVersion class.

public StackMajorVersion ();
Public Sub New ()

Applies to

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

Initializes a new instance of the StackMajorVersion class.

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)

Parameters

displayVersion
String

Application stack major version (display only).

runtimeVersion
String

Application stack major version (runtime only).

isDefault
Nullable<Boolean>

<code>true</code> if this is the default major version; otherwise, <code>false</code>.

minorVersions
IList<StackMinorVersion>

Minor versions associated with the major version.

applicationInsights
Nullable<Boolean>

<code>true</code> if this supports Application Insights; otherwise, <code>false</code>.

isPreview
Nullable<Boolean>

<code>true</code> if this stack is in Preview, otherwise <code>false</code>.

isDeprecated
Nullable<Boolean>

<code>true</code> if this stack has been deprecated, otherwise <code>false</code>.

isHidden
Nullable<Boolean>

<code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.

appSettingsDictionary
IDictionary<String,Object>

<appSettings> <appSetting name="FUNCTIONS_WORKER_RUNTIME" value="dotnet" /> </appSettings> Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name

siteConfigPropertiesDictionary
IDictionary<String,Object>

<siteConfigProperties> <siteConfigProperty name="Use32BitWorkerProcess" value="false" /> </siteConfigProperties> Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0

Applies to