Class IpGroupPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.IpGroupPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IpGroupPropertiesFormat>
public final class IpGroupPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<IpGroupPropertiesFormat>
The IpGroups property information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of IpGroupPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionList<com.azure.core.management.SubResource> Get the firewallPolicies property: List of references to Firewall Policies resources that this IpGroups is associated with.List<com.azure.core.management.SubResource> Get the firewalls property: List of references to Firewall resources that this IpGroups is associated with.static IpGroupPropertiesFormatfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IpGroupPropertiesFormat from the JsonReader.Get the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.Get the provisioningState property: The provisioning state of the IpGroups resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withIpAddresses(List<String> ipAddresses) Set the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups 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
-
IpGroupPropertiesFormat
public IpGroupPropertiesFormat()Creates an instance of IpGroupPropertiesFormat class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the IpGroups resource.- Returns:
- the provisioningState value.
-
ipAddresses
Get the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.- Returns:
- the ipAddresses value.
-
withIpAddresses
Set the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.- Parameters:
ipAddresses- the ipAddresses value to set.- Returns:
- the IpGroupPropertiesFormat object itself.
-
firewalls
Get the firewalls property: List of references to Firewall resources that this IpGroups is associated with.- Returns:
- the firewalls value.
-
firewallPolicies
Get the firewallPolicies property: List of references to Firewall Policies resources that this IpGroups is associated with.- Returns:
- the firewallPolicies 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<IpGroupPropertiesFormat>- Throws:
IOException
-
fromJson
public static IpGroupPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of IpGroupPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IpGroupPropertiesFormat 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 IpGroupPropertiesFormat.
-