primary
Get the primary property: Specifies the primary network interface in case the virtual machine has more than 1
network interface.
- Returns:
- the primary value.
com.azure.json.JsonSerializable<NetworkInterfaceReferenceProperties>fromJson(com.azure.json.JsonReader jsonReader) primary()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()withDeleteOption(DeleteOptions deleteOption) withPrimary(Boolean primary) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringprimary - the primary value to set.deleteOption - the deleteOption value to set.IllegalArgumentException - thrown if the instance is not valid.toJson in interface com.azure.json.JsonSerializable<NetworkInterfaceReferenceProperties>IOExceptionjsonReader - The JsonReader being read.IOException - If an error occurs while reading the NetworkInterfaceReferenceProperties.