FunctionsRuntime Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. FunctionsRuntime
- com.
Implements
public final class FunctionsRuntime
implements JsonSerializable<FunctionsRuntime>
Function app runtime name and version.
Constructor Summary
Constructor | Description |
---|---|
FunctionsRuntime() |
Creates an instance of Functions |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Functions |
fromJson(JsonReader jsonReader)
Reads an instance of Functions |
Runtime |
name()
Get the name property: Function app runtime name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Function app runtime version. |
Functions |
withName(RuntimeName name)
Set the name property: Function app runtime name. |
Functions |
withVersion(String version)
Set the version property: Function app runtime version. |
Methods inherited from java.lang.Object
Constructor Details
FunctionsRuntime
public FunctionsRuntime()
Creates an instance of FunctionsRuntime class.
Method Details
fromJson
public static FunctionsRuntime fromJson(JsonReader jsonReader)
Reads an instance of FunctionsRuntime from the JsonReader.
Parameters:
Returns:
Throws:
name
public RuntimeName name()
Get the name property: Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Function app runtime version. Example: 8 (for dotnet-isolated).
Returns:
withName
public FunctionsRuntime withName(RuntimeName name)
Set the name property: Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom.
Parameters:
Returns:
withVersion
public FunctionsRuntime withVersion(String version)
Set the version property: Function app runtime version. Example: 8 (for dotnet-isolated).
Parameters:
Returns:
Applies to
Azure SDK for Java