primary
Get the primary property: Whether the ip configuration is primary or not.
- Returns:
- the primary value.
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>etag()fromJson(com.azure.json.JsonReader jsonReader) name()primary()subnet()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()voidvalidate()withPrimary(Boolean primary) withPrivateIpAddress(String privateIpAddress) withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) withSubnet(SubnetInner subnet) idclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringname - the name value to set.withId in class com.azure.core.management.SubResourceprivateIpAddress - the privateIpAddress value to set.privateIpAllocationMethod - the privateIpAllocationMethod value to set.subnet - the subnet value to set.primary - the primary value to set.privateIpAddressVersion - the privateIpAddressVersion value to set.IllegalArgumentException - thrown if the instance is not valid.toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.SubResource>toJson in class com.azure.core.management.SubResourceIOExceptionjsonReader - The JsonReader being read.IOException - If an error occurs while reading the PrivateLinkServiceIpConfigurationInner.