FunctionsScaleAndConcurrencyTriggersHttp Class

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

Implements

public final class FunctionsScaleAndConcurrencyTriggersHttp
implements JsonSerializable<FunctionsScaleAndConcurrencyTriggersHttp>

Scale and concurrency settings for the HTTP trigger.

Constructor Summary

Constructor Description
FunctionsScaleAndConcurrencyTriggersHttp()

Creates an instance of FunctionsScaleAndConcurrencyTriggersHttp class.

Method Summary

Modifier and Type Method and Description
static FunctionsScaleAndConcurrencyTriggersHttp fromJson(JsonReader jsonReader)

Reads an instance of FunctionsScaleAndConcurrencyTriggersHttp from the JsonReader.

Integer perInstanceConcurrency()

Get the perInstanceConcurrency property: The maximum number of concurrent HTTP trigger invocations per instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FunctionsScaleAndConcurrencyTriggersHttp withPerInstanceConcurrency(Integer perInstanceConcurrency)

Set the perInstanceConcurrency property: The maximum number of concurrent HTTP trigger invocations per instance.

Methods inherited from java.lang.Object

Constructor Details

FunctionsScaleAndConcurrencyTriggersHttp

public FunctionsScaleAndConcurrencyTriggersHttp()

Creates an instance of FunctionsScaleAndConcurrencyTriggersHttp class.

Method Details

fromJson

public static FunctionsScaleAndConcurrencyTriggersHttp fromJson(JsonReader jsonReader)

Reads an instance of FunctionsScaleAndConcurrencyTriggersHttp from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FunctionsScaleAndConcurrencyTriggersHttp 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 FunctionsScaleAndConcurrencyTriggersHttp.

perInstanceConcurrency

public Integer perInstanceConcurrency()

Get the perInstanceConcurrency property: The maximum number of concurrent HTTP trigger invocations per instance.

Returns:

the perInstanceConcurrency value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPerInstanceConcurrency

public FunctionsScaleAndConcurrencyTriggersHttp withPerInstanceConcurrency(Integer perInstanceConcurrency)

Set the perInstanceConcurrency property: The maximum number of concurrent HTTP trigger invocations per instance.

Parameters:

perInstanceConcurrency - the perInstanceConcurrency value to set.

Returns:

the FunctionsScaleAndConcurrencyTriggersHttp object itself.

Applies to