ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds

Implements

public final class ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds
implements JsonSerializable<ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds>

Minimum and maximum number of scale units to deploy.

Constructor Summary

Constructor Description
ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds()

Creates an instance of ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds class.

Method Summary

Modifier and Type Method and Description
static ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds from the JsonReader.

Integer max()

Get the max property: Maximum number of scale units deployed for ExpressRoute gateway.

Integer min()

Get the min property: Minimum number of scale units deployed for ExpressRoute gateway.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds withMax(Integer max)

Set the max property: Maximum number of scale units deployed for ExpressRoute gateway.

ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds withMin(Integer min)

Set the min property: Minimum number of scale units deployed for ExpressRoute gateway.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds

public ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds()

Creates an instance of ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds class.

Method Details

fromJson

public static ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.

max

public Integer max()

Get the max property: Maximum number of scale units deployed for ExpressRoute gateway.

Returns:

the max value.

min

public Integer min()

Get the min property: Minimum number of scale units deployed for ExpressRoute gateway.

Returns:

the min value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMax

public ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds withMax(Integer max)

Set the max property: Maximum number of scale units deployed for ExpressRoute gateway.

Parameters:

max - the max value to set.

Returns:

the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds object itself.

withMin

public ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds withMin(Integer min)

Set the min property: Minimum number of scale units deployed for ExpressRoute gateway.

Parameters:

min - the min value to set.

Returns:

the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds object itself.

Applies to