Compartir a través de


CosmosDBAccountResource.GetReadOnlyKeysAsync(CancellationToken) Método

Definición

Enumera las claves de acceso de solo lectura de la cuenta de base de datos de Azure Cosmos DB especificada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys
  • IdDatabaseAccounts_ListReadOnlyKeys de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountReadOnlyKeyList>> GetReadOnlyKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetReadOnlyKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountReadOnlyKeyList>>
override this.GetReadOnlyKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountReadOnlyKeyList>>
Public Overridable Function GetReadOnlyKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CosmosDBAccountReadOnlyKeyList))

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a