primary
Get the primary property: Whether this is a primary NIC on a virtual machine.
- Returns:
- the primary value.
name()com.azure.core.management.SubResourceprimary()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) name - the name value to set.primary - 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.