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 Details

    • IpConfigurationProfilePropertiesFormatInner

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

    • subnet

      public SubnetInner 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

      public ProvisioningState 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.