ApplicationGatewayAutoscaleConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayAutoscaleConfiguration
- com.
Implements
public final class ApplicationGatewayAutoscaleConfiguration
implements JsonSerializable<ApplicationGatewayAutoscaleConfiguration>
Application Gateway autoscale configuration.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayAutoscaleConfiguration() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
Integer |
maxCapacity()
Get the max |
int |
minCapacity()
Get the min |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Application |
withMaxCapacity(Integer maxCapacity)
Set the max |
Application |
withMinCapacity(int minCapacity)
Set the min |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayAutoscaleConfiguration
public ApplicationGatewayAutoscaleConfiguration()
Creates an instance of ApplicationGatewayAutoscaleConfiguration class.
Method Details
fromJson
public static ApplicationGatewayAutoscaleConfiguration fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayAutoscaleConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
maxCapacity
public Integer maxCapacity()
Get the maxCapacity property: Upper bound on number of Application Gateway capacity.
Returns:
minCapacity
public int minCapacity()
Get the minCapacity property: Lower bound on number of Application Gateway capacity.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMaxCapacity
public ApplicationGatewayAutoscaleConfiguration withMaxCapacity(Integer maxCapacity)
Set the maxCapacity property: Upper bound on number of Application Gateway capacity.
Parameters:
Returns:
withMinCapacity
public ApplicationGatewayAutoscaleConfiguration withMinCapacity(int minCapacity)
Set the minCapacity property: Lower bound on number of Application Gateway capacity.
Parameters:
Returns:
Applies to
Azure SDK for Java