FunctionsSiteUpdateStrategy Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. FunctionsSiteUpdateStrategy
- com.
Implements
public final class FunctionsSiteUpdateStrategy
implements JsonSerializable<FunctionsSiteUpdateStrategy>
Function app site update strategy configuration for deployments and site config updates.
Constructor Summary
| Constructor | Description |
|---|---|
| FunctionsSiteUpdateStrategy() |
Creates an instance of Functions |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Functions |
fromJson(JsonReader jsonReader)
Reads an instance of Functions |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Site |
type()
Get the type property: Function app site update strategy type. |
| void |
validate()
Validates the instance. |
|
Functions |
withType(SiteUpdateStrategyType type)
Set the type property: Function app site update strategy type. |
Methods inherited from java.lang.Object
Constructor Details
FunctionsSiteUpdateStrategy
public FunctionsSiteUpdateStrategy()
Creates an instance of FunctionsSiteUpdateStrategy class.
Method Details
fromJson
public static FunctionsSiteUpdateStrategy fromJson(JsonReader jsonReader)
Reads an instance of FunctionsSiteUpdateStrategy from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public SiteUpdateStrategyType type()
Get the type property: Function app site update strategy type. Available options: Recreate, RollingUpdate.
Returns:
validate
public void validate()
Validates the instance.
withType
public FunctionsSiteUpdateStrategy withType(SiteUpdateStrategyType type)
Set the type property: Function app site update strategy type. Available options: Recreate, RollingUpdate.
Parameters:
Returns: