StackMajorVersion Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. StackMajorVersion
- com.
Implements
public final class StackMajorVersion
implements JsonSerializable<StackMajorVersion>
Application stack major version.
Constructor Summary
Constructor | Description |
---|---|
StackMajorVersion() |
Creates an instance of Stack |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
appSettingsDictionary()
Get the app |
Boolean |
applicationInsights()
Get the application |
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. |
Stack |
withAppSettingsDictionary(Map<String,Object> appSettingsDictionary)
Set the app |
Stack |
withApplicationInsights(Boolean applicationInsights)
Set the application |
Stack |
withDisplayVersion(String displayVersion)
Set the display |
Stack |
withIsDefault(Boolean isDefault)
Set the is |
Stack |
withIsDeprecated(Boolean isDeprecated)
Set the is |
Stack |
withIsHidden(Boolean isHidden)
Set the is |
Stack |
withIsPreview(Boolean isPreview)
Set the is |
Stack |
withMinorVersions(List<StackMinorVersion> minorVersions)
Set the minor |
Stack |
withRuntimeVersion(String runtimeVersion)
Set the runtime |
Stack |
withSiteConfigPropertiesDictionary(Map<String,Object> siteConfigPropertiesDictionary)
Set the site |
Methods inherited from java.lang.Object
Constructor Details
StackMajorVersion
public StackMajorVersion()
Creates an instance of StackMajorVersion class.
Method Details
appSettingsDictionary
public Map
Get the appSettingsDictionary property: Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name.
Returns:
applicationInsights
public Boolean applicationInsights()
Get the applicationInsights property: true
if this supports Application Insights; otherwise, false
.
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
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
Get the siteConfigPropertiesDictionary property: Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAppSettingsDictionary
public StackMajorVersion withAppSettingsDictionary(Map
Set the appSettingsDictionary property: Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name.
Parameters:
Returns:
withApplicationInsights
public StackMajorVersion withApplicationInsights(Boolean applicationInsights)
Set the applicationInsights property: true
if this supports Application Insights; otherwise, false
.
Parameters:
Returns:
withDisplayVersion
public StackMajorVersion withDisplayVersion(String displayVersion)
Set the displayVersion property: Application stack major version (display only).
Parameters:
Returns:
withIsDefault
public StackMajorVersion withIsDefault(Boolean isDefault)
Set the isDefault property: true
if this is the default major version; otherwise, false
.
Parameters:
Returns:
withIsDeprecated
public StackMajorVersion withIsDeprecated(Boolean isDeprecated)
Set the isDeprecated property: true
if this stack has been deprecated, otherwise false
.
Parameters:
Returns:
withIsHidden
public StackMajorVersion withIsHidden(Boolean isHidden)
Set the isHidden property: true
if this stack should be hidden for new customers on portal, otherwise false
.
Parameters:
Returns:
withIsPreview
public StackMajorVersion withIsPreview(Boolean isPreview)
Set the isPreview property: true
if this stack is in Preview, otherwise false
.
Parameters:
Returns:
withMinorVersions
public StackMajorVersion withMinorVersions(List
Set the minorVersions property: Minor versions associated with the major version.
Parameters:
Returns:
withRuntimeVersion
public StackMajorVersion withRuntimeVersion(String runtimeVersion)
Set the runtimeVersion property: Application stack major version (runtime only).
Parameters:
Returns:
withSiteConfigPropertiesDictionary
public StackMajorVersion withSiteConfigPropertiesDictionary(Map
Set the siteConfigPropertiesDictionary property: Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0.
Parameters:
Returns:
Applies to
Azure SDK for Java