你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RedisLinkedServerCreateProperties Constructors

Definition

Overloads

RedisLinkedServerCreateProperties()

Initializes a new instance of the RedisLinkedServerCreateProperties class.

RedisLinkedServerCreateProperties(String, String, ReplicationRole, String, String)

Initializes a new instance of the RedisLinkedServerCreateProperties class.

RedisLinkedServerCreateProperties()

Initializes a new instance of the RedisLinkedServerCreateProperties class.

public RedisLinkedServerCreateProperties ();
Public Sub New ()

Applies to

RedisLinkedServerCreateProperties(String, String, ReplicationRole, String, String)

Initializes a new instance of the RedisLinkedServerCreateProperties class.

public RedisLinkedServerCreateProperties (string linkedRedisCacheId, string linkedRedisCacheLocation, Microsoft.Azure.Management.RedisCache.Models.ReplicationRole serverRole, string geoReplicatedPrimaryHostName = default, string primaryHostName = default);
new Microsoft.Azure.Management.RedisCache.Models.RedisLinkedServerCreateProperties : string * string * Microsoft.Azure.Management.RedisCache.Models.ReplicationRole * string * string -> Microsoft.Azure.Management.RedisCache.Models.RedisLinkedServerCreateProperties
Public Sub New (linkedRedisCacheId As String, linkedRedisCacheLocation As String, serverRole As ReplicationRole, Optional geoReplicatedPrimaryHostName As String = Nothing, Optional primaryHostName As String = Nothing)

Parameters

linkedRedisCacheId
String

Fully qualified resourceId of the linked redis cache.

linkedRedisCacheLocation
String

Location of the linked redis cache.

serverRole
ReplicationRole

Role of the linked server. Possible values include: 'Primary', 'Secondary'

geoReplicatedPrimaryHostName
String

The unchanging DNS name which will always point to current geo-primary cache among the linked redis caches for seamless Geo Failover experience.

primaryHostName
String

The changing DNS name that resolves to the current geo-primary cache among the linked redis caches before or after the Geo Failover.

Applies to