Share via


RedisLinkedServerWithProperties Constructors

Definition

Overloads

RedisLinkedServerWithProperties()

Initializes a new instance of the RedisLinkedServerWithProperties class.

RedisLinkedServerWithProperties(String, String, String, String, String, Nullable<ReplicationRole>, String, String, String)

Initializes a new instance of the RedisLinkedServerWithProperties class.

RedisLinkedServerWithProperties()

Initializes a new instance of the RedisLinkedServerWithProperties class.

public RedisLinkedServerWithProperties ();
Public Sub New ()

Applies to

RedisLinkedServerWithProperties(String, String, String, String, String, Nullable<ReplicationRole>, String, String, String)

Initializes a new instance of the RedisLinkedServerWithProperties class.

public RedisLinkedServerWithProperties (string id = default, string name = default, string type = default, string linkedRedisCacheId = default, string linkedRedisCacheLocation = default, Microsoft.Azure.Management.RedisCache.Models.ReplicationRole? serverRole = default, string geoReplicatedPrimaryHostName = default, string primaryHostName = default, string provisioningState = default);
new Microsoft.Azure.Management.RedisCache.Models.RedisLinkedServerWithProperties : string * string * string * string * string * Nullable<Microsoft.Azure.Management.RedisCache.Models.ReplicationRole> * string * string * string -> Microsoft.Azure.Management.RedisCache.Models.RedisLinkedServerWithProperties
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional linkedRedisCacheId As String = Nothing, Optional linkedRedisCacheLocation As String = Nothing, Optional serverRole As Nullable(Of ReplicationRole) = Nothing, Optional geoReplicatedPrimaryHostName As String = Nothing, Optional primaryHostName As String = Nothing, Optional provisioningState As String = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

linkedRedisCacheId
String

Fully qualified resourceId of the linked redis cache.

linkedRedisCacheLocation
String

Location of the linked redis cache.

serverRole
Nullable<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