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 Summary
ConstructorsConstructorDescriptionCreates an instance of ContainerNetworkInterfaceConfigurationPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionList<com.azure.core.management.SubResource> Get the containerNetworkInterfaces property: A list of container network interfaces created from this container network interface configuration.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerNetworkInterfaceConfigurationPropertiesFormat from the JsonReader.Get the ipConfigurations property: A list of ip configurations of the container network interface configuration.Get the provisioningState property: The provisioning state of the container network interface configuration resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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.withIpConfigurations(List<IpConfigurationProfileInner> ipConfigurations) Set the ipConfigurations property: A list of ip configurations of the container network interface 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
-
ContainerNetworkInterfaceConfigurationPropertiesFormat
public ContainerNetworkInterfaceConfigurationPropertiesFormat()Creates an instance of ContainerNetworkInterfaceConfigurationPropertiesFormat class.
-
-
Method Details
-
ipConfigurations
Get the ipConfigurations property: A list of ip configurations of the container network interface configuration.- Returns:
- the ipConfigurations value.
-
withIpConfigurations
public ContainerNetworkInterfaceConfigurationPropertiesFormat withIpConfigurations(List<IpConfigurationProfileInner> ipConfigurations) 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
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
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
- Specified by:
toJsonin interfacecom.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.
-