RedisLinkedServerCreateProperties 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
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.