共用方式為


NetworkVirtualAppliancePropertiesFormatNetworkProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.NetworkVirtualAppliancePropertiesFormatNetworkProfile

Implements

public final class NetworkVirtualAppliancePropertiesFormatNetworkProfile
implements JsonSerializable<NetworkVirtualAppliancePropertiesFormatNetworkProfile>

Network Profile containing configurations for Public and Private NIC.

Constructor Summary

Constructor Description
NetworkVirtualAppliancePropertiesFormatNetworkProfile()

Creates an instance of NetworkVirtualAppliancePropertiesFormatNetworkProfile class.

Method Summary

Modifier and Type Method and Description
static NetworkVirtualAppliancePropertiesFormatNetworkProfile fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualAppliancePropertiesFormatNetworkProfile from the JsonReader.

List<VirtualApplianceNetworkInterfaceConfiguration> networkInterfaceConfigurations()

Get the networkInterfaceConfigurations property: The networkInterfaceConfigurations property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkVirtualAppliancePropertiesFormatNetworkProfile withNetworkInterfaceConfigurations(List<VirtualApplianceNetworkInterfaceConfiguration> networkInterfaceConfigurations)

Set the networkInterfaceConfigurations property: The networkInterfaceConfigurations property.

Methods inherited from java.lang.Object

Constructor Details

NetworkVirtualAppliancePropertiesFormatNetworkProfile

public NetworkVirtualAppliancePropertiesFormatNetworkProfile()

Creates an instance of NetworkVirtualAppliancePropertiesFormatNetworkProfile class.

Method Details

fromJson

public static NetworkVirtualAppliancePropertiesFormatNetworkProfile fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualAppliancePropertiesFormatNetworkProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkVirtualAppliancePropertiesFormatNetworkProfile 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 NetworkVirtualAppliancePropertiesFormatNetworkProfile.

networkInterfaceConfigurations

public List networkInterfaceConfigurations()

Get the networkInterfaceConfigurations property: The networkInterfaceConfigurations property.

Returns:

the networkInterfaceConfigurations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNetworkInterfaceConfigurations

public NetworkVirtualAppliancePropertiesFormatNetworkProfile withNetworkInterfaceConfigurations(List networkInterfaceConfigurations)

Set the networkInterfaceConfigurations property: The networkInterfaceConfigurations property.

Parameters:

networkInterfaceConfigurations - the networkInterfaceConfigurations value to set.

Returns:

the NetworkVirtualAppliancePropertiesFormatNetworkProfile object itself.

Applies to