Dela via


StackMajorVersion Class

Application stack major version.

Inheritance
azure.mgmt.web._serialization.Model
StackMajorVersion

Constructor

StackMajorVersion(*, display_version: str | None = None, runtime_version: str | None = None, is_default: bool | None = None, minor_versions: List[_models.StackMinorVersion] | None = None, application_insights: bool | None = None, is_preview: bool | None = None, is_deprecated: bool | None = None, is_hidden: bool | None = None, app_settings_dictionary: Dict[str, MutableMapping[str, Any]] | None = None, site_config_properties_dictionary: Dict[str, MutableMapping[str, Any]] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
display_version
str

Application stack major version (display only).

runtime_version
str

Application stack major version (runtime only).

is_default

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

minor_versions

Minor versions associated with the major version.

application_insights

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

is_preview

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

is_deprecated

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

is_hidden

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

app_settings_dictionary
dict[str, <xref:JSON>]

:code:>>`<<

` Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack

name.

site_config_properties_dictionary
dict[str, <xref:JSON>]

:code:>>`<<

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

Variables

Name Description
display_version
str

Application stack major version (display only).

runtime_version
str

Application stack major version (runtime only).

is_default

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

minor_versions

Minor versions associated with the major version.

application_insights

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

is_preview

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

is_deprecated

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

is_hidden

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

app_settings_dictionary
dict[str, <xref:JSON>]

:code:>>`<<

` Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack

name.

site_config_properties_dictionary
dict[str, <xref:JSON>]

:code:>>`<<

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