Class FunctionsRuntime
java.lang.Object
com.azure.resourcemanager.appservice.models.FunctionsRuntime
Function app runtime name and version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: Function app runtime name.voidvalidate()Validates the instance.version()Get the version property: Function app runtime version.withName(RuntimeName name) Set the name property: Function app runtime name.withVersion(String version) Set the version property: Function app runtime version.
-
Constructor Details
-
FunctionsRuntime
public FunctionsRuntime()Creates an instance of FunctionsRuntime class.
-
-
Method Details
-
name
Get the name property: Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom.- Returns:
- the name value.
-
withName
Set the name property: Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom.- Parameters:
name- the name value to set.- Returns:
- the FunctionsRuntime object itself.
-
version
Get the version property: Function app runtime version. Example: 8 (for dotnet-isolated).- Returns:
- the version value.
-
withVersion
Set the version property: Function app runtime version. Example: 8 (for dotnet-isolated).- Parameters:
version- the version value to set.- Returns:
- the FunctionsRuntime object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-