Class VirtualRouterAutoScaleConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.VirtualRouterAutoScaleConfiguration
The VirtualHub Router autoscale configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualRouterAutoScaleConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the minCapacity property: The minimum number of scale units for VirtualHub Router.voidvalidate()Validates the instance.withMinCapacity(Integer minCapacity) Set the minCapacity property: The minimum number of scale units for VirtualHub Router.
-
Constructor Details
-
VirtualRouterAutoScaleConfiguration
public VirtualRouterAutoScaleConfiguration()Creates an instance of VirtualRouterAutoScaleConfiguration class.
-
-
Method Details
-
minCapacity
Get the minCapacity property: The minimum number of scale units for VirtualHub Router.- Returns:
- the minCapacity value.
-
withMinCapacity
Set the minCapacity property: The minimum number of scale units for VirtualHub Router.- Parameters:
minCapacity- the minCapacity value to set.- Returns:
- the VirtualRouterAutoScaleConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-