VirtualNetworkGatewayAutoScaleBounds Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualNetworkGatewayAutoScaleBounds
- com.
Implements
public final class VirtualNetworkGatewayAutoScaleBounds
implements JsonSerializable<VirtualNetworkGatewayAutoScaleBounds>
The VirtualNetworkGatewayAutoScaleBounds model.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkGatewayAutoScaleBounds() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Integer |
max()
Get the max property: Maximum Scale Units for Autoscale configuration. |
Integer |
min()
Get the min property: Minimum scale Units for Autoscale configuration. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withMax(Integer max)
Set the max property: Maximum Scale Units for Autoscale configuration. |
Virtual |
withMin(Integer min)
Set the min property: Minimum scale Units for Autoscale configuration. |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkGatewayAutoScaleBounds
public VirtualNetworkGatewayAutoScaleBounds()
Creates an instance of VirtualNetworkGatewayAutoScaleBounds class.
Method Details
fromJson
public static VirtualNetworkGatewayAutoScaleBounds fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkGatewayAutoScaleBounds from the JsonReader.
Parameters:
Returns:
Throws:
max
public Integer max()
Get the max property: Maximum Scale Units for Autoscale configuration.
Returns:
min
public Integer min()
Get the min property: Minimum scale Units for Autoscale configuration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMax
public VirtualNetworkGatewayAutoScaleBounds withMax(Integer max)
Set the max property: Maximum Scale Units for Autoscale configuration.
Parameters:
Returns:
withMin
public VirtualNetworkGatewayAutoScaleBounds withMin(Integer min)
Set the min property: Minimum scale Units for Autoscale configuration.
Parameters:
Returns:
Applies to
Azure SDK for Java