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 Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkProfilePropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the containerNetworkInterfaceConfigurations property: List of chid container network interface configurations.Get the containerNetworkInterfaces property: List of child container network interfaces.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkProfilePropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the network profile resource.Get the resourceGuid property: The resource GUID property of the network profile resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withContainerNetworkInterfaceConfigurations(List<ContainerNetworkInterfaceConfiguration> containerNetworkInterfaceConfigurations) Set the containerNetworkInterfaceConfigurations property: List of chid container network interface configurations.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
-
NetworkProfilePropertiesFormat
public NetworkProfilePropertiesFormat()Creates an instance of NetworkProfilePropertiesFormat class.
-
-
Method Details
-
containerNetworkInterfaces
Get the containerNetworkInterfaces property: List of child container network interfaces.- Returns:
- the containerNetworkInterfaces value.
-
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
Get the resourceGuid property: The resource GUID property of the network profile resource.- Returns:
- the resourceGuid value.
-
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
- Specified by:
toJsonin interfacecom.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.
-