Share via


RedisLinkedServerWithProperties Constructors

Definition

Overloads

RedisLinkedServerWithProperties()

Initializes a new instance of the RedisLinkedServerWithProperties class.

RedisLinkedServerWithProperties(String, String, ReplicationRole, String, 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, ReplicationRole, String, String, String, String)

Initializes a new instance of the RedisLinkedServerWithProperties class.

public RedisLinkedServerWithProperties (string linkedRedisCacheId, string linkedRedisCacheLocation, Microsoft.Azure.Management.Redis.Models.ReplicationRole serverRole, string id = default, string name = default, string type = default, string provisioningState = default);
new Microsoft.Azure.Management.Redis.Models.RedisLinkedServerWithProperties : string * string * Microsoft.Azure.Management.Redis.Models.ReplicationRole * string * string * string * string -> Microsoft.Azure.Management.Redis.Models.RedisLinkedServerWithProperties
Public Sub New (linkedRedisCacheId As String, linkedRedisCacheLocation As String, serverRole As ReplicationRole, Optional id As String = Nothing, Optional name As String = Nothing, Optional type 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'

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"

provisioningState
String

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

Applies to