Share via


MachineNetworkProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.MachineNetworkProperties

Implements

public final class MachineNetworkProperties
implements JsonSerializable<MachineNetworkProperties>

network properties of the machine.

Method Summary

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

Reads an instance of MachineNetworkProperties from the JsonReader.

List<MachineIpAddress> ipAddresses()

Get the ipAddresses property: IPv4, IPv6 addresses of the machine.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static MachineNetworkProperties fromJson(JsonReader jsonReader)

Reads an instance of MachineNetworkProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipAddresses

public List<MachineIpAddress> ipAddresses()

Get the ipAddresses property: IPv4, IPv6 addresses of the machine.

Returns:

the ipAddresses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to