StackMajorVersion Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. StackMajorVersion
- com.
Implements
public final class StackMajorVersion
implements JsonSerializable<StackMajorVersion>
Application stack major version.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
applicationInsights()
Get the application |
| Map<String,Object> |
appSettingsDictionary()
Get the app |
| String |
displayVersion()
Get the display |
|
static
Stack |
fromJson(JsonReader jsonReader)
Reads an instance of Stack |
| Boolean |
isDefault()
Get the is |
| Boolean |
isDeprecated()
Get the is |
| Boolean |
isHidden()
Get the is |
| Boolean |
isPreview()
Get the is |
|
List<Stack |
minorVersions()
Get the minor |
| String |
runtimeVersion()
Get the runtime |
| Map<String,Object> |
siteConfigPropertiesDictionary()
Get the site |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
applicationInsights
public Boolean applicationInsights()
Get the applicationInsights property: true if this supports Application Insights; otherwise, false.
Returns:
appSettingsDictionary
public Map<String,Object> appSettingsDictionary()
Get the appSettingsDictionary property: <appSettings> <appSetting name="FUNCTIONS\_WORKER\_RUNTIME" value="dotnet" /> </appSettings> Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name.
Returns:
displayVersion
public String displayVersion()
Get the displayVersion property: Application stack major version (display only).
Returns:
fromJson
public static StackMajorVersion fromJson(JsonReader jsonReader)
Reads an instance of StackMajorVersion from the JsonReader.
Parameters:
Returns:
Throws:
isDefault
public Boolean isDefault()
Get the isDefault property: true if this is the default major version; otherwise, false.
Returns:
isDeprecated
public Boolean isDeprecated()
Get the isDeprecated property: true if this stack has been deprecated, otherwise false.
Returns:
isHidden
public Boolean isHidden()
Get the isHidden property: true if this stack should be hidden for new customers on portal, otherwise false.
Returns:
isPreview
public Boolean isPreview()
Get the isPreview property: true if this stack is in Preview, otherwise false.
Returns:
minorVersions
public List<StackMinorVersion> minorVersions()
Get the minorVersions property: Minor versions associated with the major version.
Returns:
runtimeVersion
public String runtimeVersion()
Get the runtimeVersion property: Application stack major version (runtime only).
Returns:
siteConfigPropertiesDictionary
public Map<String,Object> siteConfigPropertiesDictionary()
Get the siteConfigPropertiesDictionary property: <siteConfigProperties> <siteConfigProperty name="Use32BitWorkerProcess" value="false" /> </siteConfigProperties> Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0.
Returns:
toJson
validate
public void validate()
Validates the instance.