VirtualApplianceNicProperties Class

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

Implements

public final class VirtualApplianceNicProperties
implements JsonSerializable<VirtualApplianceNicProperties>

Network Virtual Appliance NIC properties.

Method Summary

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

Reads an instance of VirtualApplianceNicProperties from the JsonReader.

String instanceName()

Get the instanceName property: Instance on which nic is attached.

String name()

Get the name property: NIC name.

NicTypeInResponse nicType()

Get the nicType property: NIC type - PublicNic, PrivateNic, or AdditionalNic; AdditionalPrivateNic and AdditionalPublicNic are only supported for NVAs deployed in VNets.

String privateIpAddress()

Get the privateIpAddress property: Private IP address.

String privateIpAddressV6()

Get the privateIpAddressV6 property: Private IPv6 address.

String publicIpAddress()

Get the publicIpAddress property: Public IP address.

String publicIpAddressV6()

Get the publicIpAddressV6 property: Public IPv6 address.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static VirtualApplianceNicProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplianceNicProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceName

public String instanceName()

Get the instanceName property: Instance on which nic is attached.

Returns:

the instanceName value.

name

public String name()

Get the name property: NIC name.

Returns:

the name value.

nicType

public NicTypeInResponse nicType()

Get the nicType property: NIC type - PublicNic, PrivateNic, or AdditionalNic; AdditionalPrivateNic and AdditionalPublicNic are only supported for NVAs deployed in VNets.

Returns:

the nicType value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: Private IP address.

Returns:

the privateIpAddress value.

privateIpAddressV6

public String privateIpAddressV6()

Get the privateIpAddressV6 property: Private IPv6 address. Populated for dual-stack NVAs, including on additional-NIC configurations when the NVA is dual-stack.

Returns:

the privateIpAddressV6 value.

publicIpAddress

public String publicIpAddress()

Get the publicIpAddress property: Public IP address.

Returns:

the publicIpAddress value.

publicIpAddressV6

public String publicIpAddressV6()

Get the publicIpAddressV6 property: Public IPv6 address. Populated for dual-stack NVAs, including on additional-NIC configurations when the NVA is dual-stack.

Returns:

the publicIpAddressV6 value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to