VirtualRouterAutoScaleConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualRouterAutoScaleConfiguration
- com.
Implements
public final class VirtualRouterAutoScaleConfiguration
implements JsonSerializable<VirtualRouterAutoScaleConfiguration>
The VirtualHub Router autoscale configuration.
Constructor Summary
Constructor | Description |
---|---|
VirtualRouterAutoScaleConfiguration() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Integer |
minCapacity()
Get the min |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withMinCapacity(Integer minCapacity)
Set the min |
Methods inherited from java.lang.Object
Constructor Details
VirtualRouterAutoScaleConfiguration
public VirtualRouterAutoScaleConfiguration()
Creates an instance of VirtualRouterAutoScaleConfiguration class.
Method Details
fromJson
public static VirtualRouterAutoScaleConfiguration fromJson(JsonReader jsonReader)
Reads an instance of VirtualRouterAutoScaleConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
minCapacity
public Integer minCapacity()
Get the minCapacity property: The minimum number of scale units for VirtualHub Router.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMinCapacity
public VirtualRouterAutoScaleConfiguration withMinCapacity(Integer minCapacity)
Set the minCapacity property: The minimum number of scale units for VirtualHub Router.
Parameters:
Returns:
Applies to
Azure SDK for Java