primary
Get the primary property: Whether this is a primary customer address on the network interface.
- Returns:
- the primary value.
com.azure.json.JsonSerializable<NetworkInterfaceIpConfigurationPropertiesFormatInner>fromJson(com.azure.json.JsonReader jsonReader) com.azure.core.management.SubResourceprimary()subnet()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()withApplicationGatewayBackendAddressPools(List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools) withApplicationSecurityGroups(List<ApplicationSecurityGroupInner> applicationSecurityGroups) withGatewayLoadBalancer(com.azure.core.management.SubResource gatewayLoadBalancer) withLoadBalancerBackendAddressPools(List<BackendAddressPoolInner> loadBalancerBackendAddressPools) withLoadBalancerInboundNatRules(List<InboundNatRuleInner> loadBalancerInboundNatRules) withPrimary(Boolean primary) withPrivateIpAddress(String privateIpAddress) withPrivateIpAddressPrefixLength(Integer privateIpAddressPrefixLength) withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) withPublicIpAddress(PublicIpAddressInner publicIpAddress) withSubnet(SubnetInner subnet) withVirtualNetworkTaps(List<VirtualNetworkTapInner> virtualNetworkTaps) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringgatewayLoadBalancer - the gatewayLoadBalancer value to set.virtualNetworkTaps - the virtualNetworkTaps value to set.applicationGatewayBackendAddressPools - the applicationGatewayBackendAddressPools value to set.loadBalancerBackendAddressPools - the loadBalancerBackendAddressPools value to set.loadBalancerInboundNatRules - the loadBalancerInboundNatRules value to set.privateIpAddress - the privateIpAddress value to set.privateIpAddressPrefixLength - the privateIpAddressPrefixLength value to set.privateIpAllocationMethod - the privateIpAllocationMethod value to set.privateIpAddressVersion - the privateIpAddressVersion value to set.subnet - the subnet value to set.primary - the primary value to set.publicIpAddress - the publicIpAddress value to set.applicationSecurityGroups - the applicationSecurityGroups value to set.IllegalArgumentException - thrown if the instance is not valid.toJson in interface com.azure.json.JsonSerializable<NetworkInterfaceIpConfigurationPropertiesFormatInner>IOExceptionjsonReader - The JsonReader being read.IOException - If an error occurs while reading the NetworkInterfaceIpConfigurationPropertiesFormatInner.