Udostępnij za pośrednictwem


ForceLinkContent Constructor

Definition

Initializes a new instance of ForceLinkContent.

public ForceLinkContent (string groupNickname, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseLinkedDatabase> linkedDatabases);
new Azure.ResourceManager.RedisEnterprise.Models.ForceLinkContent : string * seq<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseLinkedDatabase> -> Azure.ResourceManager.RedisEnterprise.Models.ForceLinkContent
Public Sub New (groupNickname As String, linkedDatabases As IEnumerable(Of RedisEnterpriseLinkedDatabase))

Parameters

groupNickname
String

The name of the group of linked database resources. This should match the existing replication group name.

linkedDatabases
IEnumerable<RedisEnterpriseLinkedDatabase>

The resource IDs of the databases that are expected to be linked and included in the replication group. This parameter is used to validate that the linking is to the expected (unlinked) part of the replication group, if it is splintered.

Exceptions

groupNickname or linkedDatabases is null.

Applies to