RedisLinkedServerCreateParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RedisLinkedServerCreateParameters() |
Initializes a new instance of the RedisLinkedServerCreateParameters class. |
RedisLinkedServerCreateParameters(String, String, ReplicationRole, String, String) |
Initializes a new instance of the RedisLinkedServerCreateParameters class. |
RedisLinkedServerCreateParameters()
Initializes a new instance of the RedisLinkedServerCreateParameters class.
public RedisLinkedServerCreateParameters ();
Public Sub New ()
Applies to
RedisLinkedServerCreateParameters(String, String, ReplicationRole, String, String)
Initializes a new instance of the RedisLinkedServerCreateParameters class.
public RedisLinkedServerCreateParameters (string linkedRedisCacheId, string linkedRedisCacheLocation, Microsoft.Azure.Management.RedisCache.Models.ReplicationRole serverRole, string geoReplicatedPrimaryHostName = default, string primaryHostName = default);
new Microsoft.Azure.Management.RedisCache.Models.RedisLinkedServerCreateParameters : string * string * Microsoft.Azure.Management.RedisCache.Models.ReplicationRole * string * string -> Microsoft.Azure.Management.RedisCache.Models.RedisLinkedServerCreateParameters
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.