primary
Get the primary property: Whether this is a primary network interface on a virtual machine.
- Returns:
- the primary value.
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>com.azure.core.management.SubResourceetag()static NetworkInterfaceInnerfromJson(com.azure.json.JsonReader jsonReader) id()name()nicType()primary()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()voidvalidate()com.azure.core.management.SubResourcewithAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode) withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku) withDisableTcpStateTracking(Boolean disableTcpStateTracking) withDnsSettings(NetworkInterfaceDnsSettings dnsSettings) withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking) withEnableIpForwarding(Boolean enableIpForwarding) withExtendedLocation(ExtendedLocation extendedLocation) withIpConfigurations(List<NetworkInterfaceIpConfigurationInner> ipConfigurations) withLocation(String location) withMigrationPhase(NetworkInterfaceMigrationPhase migrationPhase) withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup) withNicType(NetworkInterfaceNicType nicType) withPrivateLinkService(PrivateLinkServiceInner privateLinkService) withWorkloadType(String workloadType) location, tagsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringextendedLocation - the extendedLocation value to set.id in class com.azure.core.management.ProxyResourceid - the id value to set.type in class com.azure.core.management.ProxyResourcename in class com.azure.core.management.ProxyResourcewithLocation in class com.azure.core.management.ResourcewithTags in class com.azure.core.management.ResourcenetworkSecurityGroup - 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<com.azure.core.management.ProxyResource>toJson in class com.azure.core.management.ResourceIOExceptionjsonReader - The JsonReader being read.IllegalStateException - If the deserialized JSON object was missing any required properties.IOException - If an error occurs while reading the NetworkInterfaceInner.