FunctionAppConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.FunctionAppConfig

Implements

public final class FunctionAppConfig
implements JsonSerializable<FunctionAppConfig>

Function app configuration.

Constructor Summary

Constructor Description
FunctionAppConfig()

Creates an instance of FunctionAppConfig class.

Method Summary

Modifier and Type Method and Description
FunctionsDeployment deployment()

Get the deployment property: Function app deployment configuration.

static FunctionAppConfig fromJson(JsonReader jsonReader)

Reads an instance of FunctionAppConfig from the JsonReader.

FunctionsRuntime runtime()

Get the runtime property: Function app runtime settings.

FunctionsScaleAndConcurrency scaleAndConcurrency()

Get the scaleAndConcurrency property: Function app scale and concurrency settings.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FunctionAppConfig withDeployment(FunctionsDeployment deployment)

Set the deployment property: Function app deployment configuration.

FunctionAppConfig withRuntime(FunctionsRuntime runtime)

Set the runtime property: Function app runtime settings.

FunctionAppConfig withScaleAndConcurrency(FunctionsScaleAndConcurrency scaleAndConcurrency)

Set the scaleAndConcurrency property: Function app scale and concurrency settings.

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:

the deployment value.

fromJson

public static FunctionAppConfig fromJson(JsonReader jsonReader)

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.

runtime

public FunctionsRuntime runtime()

Get the runtime property: Function app runtime settings.

Returns:

the runtime value.

scaleAndConcurrency

public FunctionsScaleAndConcurrency scaleAndConcurrency()

Get the scaleAndConcurrency property: Function app scale and concurrency settings.

Returns:

the scaleAndConcurrency value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDeployment

public FunctionAppConfig withDeployment(FunctionsDeployment deployment)

Set the deployment property: Function app deployment configuration.

Parameters:

deployment - the deployment value to set.

Returns:

the FunctionAppConfig object itself.

withRuntime

public FunctionAppConfig withRuntime(FunctionsRuntime runtime)

Set the runtime property: Function app runtime settings.

Parameters:

runtime - the runtime value to set.

Returns:

the FunctionAppConfig object itself.

withScaleAndConcurrency

public FunctionAppConfig withScaleAndConcurrency(FunctionsScaleAndConcurrency scaleAndConcurrency)

Set the scaleAndConcurrency property: Function app scale and concurrency settings.

Parameters:

scaleAndConcurrency - the scaleAndConcurrency value to set.

Returns:

the FunctionAppConfig object itself.

Applies to