共用方式為


StackMajorVersion interface

Application stack major version.

Properties

applicationInsights

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.

minorVersions

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

Property Details

applicationInsights

true if this supports Application Insights; otherwise, false.

applicationInsights?: boolean

Property Value

boolean

appSettingsDictionary

Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name
appSettingsDictionary?: {[propertyName: string]: Record<string, unknown>}

Property Value

{[propertyName: string]: Record<string, unknown>}

displayVersion

Application stack major version (display only).

displayVersion?: string

Property Value

string

isDefault

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

isDefault?: boolean

Property Value

boolean

isDeprecated

true if this stack has been deprecated, otherwise false.

isDeprecated?: boolean

Property Value

boolean

isHidden

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

isHidden?: boolean

Property Value

boolean

isPreview

true if this stack is in Preview, otherwise false.

isPreview?: boolean

Property Value

boolean

minorVersions

Minor versions associated with the major version.

minorVersions?: StackMinorVersion[]

Property Value

runtimeVersion

Application stack major version (runtime only).

runtimeVersion?: string

Property Value

string

siteConfigPropertiesDictionary

Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0
siteConfigPropertiesDictionary?: {[propertyName: string]: Record<string, unknown>}

Property Value

{[propertyName: string]: Record<string, unknown>}