Compartilhar via


DatabaseResource.GetKeysAsync(CancellationToken) Método

Definição

Recupera as chaves de acesso para o banco de dados RedisEnterprise. Caminho da Solicitação: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/listKeys Operation Id: Databases_ListKeys

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RedisEnterpriseCache.Models.AccessKeys>> GetKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RedisEnterpriseCache.Models.AccessKeys>>
override this.GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RedisEnterpriseCache.Models.AccessKeys>>
Public Overridable Function GetKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AccessKeys))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a