primary
Get the primary property: Whether this is a primary customer address on the network interface.
- Returns:
- the primary value.
com.azure.core.management.SubResourceprimary()subnet()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) withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) withPublicIpAddress(PublicIpAddressInner publicIpAddress) withSubnet(SubnetInner subnet) withVirtualNetworkTaps(List<VirtualNetworkTapInner> virtualNetworkTaps) gatewayLoadBalancer - 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.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.