Partilhar via


CosmosDBAccountResource.GetKeys(CancellationToken) Método

Definição

Lista as chaves de acesso para a conta de banco de dados do Azure Cosmos DB especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listKeys
  • IdDatabaseAccounts_ListKeys de operação
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

O token de cancelamento a ser usado.

Retornos

Aplica-se a