primary
Get the primary property: Whether this is a primary NIC on a virtual machine.
- Returns:
- the primary value.
com.azure.json.JsonSerializable<VirtualMachineScaleSetUpdateNetworkConfigurationProperties>fromJson(com.azure.json.JsonReader jsonReader) com.azure.core.management.SubResourceprimary()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()withAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode) withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku) withDeleteOption(DeleteOptions deleteOption) withDisableTcpStateTracking(Boolean disableTcpStateTracking) withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking) withEnableFpga(Boolean enableFpga) withEnableIpForwarding(Boolean enableIpForwarding) withIpConfigurations(List<VirtualMachineScaleSetUpdateIpConfiguration> ipConfigurations) withNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup) withPrimary(Boolean primary) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringprimary - the primary value to set.enableAcceleratedNetworking - the enableAcceleratedNetworking value to set.disableTcpStateTracking - the disableTcpStateTracking value to set.enableFpga - the enableFpga value to set.networkSecurityGroup - the networkSecurityGroup value to set.dnsSettings - the dnsSettings value to set.ipConfigurations - the ipConfigurations value to set.enableIpForwarding - the enableIpForwarding value to set.deleteOption - the deleteOption value to set.auxiliaryMode - the auxiliaryMode value to set.auxiliarySku - the auxiliarySku value to set.IllegalArgumentException - thrown if the instance is not valid.toJson in interface com.azure.json.JsonSerializable<VirtualMachineScaleSetUpdateNetworkConfigurationProperties>IOExceptionjsonReader - The JsonReader being read.IOException - If an error occurs while reading the
VirtualMachineScaleSetUpdateNetworkConfigurationProperties.