primaryHostname
Get the primaryHostname property: The changing DNS name that resolves to the current geo-primary cache among the
linked redis caches before or after the Geo Failover.
- Returns:
- the primaryHostname value.
com.azure.json.JsonSerializable<RedisLinkedServerCreateProperties>RedisLinkedServerPropertiesfromJson(com.azure.json.JsonReader jsonReader) com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()withLinkedRedisCacheId(String linkedRedisCacheId) withLinkedRedisCacheLocation(String linkedRedisCacheLocation) withServerRole(ReplicationRole serverRole) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringlinkedRedisCacheId - the linkedRedisCacheId value to set.linkedRedisCacheLocation - the linkedRedisCacheLocation value to set.serverRole - the serverRole value to set.IllegalArgumentException - thrown if the instance is not valid.toJson in interface com.azure.json.JsonSerializable<RedisLinkedServerCreateProperties>IOExceptionjsonReader - The JsonReader being read.IllegalStateException - If the deserialized JSON object was missing any required properties.IOException - If an error occurs while reading the RedisLinkedServerCreateProperties.