Compartilhar via


VirtualApplianceNetworkInterfaceConfigurationProperties Class

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

Implements

public final class VirtualApplianceNetworkInterfaceConfigurationProperties
implements JsonSerializable<VirtualApplianceNetworkInterfaceConfigurationProperties>

Represents a single NIC configuration properties.

Constructor Summary

Constructor Description
VirtualApplianceNetworkInterfaceConfigurationProperties()

Creates an instance of VirtualApplianceNetworkInterfaceConfigurationProperties class.

Method Summary

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

Reads an instance of VirtualApplianceNetworkInterfaceConfigurationProperties from the JsonReader.

List<VirtualApplianceIpConfiguration> ipConfigurations()

Get the ipConfigurations property: The ipConfigurations property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualApplianceNetworkInterfaceConfigurationProperties withIpConfigurations(List<VirtualApplianceIpConfiguration> ipConfigurations)

Set the ipConfigurations property: The ipConfigurations property.

Methods inherited from java.lang.Object

Constructor Details

VirtualApplianceNetworkInterfaceConfigurationProperties

public VirtualApplianceNetworkInterfaceConfigurationProperties()

Creates an instance of VirtualApplianceNetworkInterfaceConfigurationProperties class.

Method Details

fromJson

public static VirtualApplianceNetworkInterfaceConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplianceNetworkInterfaceConfigurationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipConfigurations

public List ipConfigurations()

Get the ipConfigurations property: The ipConfigurations property.

Returns:

the ipConfigurations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIpConfigurations

public VirtualApplianceNetworkInterfaceConfigurationProperties withIpConfigurations(List ipConfigurations)

Set the ipConfigurations property: The ipConfigurations property.

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the VirtualApplianceNetworkInterfaceConfigurationProperties object itself.

Applies to