Class VirtualNetworkGatewayAutoScaleConfiguration

java.lang.Object
com.azure.resourcemanager.network.models.VirtualNetworkGatewayAutoScaleConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualNetworkGatewayAutoScaleConfiguration>

public final class VirtualNetworkGatewayAutoScaleConfiguration extends Object implements com.azure.json.JsonSerializable<VirtualNetworkGatewayAutoScaleConfiguration>
Virtual Network Gateway Autoscale Configuration details.
  • Constructor Details

    • VirtualNetworkGatewayAutoScaleConfiguration

      public VirtualNetworkGatewayAutoScaleConfiguration()
      Creates an instance of VirtualNetworkGatewayAutoScaleConfiguration class.
  • Method Details

    • bounds

      Get the bounds property: The bounds of the autoscale configuration.
      Returns:
      the bounds value.
    • withBounds

      Set the bounds property: The bounds of the autoscale configuration.
      Parameters:
      bounds - the bounds value to set.
      Returns:
      the VirtualNetworkGatewayAutoScaleConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<VirtualNetworkGatewayAutoScaleConfiguration>
      Throws:
      IOException
    • fromJson

      public static VirtualNetworkGatewayAutoScaleConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.