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<com.azure.core.management.SubResource>static NetworkInterfaceReferencefromJson(com.azure.json.JsonReader jsonReader) primary()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()withDeleteOption(DeleteOptions deleteOption) withPrimary(Boolean primary) idclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringwithId in class com.azure.core.management.SubResourceprimary - 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<com.azure.core.management.SubResource>toJson in class com.azure.core.management.SubResourceIOExceptionjsonReader - The JsonReader being read.IOException - If an error occurs while reading the NetworkInterfaceReference.