你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualNetworkGatewayAutoScaleConfiguration Class

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

Implements

public final class VirtualNetworkGatewayAutoScaleConfiguration
implements JsonSerializable<VirtualNetworkGatewayAutoScaleConfiguration>

Virtual Network Gateway Autoscale Configuration details.

Constructor Summary

Constructor Description
VirtualNetworkGatewayAutoScaleConfiguration()

Creates an instance of VirtualNetworkGatewayAutoScaleConfiguration class.

Method Summary

Modifier and Type Method and Description
VirtualNetworkGatewayAutoScaleBounds bounds()

Get the bounds property: The bounds of the autoscale configuration.

static VirtualNetworkGatewayAutoScaleConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayAutoScaleConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualNetworkGatewayAutoScaleConfiguration withBounds(VirtualNetworkGatewayAutoScaleBounds bounds)

Set the bounds property: The bounds of the autoscale configuration.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkGatewayAutoScaleConfiguration

public VirtualNetworkGatewayAutoScaleConfiguration()

Creates an instance of VirtualNetworkGatewayAutoScaleConfiguration class.

Method Details

bounds

public VirtualNetworkGatewayAutoScaleBounds bounds()

Get the bounds property: The bounds of the autoscale configuration.

Returns:

the bounds value.

fromJson

public static VirtualNetworkGatewayAutoScaleConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayAutoScaleConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBounds

public VirtualNetworkGatewayAutoScaleConfiguration withBounds(VirtualNetworkGatewayAutoScaleBounds bounds)

Set the bounds property: The bounds of the autoscale configuration.

Parameters:

bounds - the bounds value to set.

Returns:

the VirtualNetworkGatewayAutoScaleConfiguration object itself.

Applies to