DatabaseAccountsOperationsExtensions.ListReadOnlyKeysAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Listet die schreibgeschützten Zugriffsschlüssel für das angegebene Azure Cosmos DB-Datenbankkonto auf.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.DatabaseAccountListReadOnlyKeysResult> ListReadOnlyKeysAsync (this Microsoft.Azure.Management.CosmosDB.IDatabaseAccountsOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member ListReadOnlyKeysAsync : Microsoft.Azure.Management.CosmosDB.IDatabaseAccountsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.DatabaseAccountListReadOnlyKeysResult>
<Extension()>
Public Function ListReadOnlyKeysAsync (operations As IDatabaseAccountsOperations, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DatabaseAccountListReadOnlyKeysResult)
Parameter
- operations
- IDatabaseAccountsOperations
Die Vorgangsgruppe für diese Erweiterungsmethode.
- resourceGroupName
- String
Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.
- accountName
- String
Name des Cosmos DB-Datenbankkontos.
- cancellationToken
- CancellationToken
Das Abbruchtoken.
Gibt zurück
Gilt für:
Azure SDK for .NET