Class IpConfigurationProfilePropertiesFormatInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.IpConfigurationProfilePropertiesFormatInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IpConfigurationProfilePropertiesFormatInner>
public final class IpConfigurationProfilePropertiesFormatInner
extends Object
implements com.azure.json.JsonSerializable<IpConfigurationProfilePropertiesFormatInner>
IP configuration profile properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of IpConfigurationProfilePropertiesFormatInner class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IpConfigurationProfilePropertiesFormatInner from the JsonReader.Get the provisioningState property: The provisioning state of the IP configuration profile resource.subnet()Get the subnet property: The reference to the subnet resource to create a container network interface ip configuration.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withSubnet(SubnetInner subnet) Set the subnet property: The reference to the subnet resource to create a container network interface ip configuration.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
-
IpConfigurationProfilePropertiesFormatInner
public IpConfigurationProfilePropertiesFormatInner()Creates an instance of IpConfigurationProfilePropertiesFormatInner class.
-
-
Method Details
-
subnet
Get the subnet property: The reference to the subnet resource to create a container network interface ip configuration.- Returns:
- the subnet value.
-
withSubnet
Set the subnet property: The reference to the subnet resource to create a container network interface ip configuration.- Parameters:
subnet- the subnet value to set.- Returns:
- the IpConfigurationProfilePropertiesFormatInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the IP configuration profile 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<IpConfigurationProfilePropertiesFormatInner>- Throws:
IOException
-
fromJson
public static IpConfigurationProfilePropertiesFormatInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of IpConfigurationProfilePropertiesFormatInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IpConfigurationProfilePropertiesFormatInner 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 IpConfigurationProfilePropertiesFormatInner.
-