Share via


StackMajorVersion Class

Definition

Application stack major version.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.StackMajorVersionTypeConverter))]
public class StackMajorVersion : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IStackMajorVersion
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.StackMajorVersionTypeConverter))>]
type StackMajorVersion = class
    interface IStackMajorVersion
    interface IJsonSerializable
Public Class StackMajorVersion
Implements IStackMajorVersion
Inheritance
StackMajorVersion
Attributes
Implements

Constructors

StackMajorVersion()

Creates an new StackMajorVersion instance.

Properties

ApplicationInsight

true if this supports Application Insights; otherwise, false.

AppSettingsDictionary Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name
DisplayVersion

Application stack major version (display only).

IsDefault

true if this is the default major version; otherwise, false.

IsDeprecated

true if this stack has been deprecated, otherwise false.

IsHidden

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

IsPreview

true if this stack is in Preview, otherwise false.

MinorVersion

Minor versions associated with the major version.

RuntimeVersion

Application stack major version (runtime only).

SiteConfigPropertiesDictionary Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StackMajorVersion.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StackMajorVersion.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IStackMajorVersion.

FromJsonString(String)

Creates a new instance of StackMajorVersion, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of StackMajorVersion into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to