primary
Get the primary property: Whether this is a primary network interface on a virtual machine.
- Returns:
- the primary value.
com.azure.json.JsonSerializable<NetworkInterfacePropertiesFormatInner>com.azure.core.management.SubResourcefromJson(com.azure.json.JsonReader jsonReader) nicType()primary()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()com.azure.core.management.SubResourcewithAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode) withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku) withDisableTcpStateTracking(Boolean disableTcpStateTracking) withDnsSettings(NetworkInterfaceDnsSettings dnsSettings) withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking) withEnableIpForwarding(Boolean enableIpForwarding) withIpConfigurations(List<NetworkInterfaceIpConfigurationInner> ipConfigurations) withMigrationPhase(NetworkInterfaceMigrationPhase migrationPhase) withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup) withNicType(NetworkInterfaceNicType nicType) withPrivateLinkService(PrivateLinkServiceInner privateLinkService) withWorkloadType(String workloadType) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringnetworkSecurityGroup - the networkSecurityGroup value to set.ipConfigurations - the ipConfigurations value to set.dnsSettings - the dnsSettings value to set.enableAcceleratedNetworking - the enableAcceleratedNetworking value to set.disableTcpStateTracking - the disableTcpStateTracking value to set.enableIpForwarding - the enableIpForwarding value to set.workloadType - the workloadType value to set.nicType - the nicType value to set.privateLinkService - the privateLinkService value to set.migrationPhase - the migrationPhase 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<NetworkInterfacePropertiesFormatInner>IOExceptionjsonReader - The JsonReader being read.IOException - If an error occurs while reading the NetworkInterfacePropertiesFormatInner.