Compartir a través de


CosmosDBAccountResource.GetKeys(CancellationToken) Método

Definición

Enumera las claves de acceso 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}/listKeys
  • IdDatabaseAccounts_ListKeys de operaciones
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKeyList> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKeyList>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKeyList>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBAccountKeyList)

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a