Sdílet prostřednictvím


RedisLinkedServerProperties Constructors

Definition

Overloads

RedisLinkedServerProperties()

Initializes a new instance of the RedisLinkedServerProperties class.

RedisLinkedServerProperties(String, String, ReplicationRole, String, String, String)

Initializes a new instance of the RedisLinkedServerProperties class.

RedisLinkedServerProperties()

Initializes a new instance of the RedisLinkedServerProperties class.

public RedisLinkedServerProperties ();
Public Sub New ()

Applies to

RedisLinkedServerProperties(String, String, ReplicationRole, String, String, String)

Initializes a new instance of the RedisLinkedServerProperties class.

public RedisLinkedServerProperties (string linkedRedisCacheId, string linkedRedisCacheLocation, Microsoft.Azure.Management.RedisCache.Models.ReplicationRole serverRole, string geoReplicatedPrimaryHostName = default, string primaryHostName = default, string provisioningState = default);
new Microsoft.Azure.Management.RedisCache.Models.RedisLinkedServerProperties : string * string * Microsoft.Azure.Management.RedisCache.Models.ReplicationRole * string * string * string -> Microsoft.Azure.Management.RedisCache.Models.RedisLinkedServerProperties
Public Sub New (linkedRedisCacheId As String, linkedRedisCacheLocation As String, serverRole As ReplicationRole, Optional geoReplicatedPrimaryHostName As String = Nothing, Optional primaryHostName As String = Nothing, Optional provisioningState 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.

provisioningState
String

Terminal state of the link between primary and secondary redis cache.

Applies to