Freigeben über


CosmosDBAccountResource.GetKeys(CancellationToken) Methode

Definition

Listet die Zugriffsschlüssel für das angegebene Azure Cosmos DB-Datenbankkonto auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listKeys
  • Vorgangs-IdDatabaseAccounts_ListKeys
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)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: