FunctionAppConfig Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. FunctionAppConfig
- com.
Implements
public final class FunctionAppConfig
implements JsonSerializable<FunctionAppConfig>
Function app configuration.
Constructor Summary
Constructor | Description |
---|---|
FunctionAppConfig() |
Creates an instance of Function |
Method Summary
Modifier and Type | Method and Description |
---|---|
Functions |
deployment()
Get the deployment property: Function app deployment configuration. |
static
Function |
fromJson(JsonReader jsonReader)
Reads an instance of Function |
Functions |
runtime()
Get the runtime property: Function app runtime settings. |
Functions |
scaleAndConcurrency()
Get the scale |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Function |
withDeployment(FunctionsDeployment deployment)
Set the deployment property: Function app deployment configuration. |
Function |
withRuntime(FunctionsRuntime runtime)
Set the runtime property: Function app runtime settings. |
Function |
withScaleAndConcurrency(FunctionsScaleAndConcurrency scaleAndConcurrency)
Set the scale |
Methods inherited from java.lang.Object
Constructor Details
FunctionAppConfig
public FunctionAppConfig()
Creates an instance of FunctionAppConfig class.
Method Details
deployment
public FunctionsDeployment deployment()
Get the deployment property: Function app deployment configuration.
Returns:
fromJson
public static FunctionAppConfig fromJson(JsonReader jsonReader)
Reads an instance of FunctionAppConfig from the JsonReader.
Parameters:
Returns:
Throws:
runtime
public FunctionsRuntime runtime()
Get the runtime property: Function app runtime settings.
Returns:
scaleAndConcurrency
public FunctionsScaleAndConcurrency scaleAndConcurrency()
Get the scaleAndConcurrency property: Function app scale and concurrency settings.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDeployment
public FunctionAppConfig withDeployment(FunctionsDeployment deployment)
Set the deployment property: Function app deployment configuration.
Parameters:
Returns:
withRuntime
public FunctionAppConfig withRuntime(FunctionsRuntime runtime)
Set the runtime property: Function app runtime settings.
Parameters:
Returns:
withScaleAndConcurrency
public FunctionAppConfig withScaleAndConcurrency(FunctionsScaleAndConcurrency scaleAndConcurrency)
Set the scaleAndConcurrency property: Function app scale and concurrency settings.
Parameters:
Returns:
Applies to
Azure SDK for Java