Class ContainerNetworkInterfaceConfigurationPropertiesFormat

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

public final class ContainerNetworkInterfaceConfigurationPropertiesFormat extends Object implements com.azure.json.JsonSerializable<ContainerNetworkInterfaceConfigurationPropertiesFormat>
Container network interface configuration properties.
  • Constructor Details

    • ContainerNetworkInterfaceConfigurationPropertiesFormat

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

    • ipConfigurations

      public List<IpConfigurationProfileInner> ipConfigurations()
      Get the ipConfigurations property: A list of ip configurations of the container network interface configuration.
      Returns:
      the ipConfigurations value.
    • withIpConfigurations

      Set the ipConfigurations property: A list of ip configurations of the container network interface configuration.
      Parameters:
      ipConfigurations - the ipConfigurations value to set.
      Returns:
      the ContainerNetworkInterfaceConfigurationPropertiesFormat object itself.
    • containerNetworkInterfaces

      public List<com.azure.core.management.SubResource> containerNetworkInterfaces()
      Get the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.
      Returns:
      the containerNetworkInterfaces value.
    • withContainerNetworkInterfaces

      public ContainerNetworkInterfaceConfigurationPropertiesFormat withContainerNetworkInterfaces(List<com.azure.core.management.SubResource> containerNetworkInterfaces)
      Set the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.
      Parameters:
      containerNetworkInterfaces - the containerNetworkInterfaces value to set.
      Returns:
      the ContainerNetworkInterfaceConfigurationPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the container network interface 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<ContainerNetworkInterfaceConfigurationPropertiesFormat>
      Throws:
      IOException
    • fromJson

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