StackMajorVersion Class

Definition

Application stack major version.

public class StackMajorVersion
type StackMajorVersion = class
Public Class StackMajorVersion
Inheritance
StackMajorVersion

Constructors

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.

Properties

ApplicationInsights

Gets or sets &lt;code&gt;true&lt;/code&gt; if this supports Application Insights; otherwise, &lt;code&gt;false&lt;/code&gt;.

AppSettingsDictionary

Gets or sets &lt;appSettings&gt; &lt;appSetting name="FUNCTIONS_WORKER_RUNTIME" value="dotnet" /&gt; &lt;/appSettings&gt; Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name

DisplayVersion

Gets or sets application stack major version (display only).

IsDefault

Gets or sets &lt;code&gt;true&lt;/code&gt; if this is the default major version; otherwise, &lt;code&gt;false&lt;/code&gt;.

IsDeprecated

Gets or sets &lt;code&gt;true&lt;/code&gt; if this stack has been deprecated, otherwise &lt;code&gt;false&lt;/code&gt;.

IsHidden

Gets or sets &lt;code&gt;true&lt;/code&gt; if this stack should be hidden for new customers on portal, otherwise &lt;code&gt;false&lt;/code&gt;.

IsPreview

Gets or sets &lt;code&gt;true&lt;/code&gt; if this stack is in Preview, otherwise &lt;code&gt;false&lt;/code&gt;.

MinorVersions

Gets or sets minor versions associated with the major version.

RuntimeVersion

Gets or sets application stack major version (runtime only).

SiteConfigPropertiesDictionary

Gets or sets &lt;siteConfigProperties&gt; &lt;siteConfigProperty name="Use32BitWorkerProcess" value="false" /&gt; &lt;/siteConfigProperties&gt; Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0

Applies to