Class NetworkProfilePropertiesFormat

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

public final class NetworkProfilePropertiesFormat extends Object implements com.azure.json.JsonSerializable<NetworkProfilePropertiesFormat>
Network profile properties.
  • Constructor Details

    • NetworkProfilePropertiesFormat

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

    • containerNetworkInterfaces

      public List<ContainerNetworkInterface> containerNetworkInterfaces()
      Get the containerNetworkInterfaces property: List of child container network interfaces.
      Returns:
      the containerNetworkInterfaces value.
    • containerNetworkInterfaceConfigurations

      public List<ContainerNetworkInterfaceConfiguration> containerNetworkInterfaceConfigurations()
      Get the containerNetworkInterfaceConfigurations property: List of chid container network interface configurations.
      Returns:
      the containerNetworkInterfaceConfigurations value.
    • withContainerNetworkInterfaceConfigurations

      public NetworkProfilePropertiesFormat withContainerNetworkInterfaceConfigurations(List<ContainerNetworkInterfaceConfiguration> containerNetworkInterfaceConfigurations)
      Set the containerNetworkInterfaceConfigurations property: List of chid container network interface configurations.
      Parameters:
      containerNetworkInterfaceConfigurations - the containerNetworkInterfaceConfigurations value to set.
      Returns:
      the NetworkProfilePropertiesFormat object itself.
    • resourceGuid

      public String resourceGuid()
      Get the resourceGuid property: The resource GUID property of the network profile resource.
      Returns:
      the resourceGuid value.
    • provisioningState

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

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