Class ApplicationGatewayIpConfigurationPropertiesFormat

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

public final class ApplicationGatewayIpConfigurationPropertiesFormat extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayIpConfigurationPropertiesFormat>
Properties of IP configuration of an application gateway.
  • Constructor Details

    • ApplicationGatewayIpConfigurationPropertiesFormat

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

    • subnet

      public com.azure.core.management.SubResource subnet()
      Get the subnet property: Reference to the subnet resource. A subnet from where application gateway gets its private address.
      Returns:
      the subnet value.
    • withSubnet

      public ApplicationGatewayIpConfigurationPropertiesFormat withSubnet(com.azure.core.management.SubResource subnet)
      Set the subnet property: Reference to the subnet resource. A subnet from where application gateway gets its private address.
      Parameters:
      subnet - the subnet value to set.
      Returns:
      the ApplicationGatewayIpConfigurationPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the application gateway IP configuration resource.
      Returns:
      the provisioningState value.
    • 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<ApplicationGatewayIpConfigurationPropertiesFormat>
      Throws:
      IOException
    • fromJson

      public static ApplicationGatewayIpConfigurationPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ApplicationGatewayIpConfigurationPropertiesFormat from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ApplicationGatewayIpConfigurationPropertiesFormat 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 ApplicationGatewayIpConfigurationPropertiesFormat.