Compartilhar via


IRedisCachePremiumBeta.AddLinkedServerAsync Método

Definição

Adiciona um servidor vinculado à instância atual do cache Redis.

public System.Threading.Tasks.Task<string> AddLinkedServerAsync (string linkedRedisCacheId, string linkedServerLocation, Microsoft.Azure.Management.Redis.Fluent.Models.ReplicationRole role, System.Threading.CancellationToken cancellationToken = default);
abstract member AddLinkedServerAsync : string * string * Microsoft.Azure.Management.Redis.Fluent.Models.ReplicationRole * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function AddLinkedServerAsync (linkedRedisCacheId As String, linkedServerLocation As String, role As ReplicationRole, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parâmetros

linkedRedisCacheId
String

A ID do recurso da instância do Redis com a qual vincular.

linkedServerLocation
String

O local da instância vinculada do Redis.

role
ReplicationRole

A função do servidor vinculado.

cancellationToken
CancellationToken

Retornos

Aplica-se a