ExpressRouteGatewayPropertiesAutoScaleConfiguration Class

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

Implements

public final class ExpressRouteGatewayPropertiesAutoScaleConfiguration
implements JsonSerializable<ExpressRouteGatewayPropertiesAutoScaleConfiguration>

Configuration for auto scaling.

Constructor Summary

Constructor Description
ExpressRouteGatewayPropertiesAutoScaleConfiguration()

Creates an instance of ExpressRouteGatewayPropertiesAutoScaleConfiguration class.

Method Summary

Modifier and Type Method and Description
ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds bounds()

Get the bounds property: Minimum and maximum number of scale units to deploy.

static ExpressRouteGatewayPropertiesAutoScaleConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteGatewayPropertiesAutoScaleConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteGatewayPropertiesAutoScaleConfiguration withBounds(ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds bounds)

Set the bounds property: Minimum and maximum number of scale units to deploy.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteGatewayPropertiesAutoScaleConfiguration

public ExpressRouteGatewayPropertiesAutoScaleConfiguration()

Creates an instance of ExpressRouteGatewayPropertiesAutoScaleConfiguration class.

Method Details

bounds

public ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds bounds()

Get the bounds property: Minimum and maximum number of scale units to deploy.

Returns:

the bounds value.

fromJson

public static ExpressRouteGatewayPropertiesAutoScaleConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteGatewayPropertiesAutoScaleConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteGatewayPropertiesAutoScaleConfiguration 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 ExpressRouteGatewayPropertiesAutoScaleConfiguration.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBounds

public ExpressRouteGatewayPropertiesAutoScaleConfiguration withBounds(ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds bounds)

Set the bounds property: Minimum and maximum number of scale units to deploy.

Parameters:

bounds - the bounds value to set.

Returns:

the ExpressRouteGatewayPropertiesAutoScaleConfiguration object itself.

Applies to