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 Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayIpConfigurationPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayIpConfigurationPropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the application gateway IP configuration resource.com.azure.core.management.SubResourcesubnet()Get the subnet property: Reference to the subnet resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withSubnet(com.azure.core.management.SubResource subnet) Set the subnet property: Reference to the subnet resource.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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
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
- Specified by:
toJsonin interfacecom.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.
-