Class FunctionAppConfig
java.lang.Object
com.azure.resourcemanager.appservice.models.FunctionAppConfig
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FunctionAppConfig>
public final class FunctionAppConfig
extends Object
implements com.azure.json.JsonSerializable<FunctionAppConfig>
Function app configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deployment property: Function app deployment configuration.static FunctionAppConfig
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of FunctionAppConfig from the JsonReader.runtime()
Get the runtime property: Function app runtime settings.Get the scaleAndConcurrency property: Function app scale and concurrency settings.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDeployment
(FunctionsDeployment deployment) Set the deployment property: Function app deployment configuration.withRuntime
(FunctionsRuntime runtime) Set the runtime property: Function app runtime settings.withScaleAndConcurrency
(FunctionsScaleAndConcurrency scaleAndConcurrency) Set the scaleAndConcurrency property: Function app scale and concurrency settings.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FunctionAppConfig
public FunctionAppConfig()Creates an instance of FunctionAppConfig class.
-
-
Method Details
-
deployment
Get the deployment property: Function app deployment configuration.- Returns:
- the deployment value.
-
withDeployment
Set the deployment property: Function app deployment configuration.- Parameters:
deployment
- the deployment value to set.- Returns:
- the FunctionAppConfig object itself.
-
runtime
Get the runtime property: Function app runtime settings.- Returns:
- the runtime value.
-
withRuntime
Set the runtime property: Function app runtime settings.- Parameters:
runtime
- the runtime value to set.- Returns:
- the FunctionAppConfig object itself.
-
scaleAndConcurrency
Get the scaleAndConcurrency property: Function app scale and concurrency settings.- Returns:
- the scaleAndConcurrency value.
-
withScaleAndConcurrency
Set the scaleAndConcurrency property: Function app scale and concurrency settings.- Parameters:
scaleAndConcurrency
- the scaleAndConcurrency value to set.- Returns:
- the FunctionAppConfig object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<FunctionAppConfig>
- Throws:
IOException
-
fromJson
Reads an instance of FunctionAppConfig from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of FunctionAppConfig if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the FunctionAppConfig.
-